OLD | NEW |
1 /* | 1 /* |
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
6 Code distributed by Google as part of the polymer project is also | 6 Code distributed by Google as part of the polymer project is also |
7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
8 */ | 8 */ |
9 | 9 |
10 :host { | 10 :host { |
11 display: inline-block; | 11 display: inline-block; |
12 width: 200px; | 12 width: 200px; |
13 cursor: default; | 13 cursor: default; |
| 14 -webkit-user-select: none; |
| 15 -moz-user-select: none; |
| 16 -ms-user-select: none; |
| 17 user-select: none; |
| 18 -webkit-tap-highlight-color: rgba(0,0,0,0); |
14 } | 19 } |
15 | 20 |
16 :host(:focus) { | 21 :host(:focus) { |
17 outline: none; | 22 outline: none; |
18 } | 23 } |
19 | 24 |
20 #sliderContainer { | 25 #sliderContainer { |
21 position: relative; | 26 position: relative; |
22 width: calc(100% - 32px); | 27 width: calc(100% - 32px); |
23 height: 32px; | 28 height: 32px; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 height: 2px; | 95 height: 2px; |
91 border-radius: 50%; | 96 border-radius: 50%; |
92 background-color: black; | 97 background-color: black; |
93 } | 98 } |
94 | 99 |
95 #sliderBar::shadow #activeProgress { | 100 #sliderBar::shadow #activeProgress { |
96 background-color: #3f51b5; | 101 background-color: #3f51b5; |
97 } | 102 } |
98 | 103 |
99 .transiting #sliderBar::shadow #activeProgress { | 104 .transiting #sliderBar::shadow #activeProgress { |
100 transition: width 0.08s ease; | 105 transition: -webkit-transform 0.08s ease; |
| 106 transition: transform 0.08s ease; |
101 } | 107 } |
102 | 108 |
103 #sliderKnob { | 109 #sliderKnob { |
104 position: absolute; | 110 position: absolute; |
105 left: 0; | 111 left: 0; |
106 top: 0; | 112 top: 0; |
107 width: 32px; | 113 width: 32px; |
108 height: 32px; | 114 height: 32px; |
109 } | 115 } |
110 | 116 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 background-color: #c8c8c8; | 230 background-color: #c8c8c8; |
225 } | 231 } |
226 | 232 |
227 .disabled.ring > #sliderKnob > #sliderKnobInner { | 233 .disabled.ring > #sliderKnob > #sliderKnobInner { |
228 background-color: transparent; | 234 background-color: transparent; |
229 } | 235 } |
230 | 236 |
231 #sliderContainer.disabled #sliderBar::shadow #activeProgress { | 237 #sliderContainer.disabled #sliderBar::shadow #activeProgress { |
232 background-color: #c8c8c8; | 238 background-color: #c8c8c8; |
233 } | 239 } |
OLD | NEW |