|
1 | | -/** |
2 | | -* |
3 | | -* Copyright 2012 Adobe Systems Inc.; |
4 | | -* |
5 | | -* Licensed under the Apache License, Version 2.0 (the "License"); |
6 | | -* you may not use this file except in compliance with the License. |
7 | | -* You may obtain a copy of the License at |
8 | | -* |
9 | | -* http://www.apache.org/licenses/LICENSE-2.0 |
10 | | -* |
11 | | -* Unless required by applicable law or agreed to in writing, software |
12 | | -* distributed under the License is distributed on an "AS IS" BASIS, |
13 | | -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 | | -* See the License for the specific language governing permissions and |
15 | | -* limitations under the License. |
16 | | -* |
17 | | -*/ |
18 | | -.topcoat-select { |
| 1 | +.topdoc-select { |
19 | 2 | padding: 0; |
20 | 3 | margin: 0; |
21 | 4 | font: inherit; |
|
24 | 7 | border: none; |
25 | 8 | } |
26 | 9 |
|
27 | | -.topcoat-select { |
| 10 | +.topdoc-select { |
28 | 11 | vertical-align: top; |
29 | 12 | outline: none; |
30 | 13 | } |
31 | 14 |
|
32 | | -.topcoat-select { |
| 15 | +.topdoc-select { |
33 | 16 | cursor: default; |
34 | 17 | -webkit-user-select: none; |
35 | 18 | -moz-user-select: none; |
36 | 19 | -ms-user-select: none; |
37 | 20 | user-select: none; |
38 | 21 | } |
39 | 22 |
|
40 | | -.topcoat-select { |
41 | | - -moz-box-sizing: border-box; |
| 23 | +.topdoc-select { |
42 | 24 | box-sizing: border-box; |
43 | 25 | background-clip: padding-box; |
44 | 26 | } |
45 | 27 |
|
46 | | -.topcoat-select { |
| 28 | +.topdoc-select { |
47 | 29 | position: relative; |
48 | 30 | display: inline-block; |
49 | 31 | vertical-align: top; |
50 | 32 | } |
51 | 33 |
|
52 | | -.topcoat-select:disabled { |
53 | | - opacity: 0.3; |
| 34 | +.topdoc-select:disabled { |
| 35 | + opacity: .3; |
54 | 36 | cursor: default; |
55 | 37 | pointer-events: none; |
56 | 38 | } |
57 | 39 |
|
58 | | -.topcoat-select { |
59 | | - -moz-appearance: none; |
| 40 | +.topdoc-select { |
60 | 41 | -webkit-appearance: none; |
| 42 | + -moz-appearance: none; |
| 43 | + appearance: none; |
61 | 44 | } |
62 | 45 |
|
63 | | -.topcoat-select::-ms-expand { |
| 46 | +.topdoc-select::-ms-expand { |
64 | 47 | display: none; |
65 | 48 | } |
66 | 49 |
|
|
91 | 74 | - input |
92 | 75 | */ |
93 | 76 |
|
94 | | -.topcoat-select { |
| 77 | +.topdoc-select { |
95 | 78 | -webkit-user-select: none; |
96 | 79 | -moz-user-select: none; |
97 | 80 | -ms-user-select: none; |
98 | 81 | user-select: none; |
99 | 82 | cursor: pointer; |
100 | | - appearance: button; |
101 | | - text-indent: 0.01px; |
| 83 | + text-indent: 1px; |
102 | 84 | text-overflow: ''; |
103 | | - padding: .06rem 1.4rem .06rem 0.4rem; |
104 | | - font-size: 12px; |
| 85 | + padding: .25rem .75rem; |
| 86 | + font-size: 1rem; |
105 | 87 | font-weight: 400; |
106 | | - height: 1.313rem; |
| 88 | + line-height: 1.313rem; |
107 | 89 | letter-spacing: 0; |
108 | | - color: hsla(0, 0%, 27%, 1); |
109 | | - text-shadow: 0 1px hsla(0, 100%, 100%, 1); |
| 90 | + color: hsla(180, 2%, 78%, 1); |
| 91 | + text-shadow: 0 -1px hsla(0, 0%, 0%, .69); |
| 92 | + vertical-align: top; |
110 | 93 | border-radius: 4px; |
111 | | - background-color: hsla(165, 8%, 91%, 1); |
112 | | - box-shadow: inset 0 1px hsla(0, 100%, 100%, 1); |
113 | | - border: 1px solid hsla(168, 8%, 65%, 1); |
| 94 | + background-color: hsla(180, 1%, 35%, 1); |
| 95 | + box-shadow: inset 0 1px hsla(0, 0%, 45%, 1); |
| 96 | + border: 1px solid hsla(180, 1%, 20%, 1); |
114 | 97 | background-image: url('img/dropdown.svg'); |
115 | 98 | background-repeat: no-repeat; |
116 | 99 | background-position: center right; |
117 | 100 | min-width: 3.4rem; |
118 | 101 | } |
119 | 102 |
|
120 | | -.topcoat-select:hover { |
121 | | - background-color: hsla(180, 7%, 94%, 1); |
| 103 | +.topdoc-select:hover { |
| 104 | + background-color: hsla(200, 2%, 39%, 1); |
122 | 105 | } |
123 | 106 |
|
124 | | -.topcoat-select:active { |
125 | | - background-color: hsla(180, 5%, 83%, 1); |
126 | | - box-shadow: inset 0 1px hsla(0, 0%, 0%, 0.1); |
| 107 | +.topdoc-select:active { |
| 108 | + background-color: hsla(210, 2%, 25%, 1); |
| 109 | + box-shadow: inset 0 1px hsla(0, 0%, 0%, .05); |
127 | 110 | } |
128 | 111 |
|
129 | | -.topcoat-select:focus { |
| 112 | +.topdoc-select:focus { |
130 | 113 | border: 1px solid hsla(227, 100%, 50%, 1); |
131 | 114 | box-shadow: 0 0 0 2px hsla(208, 82%, 69%, 1); |
132 | 115 | outline: 0; |
133 | 116 | } |
134 | | -.dark .topcoat-select { |
| 117 | +.dark .topdoc-select { |
135 | 118 | color: hsla(180, 2%, 78%, 1); |
136 | 119 | text-shadow: 0 -1px hsla(0, 0%, 0%, 0.69); |
137 | 120 | background-color: hsla(180, 1%, 35%, 1); |
138 | 121 | box-shadow: inset 0 1px hsla(0, 0%, 45%, 1); |
139 | 122 | border: 1px solid hsla(180, 1%, 20%, 1); |
140 | 123 | } |
141 | | -.dark .topcoat-select:hover { |
| 124 | +.dark .topdoc-select:hover { |
142 | 125 | background-color: hsla(200, 2%, 39%, 1); |
143 | 126 | } |
144 | | -.dark .topcoat-select:active { |
| 127 | +.dark .topdoc-select:active { |
145 | 128 | background-color: hsla(210, 2%, 25%, 1); |
146 | 129 | box-shadow: inset 0 1px hsla(0, 0%, 0%, 0.05); |
147 | 130 | } |
148 | 131 | @media screen and (max-width: 650px) { |
149 | | - .topcoat-select { |
| 132 | + .topdoc-select { |
150 | 133 | color: hsla(180, 2%, 78%, 1); |
151 | 134 | text-shadow: 0 -1px hsla(0, 0%, 0%, 0.69); |
152 | 135 | background-color: hsla(180, 1%, 35%, 1); |
|
158 | 141 | letter-spacing: 1px; |
159 | 142 | border-radius: 6px; |
160 | 143 | } |
161 | | - .topcoat-select:hover { |
| 144 | + .topdoc-select:hover { |
162 | 145 | background-color: hsla(200, 2%, 39%, 1); |
163 | 146 | } |
164 | | - .topcoat-select:active { |
| 147 | + .topdoc-select:active { |
165 | 148 | background-color: hsla(210, 2%, 25%, 1); |
166 | 149 | box-shadow: inset 0 1px hsla(0, 0%, 0%, 0.05); |
167 | 150 | } |
168 | 151 | } |
169 | | - |
170 | | - |
171 | | - |
0 commit comments