59 lines
1.5 KiB
CSS
59 lines
1.5 KiB
CSS
|
/* iCheck plugin Square skin, purple
|
||
|
----------------------------------- */
|
||
|
.icheckbox_square-purple,
|
||
|
.iradio_square-purple {
|
||
|
display: inline-block;
|
||
|
*display: inline;
|
||
|
vertical-align: middle;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
width: 22px;
|
||
|
height: 22px;
|
||
|
background: url(purple.png) no-repeat;
|
||
|
border: none;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.icheckbox_square-purple {
|
||
|
background-position: 0 0;
|
||
|
}
|
||
|
.icheckbox_square-purple.hover {
|
||
|
background-position: -24px 0;
|
||
|
}
|
||
|
.icheckbox_square-purple.checked {
|
||
|
background-position: -48px 0;
|
||
|
}
|
||
|
.icheckbox_square-purple.disabled {
|
||
|
background-position: -72px 0;
|
||
|
cursor: default;
|
||
|
}
|
||
|
.icheckbox_square-purple.checked.disabled {
|
||
|
background-position: -96px 0;
|
||
|
}
|
||
|
|
||
|
.iradio_square-purple {
|
||
|
background-position: -120px 0;
|
||
|
}
|
||
|
.iradio_square-purple.hover {
|
||
|
background-position: -144px 0;
|
||
|
}
|
||
|
.iradio_square-purple.checked {
|
||
|
background-position: -168px 0;
|
||
|
}
|
||
|
.iradio_square-purple.disabled {
|
||
|
background-position: -192px 0;
|
||
|
cursor: default;
|
||
|
}
|
||
|
.iradio_square-purple.checked.disabled {
|
||
|
background-position: -216px 0;
|
||
|
}
|
||
|
|
||
|
/* HiDPI support */
|
||
|
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
|
||
|
.icheckbox_square-purple,
|
||
|
.iradio_square-purple {
|
||
|
background-image: url(purple@2x.png);
|
||
|
-webkit-background-size: 240px 24px;
|
||
|
background-size: 240px 24px;
|
||
|
}
|
||
|
}
|