bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio/permissions-overlay/styles.scss

155 lines
2.4 KiB
SCSS
Raw Normal View History

@mixin arrowIconStyle() {
&:after {
top: -50px;
left: -20px;
font-size: 20px;
-webkit-animation: bounce 2s infinite;
animation: bounce 2s infinite;
display: block;
font-family: 'bbb-icons';
content: "\E906";
position: relative;
}
:global(.browser-edge) &:after {
top: -50px;
left: -15.5em;
font-size: 20px;
-webkit-animation: bounceRotate 2s infinite;
animation: bounceRotate 2s infinite;
}
}
2018-06-22 00:33:40 +08:00
@mixin positionHint() {
:global(.browser-edge) & {
left: 50%;
bottom: 10%;
}
:global(.browser-firefox) & {
top: 210px;
left: 605px;
}
:global(.browser-chrome) & {
top: 145px;
left: 380px;
}
:global(.browser-safari) & {
top: 100px;
left: 100px;
2018-06-22 00:33:40 +08:00
}
}
2017-11-09 02:41:15 +08:00
.overlay {
position: fixed;
z-index: 1002;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0, 0, 0, .85);
2017-11-17 19:52:48 +08:00
animation: fade-in .5s ease-in;
2017-11-09 02:41:15 +08:00
}
.hint {
2018-06-22 00:33:40 +08:00
@include positionHint();
2017-11-17 19:52:48 +08:00
position: absolute;
2017-11-09 02:41:15 +08:00
color: #fff;
font-size: 16px;
font-weight: 400;
line-height: 18px;
width: 300px;
small {
display: block;
font-size: 12px;
line-height: 14px;
margin-top: 3px;
opacity: .6;
}
@include arrowIconStyle();
2017-11-09 02:41:15 +08:00
}
@-webkit-keyframes bounce {
0%,
20%,
50%,
80%,
100% {
2017-11-09 02:41:15 +08:00
-webkit-transform: translateY(0);
transform: translateY(0);
}
40% {
2017-11-09 02:41:15 +08:00
-webkit-transform: translateY(10px);
transform: translateY(10px);
}
60% {
2017-11-09 02:41:15 +08:00
-webkit-transform: translateY(5px);
transform: translateY(5px);
}
}
@-moz-keyframes bounce {
0%,
20%,
50%,
80%,
100% {
2017-11-09 02:41:15 +08:00
transform: translateY(0);
}
40% {
2017-11-09 02:41:15 +08:00
transform: translateY(10px);
}
60% {
2017-11-09 02:41:15 +08:00
transform: translateY(5px);
}
}
@keyframes bounce {
0%,
20%,
50%,
80%,
100% {
2017-11-09 02:41:15 +08:00
-ms-transform: translateY(0);
transform: translateY(0);
}
40% {
2017-11-09 02:41:15 +08:00
-ms-transform: translateY(10px);
transform: translateY(10px);
}
60% {
2017-11-09 02:41:15 +08:00
-ms-transform: translateY(5px);
transform: translateY(5px);
}
}
2017-11-17 19:52:48 +08:00
@keyframes bounceRotate {
0%,
20%,
50%,
80%,
100% {
-ms-transform: translateY(0) rotate(180deg);
transform: translateY(0) rotate(180deg);
}
40% {
-ms-transform: translateY(10px) rotate(180deg);
transform: translateY(10px) rotate(180deg);
}
60% {
-ms-transform: translateY(5px) rotate(180deg);
transform: translateY(5px) rotate(180deg);
}
}
2017-11-17 19:52:48 +08:00
@keyframes fade-in {
0% {
opacity: 0;
}
100% {
2017-11-17 19:52:48 +08:00
opacity: 1;
}
}