Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 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 #reset-profile-settings-banner { | 5 #automatic-settings-reset-banner { |
|
Bernhard Bauer
2014/02/07 08:14:53
Any chance you can share styles with the reset pro
robertshield
2014/02/07 19:08:28
And thus it was that I learned (some) CSS selector
| |
| 6 background-color: #f5f5f5; | 6 background-color: #f5f5f5; |
| 7 border-color: #c8c8c8; | 7 border-color: #c8c8c8; |
| 8 border-radius: 3px; | 8 border-radius: 3px; |
| 9 border-style: solid; | 9 border-style: solid; |
| 10 border-width: 1px; | 10 border-width: 1px; |
| 11 margin-bottom: 24px; | 11 margin-bottom: 24px; |
| 12 margin-top: 20px; | 12 margin-top: 20px; |
| 13 position: relative; | 13 position: relative; |
| 14 width: 716px; | 14 width: 716px; |
| 15 } | 15 } |
| 16 | 16 |
| 17 #reset-profile-settings-banner > .close-button { | 17 #automatic-settings-reset-banner > .close-button { |
| 18 background-image: url('chrome://theme/IDR_CLOSE_DIALOG'); | 18 background-image: url('chrome://theme/IDR_CLOSE_DIALOG'); |
| 19 background-position: center; | 19 background-position: center; |
| 20 background-repeat: no-repeat; | 20 background-repeat: no-repeat; |
| 21 height: 14px; | 21 height: 14px; |
| 22 opacity: 0.5; | 22 opacity: 0.5; |
| 23 position: absolute; | 23 position: absolute; |
| 24 right: 4px; | 24 right: 4px; |
| 25 top: 4px; | 25 top: 4px; |
| 26 width: 14px; | 26 width: 14px; |
| 27 } | 27 } |
| 28 | 28 |
| 29 html[dir='rtl'] #reset-profile-settings-banner > .close-button { | 29 html[dir='rtl'] #automatic-settings-reset-banner > .close-button { |
| 30 left: 4px; | 30 left: 4px; |
| 31 right: auto; | 31 right: auto; |
| 32 } | 32 } |
| 33 | 33 |
| 34 #reset-profile-settings-banner > .close-button:hover { | 34 #automatic-settings-reset-banner > .close-button:hover { |
| 35 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H'); | 35 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H'); |
| 36 } | 36 } |
| 37 | 37 |
| 38 #reset-profile-settings-banner > .close-button:active { | 38 #automatic-settings-reset-banner > .close-button:active { |
| 39 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P'); | 39 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P'); |
| 40 } | 40 } |
| 41 | 41 |
| 42 #reset-profile-settings-banner .content-area { | 42 #automatic-settings-reset-banner .content-area { |
| 43 -webkit-box-align: center; | 43 -webkit-box-align: center; |
| 44 display: -webkit-box; | 44 display: -webkit-box; |
| 45 padding: 17px; | 45 padding: 17px; |
| 46 } | 46 } |
| 47 | 47 |
| 48 #reset-profile-settings-banner .content-area .badge { | 48 #automatic-settings-reset-banner .content-area .badge { |
| 49 background-image: url(yellow_gear.png); | 49 background-image: url(yellow_gear.png); |
| 50 background-position: center; | 50 background-position: center; |
| 51 background-repeat: no-repeat; | 51 background-repeat: no-repeat; |
| 52 height: 55px; | 52 height: 55px; |
| 53 width: 58px; | 53 width: 58px; |
| 54 } | 54 } |
| 55 | 55 |
| 56 #reset-profile-settings-banner .content-area .text { | 56 #automatic-settings-reset-banner .content-area .text { |
| 57 -webkit-box-flex: 1.0; | 57 -webkit-box-flex: 1.0; |
| 58 -webkit-margin-start: 18px; | 58 -webkit-margin-start: 18px; |
| 59 } | 59 } |
| 60 | 60 |
| 61 #reset-profile-settings-banner .content-area .text p { | 61 #automatic-settings-reset-banner .content-area .text p { |
| 62 -webkit-margin-after: 0; | 62 -webkit-margin-after: 0; |
| 63 -webkit-margin-before: 0; | 63 -webkit-margin-before: 0; |
| 64 } | 64 } |
| 65 | |
| 66 #reset-profile-settings-banner .content-area .button-area { | |
| 67 -webkit-margin-start: 54px; | |
| 68 } | |
| 69 | |
| 70 #reset-profile-settings-banner .nowrap { | |
| 71 white-space: nowrap; | |
| 72 } | |
| 73 | |
| 74 #reset-profile-settings-banner button { | |
| 75 margin-bottom: 1px; | |
| 76 margin-right: 0; | |
| 77 } | |
| OLD | NEW |