Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Side by Side Diff: chrome/browser/resources/options/settings_banner.css

Issue 151003004: Add an automatic settings reset banner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Gab's nits. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 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 #reset-profile-settings-banner { 5 /* These styles are used bby both reset_profile_settings_banner.html and
6 * automatic_settings_reset_banner.html. */
7
8 .settings-banner {
6 background-color: #f5f5f5; 9 background-color: #f5f5f5;
7 border-color: #c8c8c8; 10 border-color: #c8c8c8;
8 border-radius: 3px; 11 border-radius: 3px;
9 border-style: solid; 12 border-style: solid;
10 border-width: 1px; 13 border-width: 1px;
11 margin-bottom: 24px; 14 margin-bottom: 24px;
12 margin-top: 20px; 15 margin-top: 20px;
13 position: relative; 16 position: relative;
14 width: 716px; 17 width: 716px;
15 } 18 }
16 19
17 #reset-profile-settings-banner > .close-button { 20 .settings-banner > .close-button {
18 background-image: url('chrome://theme/IDR_CLOSE_DIALOG'); 21 background-image: url('chrome://theme/IDR_CLOSE_DIALOG');
19 background-position: center; 22 background-position: center;
20 background-repeat: no-repeat; 23 background-repeat: no-repeat;
21 height: 14px; 24 height: 14px;
22 opacity: 0.5; 25 opacity: 0.5;
23 position: absolute; 26 position: absolute;
24 right: 4px; 27 right: 4px;
25 top: 4px; 28 top: 4px;
26 width: 14px; 29 width: 14px;
27 } 30 }
28 31
29 html[dir='rtl'] #reset-profile-settings-banner > .close-button { 32 html[dir='rtl'] .settings-banner > .close-button {
30 left: 4px; 33 left: 4px;
31 right: auto; 34 right: auto;
32 } 35 }
33 36
34 #reset-profile-settings-banner > .close-button:hover { 37 .settings-banner > .close-button:hover {
35 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H'); 38 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H');
36 } 39 }
37 40
38 #reset-profile-settings-banner > .close-button:active { 41 .settings-banner > .close-button:active {
39 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P'); 42 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P');
40 } 43 }
41 44
42 #reset-profile-settings-banner .content-area { 45 .settings-banner .content-area {
43 -webkit-box-align: center; 46 -webkit-box-align: center;
44 display: -webkit-box; 47 display: -webkit-box;
45 padding: 17px; 48 padding: 17px;
46 } 49 }
47 50
48 #reset-profile-settings-banner .content-area .badge { 51 .settings-banner .content-area .badge {
49 background-image: url(yellow_gear.png); 52 background-image: url(yellow_gear.png);
50 background-position: center; 53 background-position: center;
51 background-repeat: no-repeat; 54 background-repeat: no-repeat;
52 height: 55px; 55 height: 55px;
53 width: 58px; 56 width: 58px;
54 } 57 }
55 58
56 #reset-profile-settings-banner .content-area .text { 59 .settings-banner .content-area .text {
57 -webkit-box-flex: 1.0; 60 -webkit-box-flex: 1.0;
58 -webkit-margin-start: 18px; 61 -webkit-margin-start: 18px;
59 } 62 }
60 63
61 #reset-profile-settings-banner .content-area .text p { 64 .settings-banner .content-area .text p {
62 -webkit-margin-after: 0; 65 -webkit-margin-after: 0;
63 -webkit-margin-before: 0; 66 -webkit-margin-before: 0;
64 } 67 }
65 68
66 #reset-profile-settings-banner .content-area .button-area { 69 .settings-banner .content-area .button-area {
67 -webkit-margin-start: 54px; 70 -webkit-margin-start: 54px;
68 } 71 }
69 72
70 #reset-profile-settings-banner .nowrap { 73 .settings-banner .nowrap {
71 white-space: nowrap; 74 white-space: nowrap;
72 } 75 }
73 76
74 #reset-profile-settings-banner button { 77 .settings-banner button {
75 margin-bottom: 1px; 78 margin-bottom: 1px;
76 margin-right: 0; 79 margin-right: 0;
77 } 80 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698