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.

119 lines
2.5 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/border-on.png');
  45. background-repeat: no-repeat;
  46. }
  47. label.iPhoneCheckLabelOn {
  48. color: white;
  49. background-image: url('images/label-on.png');
  50. background-repeat: repeat-x;
  51. text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
  52. left: 0;
  53. padding-top: 5px;
  54. margin-left: 4px;
  55. margin-top: 0px;
  56. }
  57. label.iPhoneCheckLabelOn span {
  58. padding-left: 4px;
  59. }
  60. label.iPhoneCheckLabelOff {
  61. color: #8b8b8b;
  62. background-image: url('images/label-off.png');
  63. background-repeat: repeat-x;
  64. text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
  65. text-align: right;
  66. margin-right: 4px;
  67. margin-top: 0px;
  68. right: 0;
  69. }
  70. label.iPhoneCheckLabelOff span {
  71. padding-right: 4px;
  72. }
  73. div.iPhoneCheckBorderOff {
  74. position: absolute;
  75. width: 4px;
  76. height: 100%;
  77. background-image: url('images/border-off.png');
  78. background-repeat: no-repeat;
  79. }
  80. .iPhoneCheckHandle {
  81. display: block;
  82. height: 27px;
  83. cursor: pointer;
  84. position: absolute;
  85. top: 0;
  86. left: 0;
  87. width: 0;
  88. background-image: url('images/handle-left.png');
  89. background-repeat: no-repeat;
  90. padding-left: 4px;
  91. }
  92. .iPhoneCheckHandleCenter {
  93. position: absolute;
  94. width: 100%;
  95. height: 100%;
  96. background-image: url('images/handle-center.png');
  97. background-repeat: repeat-x;
  98. }
  99. .iPhoneCheckHandleRight {
  100. position: absolute;
  101. height: 100%;
  102. width: 4px;
  103. right: 0px;
  104. background-image: url('images/handle-right.png');
  105. background-repeat: no-repeat;
  106. }