Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /* iCheck plugin Square skin, aero |
| 2 | ----------------------------------- */ |
||
| 3 | .icheckbox_square-aero, |
||
| 4 | .iradio_square-aero { |
||
| 5 | display: inline-block; |
||
| 6 | *display: inline; |
||
| 7 | vertical-align: middle; |
||
| 8 | margin: 0; |
||
| 9 | padding: 0; |
||
| 10 | width: 22px; |
||
| 11 | height: 22px; |
||
| 12 | background: url(aero.png) no-repeat; |
||
| 13 | border: none; |
||
| 14 | cursor: pointer; |
||
| 15 | } |
||
| 16 | |||
| 17 | .icheckbox_square-aero { |
||
| 18 | background-position: 0 0; |
||
| 19 | } |
||
| 20 | .icheckbox_square-aero.hover { |
||
| 21 | background-position: -24px 0; |
||
| 22 | } |
||
| 23 | .icheckbox_square-aero.checked { |
||
| 24 | background-position: -48px 0; |
||
| 25 | } |
||
| 26 | .icheckbox_square-aero.disabled { |
||
| 27 | background-position: -72px 0; |
||
| 28 | cursor: default; |
||
| 29 | } |
||
| 30 | .icheckbox_square-aero.checked.disabled { |
||
| 31 | background-position: -96px 0; |
||
| 32 | } |
||
| 33 | |||
| 34 | .iradio_square-aero { |
||
| 35 | background-position: -120px 0; |
||
| 36 | } |
||
| 37 | .iradio_square-aero.hover { |
||
| 38 | background-position: -144px 0; |
||
| 39 | } |
||
| 40 | .iradio_square-aero.checked { |
||
| 41 | background-position: -168px 0; |
||
| 42 | } |
||
| 43 | .iradio_square-aero.disabled { |
||
| 44 | background-position: -192px 0; |
||
| 45 | cursor: default; |
||
| 46 | } |
||
| 47 | .iradio_square-aero.checked.disabled { |
||
| 48 | background-position: -216px 0; |
||
| 49 | } |
||
| 50 | |||
| 51 | /* HiDPI support */ |
||
| 52 | @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { |
||
| 53 | .icheckbox_square-aero, |
||
| 54 | .iradio_square-aero { |
||
| 55 | background-image: url(aero@2x.png); |
||
| 56 | -webkit-background-size: 240px 24px; |
||
| 57 | background-size: 240px 24px; |
||
| 58 | } |
||
| 59 | } |