Dashboard sipadu mbip
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

bootstrap-slider.css 9.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. /*! =======================================================
  2. VERSION 9.7.2
  3. ========================================================= */
  4. /*! =========================================================
  5. * bootstrap-slider.js
  6. *
  7. * Maintainers:
  8. * Kyle Kemp
  9. * - Twitter: @seiyria
  10. * - Github: seiyria
  11. * Rohit Kalkur
  12. * - Twitter: @Rovolutionary
  13. * - Github: rovolution
  14. *
  15. * =========================================================
  16. *
  17. * bootstrap-slider is released under the MIT License
  18. * Copyright (c) 2017 Kyle Kemp, Rohit Kalkur, and contributors
  19. *
  20. * Permission is hereby granted, free of charge, to any person
  21. * obtaining a copy of this software and associated documentation
  22. * files (the "Software"), to deal in the Software without
  23. * restriction, including without limitation the rights to use,
  24. * copy, modify, merge, publish, distribute, sublicense, and/or sell
  25. * copies of the Software, and to permit persons to whom the
  26. * Software is furnished to do so, subject to the following
  27. * conditions:
  28. *
  29. * The above copyright notice and this permission notice shall be
  30. * included in all copies or substantial portions of the Software.
  31. *
  32. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  33. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  34. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  35. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  36. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  37. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  38. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  39. * OTHER DEALINGS IN THE SOFTWARE.
  40. *
  41. * ========================================================= */
  42. .slider {
  43. display: inline-block;
  44. vertical-align: middle;
  45. position: relative;
  46. }
  47. .slider.slider-horizontal {
  48. width: 210px;
  49. height: 20px;
  50. }
  51. .slider.slider-horizontal .slider-track {
  52. height: 10px;
  53. width: 100%;
  54. margin-top: -5px;
  55. top: 50%;
  56. left: 0;
  57. }
  58. .slider.slider-horizontal .slider-selection,
  59. .slider.slider-horizontal .slider-track-low,
  60. .slider.slider-horizontal .slider-track-high {
  61. height: 100%;
  62. top: 0;
  63. bottom: 0;
  64. }
  65. .slider.slider-horizontal .slider-tick,
  66. .slider.slider-horizontal .slider-handle {
  67. margin-left: -10px;
  68. }
  69. .slider.slider-horizontal .slider-tick.triangle,
  70. .slider.slider-horizontal .slider-handle.triangle {
  71. position: relative;
  72. top: 50%;
  73. transform: translateY(-50%);
  74. border-width: 0 10px 10px 10px;
  75. width: 0;
  76. height: 0;
  77. border-bottom-color: #0480be;
  78. margin-top: 0;
  79. }
  80. .slider.slider-horizontal .slider-tick-container {
  81. white-space: nowrap;
  82. position: absolute;
  83. top: 0;
  84. left: 0;
  85. width: 100%;
  86. }
  87. .slider.slider-horizontal .slider-tick-label-container {
  88. white-space: nowrap;
  89. margin-top: 20px;
  90. }
  91. .slider.slider-horizontal .slider-tick-label-container .slider-tick-label {
  92. padding-top: 4px;
  93. display: inline-block;
  94. text-align: center;
  95. }
  96. .slider.slider-horizontal.slider-rtl .slider-track {
  97. left: initial;
  98. right: 0;
  99. }
  100. .slider.slider-horizontal.slider-rtl .slider-tick,
  101. .slider.slider-horizontal.slider-rtl .slider-handle {
  102. margin-left: initial;
  103. margin-right: -10px;
  104. }
  105. .slider.slider-horizontal.slider-rtl .slider-tick-container {
  106. left: initial;
  107. right: 0;
  108. }
  109. .slider.slider-vertical {
  110. height: 210px;
  111. width: 20px;
  112. }
  113. .slider.slider-vertical .slider-track {
  114. width: 10px;
  115. height: 100%;
  116. left: 25%;
  117. top: 0;
  118. }
  119. .slider.slider-vertical .slider-selection {
  120. width: 100%;
  121. left: 0;
  122. top: 0;
  123. bottom: 0;
  124. }
  125. .slider.slider-vertical .slider-track-low,
  126. .slider.slider-vertical .slider-track-high {
  127. width: 100%;
  128. left: 0;
  129. right: 0;
  130. }
  131. .slider.slider-vertical .slider-tick,
  132. .slider.slider-vertical .slider-handle {
  133. margin-top: -10px;
  134. }
  135. .slider.slider-vertical .slider-tick.triangle,
  136. .slider.slider-vertical .slider-handle.triangle {
  137. border-width: 10px 0 10px 10px;
  138. width: 1px;
  139. height: 1px;
  140. border-left-color: #0480be;
  141. border-right-color: #0480be;
  142. margin-left: 0;
  143. margin-right: 0;
  144. }
  145. .slider.slider-vertical .slider-tick-label-container {
  146. white-space: nowrap;
  147. }
  148. .slider.slider-vertical .slider-tick-label-container .slider-tick-label {
  149. padding-left: 4px;
  150. }
  151. .slider.slider-vertical.slider-rtl .slider-track {
  152. left: initial;
  153. right: 25%;
  154. }
  155. .slider.slider-vertical.slider-rtl .slider-selection {
  156. left: initial;
  157. right: 0;
  158. }
  159. .slider.slider-vertical.slider-rtl .slider-tick.triangle,
  160. .slider.slider-vertical.slider-rtl .slider-handle.triangle {
  161. border-width: 10px 10px 10px 0;
  162. }
  163. .slider.slider-vertical.slider-rtl .slider-tick-label-container .slider-tick-label {
  164. padding-left: initial;
  165. padding-right: 4px;
  166. }
  167. .slider.slider-disabled .slider-handle {
  168. background-image: -webkit-linear-gradient(top, #dfdfdf 0%, #bebebe 100%);
  169. background-image: -o-linear-gradient(top, #dfdfdf 0%, #bebebe 100%);
  170. background-image: linear-gradient(to bottom, #dfdfdf 0%, #bebebe 100%);
  171. background-repeat: repeat-x;
  172. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdfdfdf', endColorstr='#ffbebebe', GradientType=0);
  173. }
  174. .slider.slider-disabled .slider-track {
  175. background-image: -webkit-linear-gradient(top, #e5e5e5 0%, #e9e9e9 100%);
  176. background-image: -o-linear-gradient(top, #e5e5e5 0%, #e9e9e9 100%);
  177. background-image: linear-gradient(to bottom, #e5e5e5 0%, #e9e9e9 100%);
  178. background-repeat: repeat-x;
  179. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe5e5e5', endColorstr='#ffe9e9e9', GradientType=0);
  180. cursor: not-allowed;
  181. }
  182. .slider input {
  183. display: none;
  184. }
  185. .slider .tooltip.top {
  186. margin-top: -36px;
  187. }
  188. .slider .tooltip-inner {
  189. white-space: nowrap;
  190. max-width: none;
  191. }
  192. .slider .hide {
  193. display: none;
  194. }
  195. .slider-track {
  196. position: absolute;
  197. cursor: pointer;
  198. background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #f9f9f9 100%);
  199. background-image: -o-linear-gradient(top, #f5f5f5 0%, #f9f9f9 100%);
  200. background-image: linear-gradient(to bottom, #f5f5f5 0%, #f9f9f9 100%);
  201. background-repeat: repeat-x;
  202. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);
  203. -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  204. box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  205. border-radius: 4px;
  206. }
  207. .slider-selection {
  208. position: absolute;
  209. background-image: -webkit-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
  210. background-image: -o-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
  211. background-image: linear-gradient(to bottom, #f9f9f9 0%, #f5f5f5 100%);
  212. background-repeat: repeat-x;
  213. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9', endColorstr='#fff5f5f5', GradientType=0);
  214. -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  215. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  216. -webkit-box-sizing: border-box;
  217. -moz-box-sizing: border-box;
  218. box-sizing: border-box;
  219. border-radius: 4px;
  220. }
  221. .slider-selection.tick-slider-selection {
  222. background-image: -webkit-linear-gradient(top, #89cdef 0%, #81bfde 100%);
  223. background-image: -o-linear-gradient(top, #89cdef 0%, #81bfde 100%);
  224. background-image: linear-gradient(to bottom, #89cdef 0%, #81bfde 100%);
  225. background-repeat: repeat-x;
  226. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff89cdef', endColorstr='#ff81bfde', GradientType=0);
  227. }
  228. .slider-track-low,
  229. .slider-track-high {
  230. position: absolute;
  231. background: transparent;
  232. -webkit-box-sizing: border-box;
  233. -moz-box-sizing: border-box;
  234. box-sizing: border-box;
  235. border-radius: 4px;
  236. }
  237. .slider-handle {
  238. position: absolute;
  239. top: 0;
  240. width: 20px;
  241. height: 20px;
  242. background-color: #337ab7;
  243. background-image: -webkit-linear-gradient(top, #149bdf 0%, #0480be 100%);
  244. background-image: -o-linear-gradient(top, #149bdf 0%, #0480be 100%);
  245. background-image: linear-gradient(to bottom, #149bdf 0%, #0480be 100%);
  246. background-repeat: repeat-x;
  247. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
  248. filter: none;
  249. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  250. box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  251. border: 0px solid transparent;
  252. }
  253. .slider-handle.round {
  254. border-radius: 50%;
  255. }
  256. .slider-handle.triangle {
  257. background: transparent none;
  258. }
  259. .slider-handle.custom {
  260. background: transparent none;
  261. }
  262. .slider-handle.custom::before {
  263. line-height: 20px;
  264. font-size: 20px;
  265. content: '\2605';
  266. color: #726204;
  267. }
  268. .slider-tick {
  269. position: absolute;
  270. width: 20px;
  271. height: 20px;
  272. background-image: -webkit-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
  273. background-image: -o-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
  274. background-image: linear-gradient(to bottom, #f9f9f9 0%, #f5f5f5 100%);
  275. background-repeat: repeat-x;
  276. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9', endColorstr='#fff5f5f5', GradientType=0);
  277. -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  278. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  279. -webkit-box-sizing: border-box;
  280. -moz-box-sizing: border-box;
  281. box-sizing: border-box;
  282. filter: none;
  283. opacity: 0.8;
  284. border: 0px solid transparent;
  285. }
  286. .slider-tick.round {
  287. border-radius: 50%;
  288. }
  289. .slider-tick.triangle {
  290. background: transparent none;
  291. }
  292. .slider-tick.custom {
  293. background: transparent none;
  294. }
  295. .slider-tick.custom::before {
  296. line-height: 20px;
  297. font-size: 20px;
  298. content: '\2605';
  299. color: #726204;
  300. }
  301. .slider-tick.in-selection {
  302. background-image: -webkit-linear-gradient(top, #89cdef 0%, #81bfde 100%);
  303. background-image: -o-linear-gradient(top, #89cdef 0%, #81bfde 100%);
  304. background-image: linear-gradient(to bottom, #89cdef 0%, #81bfde 100%);
  305. background-repeat: repeat-x;
  306. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff89cdef', endColorstr='#ff81bfde', GradientType=0);
  307. opacity: 1;
  308. }