OLD | NEW |
---|---|
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2013 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 | 4 |
5 html { | 5 html { |
6 height: 100%; | 6 height: 100%; |
7 } | 7 } |
8 | 8 |
9 body { | 9 body { |
10 -webkit-app-region: drag; | 10 -webkit-app-region: drag; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
154 -webkit-animation-iteration-count: infinite; | 154 -webkit-animation-iteration-count: infinite; |
155 -webkit-animation-name: spin; | 155 -webkit-animation-name: spin; |
156 -webkit-animation-timing-function: linear; | 156 -webkit-animation-timing-function: linear; |
157 background-image: url('../images/ui/spinner.png'); | 157 background-image: url('../images/ui/spinner.png'); |
158 background-position: center; | 158 background-position: center; |
159 background-repeat: no-repeat; | 159 background-repeat: no-repeat; |
160 height: 16px; | 160 height: 16px; |
161 width: 16px; | 161 width: 16px; |
162 } | 162 } |
163 | 163 |
164 #wallpaper-set-by-message { | |
165 -webkit-padding-end: 5px; | |
166 -webkit-padding-start: 15px; | |
167 height: 17px; | |
168 } | |
169 | |
170 #wallpaper-set-by-message[hidden] + .image-picker { | |
flackr
2014/06/17 15:20:34
Instead of hardcoding these sizes, can you use a b
bshe
2014/06/17 19:01:43
Done. I remember having some scrolling issues when
| |
171 height: 287px; | |
172 } | |
173 | |
164 .image-picker { | 174 .image-picker { |
165 -webkit-padding-end: 5px; | 175 -webkit-padding-end: 5px; |
166 -webkit-padding-start: 15px; | 176 -webkit-padding-start: 15px; |
167 display: block; | 177 display: block; |
168 /* Set font size to 0 to remove the extra vertical margin between two rows of | 178 /* Set font size to 0 to remove the extra vertical margin between two rows of |
169 * thumbnails. | 179 * thumbnails. |
170 * TODO(bshe): Find the root cause of the margin. | 180 * TODO(bshe): Find the root cause of the margin. |
171 */ | 181 */ |
172 font-size: 0; | 182 font-size: 0; |
173 height: 287px; | 183 height: 270px; |
174 outline: none; | 184 outline: none; |
175 overflow-y: auto; | 185 overflow-y: auto; |
176 padding-bottom: 15px; | 186 padding-bottom: 15px; |
177 padding-top: 5px; | 187 padding-top: 5px; |
178 } | 188 } |
179 | 189 |
180 .image-picker .spacer { | 190 .image-picker .spacer { |
181 display: block; | 191 display: block; |
182 } | 192 } |
183 | 193 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
375 margin-right: 4px; | 385 margin-right: 4px; |
376 opacity: 0.7; | 386 opacity: 0.7; |
377 position: relative; | 387 position: relative; |
378 top: 4px; | 388 top: 4px; |
379 width: 17px; | 389 width: 17px; |
380 } | 390 } |
381 | 391 |
382 #surprise-me #checkbox.checked { | 392 #surprise-me #checkbox.checked { |
383 background-image: url('../images/ui/checkbox_checked.png'); | 393 background-image: url('../images/ui/checkbox_checked.png'); |
384 } | 394 } |
OLD | NEW |