grey.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* iCheck plugin Minimal skin, grey
  2. ----------------------------------- */
  3. .icheckbox_minimal-grey,
  4. .iradio_minimal-grey {
  5. display: inline-block;
  6. *display: inline;
  7. vertical-align: middle;
  8. margin: 0;
  9. padding: 0;
  10. width: 18px;
  11. height: 18px;
  12. background: url(grey.png) no-repeat;
  13. border: none;
  14. cursor: pointer;
  15. }
  16. .icheckbox_minimal-grey {
  17. background-position: 0 0;
  18. }
  19. .icheckbox_minimal-grey.hover {
  20. background-position: -20px 0;
  21. }
  22. .icheckbox_minimal-grey.checked {
  23. background-position: -40px 0;
  24. }
  25. .icheckbox_minimal-grey.disabled {
  26. background-position: -60px 0;
  27. cursor: default;
  28. }
  29. .icheckbox_minimal-grey.checked.disabled {
  30. background-position: -80px 0;
  31. }
  32. .iradio_minimal-grey {
  33. background-position: -100px 0;
  34. }
  35. .iradio_minimal-grey.hover {
  36. background-position: -120px 0;
  37. }
  38. .iradio_minimal-grey.checked {
  39. background-position: -140px 0;
  40. }
  41. .iradio_minimal-grey.disabled {
  42. background-position: -160px 0;
  43. cursor: default;
  44. }
  45. .iradio_minimal-grey.checked.disabled {
  46. background-position: -180px 0;
  47. }
  48. /* HiDPI support */
  49. @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
  50. .icheckbox_minimal-grey,
  51. .iradio_minimal-grey {
  52. background-image: url(grey@2x.png);
  53. -webkit-background-size: 200px 20px;
  54. background-size: 200px 20px;
  55. }
  56. }