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

100 lines
2.3 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;
padding: 2px 0 2px 10px;
.rtl & {
padding: 2px 10px 2px 0;
}
2016-03-11 00:48:53 +00:00
}
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;
float: left;
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
}
2022-10-19 19:35:38 +00:00
2022-10-23 16:07:40 +00:00
&.combo-border-type {
2022-10-19 19:35:38 +00:00
.rtl & li img {
float: right;
}
}
2022-10-23 16:07:40 +00:00
&:not(.combo-border-type) .dropdown-menu li a {
2022-10-19 19:35:38 +00:00
padding: 5px 20px;
}
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;
}
}
}
}