2 * Angular Material Design
3 * https://github.com/angular/material
7 /* mixin definition ; sets LTR and RTL within the same style call */
8 @-webkit-keyframes sliderFocusThumb {
11 -webkit-transform: scale(0);
12 transform: scale(0); }
15 -webkit-transform: scale(1);
21 @keyframes sliderFocusThumb {
24 -webkit-transform: scale(0);
25 transform: scale(0); }
28 -webkit-transform: scale(1);
48 /* The sign that's focused in discrete mode */
50 * The border/background that comes in when focused in non-discrete mode
52 /* Don't animate left/right while panning */ }
53 md-slider *, md-slider *:after {
54 box-sizing: border-box; }
55 md-slider .md-slider-wrapper {
57 md-slider .md-track-container {
67 md-slider .md-track-fill {
68 transition: width 0.05s linear; }
69 md-slider .md-track-ticks {
74 md-slider .md-thumb-container {
78 -webkit-transform: translate3d(-50%, -50%, 0);
79 transform: translate3d(-50%, -50%, 0);
80 transition: left 0.1s linear; }
89 -webkit-transform: scale(0.5);
90 transform: scale(0.5);
91 transition: all 0.1s linear; }
92 md-slider .md-thumb:after {
101 border-style: solid; }
103 /* Center the children (slider-thumb-text) */
104 display: -webkit-flex;
105 display: -ms-flexbox;
107 -webkit-align-items: center;
108 -ms-flex-align: center;
110 -webkit-justify-content: center;
111 -ms-flex-pack: center;
112 justify-content: center;
119 -webkit-transform: scale(0.4) translate3d(0, 70px, 0);
120 transform: scale(0.4) translate3d(0, 70px, 0);
121 transition: all 0.2s ease-in-out;
122 /* The arrow pointing down under the sign */ }
123 md-slider .md-sign:after {
129 border-left: 14px solid transparent;
130 border-right: 14px solid transparent;
131 border-top-width: 16px;
132 border-top-style: solid;
134 -webkit-transform: translate3d(0, -8px, 0);
135 transform: translate3d(0, -8px, 0);
136 transition: all 0.2s ease-in-out; }
137 md-slider .md-sign .md-thumb-text {
141 md-slider .md-focus-thumb {
150 background-color: #C0C0C0;
151 -webkit-animation: sliderFocusThumb 0.4s linear;
152 animation: sliderFocusThumb 0.4s linear; }
153 md-slider .md-focus-ring {
160 border: 2px solid #D6D6D6;
161 background-color: transparent;
162 -webkit-transform: scale(0);
164 transition: all 0.2s linear; }
165 md-slider .md-disabled-thumb {
172 -webkit-transform: scale(0.35);
173 transform: scale(0.35);
177 md-slider.md-min .md-thumb:after {
178 background-color: white; }
179 md-slider.md-min .md-sign {
183 md-slider.dragging .md-thumb-container, md-slider.dragging .md-track-fill {
185 md-slider:not([md-discrete]) {
186 /* Hide the sign and ticks in non-discrete mode */ }
187 md-slider:not([md-discrete]) .md-track-ticks, md-slider:not([md-discrete]) .md-sign {
189 md-slider:not([md-discrete]):not([disabled]):hover .md-thumb {
190 -webkit-transform: scale(0.6);
191 transform: scale(0.6); }
192 md-slider:not([md-discrete]):not([disabled]):focus .md-focus-thumb, md-slider:not([md-discrete]):not([disabled]).active .md-focus-thumb {
194 md-slider:not([md-discrete]):not([disabled]):focus .md-focus-ring, md-slider:not([md-discrete]):not([disabled]).active .md-focus-ring {
195 -webkit-transform: scale(1);
196 transform: scale(1); }
197 md-slider:not([md-discrete]):not([disabled]):focus .md-thumb, md-slider:not([md-discrete]):not([disabled]).active .md-thumb {
198 -webkit-transform: scale(0.85);
199 transform: scale(0.85); }
200 md-slider[md-discrete] {
201 /* Hide the focus thumb in discrete mode */ }
202 md-slider[md-discrete] .md-focus-thumb, md-slider[md-discrete] .md-focus-ring {
204 md-slider[md-discrete]:not([disabled]):focus .md-sign, md-slider[md-discrete]:not([disabled]):focus .md-sign:after, md-slider[md-discrete]:not([disabled]).active .md-sign, md-slider[md-discrete]:not([disabled]).active .md-sign:after {
206 -webkit-transform: translate3d(0, 0, 0) scale(1);
207 transform: translate3d(0, 0, 0) scale(1); }
208 md-slider[disabled] .md-track-fill {
210 md-slider[disabled] .md-sign {
212 md-slider[disabled] .md-thumb {
213 -webkit-transform: scale(0.35);
214 transform: scale(0.35); }
215 md-slider[disabled] .md-disabled-thumb {
218 @media screen and (-ms-high-contrast: active) {
219 md-slider.md-default-theme .md-track {
220 border-bottom: 1px solid #fff; } }