| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 .photo-import { | 5 .photo-import { |
| 6 -webkit-user-select: none; | 6 -webkit-user-select: none; |
| 7 bottom: 0; | 7 bottom: 0; |
| 8 font-family: Open Sans, Droid Sans Fallback, sans-serif; | 8 font-family: Open Sans, Droid Sans Fallback, sans-serif; |
| 9 font-size: 84%; | 9 font-size: 84%; |
| 10 left: 0; | 10 left: 0; |
| 11 margin: 0; | 11 margin: 0; |
| 12 overflow: hidden; | 12 overflow: hidden; |
| 13 position: absolute; | 13 position: absolute; |
| 14 right: 0; | 14 right: 0; |
| 15 top: 0; | 15 top: 0; |
| 16 } | 16 } |
| 17 | 17 |
| 18 .photo-import[loading] grid, | 18 .photo-import[loading] grid, |
| 19 .photo-import:not([loading]) .spinner { | 19 .photo-import:not([loading]) .spinner { |
| 20 display: none; | 20 display: none; |
| 21 } | 21 } |
| 22 | 22 |
| 23 .grid-container { | 23 .grid-container { |
| 24 -webkit-box-orient: vertical; | 24 -webkit-box-orient: vertical; |
| 25 bottom: 0; | 25 bottom: 0; |
| 26 display: -webkit-box; | 26 display: -webkit-box; |
| 27 left: 0; | 27 left: 0; |
| 28 padding: 20px; | 28 padding: 0 20px; |
| 29 position: absolute; | 29 position: absolute; |
| 30 right: 0; | 30 right: 0; |
| 31 top: 0; | 31 top: 0; |
| 32 } | 32 } |
| 33 | 33 |
| 34 .spinner { | 34 .spinner { |
| 35 background-image: url('../images/common/spinner_white.svg'); | 35 background-image: url('../images/common/spinner_white.svg'); |
| 36 background-size: 100%; | 36 background-size: 100%; |
| 37 height: 22px; | 37 height: 22px; |
| 38 left: 50%; | 38 left: 50%; |
| 39 margin-left: -11px; | 39 margin-left: -11px; |
| 40 margin-top: -11px; | 40 margin-top: -11px; |
| 41 position: absolute; | 41 position: absolute; |
| 42 top: 50%; | 42 top: 50%; |
| 43 width: 22px; | 43 width: 22px; |
| 44 } | 44 } |
| 45 | 45 |
| 46 /* The top and bottom bars with buttons */ | 46 /* The top and bottom bars with buttons */ |
| 47 | 47 |
| 48 .topbar, | 48 .topbar, |
| 49 .bottombar { | 49 .bottombar { |
| 50 -webkit-box-align: center; | 50 -webkit-box-align: center; |
| 51 -webkit-box-orient: horizontal; | 51 -webkit-box-orient: horizontal; |
| 52 display: -webkit-box; | 52 display: -webkit-box; |
| 53 height: 80px; | 53 height: 60px; |
| 54 width: 100%; | 54 width: 100%; |
| 55 } | 55 } |
| 56 | 56 |
| 57 .caption { | 57 .caption { |
| 58 -webkit-box-flex: 1; | 58 -webkit-box-flex: 1; |
| 59 font-size: 150%; | 59 font-size: 150%; |
| 60 margin-left: 8px; | 60 margin-left: 8px; |
| 61 } | 61 } |
| 62 | 62 |
| 63 .bottombar label { | 63 .bottombar label { |
| 64 -webkit-box-flex: 1; | 64 -webkit-box-flex: 1; |
| 65 display: block; | 65 display: block; |
| 66 } | 66 } |
| 67 | 67 |
| 68 .bottombar input { |
| 69 margin-top: 10px; |
| 70 } |
| 71 |
| 68 button.import { | 72 button.import { |
| 69 -webkit-margin-end: 20px; | 73 -webkit-margin-end: 20px; |
| 70 min-width: 100px; | 74 min-width: 100px; |
| 71 } | 75 } |
| 72 | 76 |
| 73 /* The cr.ui.Grid representing the files. */ | 77 /* The cr.ui.Grid representing the files. */ |
| 74 .photo-import grid { | 78 .photo-import grid { |
| 75 -webkit-box-flex: 1; | 79 -webkit-box-flex: 1; |
| 76 overflow-y: auto; | 80 overflow-y: auto; |
| 77 width: 100%; | 81 width: 100%; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 } | 150 } |
| 147 | 151 |
| 148 .grid-item[lead] img, | 152 .grid-item[lead] img, |
| 149 .grid-item[selected] img, | 153 .grid-item[selected] img, |
| 150 .grid-item:hover img, | 154 .grid-item:hover img, |
| 151 .grid-item[lead] .img-container[generic-thumbnail], | 155 .grid-item[lead] .img-container[generic-thumbnail], |
| 152 .grid-item[selected] .img-container[generic-thumbnail], | 156 .grid-item[selected] .img-container[generic-thumbnail], |
| 153 .grid-item:hover .img-container[generic-thumbnail] { | 157 .grid-item:hover .img-container[generic-thumbnail] { |
| 154 outline: 2px solid rgb(51, 153, 255); | 158 outline: 2px solid rgb(51, 153, 255); |
| 155 } | 159 } |
| 160 |
| 161 /* Importing dialog styles */ |
| 162 .importing-dialog .cr-dialog-frame { |
| 163 -webkit-box-align: center; |
| 164 -webkit-box-orient: horizontal; |
| 165 display: -webkit-box; |
| 166 } |
| 167 |
| 168 .importing-dialog .cr-dialog-frame .progress-container { |
| 169 -webkit-box-flex: 1; |
| 170 -webkit-box-orient: vertical; |
| 171 display: -webkit-box; |
| 172 padding: 0 0 40px 10px; |
| 173 } |
| 174 |
| 175 .importing-dialog .img-container { |
| 176 height: 120px; |
| 177 overflow: hidden; |
| 178 width: 120px; |
| 179 } |
| 180 |
| 181 .importing-dialog button { |
| 182 bottom: 14px; |
| 183 min-width: 80px; |
| 184 position: absolute; |
| 185 right: 14px; |
| 186 } |
| 187 |
| 188 .progress-bar { |
| 189 -webkit-box-flex: 1; |
| 190 border: 1px solid #999; |
| 191 height: 8px; |
| 192 padding: 1px; |
| 193 } |
| 194 |
| 195 .progress-track { |
| 196 -webkit-animation-duration: 800ms; |
| 197 -webkit-animation-iteration-count: infinite; |
| 198 -webkit-animation-name: bg; |
| 199 -webkit-animation-timing-function: linear; |
| 200 background-color: #ccc; |
| 201 background-image: -webkit-linear-gradient(315deg, transparent, |
| 202 transparent 33%, rgba(0, 0, 0, 0.12) 33%, rgba(0, 0, 0, 0.12) 66%, |
| 203 transparent 66%, transparent); |
| 204 background-position: 0 0; |
| 205 background-repeat: repeat-x; |
| 206 background-size: 16px 8px; |
| 207 height: 8px; |
| 208 } |
| 209 |
| 210 @-webkit-keyframes bg { |
| 211 0% { background-position: 0 0; } |
| 212 100% { background-position: -16px 0; } |
| 213 } |
| OLD | NEW |