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

Unified Diff: chrome/browser/resources/settings/reset_page/reset_page_dialog.css

Issue 1482573002: MD Settings: Adjusting reset-page dialogs styling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaks Created 5 years 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/settings/reset_page/reset_page_dialog.css
diff --git a/chrome/browser/resources/settings/reset_page/reset_page_dialog.css b/chrome/browser/resources/settings/reset_page/reset_page_dialog.css
new file mode 100644
index 0000000000000000000000000000000000000000..1a32e5ff480d9664a0d240fde3f6a752425cf9fc
--- /dev/null
+++ b/chrome/browser/resources/settings/reset_page/reset_page_dialog.css
@@ -0,0 +1,53 @@
+/* Copyright 2015 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. */
+
+#dialog-content {
+ -webkit-padding-end: 0;
+ -webkit-padding-start: 0;
+ margin-top: 0;
+}
+
+.dialog-title {
dschuyler 2015/12/02 01:02:01 Would .settings-box work here?
dpapad 2015/12/02 03:07:49 I thought about this but it seems that settings-bo
Dan Beam 2015/12/02 03:26:43 agreed ^ we could compose out a "top-border" or "
+ border-bottom: 1px solid gainsboro;
+ font-size: 1.13em;
+ padding-bottom: 14px;
+ padding-top: 14px;
+}
+
+.dialog-body {
+ font-size: 1em;
+ margin: 20px 0;
+}
+
+.dialog-title,
+.dialog-body {
+ -webkit-padding-end: 24px;
+ -webkit-padding-start: 24px;
Dan Beam 2015/12/02 03:26:43 FYI: I don't disagree with what you're doing, but
+}
+
+.action-button {
+ -webkit-margin-start: 10px;
+ background-color: rgb(66, 133, 244);
+ color: white;
+ font-weight: 500;
+}
+
+.cancel-button {
dschuyler 2015/12/02 01:02:01 Let's change this to something like .highlight-but
dpapad 2015/12/02 03:07:49 I am not opposed to this, but I believe it is bett
Dan Beam 2015/12/02 03:26:43 fine with per-component css files, also fine with
dschuyler 2015/12/02 21:45:22 Nit: I feel that "cancel" is a bit over-specific -
dpapad 2015/12/02 22:21:59 I am a bit confused by the suggested naming (highl
Dan Beam 2015/12/02 23:12:09 why not just action-button or default-button for t
+ color: rgb(66, 133, 244);
+ font-weight: 500;
+}
+
+paper-button {
+ margin: 0;
+}
+
+.explanation {
+ margin-bottom: 35px;
+}
+
+.action-buttons {
+ display: flex;
+ flex: 1;
+ justify-content: flex-end;
+}

Powered by Google App Engine
This is Rietveld 408576698