Editions in jitsi popover styles

This commit is contained in:
Ilya Daynatovich 2016-10-13 16:16:44 +03:00
parent 83e7f23d0f
commit c54938374d
1 changed files with 69 additions and 78 deletions

View File

@ -8,98 +8,89 @@
min-width: 100px; min-width: 100px;
padding: 1px; padding: 1px;
text-align: left; text-align: left;
color: #333333; color: $auiDialogColor;
background-color: #ffffff; background-color: $auiDialogContentBg;
background-clip: padding-box; background-clip: padding-box;
border: 1px solid #cccccc; border: 1px solid $popoverBorderColorFallback;
border: 1px solid rgba(0, 0, 0, 0.2); border: 1px solid $popoverBorderColor;
border-radius: 6px; border-radius: 3px;
/*-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);*/ /*-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);*/
/*box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);*/ /*box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);*/
white-space: normal; white-space: normal;
margin-top: -10px; margin-top: -10px;
margin-bottom: 35px; margin-bottom: 35px;
}
.jitsipopover.black &__title {
{ text-align: center;
background-color: rgba(0,0,0,0.8); }
color: #ffffff;
}
.jitsipopover-content { &__content {
padding: 9px 14px; padding: em(5) em(10);
font-size: 10pt; font-size: em(14);
white-space:pre-wrap; white-space:pre-wrap;
text-align: center; text-align: center;
} }
.jitsipopover > .arrow,
.jitsipopover > .arrow:after {
position: absolute;
display: block;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
.jitsipopover > .arrow { &__icon {
border-width: 11px; margin-right: 5px;
left: 50%; }
margin-left: -11px;
border-bottom-width: 0;
border-top-color: #999999;
border-top-color: rgba(0, 0, 0, 0.25);
bottom: -11px;
}
.jitsipopover > .arrow:after {
border-width: 10px;
content: " ";
bottom: 1px;
margin-left: -10px;
border-bottom-width: 0;
border-top-color: #ffffff;
}
.jitsipopover.black > .arrow:after &__green
{ {
border-top-color: rgba(0, 0, 0, 0.8); @extend .jitsipopover__icon;
} color: #4abd04;
}
.jitsiPopupmenuPadding { &__orange
height: 35px; {
width: 100px; @extend .jitsipopover__icon;
position: absolute; color: #ffa800;
bottom: -35px; }
}
.jitsipopover_green &__menu-padding {
{ height: 35px;
color: #4abd04; width: 100px;
} position: absolute;
bottom: -35px;
}
.jitsipopover_orange &__showmore
{ {
color: #ffa800; display: block;
} text-align: center;
width: 90px;
margin: 10px auto;
}
.jitsipopover_blue
{
color: #21B9FC;
}
.jitsipopover_showmore &__clear {
{ position: absolute;
background-color: #21B9FC; display: block;
color: #ffffff; width: 0;
cursor: pointer; height: 0;
border-radius: 3px; border-color: transparent;
text-align: center; border-style: solid;
width: 90px; }
height: 16px;
padding-top: 4px; > .arrow {
padding-left: 10px; border-width: 5px;
padding-right: 10px; left: 50%;
margin: 15px auto 0px auto; margin-left: -5px;
border-bottom-width: 0;
border-top-color: $popoverArrowBorderColorFallback;
border-top-color: $popoverArrowBorderColor;
bottom: -5px;
@extend .jitsipopover__clear;
&:after {
border-width: 5px;
content: " ";
bottom: 1px;
margin-left: -5px;
border-bottom-width: 0;
border-top-color: $auiDialogContentBg;
@extend .jitsipopover__clear;
}
}
} }