123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- /* iCheck plugin Flat skin, red
- ----------------------------------- */
- .icheckbox_flat,
- .iradio_flat {
- display: block;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: image-url("assessment/red.png") no-repeat;
- border: none;
- cursor: pointer;
- }
- .icheckbox_flat {
- background-position: 0 0;
- }
- .icheckbox_flat.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat.checked.disabled {
- background-position: -66px 0;
- }
- .iradio_flat {
- background-position: -88px 0;
- }
- .iradio_flat.checked {
- background-position: -110px 0;
- }
- .iradio_flat.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat.checked.disabled {
- background-position: -154px 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_flat,
- .iradio_flat {
- background-image: image-url("assessment/red@2x.png");
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
- }
|