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

Unified Diff: chrome/browser/resources/options/automatic_settings_reset_banner.css

Issue 151003004: Add an automatic settings reset banner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved reset logic to chrome_pref_service_factory 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options/automatic_settings_reset_banner.css
diff --git a/chrome/browser/resources/options/reset_profile_settings_banner.css b/chrome/browser/resources/options/automatic_settings_reset_banner.css
similarity index 56%
copy from chrome/browser/resources/options/reset_profile_settings_banner.css
copy to chrome/browser/resources/options/automatic_settings_reset_banner.css
index 21087f8aebd4f6e3b2e467d60489ebeb32b98205..e4d6fd4acd8f8b6874df1adb2c95846db032e8fa 100644
--- a/chrome/browser/resources/options/reset_profile_settings_banner.css
+++ b/chrome/browser/resources/options/automatic_settings_reset_banner.css
@@ -1,8 +1,8 @@
-/* Copyright 2013 The Chromium Authors. All rights reserved.
+/* Copyright 2014 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
-#reset-profile-settings-banner {
+#automatic-settings-reset-banner {
background-color: #f5f5f5;
border-color: #c8c8c8;
border-radius: 3px;
@@ -14,7 +14,7 @@
width: 716px;
}
-#reset-profile-settings-banner > .close-button {
+#automatic-settings-reset-banner > .close-button {
background-image: url('chrome://theme/IDR_CLOSE_DIALOG');
background-position: center;
background-repeat: no-repeat;
@@ -26,26 +26,26 @@
width: 14px;
}
-html[dir='rtl'] #reset-profile-settings-banner > .close-button {
+html[dir='rtl'] #automatic-settings-reset-banner > .close-button {
left: 4px;
right: auto;
}
-#reset-profile-settings-banner > .close-button:hover {
+#automatic-settings-reset-banner > .close-button:hover {
background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H');
}
-#reset-profile-settings-banner > .close-button:active {
+#automatic-settings-reset-banner > .close-button:active {
background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P');
}
-#reset-profile-settings-banner .content-area {
+#automatic-settings-reset-banner .content-area {
-webkit-box-align: center;
display: -webkit-box;
padding: 17px;
}
-#reset-profile-settings-banner .content-area .badge {
+#automatic-settings-reset-banner .content-area .badge {
background-image: url(yellow_gear.png);
background-position: center;
background-repeat: no-repeat;
@@ -53,25 +53,12 @@ html[dir='rtl'] #reset-profile-settings-banner > .close-button {
width: 58px;
}
-#reset-profile-settings-banner .content-area .text {
+#automatic-settings-reset-banner .content-area .text {
-webkit-box-flex: 1.0;
-webkit-margin-start: 18px;
}
-#reset-profile-settings-banner .content-area .text p {
+#automatic-settings-reset-banner .content-area .text p {
-webkit-margin-after: 0;
-webkit-margin-before: 0;
}
-
-#reset-profile-settings-banner .content-area .button-area {
- -webkit-margin-start: 54px;
-}
-
-#reset-profile-settings-banner .nowrap {
- white-space: nowrap;
-}
-
-#reset-profile-settings-banner button {
- margin-bottom: 1px;
- margin-right: 0;
-}

Powered by Google App Engine
This is Rietveld 408576698