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.5 KiB

  1. /* iCheck plugin Polaris skin
  2. ----------------------------------- */
  3. .icheckbox_polaris,
  4. .iradio_polaris {
  5. display: inline-block;
  6. *display: inline;
  7. vertical-align: middle;
  8. margin: 0;
  9. padding: 0;
  10. width: 29px;
  11. height: 29px;
  12. background: url(polaris.png) no-repeat;
  13. border: none;
  14. cursor: pointer;
  15. }
  16. .icheckbox_polaris {
  17. background-position: 0 0;
  18. }
  19. .icheckbox_polaris.hover {
  20. background-position: -31px 0;
  21. }
  22. .icheckbox_polaris.checked {
  23. background-position: -62px 0;
  24. }
  25. .icheckbox_polaris.disabled {
  26. background-position: -93px 0;
  27. cursor: default;
  28. }
  29. .icheckbox_polaris.checked.disabled {
  30. background-position: -124px 0;
  31. }
  32. .iradio_polaris {
  33. background-position: -155px 0;
  34. }
  35. .iradio_polaris.hover {
  36. background-position: -186px 0;
  37. }
  38. .iradio_polaris.checked {
  39. background-position: -217px 0;
  40. }
  41. .iradio_polaris.disabled {
  42. background-position: -248px 0;
  43. cursor: default;
  44. }
  45. .iradio_polaris.checked.disabled {
  46. background-position: -279px 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_polaris,
  54. .iradio_polaris {
  55. background-image: url(polaris@2x.png);
  56. -webkit-background-size: 310px 31px;
  57. background-size: 310px 31px;
  58. }
  59. }