OLD | NEW |
---|---|
1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 /* TODO(dbeam): what's wrong with * here? Specificity issues? */ | 4 /* TODO(dbeam): what's wrong with * here? Specificity issues? */ |
5 audio, | 5 audio, |
6 body, | 6 body, |
7 canvas, | 7 canvas, |
8 command, | 8 command, |
9 dd, | 9 dd, |
10 div, | 10 div, |
(...skipping 115 matching lines...) Loading... | |
126 border: 1px solid #e5e5e5; | 126 border: 1px solid #e5e5e5; |
127 } | 127 } |
128 input[type=email][disabled=disabled]:hover, | 128 input[type=email][disabled=disabled]:hover, |
129 input[type=number][disabled=disabled]:hover, | 129 input[type=number][disabled=disabled]:hover, |
130 input[type=password][disabled=disabled]:hover, | 130 input[type=password][disabled=disabled]:hover, |
131 input[type=text][disabled=disabled]:hover, | 131 input[type=text][disabled=disabled]:hover, |
132 input[type=url][disabled=disabled]:hover { | 132 input[type=url][disabled=disabled]:hover { |
133 box-shadow: none; | 133 box-shadow: none; |
134 } | 134 } |
135 .g-button { | 135 .g-button { |
136 -webkit-transition: all 218ms; | |
137 -webkit-user-select: none; | 136 -webkit-user-select: none; |
138 background-color: #f5f5f5; | 137 background-color: #f5f5f5; |
139 background-image: linear-gradient(to bottom, #f5f5f5, #f1f1f1); | 138 background-image: linear-gradient(to bottom, #f5f5f5, #f1f1f1); |
140 border: 1px solid rgba(0,0,0,0.1); | 139 border: 1px solid rgba(0,0,0,0.1); |
141 border-radius: 2px; | 140 border-radius: 2px; |
142 color: #555; | 141 color: #555; |
143 cursor: default; | 142 cursor: default; |
144 display: inline-block; | 143 display: inline-block; |
145 font-size: 11px; | 144 font-size: 11px; |
146 font-weight: bold; | 145 font-weight: bold; |
147 height: 27px; | 146 height: 27px; |
148 line-height: 27px; | 147 line-height: 27px; |
149 min-width: 54px; | 148 min-width: 54px; |
150 padding: 0 8px; | 149 padding: 0 8px; |
151 text-align: center; | 150 text-align: center; |
152 transition: all 218ms; | 151 transition: all 218ms; |
Eric Willigers
2016/11/30 02:06:52
"-webkit-transition: all 218ms;" was redundant.
| |
153 user-select: none; | 152 user-select: none; |
154 } | 153 } |
155 *+html .g-button { | 154 *+html .g-button { |
156 min-width: 70px; | 155 min-width: 70px; |
157 } | 156 } |
158 button.g-button, | 157 button.g-button, |
159 input[type=submit].g-button { | 158 input[type=submit].g-button { |
160 height: 29px; | 159 height: 29px; |
161 line-height: 29px; | 160 line-height: 29px; |
162 margin: 0; | 161 margin: 0; |
163 vertical-align: bottom; | 162 vertical-align: bottom; |
164 } | 163 } |
165 *+html button.g-button, | 164 *+html button.g-button, |
166 *+html input[type=submit].g-button { | 165 *+html input[type=submit].g-button { |
167 overflow: visible; | 166 overflow: visible; |
168 } | 167 } |
169 .g-button:hover { | 168 .g-button:hover { |
170 -webkit-transition: all 0ms; | |
171 background-color: #f8f8f8; | 169 background-color: #f8f8f8; |
172 background-image: linear-gradient(to bottom, #f8f8f8, #f1f1f1); | 170 background-image: linear-gradient(to bottom, #f8f8f8, #f1f1f1); |
173 border: 1px solid #c6c6c6; | 171 border: 1px solid #c6c6c6; |
174 box-shadow: 0 1px 1px rgba(0,0,0,0.1); | 172 box-shadow: 0 1px 1px rgba(0,0,0,0.1); |
175 color: #333; | 173 color: #333; |
176 text-decoration: none; | 174 text-decoration: none; |
177 transition: all 0ms; | 175 transition: all 0ms; |
Eric Willigers
2016/11/30 02:06:52
"-webkit-transition: all 0ms;" was redundant.
Dan Beam
2016/12/02 01:54:34
arguably this should just be 0
Eric Willigers
2016/12/02 20:11:55
0 without units is only for lengths. https://devel
| |
178 } | 176 } |
179 .g-button:active { | 177 .g-button:active { |
180 background-color: #f6f6f6; | 178 background-color: #f6f6f6; |
181 background-image: linear-gradient(to bottom, #f6f6f6, #f1f1f1); | 179 background-image: linear-gradient(to bottom, #f6f6f6, #f1f1f1); |
182 box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); | 180 box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); |
183 } | 181 } |
184 .g-button:visited { | 182 .g-button:visited { |
185 color: #666; | 183 color: #666; |
186 } | 184 } |
187 .g-button-submit { | 185 .g-button-submit { |
(...skipping 85 matching lines...) Loading... | |
273 height: 32px; | 271 height: 32px; |
274 margin: 0 1.5em 1.2em 0; | 272 margin: 0 1.5em 1.2em 0; |
275 } | 273 } |
276 .errormsg { | 274 .errormsg { |
277 display: none; | 275 display: none; |
278 } | 276 } |
279 .form-error + .errormsg, | 277 .form-error + .errormsg, |
280 .field-error + .errormsg { | 278 .field-error + .errormsg { |
281 display: block; | 279 display: block; |
282 } | 280 } |
OLD | NEW |