OLD | NEW |
(Empty) | |
| 1 /* Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. */ |
| 4 |
| 5 body { |
| 6 margin: 0; |
| 7 } |
| 8 |
| 9 button { |
| 10 background-color: #fafafa; |
| 11 background-image: none; |
| 12 border: 5px solid transparent; |
| 13 border-image: -webkit-image-set( |
| 14 url(chrome://resources/images/apps/button.png) 1x, |
| 15 url(chrome://resources/images/2x/apps/button.png) |
| 16 2x) 5 / 5px / 2px repeat; |
| 17 box-sizing: content-box; |
| 18 color: #222; |
| 19 cursor: default; |
| 20 line-height: 21px; |
| 21 margin: 0; |
| 22 min-height: 21px; |
| 23 min-width: 55px; |
| 24 padding: 0 10px; |
| 25 } |
| 26 |
| 27 button:hover { |
| 28 border-image: -webkit-image-set( |
| 29 url(chrome://resources/images/apps/button_hover.png) 1x, |
| 30 url(chrome://resources/images/2x/apps/button_hover.png) |
| 31 2x) 5 fill / 5px / 2px repeat; |
| 32 color: #222; |
| 33 } |
| 34 |
| 35 button:active { |
| 36 border-image: -webkit-image-set( |
| 37 url(chrome://resources/images/apps/button_pressed.png) 1x, |
| 38 url(chrome://resources/images/2x/apps/button_pressed.png) |
| 39 2x) 5 fill / 5px / 2px repeat; |
| 40 color: #333; |
| 41 } |
| 42 |
| 43 button:focus { |
| 44 outline-color: rgb(77, 144, 254); |
| 45 } |
| 46 |
| 47 .title-area { |
| 48 -webkit-app-region: drag; |
| 49 background-color: white; |
| 50 box-shadow: 0 1px #d0d0d0; |
| 51 display: flex; |
| 52 font-size: 15px; |
| 53 height: 48px; |
| 54 } |
| 55 |
| 56 .window-title { |
| 57 -webkit-margin-start: 20px; |
| 58 flex: 1; |
| 59 line-height: 48px; |
| 60 } |
OLD | NEW |