2016-03-11 00:48:53 +00:00
|
|
|
.dropdown-menu > .disabled > a {
|
2016-11-03 10:41:44 +00:00
|
|
|
cursor: default;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
2020-12-17 11:22:09 +00:00
|
|
|
background-color: @background-normal;
|
|
|
|
border-color: @border-regular-control;
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
&.scrollable-menu {
|
|
|
|
height: auto;
|
|
|
|
max-height: 400px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ps-container {
|
|
|
|
overflow: hidden;
|
|
|
|
.ps-scrollbar-y-rail {
|
|
|
|
margin-top: 1px;
|
|
|
|
margin-bottom: 1px;
|
2020-09-14 17:28:15 +00:00
|
|
|
cursor: default;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-12 14:50:52 +00:00
|
|
|
&.internal-menu {
|
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
|
|
|
.box-shadow(none);
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
li {
|
|
|
|
& > a {
|
|
|
|
padding: 5px 20px;
|
|
|
|
cursor: pointer;
|
2020-12-17 11:22:09 +00:00
|
|
|
color: @text-normal;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
&:focus, &.focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.focus {
|
|
|
|
text-decoration: none;
|
|
|
|
color: @dropdown-link-hover-color;
|
|
|
|
background-color: @dropdown-link-hover-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.over > a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: @dropdown-link-hover-color;
|
|
|
|
background-color: @dropdown-link-hover-bg;
|
|
|
|
}
|
|
|
|
|
2019-11-20 09:05:59 +00:00
|
|
|
.checked:not(.no-checkmark) {
|
2016-03-11 00:48:53 +00:00
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
|
|
|
margin-left: -18px;
|
|
|
|
background-position: @menu-check-offset-x @menu-check-offset-y;
|
|
|
|
}
|
2019-09-13 14:45:09 +00:00
|
|
|
&.custom-scale:before {
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2019-10-15 12:30:08 +00:00
|
|
|
&.disabled {
|
|
|
|
.menu-item-icon {
|
|
|
|
opacity: .4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
.menu-item-icon {
|
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
2019-11-20 09:05:59 +00:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2016-03-11 00:48:53 +00:00
|
|
|
margin: -3px 5px 0 -15px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
2019-11-20 09:05:59 +00:00
|
|
|
|
|
|
|
.no-checkmark.checked {
|
|
|
|
.menu-item-icon {
|
2020-12-17 08:16:45 +00:00
|
|
|
background-color: var(--highlight-button-pressed);
|
2019-11-20 09:05:59 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
2020-08-18 11:02:44 +00:00
|
|
|
|
|
|
|
&.shifted-right {
|
|
|
|
li {
|
|
|
|
& > a {
|
|
|
|
padding-left: 28px;
|
|
|
|
}
|
|
|
|
.menu-item-icon {
|
|
|
|
margin: -3px 0 0 -24px;
|
|
|
|
}
|
|
|
|
.checked:not(.no-checkmark):before {
|
|
|
|
margin-left: -22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.shifted-left {
|
|
|
|
li {
|
|
|
|
& > a {
|
|
|
|
padding-left: 12px;
|
2020-08-18 11:50:10 +00:00
|
|
|
padding-right: 12px;
|
2020-08-18 11:02:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|