bootstrap-toggle-buttons.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. /* line 11, ../sass/bootstrap-toggle-buttons.scss */
  2. .toggle-button {
  3. display: inline-block;
  4. cursor: pointer;
  5. -webkit-border-radius: 5px;
  6. -moz-border-radius: 5px;
  7. -ms-border-radius: 5px;
  8. -o-border-radius: 5px;
  9. border-radius: 5px;
  10. border: 1px solid;
  11. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  12. position: relative;
  13. text-align: left;
  14. overflow: hidden;
  15. -webkit-touch-callout: none;
  16. -webkit-user-select: none;
  17. -khtml-user-select: none;
  18. -moz-user-select: none;
  19. -ms-user-select: none;
  20. user-select: none;
  21. }
  22. /* line 29, ../sass/bootstrap-toggle-buttons.scss */
  23. .toggle-button.deactivate {
  24. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  25. opacity: 0.5;
  26. cursor: default !important;
  27. }
  28. /* line 32, ../sass/bootstrap-toggle-buttons.scss */
  29. .toggle-button.deactivate label, .toggle-button.deactivate span {
  30. cursor: default !important;
  31. }
  32. /* line 36, ../sass/bootstrap-toggle-buttons.scss */
  33. .toggle-button > div {
  34. display: inline-block;
  35. width: 150px;
  36. position: absolute;
  37. top: 0;
  38. }
  39. /* line 41, ../sass/bootstrap-toggle-buttons.scss */
  40. .toggle-button > div.disabled {
  41. left: -50%;
  42. }
  43. /* line 45, ../sass/bootstrap-toggle-buttons.scss */
  44. .toggle-button input[type=checkbox] {
  45. display: none;
  46. }
  47. /* line 53, ../sass/bootstrap-toggle-buttons.scss */
  48. .toggle-button span, .toggle-button label {
  49. cursor: pointer;
  50. position: relative;
  51. float: left;
  52. display: inline-block;
  53. }
  54. /* line 60, ../sass/bootstrap-toggle-buttons.scss */
  55. .toggle-button label {
  56. background: #fefefe;
  57. margin-left: -4px;
  58. margin-right: -4px;
  59. border: 1px solid #E6E6E6;
  60. margin-top: -1px;
  61. z-index: 100;
  62. background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fefefe), color-stop(100%, #e6e6e6));
  63. background-image: -webkit-linear-gradient(top, #fefefe, #e6e6e6);
  64. background-image: -moz-linear-gradient(top, #fefefe, #e6e6e6);
  65. background-image: -o-linear-gradient(top, #fefefe, #e6e6e6);
  66. background-image: linear-gradient(top, #fefefe, #e6e6e6);
  67. -webkit-border-radius: 4px;
  68. -moz-border-radius: 4px;
  69. -ms-border-radius: 4px;
  70. -o-border-radius: 4px;
  71. border-radius: 4px;
  72. }
  73. /* line 72, ../sass/bootstrap-toggle-buttons.scss */
  74. .toggle-button span {
  75. color: #fefefe;
  76. text-align: center;
  77. font-weight: bold;
  78. z-index: 1;
  79. }
  80. /* line 78, ../sass/bootstrap-toggle-buttons.scss */
  81. .toggle-button span.labelLeft {
  82. -moz-border-radius-topleft: 4px;
  83. -webkit-border-top-left-radius: 4px;
  84. border-top-left-radius: 4px;
  85. -moz-border-radius-bottomleft: 4px;
  86. -webkit-border-bottom-left-radius: 4px;
  87. border-bottom-left-radius: 4px;
  88. padding-left: 3px;
  89. }
  90. /* line 83, ../sass/bootstrap-toggle-buttons.scss */
  91. .toggle-button span.labelRight {
  92. -moz-border-radius-topright: 4px;
  93. -webkit-border-top-right-radius: 4px;
  94. border-top-right-radius: 4px;
  95. -moz-border-radius-bottomright: 4px;
  96. -webkit-border-bottom-right-radius: 4px;
  97. border-bottom-right-radius: 4px;
  98. color: black;
  99. background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #fefefe), color-stop(100%, #e6e6e6));
  100. background-image: -webkit-linear-gradient(bottom, #fefefe, #e6e6e6);
  101. background-image: -moz-linear-gradient(bottom, #fefefe, #e6e6e6);
  102. background-image: -o-linear-gradient(bottom, #fefefe, #e6e6e6);
  103. background-image: linear-gradient(bottom, #fefefe, #e6e6e6);
  104. padding-right: 3px;
  105. }
  106. /* line 91, ../sass/bootstrap-toggle-buttons.scss */
  107. .toggle-button span.primary, .toggle-button span.labelLeft {
  108. color: #fefefe;
  109. background: #0088cc;
  110. background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #0088cc), color-stop(100%, #0055cc));
  111. background-image: -webkit-linear-gradient(bottom, #0088cc, #0055cc);
  112. background-image: -moz-linear-gradient(bottom, #0088cc, #0055cc);
  113. background-image: -o-linear-gradient(bottom, #0088cc, #0055cc);
  114. background-image: linear-gradient(bottom, #0088cc, #0055cc);
  115. }
  116. /* line 96, ../sass/bootstrap-toggle-buttons.scss */
  117. .toggle-button span.info {
  118. color: #fefefe;
  119. background: #5bc0de;
  120. background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #5bc0de), color-stop(100%, #2f96b4));
  121. background-image: -webkit-linear-gradient(bottom, #5bc0de, #2f96b4);
  122. background-image: -moz-linear-gradient(bottom, #5bc0de, #2f96b4);
  123. background-image: -o-linear-gradient(bottom, #5bc0de, #2f96b4);
  124. background-image: linear-gradient(bottom, #5bc0de, #2f96b4);
  125. }
  126. /* line 102, ../sass/bootstrap-toggle-buttons.scss */
  127. .toggle-button span.success {
  128. color: #fefefe;
  129. background: #62c462;
  130. background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #62c462), color-stop(100%, #51a351));
  131. background-image: -webkit-linear-gradient(bottom, #62c462, #51a351);
  132. background-image: -moz-linear-gradient(bottom, #62c462, #51a351);
  133. background-image: -o-linear-gradient(bottom, #62c462, #51a351);
  134. background-image: linear-gradient(bottom, #62c462, #51a351);
  135. }
  136. /* line 108, ../sass/bootstrap-toggle-buttons.scss */
  137. .toggle-button span.warning {
  138. color: #fefefe;
  139. background: #dbb450;
  140. background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #dbb450), color-stop(100%, #f89406));
  141. background-image: -webkit-linear-gradient(bottom, #dbb450, #f89406);
  142. background-image: -moz-linear-gradient(bottom, #dbb450, #f89406);
  143. background-image: -o-linear-gradient(bottom, #dbb450, #f89406);
  144. background-image: linear-gradient(bottom, #dbb450, #f89406);
  145. }
  146. /* line 114, ../sass/bootstrap-toggle-buttons.scss */
  147. .toggle-button span.danger {
  148. color: #fefefe;
  149. background: #ee5f5b;
  150. background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #ee5f5b), color-stop(100%, #bd362f));
  151. background-image: -webkit-linear-gradient(bottom, #ee5f5b, #bd362f);
  152. background-image: -moz-linear-gradient(bottom, #ee5f5b, #bd362f);
  153. background-image: -o-linear-gradient(bottom, #ee5f5b, #bd362f);
  154. background-image: linear-gradient(bottom, #ee5f5b, #bd362f);
  155. }