| 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 html { | 5 html { |
| 6 height: 100%; | 6 height: 100%; |
| 7 } | 7 } |
| 8 | 8 |
| 9 body { | 9 body { |
| 10 background-color: #f1f1f1; | 10 background-color: #f1f1f1; |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 .bottom-bar > .spacer { | 143 .bottom-bar > .spacer { |
| 144 -webkit-box-flex: 1; | 144 -webkit-box-flex: 1; |
| 145 } | 145 } |
| 146 | 146 |
| 147 /* Custom wallpaper thumbnail container. */ | 147 /* Custom wallpaper thumbnail container. */ |
| 148 #preview { | 148 #preview { |
| 149 -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); | 149 -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); |
| 150 height: 80px; | 150 height: 80px; |
| 151 width: 128px; | 151 width: 128px; |
| 152 } | 152 } |
| 153 |
| 154 /* The butter bar styles are copied from file_manager.css. We will revisit |
| 155 * it to see if we can share some code after butter bar is integrated with |
| 156 * Photo Editor. |
| 157 * See http://codereview.chromium.org/10916149/ for details. |
| 158 */ |
| 159 /* TODO(bshe): Remove these styles if we can share code with file manager. */ |
| 160 #butter-bar-container { |
| 161 -webkit-box-pack: center; |
| 162 display: -webkit-box; |
| 163 left: 0; |
| 164 pointer-events: none; |
| 165 position: absolute; |
| 166 top: 0; |
| 167 width: 100%; |
| 168 z-index: 3; |
| 169 } |
| 170 |
| 171 #butter-bar { |
| 172 -webkit-box-align: end; |
| 173 -webkit-box-orient: horizontal; |
| 174 -webkit-transition: opacity 300ms; |
| 175 background-color: #e3e3e3; |
| 176 color: #222; |
| 177 display: -webkit-box; |
| 178 max-width: 340px; |
| 179 min-width: 40px; |
| 180 padding: 0 1em; |
| 181 pointer-events: auto; |
| 182 top: 1px; |
| 183 width: 30%; |
| 184 z-index: 2; |
| 185 } |
| 186 |
| 187 #butter-bar:not(.visible) { |
| 188 opacity: 0; |
| 189 pointer-events: none; |
| 190 } |
| 191 |
| 192 #butter-bar .content { |
| 193 -webkit-box-flex: 1; |
| 194 overflow: hidden; |
| 195 padding-bottom: 4px; |
| 196 padding-top: 4px; |
| 197 } |
| 198 |
| 199 #butter-bar .actions { |
| 200 -webkit-box-orient: horizontal; |
| 201 -webkit-box-pack: end; |
| 202 display: -webkit-box; |
| 203 height: 20px; |
| 204 } |
| 205 |
| 206 #butter-bar .actions a { |
| 207 background: center center no-repeat; |
| 208 background-image: -webkit-image-set( |
| 209 url('../images/ui/close_bar.png') 1x, |
| 210 url('../images/ui/2x/close_bar.png') 2x); |
| 211 display: inline-block; |
| 212 height: 12px; |
| 213 padding: 4px 2px; |
| 214 width: 12px; |
| 215 } |
| 216 |
| 217 #butter-bar .actions a:first-child { |
| 218 margin-left: 2px; |
| 219 } |
| 220 |
| 221 #butter-bar .actions a:last-child { |
| 222 margin-right: -2px; /* Overlap the padding with butter-bar padding. */ |
| 223 } |
| 224 |
| 225 #butter-bar.error { |
| 226 background-color: rgba(221, 75, 57, 0.2); |
| 227 border: 1px solid rgba(221, 75, 57, 0.5); |
| 228 border-radius: 2px; |
| 229 padding: 2px 1em; |
| 230 } |
| 231 |
| 232 .progress-bar { |
| 233 -webkit-box-flex: 1; |
| 234 border: 1px solid #999; |
| 235 margin-bottom: 2px; |
| 236 margin-top: 3px; |
| 237 padding: 1px; |
| 238 } |
| 239 |
| 240 .progress-track { |
| 241 -webkit-animation-duration: 800ms; |
| 242 -webkit-animation-iteration-count: infinite; |
| 243 -webkit-animation-name: bg; |
| 244 -webkit-animation-timing-function: linear; |
| 245 background-color: #ccc; |
| 246 background-image: -webkit-linear-gradient(315deg, transparent, |
| 247 transparent 33%, rgba(0, 0, 0, 0.12) 33%, rgba(0, 0, 0, 0.12) 66%, |
| 248 transparent 66%, transparent); |
| 249 background-position: 0 0; |
| 250 background-repeat: repeat-x; |
| 251 background-size: 16px 8px; |
| 252 height: 5px; |
| 253 } |
| 254 |
| 255 @-webkit-keyframes bg { |
| 256 0% { background-position: 0 0; } |
| 257 100% { background-position: -16px 0; } |
| 258 } |
| OLD | NEW |