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;
|
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;
|
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;
|
2021-01-18 20:27:47 +00:00
|
|
|
// 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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
.dataview.inner {
|
|
|
|
> .item {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.combo-styles {
|
|
|
|
@combo-dataview-button-width: 30px;
|
|
|
|
@combo-dataview-height: 46px;
|
|
|
|
|
|
|
|
height: @combo-dataview-height;
|
|
|
|
|
|
|
|
.view {
|
|
|
|
margin-right: -@combo-dataview-button-width;
|
|
|
|
padding-right: @combo-dataview-button-width;
|
|
|
|
|
|
|
|
.border-left-radius(0);
|
|
|
|
|
|
|
|
.dataview {
|
|
|
|
height: 46px;
|
|
|
|
padding: 0;
|
|
|
|
margin: -1px 0 0 -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.item {
|
|
|
|
padding: 3px;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @border-regular-control-ie;
|
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-10 13:36:49 +00:00
|
|
|
|
2021-02-16 07:21:22 +00:00
|
|
|
@minus-px-ie: -1px;
|
2021-02-10 13:36:49 +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;
|
2021-02-10 13:36:49 +00:00
|
|
|
margin: 0 @minus-px @minus-px 0;
|
|
|
|
height: @combo-dataview-height;
|
2021-04-18 15:09:49 +00:00
|
|
|
background-color: @canvas-content-background;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
&:hover {
|
2021-03-13 21:21:18 +00:00
|
|
|
.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);
|
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 {
|
|
|
|
.item {
|
|
|
|
&:hover:not(.selected) {
|
|
|
|
.box-shadow(none);
|
|
|
|
|
|
|
|
.style > div {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
box-sizing: content-box;
|
|
|
|
padding: 0;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-left: 0 none;
|
|
|
|
|
|
|
|
.dataview {
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.style {
|
|
|
|
width: auto;
|
|
|
|
position: relative;
|
|
|
|
border: none;
|
2021-02-16 07:21:22 +00:00
|
|
|
.box-shadow(0 0 0 @scaled-one-px-value-ie @background-normal-ie);
|
2021-02-10 12:40:30 +00:00
|
|
|
.box-shadow(0 0 0 @scaled-one-px-value @background-normal);
|
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;
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-29 09:09:52 +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);
|
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;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2016-03-29 09:09:52 +00:00
|
|
|
.combo-template {
|
|
|
|
.combo-template(64px);
|
|
|
|
}
|
|
|
|
|
2016-09-28 12:21:36 +00:00
|
|
|
.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 {
|
2016-09-28 12:21:36 +00:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-09-28 12:21:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
.combo-pattern {
|
|
|
|
.combo-textart(40px);
|
|
|
|
|
|
|
|
.item {
|
|
|
|
&:hover {
|
2021-03-13 21:21:18 +00:00
|
|
|
.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-09-28 12:21:36 +00:00
|
|
|
}
|
|
|
|
}
|
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 {
|
2016-09-28 12:21:36 +00:00
|
|
|
.combo-textart();
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2016-09-28 12:21:36 +00:00
|
|
|
.combo-spark-style {
|
|
|
|
.combo-textart(58px, 2px);
|
2016-11-10 14:21:48 +00:00
|
|
|
}
|
|
|
|
|
2016-11-10 07:47:35 +00:00
|
|
|
.combo-chart-style {
|
|
|
|
.combo-textart(58px, 2px);
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
.item {
|
2016-11-10 07:47:35 +00:00
|
|
|
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);
|
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);
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-03-05 21:52:06 +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);
|
|
|
|
|
2020-06-05 17:50:16 +00:00
|
|
|
top: -7px;
|
2020-08-03 11:05:35 +00:00
|
|
|
padding-right: 24px;
|
2020-06-05 17:50:16 +00:00
|
|
|
position: absolute;
|
2017-08-03 09:53:07 +00:00
|
|
|
|
2020-04-13 17:12:50 +00:00
|
|
|
.view .dataview, .dropdown-menu {
|
2017-08-03 09:53:07 +00:00
|
|
|
padding: 1px;
|
|
|
|
}
|
2020-06-11 12:58:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.combo-slicer-style {
|
|
|
|
.combo-textart(61px, 4px);
|
2016-09-28 12:21:36 +00:00
|
|
|
}
|