web-apps/apps/common/main/resources/less/multislider-gradient.less

90 lines
3 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.multi-slider-gradient {
height: 35px;
background-color: transparent;
.thumb {
top: 18px;
2017-04-11 14:01:34 +00:00
background: none;
2016-03-11 00:48:53 +00:00
2017-04-11 14:01:34 +00:00
.thumb-top {
position: absolute;
top: 2px;
left: 2px;
width: 9px;
height: 9px;
2020-12-19 19:43:19 +00:00
background-color: @background-normal;
2017-04-11 14:01:34 +00:00
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
2020-12-19 19:43:19 +00:00
border-top: solid 1px @border-regular-control;
border-left: solid 1px @border-regular-control;
2017-04-11 14:01:34 +00:00
border-radius: 0 3px;
box-sizing: content-box;
.thumb-top-inner {
2020-12-19 19:43:19 +00:00
border-top: solid 1px @background-normal;
border-left: solid 1px @background-normal;
height: 100%;
}
2017-04-11 14:01:34 +00:00
}
.thumb-bottom {
position: absolute;
top: 6px;
left: 1px;
width: 10px;
height: 9px;
2020-12-19 19:43:19 +00:00
background-color: @background-normal;
border: solid 1px @border-regular-control;
2017-04-11 14:01:34 +00:00
border-top: none;
border-radius: 2px;
box-sizing: content-box;
.thumb-bottom-inner {
2020-12-19 19:43:19 +00:00
border: solid 1px @border-regular-control;
border-top: none;
height: 100%;
}
2017-04-11 14:01:34 +00:00
}
&.active {
.thumb-top {
2020-12-19 19:43:19 +00:00
border-top: solid 1px @border-control-focus;
border-left: solid 1px @border-control-focus;
}
.thumb-bottom {
2020-12-19 19:43:19 +00:00
border: solid 1px @border-control-focus;
border-top: none;
}
}
&:hover {
.thumb-bottom {
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.32);
}
2016-03-11 00:48:53 +00:00
}
2019-11-12 14:13:34 +00:00
&.remove {
opacity: 0.5;
}
2016-03-11 00:48:53 +00:00
}
.track {
background: #ededed; /* Old browsers */
// background: -webkit-gradient(linear, left top, right top, color-stop(0%,#000000), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #000000 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
background: -moz-linear-gradient(left, #000000 0%,#ffffff 100%); /* FF3.6+ */
background: -o-linear-gradient(left, #000000 0%,#ffffff 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, #000000 0%,#ffffff 100%); /* IE10+ */
background: linear-gradient(to right, #000000 0%,#ffffff 100%); /* W3C */
// filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
background-position: 0 0;
2020-12-19 19:43:19 +00:00
outline: 1px solid @border-control-focus;
border: 1px solid @border-regular-control;
cursor: copy;
2016-03-11 00:48:53 +00:00
}
}