orange.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* iCheck plugin Flat skin, orange
  2. ----------------------------------- */
  3. .icheckbox_flat-orange,
  4. .iradio_flat-orange {
  5. display: inline-block;
  6. *display: inline;
  7. vertical-align: middle;
  8. margin: 0;
  9. padding: 0;
  10. width: 20px;
  11. height: 20px;
  12. background: url(orange.png) no-repeat;
  13. border: none;
  14. cursor: pointer;
  15. }
  16. .icheckbox_flat-orange {
  17. background-position: 0 0;
  18. }
  19. .icheckbox_flat-orange.checked {
  20. background-position: -22px 0;
  21. }
  22. .icheckbox_flat-orange.disabled {
  23. background-position: -44px 0;
  24. cursor: default;
  25. }
  26. .icheckbox_flat-orange.checked.disabled {
  27. background-position: -66px 0;
  28. }
  29. .iradio_flat-orange {
  30. background-position: -88px 0;
  31. }
  32. .iradio_flat-orange.checked {
  33. background-position: -110px 0;
  34. }
  35. .iradio_flat-orange.disabled {
  36. background-position: -132px 0;
  37. cursor: default;
  38. }
  39. .iradio_flat-orange.checked.disabled {
  40. background-position: -154px 0;
  41. }
  42. /* HiDPI support */
  43. @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
  44. .icheckbox_flat-orange,
  45. .iradio_flat-orange {
  46. background-image: url(orange@2x.png);
  47. -webkit-background-size: 176px 22px;
  48. background-size: 176px 22px;
  49. }
  50. }