mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
Clicking on an item when the popup drawer is displayed would keep it open. Now clicking on any item should automatically close the drawer. Popup was also refactored and no longer uses refs.
124 lines
2.6 KiB
SCSS
124 lines
2.6 KiB
SCSS
/**
|
|
* Initialize
|
|
**/
|
|
|
|
.popupmenu {
|
|
background-color: $menuBG;
|
|
border-radius: 3px;
|
|
list-style-type: none;
|
|
min-width: 150px;
|
|
text-align: left;
|
|
padding: 0px;
|
|
white-space: nowrap;
|
|
|
|
&__item {
|
|
list-style-type: none;
|
|
height: 35px;
|
|
}
|
|
|
|
// Link Appearance
|
|
&__link,
|
|
&__contents {
|
|
display: block;
|
|
box-sizing: border-box;
|
|
text-decoration: none;
|
|
height: 100%;
|
|
font-size: 9pt;
|
|
width: 100%;
|
|
cursor: pointer;
|
|
padding: 0 5px;
|
|
color: $popupMenuColor;
|
|
|
|
&:hover {
|
|
background-color: $popupMenuHoverBackground;
|
|
color: $popupMenuHoverColor;
|
|
}
|
|
|
|
&.disabled {
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
&__list {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
&__text {
|
|
display: inline-block;
|
|
margin-left: 8px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
&__link {
|
|
i {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
&__contents {
|
|
display: flex;
|
|
|
|
/**
|
|
* Positioning styles on the slider and its container are used to make
|
|
* the container fit the popup width, by removing the slider from the
|
|
* page flow, and then making the slider fit the container.
|
|
*/
|
|
.popupmenu__slider_container {
|
|
position: relative;
|
|
width: 100%;
|
|
|
|
.popupmenu__slider {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translate(0, -50%);
|
|
width: 100%;
|
|
|
|
&::-webkit-slider-runnable-track {
|
|
background-color: $popupSliderColor;
|
|
}
|
|
|
|
&::-moz-range-track {
|
|
background-color: $popupSliderColor;
|
|
}
|
|
|
|
&::-ms-fill-lower {
|
|
background-color: $popupSliderColor;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&__icon {
|
|
vertical-align: middle;
|
|
position: relative;
|
|
display: inline-block;
|
|
min-width: 20px;
|
|
height: 100%;
|
|
padding-right: 10px;
|
|
|
|
> * {
|
|
@include absoluteAligning();
|
|
}
|
|
}
|
|
|
|
.icon-kick,
|
|
.icon-play,
|
|
.icon-stop {
|
|
font-size: 8pt;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Override reset css styling modifying all lists and set negative margin to
|
|
* reduce the visibility of padding on AtlasKit
|
|
* InlineDialogs.
|
|
*/
|
|
ul.popupmenu {
|
|
margin: -16px -24px;
|
|
}
|
|
|
|
span.localvideomenu:hover ul.popupmenu, span.remotevideomenu:hover ul.popupmenu, ul.popupmenu:hover {
|
|
display:block !important;
|
|
}
|