2016-09-08 17:19:15 +00:00
|
|
|
.toolbar {
|
2016-10-19 16:36:10 +00:00
|
|
|
background-color: $toolbarBackground;
|
2016-09-08 17:19:15 +00:00
|
|
|
position: relative;
|
2016-09-13 04:10:18 +00:00
|
|
|
z-index: $toolbarZ;
|
2016-09-08 17:19:15 +00:00
|
|
|
height: 100%;
|
|
|
|
pointer-events: auto;
|
2016-11-01 15:59:57 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Splitter button in the toolbar.
|
|
|
|
*/
|
|
|
|
&__splitter {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 1px;
|
|
|
|
height: 50%;
|
|
|
|
margin: 0 $splitterToolbarButtonMargin;
|
|
|
|
background: $splitterColor;
|
|
|
|
}
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#mainToolbarContainer{
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
top:0;
|
|
|
|
left:0;
|
|
|
|
right:0;
|
2016-09-13 04:10:18 +00:00
|
|
|
z-index: $toolbarZ;
|
2016-09-08 17:19:15 +00:00
|
|
|
pointer-events: none;
|
|
|
|
min-height: 100px;
|
2016-10-25 11:55:43 +00:00
|
|
|
opacity: 0;
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#subject {
|
|
|
|
position: relative;
|
|
|
|
z-index: 3;
|
|
|
|
width: auto;
|
|
|
|
padding: 5px;
|
|
|
|
margin-left: 40%;
|
|
|
|
margin-right: 40%;
|
|
|
|
text-align: center;
|
|
|
|
background: linear-gradient(to bottom, rgba(255,255,255,.85) , rgba(255,255,255,.35));
|
|
|
|
box-shadow: 0 0 2px #000000, 0 0 10px #000000;
|
|
|
|
border-bottom-left-radius: 12px;
|
|
|
|
border-bottom-right-radius: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mainToolbar {
|
|
|
|
height: $defaultToolbarSize;
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
top: 30px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
width: auto;
|
2016-10-06 21:25:15 +00:00
|
|
|
border-radius: 3px;
|
2016-11-03 18:47:15 +00:00
|
|
|
.button:first-child {
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
}
|
|
|
|
.button:last-child {
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
}
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#extendedToolbar {
|
|
|
|
display: -moz-box;
|
|
|
|
display: -ms-flexbox;
|
2016-09-14 13:25:11 +00:00
|
|
|
display: -webkit-box;
|
2016-09-08 17:19:15 +00:00
|
|
|
display: -webkit-flex;
|
2016-09-14 13:25:11 +00:00
|
|
|
display: flex;
|
2016-09-08 17:19:15 +00:00
|
|
|
width: $defaultToolbarSize;
|
|
|
|
height: 100%;
|
2016-10-31 17:56:05 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2016-09-08 17:19:15 +00:00
|
|
|
padding-top: 10px;
|
2016-10-03 12:47:45 +00:00
|
|
|
box-sizing: border-box;
|
2016-09-08 17:19:15 +00:00
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
transform: translateX(-100%);
|
|
|
|
-webkit-transform: translateX(-100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
#toolbar_button_hangup {
|
2016-09-11 21:54:32 +00:00
|
|
|
color: #BF2117;
|
2016-09-13 04:10:18 +00:00
|
|
|
font-size: $hangupFontSize !important;
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#toolbar_button_etherpad {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mainToolbar a.button:last-child::after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
color: #FFFFFF;
|
|
|
|
top:0px;
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
cursor: pointer;
|
|
|
|
text-align: center;
|
|
|
|
z-index: 1;
|
2016-09-12 04:36:15 +00:00
|
|
|
font-size: $toolbarFontSize !important;
|
2016-09-08 17:19:15 +00:00
|
|
|
line-height: 50px !important;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button[disabled] {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2016-09-13 23:19:38 +00:00
|
|
|
.button.unclickable {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2016-10-06 21:25:15 +00:00
|
|
|
.button.toggled {
|
|
|
|
background: $toolbarToggleBackground !important;
|
2016-09-26 20:40:56 +00:00
|
|
|
}
|
|
|
|
|
2016-09-13 23:19:38 +00:00
|
|
|
a.button.unclickable:hover,
|
|
|
|
a.button.unclickable:active,
|
|
|
|
a.button.unclickable.selected{
|
|
|
|
cursor: default;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2016-09-08 17:19:15 +00:00
|
|
|
a.button:hover,
|
2016-09-08 22:34:16 +00:00
|
|
|
a.button:active,
|
|
|
|
a.button.selected {
|
2016-09-08 17:19:15 +00:00
|
|
|
cursor: pointer;
|
2016-09-16 03:22:56 +00:00
|
|
|
text-decoration: none;
|
2016-09-08 22:34:16 +00:00
|
|
|
// sum opacity with background layer should give us 0.8
|
2016-09-10 02:26:29 +00:00
|
|
|
background: $toolbarSelectBackground;
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a.button>#avatar {
|
|
|
|
width: 30px;
|
|
|
|
border-radius: 50%;
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#feedbackButton {
|
|
|
|
margin-top: auto;
|
|
|
|
}
|
|
|
|
|
2016-09-20 02:22:41 +00:00
|
|
|
/**
|
|
|
|
* Round badge.
|
|
|
|
*/
|
|
|
|
.badge-round {
|
|
|
|
background-color: $toolbarBadgeBackground;
|
|
|
|
color: $toolbarBadgeColor;
|
|
|
|
font-size: 9px;
|
|
|
|
line-height: 13px;
|
|
|
|
font-weight: 700;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 50%;
|
|
|
|
min-width: 13px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
box-sizing: border-box;
|
|
|
|
vertical-align: middle;
|
2016-09-20 03:07:10 +00:00
|
|
|
// Do not inherit the font-family from the toolbar button, because it's an
|
|
|
|
// icon style.
|
|
|
|
font-family: $baseFontFamily;
|
2016-09-20 02:22:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Toolbar specific round badge.
|
|
|
|
*/
|
|
|
|
.toolbar .badge-round {
|
|
|
|
position: absolute;
|
2016-09-20 03:07:10 +00:00
|
|
|
right: 9px;
|
|
|
|
bottom: 9px;
|
2016-09-20 02:22:41 +00:00
|
|
|
}
|
|
|
|
|
2016-09-08 22:34:16 +00:00
|
|
|
/**
|
|
|
|
* START of slide in animation for extended toolbar.
|
|
|
|
*/
|
2016-09-08 17:19:15 +00:00
|
|
|
@include keyframes(slideInX) {
|
2016-09-10 02:26:29 +00:00
|
|
|
0% { transform: translateX(-100%); }
|
|
|
|
100% { transform: translateX(0%); }
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.slideInX {
|
|
|
|
@include animation('slideInX .5s forwards');
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyframes(slideOutX) {
|
2016-09-10 02:26:29 +00:00
|
|
|
0% { transform: translateX(0%); }
|
|
|
|
100% { transform: translateX(-100%); }
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.slideOutX {
|
|
|
|
@include animation('slideOutX .5s forwards');
|
|
|
|
}
|
2016-09-10 02:26:29 +00:00
|
|
|
|
|
|
|
@include keyframes(slideInExtX) {
|
|
|
|
0% { transform: translateX(-500%); }
|
|
|
|
100% { transform: translateX(0%); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideInExtX {
|
|
|
|
@include animation('slideInExtX .5s forwards');
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyframes(slideOutExtX) {
|
|
|
|
0% { transform: translateX(0%); }
|
|
|
|
100% { transform: translateX(-500%); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideOutExtX {
|
|
|
|
@include animation('slideOutExtX .5s forwards');
|
|
|
|
}
|
|
|
|
|
2016-09-08 22:34:16 +00:00
|
|
|
/**
|
|
|
|
* END of slide out animation for extended toolbar.
|
|
|
|
*/
|
2016-09-08 17:19:15 +00:00
|
|
|
|
2016-09-08 22:34:16 +00:00
|
|
|
/**
|
|
|
|
* START of slide in / out animation for main toolbar.
|
|
|
|
*/
|
2016-09-08 17:19:15 +00:00
|
|
|
@include keyframes(slideInY) {
|
|
|
|
100% { transform: translateY(0%); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideInY {
|
|
|
|
@include animation('slideInY .5s forwards');
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyframes(slideOutY) {
|
|
|
|
0% { transform: translateY(0%); }
|
|
|
|
100% { transform: translateY(-100%); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideOutY {
|
|
|
|
@include animation('slideOutY .5s forwards');
|
|
|
|
}
|
2016-09-08 22:34:16 +00:00
|
|
|
/**
|
|
|
|
* END of slide in / out animation for main toolbar.
|
|
|
|
*/
|
2016-09-08 17:19:15 +00:00
|
|
|
|
2016-09-08 22:34:16 +00:00
|
|
|
/**
|
|
|
|
* START of slide in animation for extended toolbar panel.
|
|
|
|
*/
|
2016-09-08 17:19:15 +00:00
|
|
|
@include keyframes(slideInExt) {
|
2016-09-10 02:26:29 +00:00
|
|
|
from { width: 0px; }
|
2016-11-10 16:48:34 +00:00
|
|
|
to { width: $sidebarWidth; } // TO FIX: Make this value a percentage.
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.slideInExt {
|
|
|
|
@include animation("slideInExt .5s forwards");
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyframes(slideOutExt) {
|
2016-11-10 16:48:34 +00:00
|
|
|
from { width: $sidebarWidth; } // TO FIX: Make this value a percentage.
|
2016-09-10 02:26:29 +00:00
|
|
|
to { width: 0px; }
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.slideOutExt {
|
|
|
|
@include animation("slideOutExt .5s forwards");
|
2016-09-08 22:34:16 +00:00
|
|
|
}
|
2016-09-13 23:19:38 +00:00
|
|
|
|
2016-09-08 22:34:16 +00:00
|
|
|
/**
|
2016-10-25 11:55:43 +00:00
|
|
|
* START of fade in animation for main toolbar
|
2016-09-13 23:19:38 +00:00
|
|
|
*/
|
2016-10-25 11:55:43 +00:00
|
|
|
.fadeIn {
|
2016-10-28 17:39:25 +00:00
|
|
|
@include animation('fadeIn .3s linear .2s forwards');
|
2016-10-25 11:55:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fadeOut {
|
2016-10-28 17:39:25 +00:00
|
|
|
@include animation('fadeOut .5s linear forwards');
|
|
|
|
}
|