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.

73 lines
1.8 KiB

  1. .iPhoneCheckContainer {
  2. -webkit-transform:translate3d(0,0,0);
  3. position: relative;
  4. height: 27px;
  5. cursor: pointer;
  6. overflow: hidden; }
  7. .iPhoneCheckContainer input {
  8. position: absolute;
  9. top: 5px;
  10. left: 30px;
  11. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  12. opacity: 0; }
  13. .iPhoneCheckContainer label {
  14. white-space: nowrap;
  15. font-size: 17px;
  16. line-height: 17px;
  17. font-weight: bold;
  18. font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  19. cursor: pointer;
  20. display: block;
  21. height: 27px;
  22. position: absolute;
  23. width: auto;
  24. top: 0;
  25. padding-top: 5px;
  26. overflow: hidden; }
  27. .iPhoneCheckContainer, .iPhoneCheckContainer label {
  28. user-select: none;
  29. -moz-user-select: none;
  30. -khtml-user-select: none; }
  31. .iPhoneCheckDisabled {
  32. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  33. opacity: 0.5; }
  34. label.iPhoneCheckLabelOn {
  35. color: white;
  36. background: url('images/on.png') no-repeat;
  37. text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
  38. left: 0;
  39. padding-top: 5px; }
  40. label.iPhoneCheckLabelOn span {
  41. padding-left: 8px; }
  42. label.iPhoneCheckLabelOff {
  43. color: #8b8b8b;
  44. background: url('images/off.png') no-repeat right 0;
  45. text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
  46. text-align: right;
  47. right: 0; }
  48. label.iPhoneCheckLabelOff span {
  49. padding-right: 8px; }
  50. .iPhoneCheckHandle {
  51. display: block;
  52. height: 27px;
  53. cursor: pointer;
  54. position: absolute;
  55. top: 0;
  56. left: 0;
  57. width: 0;
  58. background: url('images/slider_left.png') no-repeat;
  59. padding-left: 3px; }
  60. .iPhoneCheckHandleRight {
  61. height: 100%;
  62. width: 100%;
  63. padding-right: 3px;
  64. background: url('images/slider_right.png') no-repeat right 0; }
  65. .iPhoneCheckHandleCenter {
  66. height: 100%;
  67. width: 100%;
  68. background: url('images/slider_center.png'); }