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 { &__icon {
margin-right: 5px;
}
&__green
{
@extend .jitsipopover__icon;
color: #4abd04;
}
&__orange
{
@extend .jitsipopover__icon;
color: #ffa800;
}
&__menu-padding {
height: 35px;
width: 100px;
position: absolute;
bottom: -35px;
}
&__showmore
{
display: block;
text-align: center;
width: 90px;
margin: 10px auto;
}
&__clear {
position: absolute; position: absolute;
display: block; display: block;
width: 0; width: 0;
height: 0; height: 0;
border-color: transparent; border-color: transparent;
border-style: solid; border-style: solid;
} }
.jitsipopover > .arrow { > .arrow {
border-width: 11px; border-width: 5px;
left: 50%; left: 50%;
margin-left: -11px; margin-left: -5px;
border-bottom-width: 0; border-bottom-width: 0;
border-top-color: #999999; border-top-color: $popoverArrowBorderColorFallback;
border-top-color: rgba(0, 0, 0, 0.25); border-top-color: $popoverArrowBorderColor;
bottom: -11px; bottom: -5px;
} @extend .jitsipopover__clear;
.jitsipopover > .arrow:after {
border-width: 10px; &:after {
border-width: 5px;
content: " "; content: " ";
bottom: 1px; bottom: 1px;
margin-left: -10px; margin-left: -5px;
border-bottom-width: 0; border-bottom-width: 0;
border-top-color: #ffffff; border-top-color: $auiDialogContentBg;
} @extend .jitsipopover__clear;
}
.jitsipopover.black > .arrow:after }
{
border-top-color: rgba(0, 0, 0, 0.8);
}
.jitsiPopupmenuPadding {
height: 35px;
width: 100px;
position: absolute;
bottom: -35px;
}
.jitsipopover_green
{
color: #4abd04;
}
.jitsipopover_orange
{
color: #ffa800;
}
.jitsipopover_blue
{
color: #21B9FC;
}
.jitsipopover_showmore
{
background-color: #21B9FC;
color: #ffffff;
cursor: pointer;
border-radius: 3px;
text-align: center;
width: 90px;
height: 16px;
padding-top: 4px;
padding-left: 10px;
padding-right: 10px;
margin: 15px auto 0px auto;
} }