You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.6 KiB

  1. /* iCheck plugin Square skin, grey
  2. ----------------------------------- */
  3. .icheckbox_square-grey,
  4. .iradio_square-grey {
  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(grey.png) no-repeat;
  13. border: none;
  14. cursor: pointer;
  15. }
  16. .icheckbox_square-grey {
  17. background-position: 0 0;
  18. }
  19. .icheckbox_square-grey.hover {
  20. background-position: -24px 0;
  21. }
  22. .icheckbox_square-grey.checked {
  23. background-position: -48px 0;
  24. }
  25. .icheckbox_square-grey.disabled {
  26. background-position: -72px 0;
  27. cursor: default;
  28. }
  29. .icheckbox_square-grey.checked.disabled {
  30. background-position: -96px 0;
  31. }
  32. .iradio_square-grey {
  33. background-position: -120px 0;
  34. }
  35. .iradio_square-grey.hover {
  36. background-position: -144px 0;
  37. }
  38. .iradio_square-grey.checked {
  39. background-position: -168px 0;
  40. }
  41. .iradio_square-grey.disabled {
  42. background-position: -192px 0;
  43. cursor: default;
  44. }
  45. .iradio_square-grey.checked.disabled {
  46. background-position: -216px 0;
  47. }
  48. /* Retina support */
  49. @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
  50. only screen and (-moz-min-device-pixel-ratio: 1.5),
  51. only screen and (-o-min-device-pixel-ratio: 3/2),
  52. only screen and (min-device-pixel-ratio: 1.5) {
  53. .icheckbox_square-grey,
  54. .iradio_square-grey {
  55. background-image: url(grey@2x.png);
  56. -webkit-background-size: 240px 24px;
  57. background-size: 240px 24px;
  58. }
  59. }