| 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 body { | 5 body { |
| 6 margin: 0; | 6 margin: 0; |
| 7 padding: 0; | 7 padding: 0; |
| 8 } | 8 } |
| 9 | 9 |
| 10 .titlebar { | 10 .titlebar { |
| 11 -webkit-app-region: drag; | 11 -webkit-app-region: drag; |
| 12 background-color: white; | 12 background-color: white; |
| 13 height: 26px; | 13 height: 26px; |
| 14 white-space: nowrap; | 14 white-space: nowrap; |
| 15 width: 100%; | 15 width: 100%; |
| 16 } | 16 } |
| 17 | 17 |
| 18 .titlebar-border { | 18 .titlebar-border { |
| 19 border-bottom: 1px solid #e5e5e5; | 19 border-bottom: 1px solid #e5e5e5; |
| 20 } | 20 } |
| 21 | 21 |
| 22 .titlebar-close-button { | 22 .titlebar-close-button { |
| 23 background-image: -webkit-image-set( |
| 24 url('chrome://theme/IDR_CLOSE_DIALOG') 1x, |
| 25 url('chrome://theme/IDR_CLOSE_DIALOG@2x') 2x); |
| 23 -webkit-app-region: no-drag; | 26 -webkit-app-region: no-drag; |
| 24 height: 14px; | 27 height: 14px; |
| 25 margin: 6px; | 28 margin: 6px; |
| 26 position: absolute; | 29 position: absolute; |
| 27 right: 0; | 30 right: 0; |
| 28 width: 14px; | 31 width: 14px; |
| 29 } | 32 } |
| 30 | 33 |
| 34 .titlebar-close-button:active { |
| 35 background-image: -webkit-image-set( |
| 36 url('chrome://theme/IDR_CLOSE_DIALOG_P') 1x, |
| 37 url('chrome://theme/IDR_CLOSE_DIALOG_P@2x') 2x); |
| 38 } |
| 39 |
| 40 .titlebar-close-button:hover { |
| 41 background-image: -webkit-image-set( |
| 42 url('chrome://theme/IDR_CLOSE_DIALOG_H') 1x, |
| 43 url('chrome://theme/IDR_CLOSE_DIALOG_H@2x') 2x); |
| 44 } |
| 45 |
| 31 .content { | 46 .content { |
| 32 height: auto; | 47 height: auto; |
| 33 width: 100%; | 48 width: 100%; |
| 34 } | 49 } |
| OLD | NEW |