jiti-meet/css/_jitsi_popover.scss

95 lines
1.9 KiB
SCSS
Raw Normal View History

.jitsipopover {
position: absolute;
top: 0;
left: 0;
z-index: 1010;
display: none;
max-width: 300px;
min-width: 100px;
padding: 1px;
text-align: left;
2016-10-18 09:41:35 +00:00
color: $popoverFontColor;
background-color: $popoverBg;
background-clip: padding-box;
2016-10-18 09:41:35 +00:00
border: 1px solid $popoverBg;
2016-10-13 13:16:44 +00:00
border-radius: 3px;
/*-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);*/
/*box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);*/
white-space: normal;
margin-top: -10px;
margin-bottom: 35px;
2016-10-13 13:16:44 +00:00
&__title {
2016-10-13 15:00:02 +00:00
text-align: left;
margin: 0;
padding: 0;
2016-10-13 13:16:44 +00:00
}
2016-10-13 13:16:44 +00:00
&__content {
padding: em(5) em(10);
font-size: em(14);
white-space:pre-wrap;
text-align: center;
}
2016-10-13 13:16:44 +00:00
&__icon {
2016-10-19 14:57:16 +00:00
margin-right: 2px;
2016-10-13 13:16:44 +00:00
}
2016-10-13 13:16:44 +00:00
&__green
{
@extend .jitsipopover__icon;
color: #4abd04;
}
2016-10-13 13:16:44 +00:00
&__orange
{
@extend .jitsipopover__icon;
color: #ffa800;
}
2016-10-13 13:16:44 +00:00
&__menu-padding {
height: 35px;
width: 100px;
position: absolute;
bottom: -35px;
}
2016-10-19 14:57:16 +00:00
&__showmore {
2016-10-13 13:16:44 +00:00
display: block;
text-align: center;
width: 90px;
margin: 10px auto;
}
2016-10-13 13:16:44 +00:00
&__clear {
position: absolute;
display: block;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
> .arrow {
2016-10-19 14:57:16 +00:00
border-width: 5px 2.5px 0 2.5px;
2016-10-13 13:16:44 +00:00
left: 50%;
margin-left: -5px;
2016-10-19 14:57:16 +00:00
@extend .jitsipopover__clear;
2016-10-13 13:16:44 +00:00
border-bottom-width: 0;
2016-10-18 09:41:35 +00:00
border-top-color: $popoverBg;
2016-10-13 13:16:44 +00:00
bottom: -5px;
2016-10-19 14:57:16 +00:00
2016-10-13 13:16:44 +00:00
&:after {
border-width: 5px;
content: " ";
bottom: 1px;
margin-left: -5px;
2016-10-19 14:57:16 +00:00
@extend .jitsipopover__clear;
2016-10-13 13:16:44 +00:00
border-bottom-width: 0;
2016-10-18 09:41:35 +00:00
border-top-color: $popoverBg;
2016-10-13 13:16:44 +00:00
}
}
}