LaravelTest
418 строк · 12.1 Кб
1/*! =======================================================
2VERSION 11.0.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) 2019 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 {43display: inline-block;44vertical-align: middle;45position: relative;46}
47
48.slider.slider-horizontal {49width: 210px;50height: 20px;51}
52
53.slider.slider-horizontal .slider-track {54height: 10px;55width: 100%;56margin-top: -5px;57top: 50%;58left: 0;59}
60
61.slider.slider-horizontal .slider-selection, .slider.slider-horizontal .slider-track-low, .slider.slider-horizontal .slider-track-high {62height: 100%;63top: 0;64bottom: 0;65}
66
67.slider.slider-horizontal .slider-tick,
68.slider.slider-horizontal .slider-handle {69margin-left: -10px;70}
71
72.slider.slider-horizontal .slider-tick.triangle,
73.slider.slider-horizontal .slider-handle.triangle {74position: relative;75top: 50%;76transform: translateY(-50%);77border-width: 0 10px 10px 10px;78width: 0;79height: 0;80border-bottom-color: #036fa5;81margin-top: 0;82}
83
84.slider.slider-horizontal .slider-tick-container {85white-space: nowrap;86position: absolute;87top: 0;88left: 0;89width: 100%;90}
91
92.slider.slider-horizontal .slider-tick-label-container {93white-space: nowrap;94margin-top: 20px;95}
96
97.slider.slider-horizontal .slider-tick-label-container .slider-tick-label {98display: inline-block;99text-align: center;100}
101
102.slider.slider-horizontal.slider-rtl .slider-track {103left: initial;104right: 0;105}
106
107.slider.slider-horizontal.slider-rtl .slider-tick,
108.slider.slider-horizontal.slider-rtl .slider-handle {109margin-left: initial;110margin-right: -10px;111}
112
113.slider.slider-horizontal.slider-rtl .slider-tick-container {114left: initial;115right: 0;116}
117
118.slider.slider-vertical {119height: 210px;120width: 20px;121}
122
123.slider.slider-vertical .slider-track {124width: 10px;125height: 100%;126left: 25%;127top: 0;128}
129
130.slider.slider-vertical .slider-selection {131width: 100%;132left: 0;133top: 0;134bottom: 0;135}
136
137.slider.slider-vertical .slider-track-low, .slider.slider-vertical .slider-track-high {138width: 100%;139left: 0;140right: 0;141}
142
143.slider.slider-vertical .slider-tick,
144.slider.slider-vertical .slider-handle {145margin-top: -10px;146}
147
148.slider.slider-vertical .slider-tick.triangle,
149.slider.slider-vertical .slider-handle.triangle {150border-width: 10px 0 10px 10px;151width: 1px;152height: 1px;153border-left-color: #036fa5;154margin-left: 0;155}
156
157.slider.slider-vertical .slider-tick-label-container {158white-space: nowrap;159}
160
161.slider.slider-vertical .slider-tick-label-container .slider-tick-label {162padding-left: 4px;163}
164
165.slider.slider-vertical.slider-rtl .slider-track {166left: initial;167right: 25%;168}
169
170.slider.slider-vertical.slider-rtl .slider-selection {171left: initial;172right: 0;173}
174
175.slider.slider-vertical.slider-rtl .slider-tick.triangle,
176.slider.slider-vertical.slider-rtl .slider-handle.triangle {177border-width: 10px 10px 10px 0;178}
179
180.slider.slider-vertical.slider-rtl .slider-tick-label-container .slider-tick-label {181padding-left: initial;182padding-right: 4px;183}
184
185.slider.slider-disabled .slider-handle {186background-color: #cfcfcf;187background-image: -moz-linear-gradient(top, #DFDFDF, #BEBEBE);188background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#DFDFDF), to(#BEBEBE));189background-image: -webkit-linear-gradient(top, #DFDFDF, #BEBEBE);190background-image: -o-linear-gradient(top, #DFDFDF, #BEBEBE);191background-image: linear-gradient(to bottom, #DFDFDF, #BEBEBE);192background-repeat: repeat-x;193filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#DFDFDF', endColorstr='#BEBEBE',GradientType=0);194}
195
196.slider.slider-disabled .slider-track {197background-color: #e7e7e7;198background-image: -moz-linear-gradient(top, #E5E5E5, #E9E9E9);199background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#E5E5E5), to(#E9E9E9));200background-image: -webkit-linear-gradient(top, #E5E5E5, #E9E9E9);201background-image: -o-linear-gradient(top, #E5E5E5, #E9E9E9);202background-image: linear-gradient(to bottom, #E5E5E5, #E9E9E9);203background-repeat: repeat-x;204filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E5E5E5', endColorstr='#E9E9E9',GradientType=0);205cursor: not-allowed;206}
207
208.slider input {209display: none;210}
211
212.slider .tooltip-inner {213white-space: nowrap;214max-width: none;215}
216
217.slider .bs-tooltip-top .tooltip-inner,
218.slider .bs-tooltip-bottom .tooltip-inner {219position: relative;220left: -50%;221}
222
223.slider.bs-tooltip-left .tooltip-inner, .slider.bs-tooltip-right .tooltip-inner {224position: relative;225top: -100%;226}
227
228.slider .tooltip {229pointer-events: none;230}
231
232.slider .tooltip.bs-tooltip-top .arrow, .slider .tooltip.bs-tooltip-bottom .arrow {233left: -.4rem;234}
235
236.slider .tooltip.bs-tooltip-top {237margin-top: -44px;238}
239
240.slider .tooltip.bs-tooltip-bottom {241margin-top: 2px;242}
243
244.slider .tooltip.bs-tooltip-left, .slider .tooltip.bs-tooltip-right {245margin-top: -14px;246}
247
248.slider .tooltip.bs-tooltip-left .arrow, .slider .tooltip.bs-tooltip-right .arrow {249top: 8px;250}
251
252.slider .hide {253display: none;254}
255
256.slider-track {257background-color: #f7f7f7;258background-image: -moz-linear-gradient(top, #F5F5F5, #F9F9F9);259background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F5F5F5), to(#F9F9F9));260background-image: -webkit-linear-gradient(top, #F5F5F5, #F9F9F9);261background-image: -o-linear-gradient(top, #F5F5F5, #F9F9F9);262background-image: linear-gradient(to bottom, #F5F5F5, #F9F9F9);263background-repeat: repeat-x;264filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F5F5F5', endColorstr='#F9F9F9',GradientType=0);265-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);266-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);267box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);268-webkit-border-radius: 4px;269-moz-border-radius: 4px;270border-radius: 4px;271position: absolute;272cursor: pointer;273}
274
275.slider-selection {276background-color: #f7f7f7;277background-image: -moz-linear-gradient(top, #F9F9F9, #F5F5F5);278background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F9F9F9), to(#F5F5F5));279background-image: -webkit-linear-gradient(top, #F9F9F9, #F5F5F5);280background-image: -o-linear-gradient(top, #F9F9F9, #F5F5F5);281background-image: linear-gradient(to bottom, #F9F9F9, #F5F5F5);282background-repeat: repeat-x;283filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F9F9F9', endColorstr='#F5F5F5',GradientType=0);284-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);285-moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);286box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);287-webkit-box-sizing: border-box;288-moz-box-sizing: border-box;289box-sizing: border-box;290-webkit-border-radius: 4px;291-moz-border-radius: 4px;292border-radius: 4px;293position: absolute;294}
295
296.slider-selection.tick-slider-selection {297background-color: #46c1fe;298background-image: -moz-linear-gradient(top, #52c5ff, #3abcfd);299background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52c5ff), to(#3abcfd));300background-image: -webkit-linear-gradient(top, #52c5ff, #3abcfd);301background-image: -o-linear-gradient(top, #52c5ff, #3abcfd);302background-image: linear-gradient(to bottom, #52c5ff, #3abcfd);303background-repeat: repeat-x;304filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#52c5ff', endColorstr='#3abcfd',GradientType=0);305}
306
307.slider-track-low, .slider-track-high {308-webkit-box-sizing: border-box;309-moz-box-sizing: border-box;310box-sizing: border-box;311-webkit-border-radius: 4px;312-moz-border-radius: 4px;313border-radius: 4px;314position: absolute;315background: transparent;316}
317
318.slider-handle {319background-color: #0478b2;320background-image: -moz-linear-gradient(top, #0480BE, #036fa5);321background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0480BE), to(#036fa5));322background-image: -webkit-linear-gradient(top, #0480BE, #036fa5);323background-image: -o-linear-gradient(top, #0480BE, #036fa5);324background-image: linear-gradient(to bottom, #0480BE, #036fa5);325background-repeat: repeat-x;326filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0480BE', endColorstr='#036fa5',GradientType=0);327-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);328-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);329box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);330position: absolute;331top: 0;332width: 20px;333height: 20px;334background-color: #0480BE;335border: 0px solid transparent;336}
337
338.slider-handle:hover {339cursor: pointer;340}
341
342.slider-handle.round {343-webkit-border-radius: 20px;344-moz-border-radius: 20px;345border-radius: 20px;346}
347
348.slider-handle.triangle {349background: transparent none;350}
351
352.slider-handle.custom {353background: transparent none;354}
355
356.slider-handle.custom::before {357line-height: 20px;358font-size: 20px;359content: '\2605';360color: #726204;361}
362
363.slider-tick {364background-color: #f7f7f7;365background-image: -moz-linear-gradient(top, #F5F5F5, #F9F9F9);366background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F5F5F5), to(#F9F9F9));367background-image: -webkit-linear-gradient(top, #F5F5F5, #F9F9F9);368background-image: -o-linear-gradient(top, #F5F5F5, #F9F9F9);369background-image: linear-gradient(to bottom, #F5F5F5, #F9F9F9);370background-repeat: repeat-x;371filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F5F5F5', endColorstr='#F9F9F9',GradientType=0);372-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);373-moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);374box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);375-webkit-box-sizing: border-box;376-moz-box-sizing: border-box;377box-sizing: border-box;378position: absolute;379cursor: pointer;380width: 20px;381height: 20px;382filter: none;383opacity: 0.8;384border: 0px solid transparent;385}
386
387.slider-tick.round {388border-radius: 50%;389}
390
391.slider-tick.triangle {392background: transparent none;393}
394
395.slider-tick.custom {396background: transparent none;397}
398
399.slider-tick.custom::before {400line-height: 20px;401font-size: 20px;402content: '\2605';403color: #726204;404}
405
406.slider-tick.in-selection {407background-color: #46c1fe;408background-image: -moz-linear-gradient(top, #52c5ff, #3abcfd);409background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52c5ff), to(#3abcfd));410background-image: -webkit-linear-gradient(top, #52c5ff, #3abcfd);411background-image: -o-linear-gradient(top, #52c5ff, #3abcfd);412background-image: linear-gradient(to bottom, #52c5ff, #3abcfd);413background-repeat: repeat-x;414filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#52c5ff', endColorstr='#3abcfd',GradientType=0);415opacity: 1;416}
417
418/*# sourceMappingURL=bootstrap-slider.css.map */