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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 } | 136 } |
137 | 137 |
138 body:not([new-ui]) .buttonbar button.small { | 138 body:not([new-ui]) .buttonbar button.small { |
139 min-width: 34px; | 139 min-width: 34px; |
140 padding: 0; | 140 padding: 0; |
141 width: 34px; | 141 width: 34px; |
142 } | 142 } |
143 | 143 |
144 body:not([new-ui]) .buttonbar button { | 144 body:not([new-ui]) .buttonbar button { |
145 -webkit-margin-after: 0; | 145 -webkit-margin-after: 0; |
146 -webkit-margin-begin: 0; | 146 -webkit-margin-before: 0; |
147 -webkit-margin-end: 0; | 147 -webkit-margin-end: 0; |
148 -webkit-margin-start: 8px; | 148 -webkit-margin-start: 8px; |
149 -webkit-user-select: none; | 149 -webkit-user-select: none; |
150 background-color: whiteSmoke; | 150 background-color: whiteSmoke; |
151 background-image: linear-gradient(to bottom, whiteSmoke, #F1F1F1); | 151 background-image: linear-gradient(to bottom, whiteSmoke, #F1F1F1); |
152 border: 1px solid rgba(0, 0, 0, 0.1); | 152 border: 1px solid rgba(0, 0, 0, 0.1); |
153 border-radius: 2px; | 153 border-radius: 2px; |
154 box-shadow: none; | 154 box-shadow: none; |
155 box-sizing: content-box; | 155 box-sizing: content-box; |
156 color: #444; | 156 color: #444; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 body:not([new-ui]) .buttonbar button.action, | 224 body:not([new-ui]) .buttonbar button.action, |
225 body:not([new-ui]) .buttonbar button.action:focus, | 225 body:not([new-ui]) .buttonbar button.action:focus, |
226 body:not([new-ui]) .buttonbar button.action:hover, | 226 body:not([new-ui]) .buttonbar button.action:hover, |
227 body:not([new-ui]) .buttonbar button.action:active { | 227 body:not([new-ui]) .buttonbar button.action:active { |
228 background-color: rgb(209, 72, 54); | 228 background-color: rgb(209, 72, 54); |
229 background-image: -webkit-gradient(linear, | 229 background-image: -webkit-gradient(linear, |
230 left top, left bottom, from(rgb(221, 75, 57)), to(rgb(209, 72, 54))); | 230 left top, left bottom, from(rgb(221, 75, 57)), to(rgb(209, 72, 54))); |
231 border: 1px solid transparent; | 231 border: 1px solid transparent; |
232 color: #FFF; | 232 color: #FFF; |
233 font-weight: bold; | 233 font-weight: bold; |
234 letter-spacing: 1; | 234 letter-spacing: 1px; |
235 text-transform: uppercase; | 235 text-transform: uppercase; |
236 } | 236 } |
237 | 237 |
238 body:not([new-ui]) .buttonbar button.action:not([disabled]):focus { | 238 body:not([new-ui]) .buttonbar button.action:not([disabled]):focus { |
239 border-color: rgb(209, 72, 54); | 239 border-color: rgb(209, 72, 54); |
240 } | 240 } |
241 | 241 |
242 body:not([new-ui]) .buttonbar button.action:not([disabled]):hover { | 242 body:not([new-ui]) .buttonbar button.action:not([disabled]):hover { |
243 background-color: rgb(197, 55, 39); | 243 background-color: rgb(197, 55, 39); |
244 background-image: -webkit-gradient(linear, | 244 background-image: -webkit-gradient(linear, |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 width: 44px; | 701 width: 44px; |
702 } | 702 } |
703 | 703 |
704 body[new-ui] .cr-dialog-close:hover { | 704 body[new-ui] .cr-dialog-close:hover { |
705 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H'); | 705 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H'); |
706 } | 706 } |
707 | 707 |
708 body[new-ui] .cr-dialog-close:active { | 708 body[new-ui] .cr-dialog-close:active { |
709 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P'); | 709 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P'); |
710 } | 710 } |
OLD | NEW |