web-apps/apps/common/main/resources/less/combo-border-size.less

84 lines
1.9 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.combo-border-size {
.form-control:not(input) {
cursor: pointer;
}
2021-04-24 20:21:15 +00:00
&.input-group-nr {
.form-control:not(input) {
padding-top: 0;
padding-bottom: 0;
2021-04-30 20:44:16 +00:00
display: block;
2021-04-24 20:21:15 +00:00
}
2016-03-11 00:48:53 +00:00
}
li {
a {
white-space: normal;
}
span {
display: inline-block;
margin-top: 3px;
font-size: 11px;
height: 17px;
}
img {
2020-04-03 17:21:00 +00:00
width:60px;
2016-03-11 00:48:53 +00:00
height:20px;
background-color: transparent;
2021-08-23 21:50:46 +00:00
image-rendering: pixelated;
2016-03-11 00:48:53 +00:00
}
}
.image {
position: relative;
width: 100%;
height: 100%;
display: inline-block;
background-color: transparent;
margin: 0 0 0 -3px;
2021-08-23 21:50:46 +00:00
image-rendering: pixelated;
}
2016-03-11 00:48:53 +00:00
img, .image {
background: ~"url(@{common-image-const-path}/combo-border-size/BorderSize.png) no-repeat 0 0";
2021-04-19 20:57:54 +00:00
background-size: 60px auto;
2020-04-03 17:21:00 +00:00
.pixel-ratio__1_25 & {
background-image: ~"url(@{common-image-const-path}/combo-border-size/BorderSize@1.25x.png)";
}
2021-04-19 20:57:54 +00:00
.pixel-ratio__1_5 & {
background-image: ~"url(@{common-image-const-path}/combo-border-size/BorderSize@1.5x.png)";
}
2020-04-03 17:21:00 +00:00
.pixel-ratio__1_75 & {
background-image: ~"url(@{common-image-const-path}/combo-border-size/BorderSize@1.75x.png)";
}
2021-04-19 20:57:54 +00:00
.pixel-ratio__2 & {
background-image: ~"url(@{common-image-const-path}/combo-border-size/BorderSize@2x.png)";
2020-04-03 17:21:00 +00:00
}
2016-03-11 00:48:53 +00:00
}
}
.combo-color {
.form-control:not(input) {
cursor: pointer;
}
li {
img {
-webkit-filter: none;
filter: none;
}
&.selected {
img {
-webkit-filter: none;
filter: none;
}
}
}
}