web-apps/apps/common/main/resources/less/combo-dataview.less

489 lines
12 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.combo-dataview {
@combo-dataview-width: 100%;
width: @combo-dataview-width;
.view {
display: inline-block;
float: left;
overflow: hidden;
width: @combo-dataview-width;
height: 100%;
.border-radius(@border-radius-small);
2021-02-16 07:21:22 +00:00
border: @scaled-one-px-value-ie solid @border-regular-control-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: @scaled-one-px-value solid @border-regular-control;
2021-02-16 07:21:22 +00:00
background-color: @background-normal-ie;
2020-12-19 19:44:59 +00:00
background-color: @background-normal;
2016-03-11 00:48:53 +00:00
.dataview {
padding: 1px;
}
}
.button {
display: inline-block;
float: right;
button {
border-radius:0 @border-radius-small @border-radius-small 0;
2021-02-16 07:21:22 +00:00
border: @scaled-one-px-value-ie solid @border-regular-control-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: @scaled-one-px-value solid @border-regular-control;
2021-02-16 07:21:22 +00:00
background-color: @background-normal-ie;
2020-12-19 19:44:59 +00:00
background-color: @background-normal;
2016-03-11 00:48:53 +00:00
&.dropdown-toggle {
2017-08-15 11:11:12 +00:00
.inner-box-caret {
2021-03-28 17:55:59 +00:00
padding: 0 1px 0 0;
2017-08-15 11:11:12 +00:00
}
2016-03-11 00:48:53 +00:00
.caret {
// width: 7px;
// height: 7px;
// border: 0;
// background-position: @arrow-small-offset-x @arrow-small-offset-y;
margin-left: 1px;
2021-02-16 19:59:03 +00:00
.ie & {
margin-left: 0;
}
2016-03-11 00:48:53 +00:00
}
}
2021-07-19 15:09:34 +00:00
&.active, &:active {
.caret {
2022-08-31 13:43:49 +00:00
border-color: @icon-normal-ie;
2021-07-19 15:09:34 +00:00
border-color: @icon-normal;
}
}
2016-03-11 00:48:53 +00:00
}
}
.dropdown-menu {
2021-02-16 07:21:22 +00:00
border-color: @border-regular-control-ie;
2020-12-19 19:43:19 +00:00
border-color: @border-regular-control;
2016-03-11 00:48:53 +00:00
border-top-right-radius: 0;
border-top-left-radius: 2px;
margin: 0;
padding: 1px;
overflow: hidden;
}
&.disabled {
2022-08-31 13:43:49 +00:00
opacity: @component-disabled-opacity-ie;
opacity: @component-disabled-opacity;
2016-03-11 00:48:53 +00:00
.dataview.inner {
> .item {
cursor: default;
}
}
}
}
2022-09-09 17:25:23 +00:00
.combo-styles(@combo-dataview-height: 46px, @item-height: 46px, @row-count: 1) {
2016-03-11 00:48:53 +00:00
@combo-dataview-button-width: 30px;
2022-09-07 17:24:58 +00:00
@item-height-calc: calc(@item-height - 6px + 2 * @scaled-two-px-value + 2 * @scaled-one-px-value);
2022-09-09 17:25:23 +00:00
@combo-dataview-height-calc: calc(@combo-dataview-height - ((@row-count - 1) * @scaled-one-px-value) - @row-count * (6px - 2 * @scaled-two-px-value - 2 * @scaled-one-px-value));
2022-09-07 17:24:58 +00:00
2016-03-11 00:48:53 +00:00
height: @combo-dataview-height;
2021-11-16 18:29:43 +00:00
height: @combo-dataview-height-calc;
2016-03-11 00:48:53 +00:00
.view {
margin-right: -@combo-dataview-button-width;
padding-right: calc(@combo-dataview-button-width - @scaled-two-px-value);
2016-03-11 00:48:53 +00:00
.border-left-radius(0);
.dataview {
2022-03-11 09:37:44 +00:00
@minus-px: calc(-1px / @pixel-ratio-factor);
2021-11-16 18:29:43 +00:00
height: @combo-dataview-height;
height: @combo-dataview-height-calc;
2016-03-11 00:48:53 +00:00
padding: 0;
2021-10-08 11:42:04 +00:00
margin: -1 0 0 -1;
margin: @minus-px 0 0 @minus-px;
2016-03-11 00:48:53 +00:00
}
}
&:not(.shapes) .item {
2021-08-13 13:55:42 +00:00
padding: 2px;
2021-10-08 11:42:04 +00:00
padding: @scaled-two-px-value;
2021-02-16 07:21:22 +00:00
border: @scaled-one-px-value-ie solid @border-regular-control-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: @scaled-one-px-value solid @border-regular-control;
2016-03-11 00:48:53 +00:00
.box-shadow(none);
2021-02-16 07:21:22 +00:00
@minus-px-ie: -1px;
2022-03-05 17:04:12 +00:00
@minus-px: calc((-1px / @pixel-ratio-factor));
2021-02-16 07:21:22 +00:00
margin: 0 @minus-px-ie @minus-px-ie 0;
margin: 0 @minus-px @minus-px 0;
2022-09-07 17:24:58 +00:00
height: @item-height;
height: @item-height-calc;
background-color: @background-normal-ie;
background-color: @background-normal;
2021-10-08 11:42:04 +00:00
display: flex;
2016-03-11 00:48:53 +00:00
&:hover {
.box-inner-shadow(0 0 0 2px @border-preview-hover-ie);
.box-inner-shadow(0 0 0 @scaled-two-px-value @border-preview-hover);
2016-03-11 00:48:53 +00:00
}
&.selected {
2021-02-16 07:21:22 +00:00
.box-inner-shadow(0 0 0 2px @border-preview-select-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
.box-inner-shadow(0 0 0 @scaled-two-px-value @border-preview-select);
2016-03-11 00:48:53 +00:00
}
}
&.disabled:not(.shapes) {
2016-03-11 00:48:53 +00:00
.item {
&:hover:not(.selected) {
.box-shadow(none);
.style > div {
background-color: transparent;
}
}
}
}
&:not(.shapes) .dropdown-menu {
2016-03-11 00:48:53 +00:00
box-sizing: content-box;
padding: 0;
border-top-left-radius: 0;
border-left: 0 none;
.dataview {
margin-top: -1px;
2021-11-16 18:29:43 +00:00
margin-top: calc(-1 * @scaled-one-px-value);
2016-03-11 00:48:53 +00:00
}
}
.style {
width: auto;
position: relative;
border: none;
2021-04-26 20:26:29 +00:00
//.box-shadow(0 0 0 @scaled-one-px-value-ie @background-normal-ie);
//.box-shadow(0 0 0 @scaled-one-px-value @background-normal);
background-color: @canvas-content-background;
2016-03-11 00:48:53 +00:00
> div {
background-repeat: no-repeat;
background-size: cover;
}
}
.button {
width: @combo-dataview-button-width;
height: @combo-dataview-height;
2021-11-16 18:29:43 +00:00
height: @combo-dataview-height-calc;
2016-03-11 00:48:53 +00:00
2021-08-13 11:10:10 +00:00
.btn-group, button {
width: 100%;
height: 100%;
}
2016-03-11 00:48:53 +00:00
button {
&.dropdown-toggle {
padding: 0;
.caret {
2020-12-19 19:44:59 +00:00
//width: 27px;
//height: 27px;
//background-position: @arrow-big-offset-x @arrow-big-offset-y;
width: 8px;
height: 8px;
background-color: transparent;
2021-02-16 07:21:22 +00:00
border: solid 1px @icon-normal-ie;
2020-12-22 12:45:06 +00:00
border: solid 1px @icon-normal;
2020-12-19 19:44:59 +00:00
border-bottom: none;
border-right: none;
background-image: none;
transition: transform 0.2s ease;
transform: rotate(-135deg) translate(2px,2px);
2016-03-11 00:48:53 +00:00
}
&.active {
.caret {
2020-12-19 19:44:59 +00:00
transform: rotate(45deg);
2016-03-11 00:48:53 +00:00
}
}
}
}
}
.ps-scrollbar-y-rail {
margin-top: 2px;
}
}
2022-09-07 17:24:58 +00:00
.combo-styles {
.combo-styles()
}
.combo-cell-styles {
2022-09-09 17:25:23 +00:00
.combo-styles(52px, 26px, 2);
2022-09-07 17:24:58 +00:00
}
.combo-template(@combo-dataview-height: 64px) {
2016-03-11 00:48:53 +00:00
@combo-dataview-button-width: 18px;
height: @combo-dataview-height;
.dropdown-menu {
padding: 2px;
}
.view {
margin-right: -@combo-dataview-button-width;
padding-right: @combo-dataview-button-width;
.dataview {
padding: 2px;
}
}
.button {
width: @combo-dataview-button-width;
height: @combo-dataview-height;
}
&.disabled {
.item {
&:hover:not(.selected) {
2021-02-16 07:21:22 +00:00
.box-shadow(0 0 0 @scaled-one-px-value-ie @border-regular-control-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
.box-shadow(0 0 0 @scaled-one-px-value @border-regular-control);
2016-03-11 00:48:53 +00:00
}
}
}
.ps-scrollbar-y-rail {
margin-top: 3px;
margin-bottom: 3px;
right: 3px !important;
}
};
.combo-template {
.combo-template(64px);
}
.combo-textart(@combo-dataview-height: 62px, @combo-dataview-item-margins: 4px) {
2016-03-11 00:48:53 +00:00
@combo-dataview-button-width: 15px;
height: @combo-dataview-height;
.view {
margin-right: -@combo-dataview-button-width;
padding-right: @combo-dataview-button-width;
}
.button {
width: @combo-dataview-button-width;
height: @combo-dataview-height;
}
.item {
margin: @combo-dataview-item-margins 0 @combo-dataview-item-margins @combo-dataview-item-margins;
2016-03-11 00:48:53 +00:00
.box-shadow(none);
}
&.disabled {
.item {
&:hover:not(.selected) {
.box-shadow(none);
}
}
}
};
.combo-pattern {
.combo-textart(40px);
.item {
&:hover {
.box-shadow(0 0 0 @scaled-one-px-value-ie @border-preview-hover-ie);
.box-shadow(0 0 0 @scaled-one-px-value @border-preview-hover);
}
}
2016-03-11 00:48:53 +00:00
.dropdown-menu {
padding-right: 2px;
}
.ps-scrollbar-y-rail {
margin-top: 4px;
margin-bottom: 4px;
}
};
.combo-textart {
.combo-textart();
}
2016-03-11 00:48:53 +00:00
.combo-spark-style {
.combo-textart(58px, 2px);
}
.combo-chart-style {
.combo-textart(58px, 2px);
2016-03-11 00:48:53 +00:00
.item {
margin-left: 4px;
2021-02-16 07:21:22 +00:00
.box-shadow(0 0 0 @scaled-one-px-value-ie @border-regular-control-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
.box-shadow(0 0 0 @scaled-one-px-value @border-regular-control);
2016-03-11 00:48:53 +00:00
}
&.disabled {
.item {
&:hover:not(.selected) {
2021-02-16 07:21:22 +00:00
.box-shadow(0 0 0 @scaled-one-px-value-ie @border-regular-control-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
.box-shadow(0 0 0 @scaled-one-px-value @border-regular-control);
2016-03-11 00:48:53 +00:00
}
}
}
.combo-wrap-item.options__icon {
background-position-x: 0;
background-position-x: @button-huge-normal-icon-offset-x;
}
2017-06-30 14:49:58 +00:00
}
.combo-pivot-template {
.combo-template(60px);
top: -4px;
padding-right: 12px;
2020-06-05 17:50:16 +00:00
position: absolute;
.more-container & {
padding-right: 0;
position: static;
}
.view .dataview, .dropdown-menu {
padding: 1px;
}
2022-07-30 11:04:45 +00:00
.dataview {
.item {
&:hover {
.box-shadow(0 0 0 2px @border-preview-hover-ie) !important;
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-hover) !important;
}
&.selected {
.box-shadow(0 0 0 2px @border-preview-select-ie) !important;
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-select) !important;
}
}
}
.dropdown-menu {
padding: 5px 1px 5px 1px;
.dataview {
.group-description {
padding: 3px 0 3px 10px;
.font-weight-bold();
}
}
}
2022-07-30 11:04:45 +00:00
2020-06-11 12:58:58 +00:00
}
.combo-slicer-style {
2021-09-08 16:58:15 +00:00
.combo-textart(60px, 4px);
}
.combo-transitions {
@combo-dataview-height: 46px;
@combo-dataview-height-calc: calc(40px + 2 * @scaled-two-px-value + 2 * @scaled-one-px-value);
@combo-dataview-item-margins: @scaled-two-px-value;
@combo-dataview-button-width: 15px;
height: @combo-dataview-height;
height: @combo-dataview-height-calc;
.view {
margin-right: -@combo-dataview-button-width;
padding-right: calc(@combo-dataview-button-width - @scaled-one-px-value);
}
.view .dataview, .dropdown-menu {
padding: 0;
}
.button {
width: @combo-dataview-button-width;
height: @combo-dataview-height;
height: @combo-dataview-height-calc;
}
2022-01-13 11:31:49 +00:00
.item, .menu-picker-container .dataview .group-items-container .item {
padding: 0px;
2022-08-31 13:43:49 +00:00
margin: 2px;
2022-01-13 11:31:49 +00:00
margin: @combo-dataview-item-margins;
.box-shadow(none);
2022-01-13 11:31:49 +00:00
&:hover {
.box-shadow(0 0 0 2px @border-preview-hover-ie);
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-hover);
}
&.selected {
.box-shadow(0 0 0 2px @border-preview-select-ie);
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-select);
}
}
.menu-picker-container {
2021-12-06 21:46:00 +00:00
.group-description {
padding: 3px 0 3px 10px;
2022-01-26 15:00:09 +00:00
.font-weight-bold();
2021-12-06 21:46:00 +00:00
}
.group-items-container .item {
&:last-child {
margin-bottom: @combo-dataview-item-margins;
}
}
.last-item {
margin-bottom: @combo-dataview-item-margins;
}
}
&.disabled {
.item {
&:hover:not(.selected) {
.box-shadow(none);
}
}
}
2021-12-06 21:46:00 +00:00
}
2021-12-06 21:46:00 +00:00
.combo-transitions, .menu-animation {
.btn_item {
color: @text-normal-ie;
color: @text-normal;
display: inline-flex;
flex-direction: column;
align-items: center;
.icon:not(svg) {
width: @x-huge-btn-icon-size;
height: @x-huge-btn-icon-size;
min-width: 0;
}
.caption{
2022-01-13 11:31:49 +00:00
line-height: 12px;
2021-12-06 21:46:00 +00:00
font-size: 11px;
text-overflow: ellipsis;
overflow: hidden;
width: 100%;
text-align: center;
padding: 0 2px;
}
}
}