| 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 /* This file contains "borrowed" copy of standard styles. To simplify merging, | 5 /* This file contains "borrowed" copy of standard styles. To simplify merging, |
| 6 * when altering, please preserve original property value by adding comments. */ | 6 * when altering, please preserve original property value by adding comments. */ |
| 7 input.common[type='checkbox'], | 7 input.common[type='checkbox'], |
| 8 input.common[type='radio'] { | 8 input.common[type='radio'] { |
| 9 -webkit-appearance: none; | 9 -webkit-appearance: none; |
| 10 border: 1px solid #555; | 10 border: 1px solid #555; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 top: 3px; | 105 top: 3px; |
| 106 width: 21px; | 106 width: 21px; |
| 107 } | 107 } |
| 108 | 108 |
| 109 .bubble .close-x:hover { | 109 .bubble .close-x:hover { |
| 110 opacity: 0.7; | 110 opacity: 0.7; |
| 111 } | 111 } |
| 112 | 112 |
| 113 .buttonbar { | 113 .buttonbar { |
| 114 display: -webkit-box; | 114 display: -webkit-box; |
| 115 height: 35px; | 115 height: 31px; |
| 116 } | 116 } |
| 117 | 117 |
| 118 .buttonbar.right { | 118 .buttonbar.right { |
| 119 -webkit-box-flex: 1.0; | 119 -webkit-box-flex: 1.0; |
| 120 -webkit-box-pack: end; | 120 -webkit-box-pack: end; |
| 121 } | 121 } |
| 122 | 122 |
| 123 .buttonbar button:active img { | 123 .buttonbar button:active img { |
| 124 opacity: 1.0; | 124 opacity: 1.0; |
| 125 } | 125 } |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 menu.chrome-menu > menuitem[checked] { | 239 menu.chrome-menu > menuitem[checked] { |
| 240 background-image: -webkit-image-set( | 240 background-image: -webkit-image-set( |
| 241 url('../images/common/check_no_box.png') 1x, | 241 url('../images/common/check_no_box.png') 1x, |
| 242 url('../images/common/2x/check_no_box.png') 2x); | 242 url('../images/common/2x/check_no_box.png') 2x); |
| 243 } | 243 } |
| 244 | 244 |
| 245 menu.chrome-menu > [checked]::before { | 245 menu.chrome-menu > [checked]::before { |
| 246 display: none; | 246 display: none; |
| 247 } | 247 } |
| 248 | 248 |
| 249 /* Ok/Cancel style buttons */ | 249 /** |
| 250 * Ok/Cancel style buttons |
| 251 * Height: 31px (content:21px + border:5px * 2) |
| 252 **/ |
| 250 button, | 253 button, |
| 251 input[type='button'], | 254 input[type='button'], |
| 252 input[type='submit'], | 255 input[type='submit'], |
| 253 select { | 256 select { |
| 254 background-color: rgb(250, 250, 250); | 257 background-color: rgb(250, 250, 250); |
| 255 background-image: none; | 258 background-image: none; |
| 256 background-position: center; | 259 background-position: center; |
| 257 background-repeat: no-repeat; | 260 background-repeat: no-repeat; |
| 258 border: 5px solid transparent; | 261 border: 5px solid transparent; |
| 259 border-image: -webkit-image-set( | 262 border-image: -webkit-image-set( |
| 260 url('../images/common/button.png') 1x, | 263 url('../images/common/button.png') 1x, |
| 261 url('../images/common/2x/button.png') 2x) 5 5 repeat; | 264 url('../images/common/2x/button.png') 2x) 5 / 5px / 2px repeat; |
| 262 box-shadow: inset 0 1px 1px 0 rgb(255, 255, 255); | |
| 263 box-sizing: content-box; | 265 box-sizing: content-box; |
| 264 color: rgb(34, 34, 34); | 266 color: rgb(34, 34, 34); |
| 265 cursor: default; | 267 cursor: default; |
| 266 height: 25px; | 268 height: 21px; |
| 267 line-height: 25px; | 269 line-height: 21px; |
| 268 margin: 0; | 270 margin: 0; |
| 269 min-height: 25px; | 271 min-height: 21px; |
| 270 min-width: 60px; | 272 min-width: 55px; |
| 271 padding: 0 10px; | 273 padding: 0 10px; |
| 272 position: relative; | 274 position: relative; |
| 273 text-align: center; | 275 text-align: center; |
| 274 z-index: 1; | 276 z-index: 1; |
| 275 } | 277 } |
| 276 | 278 |
| 277 .buttonbar button { | 279 .buttonbar button { |
| 278 -webkit-margin-start: 8px; | 280 -webkit-margin-start: 10px; |
| 279 } | 281 } |
| 280 | 282 |
| 281 button:hover, | 283 button:hover, |
| 282 input[type='button']:hover, | 284 input[type='button']:hover, |
| 283 input[type='submit']:hover, | 285 input[type='submit']:hover, |
| 284 select:hover { | 286 select:hover { |
| 285 border-image: -webkit-image-set( | 287 border-image: -webkit-image-set( |
| 286 url('../images/common/button_hover.png') 1x, | 288 url('../images/common/button_hover.png') 1x, |
| 287 url('../images/common/2x/button_hover.png') 2x) 5 5 repeat; | 289 url('../images/common/2x/button_hover.png') 2x) 5 / 5px / 2px repeat; |
| 288 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); | |
| 289 color: #222; | 290 color: #222; |
| 290 } | 291 } |
| 291 | 292 |
| 292 button:active, | 293 button:active, |
| 293 input[type='button']:active, | 294 input[type='button']:active, |
| 294 input[type='submit']:active { | 295 input[type='submit']:active { |
| 295 border-image: -webkit-image-set( | 296 border-image: -webkit-image-set( |
| 296 url('../images/common/button_pressed.png') 1x, | 297 url('../images/common/button_pressed.png') 1x, |
| 297 url('../images/common/2x/button_pressed.png') 2x) 5 5 repeat; | 298 url('../images/common/2x/button_pressed.png') 2x) 5 / 5px / 2px repeat; |
| 298 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); | |
| 299 color: #333; | 299 color: #333; |
| 300 } | 300 } |
| 301 | 301 |
| 302 button[disabled], | 302 button[disabled], |
| 303 input[type='button'][disabled], | 303 input[type='button'][disabled], |
| 304 input[type='submit'][disabled], | 304 input[type='submit'][disabled], |
| 305 button[disabled]:hover, | 305 button[disabled]:hover, |
| 306 input[type='button'][disabled]:hover, | 306 input[type='button'][disabled]:hover, |
| 307 input[type='submit'][disabled]:hover { | 307 input[type='submit'][disabled]:hover { |
| 308 background-color: rgb(250, 250, 250); | 308 background-color: rgb(250, 250, 250); |
| 309 background-image: none; | 309 background-image: none; |
| 310 border: 1px solid rgb(255, 255, 255); | 310 border-image: -webkit-image-set( |
| 311 border-bottom: 1px solid rgb(180, 180, 180); | 311 url('../images/common/button.png') 1x, |
| 312 border-left: 1px solid rgb(220, 220, 220); | 312 url('../images/common/2x/button.png') 2x) 5 / 5px / 2px repeat; |
| 313 border-right: 1px solid rgb(200, 200, 200); | |
| 314 border-top: 1px solid rgb(220, 220, 220); | |
| 315 box-shadow: inset 0 1px 1px 0 rgb(255, 255, 255); | |
| 316 color: rgb(150, 150, 150); | 313 color: rgb(150, 150, 150); |
| 317 } | 314 } |
| 318 | 315 |
| 319 /* Gray progress bar. */ | 316 /* Gray progress bar. */ |
| 320 .progress-bar { | 317 .progress-bar { |
| 321 background-color: #e6e6e6; | 318 background-color: #e6e6e6; |
| 322 border-radius: 3px; | 319 border-radius: 3px; |
| 323 height: 6px; | 320 height: 6px; |
| 324 } | 321 } |
| 325 | 322 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 width: 44px; | 489 width: 44px; |
| 493 } | 490 } |
| 494 | 491 |
| 495 .cr-dialog-close:hover { | 492 .cr-dialog-close:hover { |
| 496 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H'); | 493 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H'); |
| 497 } | 494 } |
| 498 | 495 |
| 499 .cr-dialog-close:active { | 496 .cr-dialog-close:active { |
| 500 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P'); | 497 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P'); |
| 501 } | 498 } |
| OLD | NEW |