jquery.iphone.toggle.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. .iPhoneCheckContainer {
  2. position: relative;
  3. height: 27px;
  4. cursor: pointer;
  5. overflow: hidden; }
  6. .iPhoneCheckContainer input {
  7. position: absolute;
  8. top: 5px;
  9. left: 30px;
  10. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  11. opacity: 0; }
  12. .iPhoneCheckContainer label {
  13. white-space: nowrap;
  14. font-size: 17px;
  15. line-height: 17px;
  16. font-weight: bold;
  17. font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  18. cursor: pointer;
  19. display: block;
  20. height: 27px;
  21. position: absolute;
  22. width: auto;
  23. top: 0;
  24. padding-top: 5px;
  25. overflow: hidden; }
  26. .iPhoneCheckContainer, .iPhoneCheckContainer label {
  27. user-select: none;
  28. -moz-user-select: none;
  29. -khtml-user-select: none; }
  30. .iPhoneCheckDisabled {
  31. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  32. opacity: 0.5; }
  33. label.iPhoneCheckLabelOn {
  34. color: white;
  35. background: url('../img/iphone-style-checkboxes/on.png?1284697268') no-repeat;
  36. text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
  37. left: 0;
  38. padding-top: 5px; }
  39. label.iPhoneCheckLabelOn span {
  40. padding-left: 8px; }
  41. label.iPhoneCheckLabelOff {
  42. color: #8b8b8b;
  43. background: url('../img/iphone-style-checkboxes/off.png?1284697268') no-repeat right 0;
  44. text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
  45. text-align: right;
  46. right: 0; }
  47. label.iPhoneCheckLabelOff span {
  48. padding-right: 8px; }
  49. .iPhoneCheckHandle {
  50. display: block;
  51. height: 27px;
  52. cursor: pointer;
  53. position: absolute;
  54. top: 0;
  55. left: 0;
  56. width: 0;
  57. background: url('../img/iphone-style-checkboxes/slider_left.png?1284697268') no-repeat;
  58. padding-left: 3px; }
  59. .iPhoneCheckHandleRight {
  60. height: 100%;
  61. width: 100%;
  62. padding-right: 3px;
  63. background: url('../img/iphone-style-checkboxes/slider_right.png?1284697268') no-repeat right 0; }
  64. .iPhoneCheckHandleCenter {
  65. height: 100%;
  66. width: 100%;
  67. background: url('../img/iphone-style-checkboxes/slider_center.png?1284697268'); }
  68. .iOSCheckContainer {
  69. position: relative;
  70. height: 27px;
  71. cursor: pointer;
  72. overflow: hidden; }
  73. .iOSCheckContainer input {
  74. position: absolute;
  75. top: 5px;
  76. left: 30px;
  77. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  78. opacity: 0; }
  79. .iOSCheckContainer label {
  80. white-space: nowrap;
  81. font-size: 17px;
  82. line-height: 17px;
  83. font-weight: bold;
  84. font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  85. cursor: pointer;
  86. display: block;
  87. height: 27px;
  88. position: absolute;
  89. width: auto;
  90. top: 0;
  91. padding-top: 5px;
  92. overflow: hidden; }
  93. .iOSCheckContainer, .iOSCheckContainer label {
  94. user-select: none;
  95. -moz-user-select: none;
  96. -khtml-user-select: none; }
  97. .iOSCheckDisabled {
  98. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  99. opacity: 0.5; }
  100. label.iOSCheckLabelOn {
  101. color: white;
  102. background: url('../img/ios-style-checkboxes/on.png?1284697268') no-repeat;
  103. text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
  104. left: 0;
  105. padding-top: 5px; }
  106. label.iOSCheckLabelOn span {
  107. padding-left: 8px; }
  108. label.iOSCheckLabelOff {
  109. color: #8b8b8b;
  110. background: url('../img/ios-style-checkboxes/off.png?1284697268') no-repeat right 0;
  111. text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
  112. text-align: right;
  113. right: 0; }
  114. label.iOSCheckLabelOff span {
  115. padding-right: 8px; }
  116. .iOSCheckHandle {
  117. display: block;
  118. height: 27px;
  119. cursor: pointer;
  120. position: absolute;
  121. top: 0;
  122. left: 0;
  123. width: 0;
  124. background: url('../img/ios-style-checkboxes/slider_left.png?1284697268') no-repeat;
  125. padding-left: 3px; }
  126. .iOSCheckHandleRight {
  127. height: 100%;
  128. width: 100%;
  129. padding-right: 3px;
  130. background: url('../img/ios-style-checkboxes/slider_right.png?1284697268') no-repeat right 0; }
  131. .iOSCheckHandleCenter {
  132. height: 100%;
  133. width: 100%;
  134. background: url('../img/ios-style-checkboxes/slider_center.png?1284697268'); }