bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/styles.scss

196 lines
3.6 KiB
SCSS
Raw Normal View History

@import "/imports/ui/stylesheets/variables/_all";
@import "/imports/ui/stylesheets/mixins/_indicators";
:root {
--whiteboard-toolbar-padding-sm: .3rem;
--whiteboard-toolbar-padding: .5rem;
--whiteboard-toolbar-margin: .5rem;
}
2016-08-03 06:55:20 +08:00
2019-01-28 21:33:50 +08:00
.visuallyhidden {
2019-03-12 00:21:12 +08:00
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
2019-01-28 21:33:50 +08:00
}
2019-03-12 00:21:12 +08:00
.presentationSlideControls {
2019-02-12 21:35:52 +08:00
justify-content: center;
padding-left: var(--whiteboard-toolbar-padding);
padding-right: var(--whiteboard-toolbar-padding);
2019-02-12 21:35:52 +08:00
}
.presentationBtn {
position: relative;
color: var(--toolbar-button-color);
background-color: var(--color-off-white);
border-radius: 0;
box-shadow: none !important;
border: 0;
&:focus {
background-color: var(--color-off-white);
border: 0;
}
}
2019-03-12 00:21:12 +08:00
.presentationZoomControls {
2019-02-12 21:35:52 +08:00
justify-content: flex-end;
padding: 0 var(--whiteboard-toolbar-padding) 0 0;
[dir="rtl"] & {
padding: 0 0 0 var(--whiteboard-toolbar-padding);
}
2019-02-12 21:35:52 +08:00
}
.presentationSlideControls,
.presentationZoomControls,
.zoomWrapper {
2016-08-03 06:55:20 +08:00
display: flex;
flex-direction: row;
align-items: center;
2019-02-12 21:35:52 +08:00
border-radius: 0;
2018-08-23 01:49:33 +08:00
}
2019-02-12 21:35:52 +08:00
.presentationSlideControls,
.presentationZoomControls,
2018-08-23 01:49:33 +08:00
.zoomWrapper {
2019-03-12 00:21:12 +08:00
button {
padding: var(--whiteboard-toolbar-padding);
}
2016-08-03 06:55:20 +08:00
}
2019-03-12 00:21:12 +08:00
.presentationToolbarWrapper {
2019-02-12 21:35:52 +08:00
position: relative;
align-self: center;
z-index: 1;
2019-02-12 21:35:52 +08:00
background-color: var(--color-off-white);
border-top: 1px solid var(--color-blue-lightest);
2019-02-19 20:27:54 +08:00
min-width: fit-content;
width: 100%;
2019-03-12 00:21:12 +08:00
display: grid;
grid-template-columns: 1fr 1fr 1fr;
2019-02-12 21:35:52 +08:00
2019-03-12 00:21:12 +08:00
select {
2019-04-10 22:59:25 +08:00
&:-moz-focusring {
outline: none;
}
margin: 0 var(--whiteboard-toolbar-margin) 0 0;
padding: var(--whiteboard-toolbar-padding);
padding-left: var(--whiteboard-toolbar-padding-sm);
2019-02-12 21:35:52 +08:00
[dir="rtl"] & {
margin: 0 0 0 var(--whiteboard-toolbar-margin);
padding: var(--whiteboard-toolbar-padding);
padding-right: var(--whiteboard-toolbar-padding-sm);
}
2019-03-12 00:21:12 +08:00
option {
2019-02-12 21:35:52 +08:00
color: var(--toolbar-button-color);
background-color: var(--color-off-white);
}
}
i {
2018-10-25 20:46:31 +08:00
color: var(--toolbar-button-color);
2019-02-12 21:35:52 +08:00
display: flex;
justify-content: center;
align-items: center;
2016-08-06 02:39:24 +08:00
}
2016-08-03 06:55:20 +08:00
}
.zoomWrapper {
2016-08-03 06:55:20 +08:00
justify-content: space-between;
2018-10-25 20:46:31 +08:00
background-color: var(--toolbar-button-bg);
2016-08-03 06:55:20 +08:00
}
.zoomWrapperNoBorder {
2016-08-03 06:55:20 +08:00
border-right: 0 !important;
}
.fitToWidth,
.skipSlide,
2016-08-03 06:55:20 +08:00
.prevSlide {
border: none !important;
2019-03-12 00:21:12 +08:00
i {
2019-02-12 21:35:52 +08:00
font-size: 1rem;
[dir="rtl"] & {
-webkit-transform: scale(-1, 1);
-moz-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
-o-transform: scale(-1, 1);
transform: scale(-1, 1);
}
}
2016-08-03 06:55:20 +08:00
}
.fitToWidth {
margin-left: var(--whiteboard-toolbar-margin);
margin-right: var(--whiteboard-toolbar-margin);
}
2019-03-12 00:21:12 +08:00
.presentationZoomControls {
.fitToWidth,
2019-02-12 21:35:52 +08:00
.skipSlide,
.prevSlide {
2019-03-12 00:21:12 +08:00
i {
2019-02-12 21:35:52 +08:00
font-size: 1.2rem;
}
}
2018-10-25 20:46:31 +08:00
}
2019-02-12 21:35:52 +08:00
.skipSlideSelect {
padding: 0 var(--sm-padding-y);
margin: var(--border-size);
margin-left: var(--whiteboard-toolbar-margin);
[dir="rtl"] & {
margin: var(--border-size);
margin-right: var(--whiteboard-toolbar-margin);
}
2019-04-10 22:59:25 +08:00
&:-moz-focusring {
outline: none;
}
&:hover {
@include highContrastOutline();
}
&:focus {
@include highContrastOutline();
outline-style: solid;
}
2016-08-03 06:55:20 +08:00
}
.zoomSlider {
width: 50%;
}
.zoomMinMax {
font-weight: normal;
}
2018-10-25 20:46:31 +08:00
2018-08-23 01:49:33 +08:00
.zoomPercentageDisplay {
text-align: center;
color: black;
2018-08-29 00:34:08 +08:00
display: flex;
align-items: center;
justify-content: center;
2019-02-12 21:35:52 +08:00
border: 0 !important;
font-weight: 200;
margin-left: var(--whiteboard-toolbar-margin);
margin-right: var(--whiteboard-toolbar-margin);
2019-02-07 00:05:24 +08:00
2019-03-12 00:21:12 +08:00
&:hover {
2019-02-07 00:42:12 +08:00
opacity: .8;
2019-02-07 00:05:24 +08:00
}
}