mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-23 13:44:59 +05:00
62 lines
1.6 KiB
CSS
62 lines
1.6 KiB
CSS
|
/* iCheck plugin Square skin, orange
|
||
|
----------------------------------- */
|
||
|
.icheckbox_square-orange,
|
||
|
.iradio_square-orange {
|
||
|
display: inline-block;
|
||
|
*display: inline;
|
||
|
vertical-align: middle;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
width: 22px;
|
||
|
height: 22px;
|
||
|
background: url(orange.png) no-repeat;
|
||
|
border: none;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.icheckbox_square-orange {
|
||
|
background-position: 0 0;
|
||
|
}
|
||
|
.icheckbox_square-orange.hover {
|
||
|
background-position: -24px 0;
|
||
|
}
|
||
|
.icheckbox_square-orange.checked {
|
||
|
background-position: -48px 0;
|
||
|
}
|
||
|
.icheckbox_square-orange.disabled {
|
||
|
background-position: -72px 0;
|
||
|
cursor: default;
|
||
|
}
|
||
|
.icheckbox_square-orange.checked.disabled {
|
||
|
background-position: -96px 0;
|
||
|
}
|
||
|
|
||
|
.iradio_square-orange {
|
||
|
background-position: -120px 0;
|
||
|
}
|
||
|
.iradio_square-orange.hover {
|
||
|
background-position: -144px 0;
|
||
|
}
|
||
|
.iradio_square-orange.checked {
|
||
|
background-position: -168px 0;
|
||
|
}
|
||
|
.iradio_square-orange.disabled {
|
||
|
background-position: -192px 0;
|
||
|
cursor: default;
|
||
|
}
|
||
|
.iradio_square-orange.checked.disabled {
|
||
|
background-position: -216px 0;
|
||
|
}
|
||
|
|
||
|
/* Retina support */
|
||
|
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
||
|
only screen and (-moz-min-device-pixel-ratio: 1.5),
|
||
|
only screen and (-o-min-device-pixel-ratio: 3/2),
|
||
|
only screen and (min-device-pixel-ratio: 1.5) {
|
||
|
.icheckbox_square-orange,
|
||
|
.iradio_square-orange {
|
||
|
background-image: url(orange@2x.png);
|
||
|
-webkit-background-size: 240px 24px;
|
||
|
background-size: 240px 24px;
|
||
|
}
|
||
|
}
|