Fork of the espurna firmware for `mhsw` switches
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.

126 lines
2.7 KiB

  1. .iPhoneCheckContainer {
  2. -webkit-transform:translate3d(0,0,0);
  3. position: relative;
  4. height: 27px;
  5. cursor: pointer;
  6. overflow: hidden;
  7. }
  8. .iPhoneCheckContainer input {
  9. position: absolute;
  10. top: 5px;
  11. left: 30px;
  12. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  13. opacity: 0;
  14. }
  15. .iPhoneCheckContainer label {
  16. white-space: nowrap;
  17. font-size: 17px;
  18. line-height: 17px;
  19. font-weight: bold;
  20. font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  21. cursor: pointer;
  22. display: block;
  23. height: 27px;
  24. position: absolute;
  25. width: auto;
  26. top: 0;
  27. padding-top: 5px;
  28. overflow: hidden;
  29. }
  30. .iPhoneCheckContainer, .iPhoneCheckContainer label {
  31. user-select: none;
  32. -moz-user-select: none;
  33. -khtml-user-select: none;
  34. }
  35. .iPhoneCheckDisabled {
  36. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  37. opacity: 0.5;
  38. }
  39. div.iPhoneCheckBorderOn {
  40. position: absolute;
  41. left: 0;
  42. width: 4px;
  43. height: 100%;
  44. background-image: url('images/check.png');
  45. background-repeat: no-repeat;
  46. background-position: 0px 0px;
  47. }
  48. label.iPhoneCheckLabelOn {
  49. color: white;
  50. background-image: url('images/check.png');
  51. background-repeat: repeat-x;
  52. background-position: 0px -27px;
  53. text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
  54. left: 0;
  55. padding-top: 5px;
  56. margin-left: 4px;
  57. margin-top: 0px;
  58. }
  59. label.iPhoneCheckLabelOn span {
  60. padding-left: 4px;
  61. }
  62. label.iPhoneCheckLabelOff {
  63. color: #8b8b8b;
  64. background-image: url('images/check.png');
  65. background-repeat: repeat-x;
  66. background-position: 0px -54px;
  67. text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
  68. text-align: right;
  69. margin-right: 4px;
  70. margin-top: 0px;
  71. right: 0;
  72. }
  73. label.iPhoneCheckLabelOff span {
  74. padding-right: 4px;
  75. }
  76. div.iPhoneCheckBorderOff {
  77. position: absolute;
  78. width: 4px;
  79. height: 100%;
  80. background-image: url('images/check.png');
  81. background-repeat: no-repeat;
  82. background-position: 0px -81px;
  83. }
  84. .iPhoneCheckHandle {
  85. display: block;
  86. height: 27px;
  87. cursor: pointer;
  88. position: absolute;
  89. top: 0;
  90. left: 0;
  91. width: 0;
  92. background-image: url('images/check.png');
  93. background-repeat: no-repeat;
  94. background-position: 0px -108px;
  95. padding-left: 4px;
  96. }
  97. .iPhoneCheckHandleCenter {
  98. position: absolute;
  99. width: 100%;
  100. height: 100%;
  101. background-image: url('images/check.png');
  102. background-repeat: repeat-x;
  103. background-position: 0px -135px;
  104. }
  105. .iPhoneCheckHandleRight {
  106. position: absolute;
  107. height: 100%;
  108. width: 4px;
  109. right: 0px;
  110. background-image: url('images/check.png');
  111. background-repeat: no-repeat;
  112. background-position: 0px -162px;
  113. }