web-apps/apps/common/main/resources/less/dropdown-menu.less

167 lines
4 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.dropdown-menu {
2021-02-16 07:21:22 +00:00
background-color: @background-normal-ie;
background-color: @background-normal;
2021-02-16 07:21:22 +00:00
border-color: @border-regular-control-ie;
border-color: @border-regular-control;
2021-02-16 07:21:22 +00:00
border-width: @scaled-one-px-value-ie;
Merge branch 'develop' into feature/multiZoom5.5 # Conflicts: # apps/common/main/resources/img/toolbar/1x/big/.css.handlebars # apps/common/main/resources/less/asc-mixins.less # apps/common/main/resources/less/buttons.less # apps/common/main/resources/less/checkbox.less # apps/common/main/resources/less/combo-dataview.less # apps/common/main/resources/less/comments.less # apps/common/main/resources/less/common.less # apps/common/main/resources/less/dataview.less # apps/common/main/resources/less/dropdown-menu.less # apps/common/main/resources/less/listview.less # apps/common/main/resources/less/multislider-gradient.less # apps/common/main/resources/less/radiobox.less # apps/common/main/resources/less/scroller.less # apps/common/main/resources/less/separator.less # apps/common/main/resources/less/theme-colorpalette.less # apps/common/main/resources/less/toolbar.less # apps/common/main/resources/less/window.less # apps/documenteditor/main/resources/less/advanced-settings.less # apps/documenteditor/main/resources/less/filemenu.less # apps/documenteditor/main/resources/less/leftmenu.less # apps/documenteditor/main/resources/less/rightmenu.less # apps/documenteditor/main/resources/less/statusbar.less # apps/documenteditor/main/resources/less/toolbar.less # apps/presentationeditor/main/resources/less/leftmenu.less # apps/presentationeditor/main/resources/less/rightmenu.less # apps/presentationeditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/celleditor.less # apps/spreadsheeteditor/main/resources/less/leftmenu.less # apps/spreadsheeteditor/main/resources/less/rightmenu.less # apps/spreadsheeteditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/toolbar.less
2021-02-10 12:40:30 +00:00
border-width: @scaled-one-px-value;
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;
cursor: default;
2016-03-11 00:48:53 +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;
2021-02-16 07:21:22 +00:00
color: @text-normal-ie;
color: @text-normal;
2016-03-11 00:48:53 +00:00
&:focus, &.focus {
outline: 0;
2021-04-27 20:36:29 +00:00
color: @text-normal-ie;
color: @text-normal;
2021-02-18 11:40:00 +00:00
background-color: @highlight-button-hover-ie;
background-color: @highlight-button-hover;
2021-01-03 21:58:06 +00:00
}
&:hover {
color: @text-normal-ie;
color: @text-normal;
2021-02-16 07:21:22 +00:00
background-color: @highlight-button-hover-ie;
2021-01-03 21:58:06 +00:00
background-color: @highlight-button-hover;
2016-03-11 00:48:53 +00:00
}
}
&.over > a {
text-decoration: none;
2021-04-27 20:36:29 +00:00
//color: @text-normal-pressed-ie;
//color: @text-normal-pressed;
2021-02-16 07:21:22 +00:00
background-color: @highlight-button-hover-ie;
2021-01-03 21:58:06 +00:00
background-color: @highlight-button-hover;
&:after {
2021-04-27 20:36:29 +00:00
border-left-color: @icon-normal-ie;
border-left-color: @icon-normal;
2021-01-03 21:58:06 +00:00
}
2016-03-11 00:48:53 +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
}
&.disabled {
.menu-item-icon {
}
}
2016-03-11 00:48:53 +00:00
.menu-item-icon {
display: inline-block;
float: left;
width: 20px;
height: 20px;
2016-03-11 00:48:53 +00:00
margin: -3px 5px 0 -15px;
background-repeat: no-repeat;
2021-03-28 18:01:18 +00:00
opacity: @component-normal-icon-opacity;
2016-03-11 00:48:53 +00:00
}
.no-checkmark.checked {
.menu-item-icon {
2021-02-16 07:21:22 +00:00
background-color: @highlight-button-pressed-ie;
2020-12-19 19:43:19 +00:00
background-color: @highlight-button-pressed;
border-radius: 2px;
}
}
2016-03-11 00:48:53 +00:00
}
> .disabled {
> a {
cursor: default;
color: @text-normal-ie;
color: @text-normal;
opacity: @component-disabled-opacity;
&:hover, &:focus {
color: @text-normal-ie;
color: @text-normal;
}
2021-03-28 18:01:18 +00:00
.menu-item-icon {
opacity: 1;
}
}
}
&.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;
padding-right: 12px;
}
}
}
.divider {
2021-02-16 07:21:22 +00:00
height: @scaled-one-px-value-ie;
Merge branch 'develop' into feature/multiZoom5.5 # Conflicts: # apps/common/main/resources/img/toolbar/1x/big/.css.handlebars # apps/common/main/resources/less/asc-mixins.less # apps/common/main/resources/less/buttons.less # apps/common/main/resources/less/checkbox.less # apps/common/main/resources/less/combo-dataview.less # apps/common/main/resources/less/comments.less # apps/common/main/resources/less/common.less # apps/common/main/resources/less/dataview.less # apps/common/main/resources/less/dropdown-menu.less # apps/common/main/resources/less/listview.less # apps/common/main/resources/less/multislider-gradient.less # apps/common/main/resources/less/radiobox.less # apps/common/main/resources/less/scroller.less # apps/common/main/resources/less/separator.less # apps/common/main/resources/less/theme-colorpalette.less # apps/common/main/resources/less/toolbar.less # apps/common/main/resources/less/window.less # apps/documenteditor/main/resources/less/advanced-settings.less # apps/documenteditor/main/resources/less/filemenu.less # apps/documenteditor/main/resources/less/leftmenu.less # apps/documenteditor/main/resources/less/rightmenu.less # apps/documenteditor/main/resources/less/statusbar.less # apps/documenteditor/main/resources/less/toolbar.less # apps/presentationeditor/main/resources/less/leftmenu.less # apps/presentationeditor/main/resources/less/rightmenu.less # apps/presentationeditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/celleditor.less # apps/spreadsheeteditor/main/resources/less/leftmenu.less # apps/spreadsheeteditor/main/resources/less/rightmenu.less # apps/spreadsheeteditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/toolbar.less
2021-02-10 12:40:30 +00:00
height: @scaled-one-px-value;
2021-02-16 07:21:22 +00:00
background-color: @border-divider-ie;
2020-12-22 12:45:06 +00:00
background-color: @border-divider;
}
2021-04-19 20:59:26 +00:00
.dataview {
.item {
.options__icon {
}
.options__icon-huge {
background-position-x: var(--button-huge-normal-icon-offset-x, 0);
}
}
}
2016-03-11 00:48:53 +00:00
}