bootstrap-toggle-buttons.css 5.9 KB

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