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

Unified Diff: chrome/browser/resources/settings/settings_dialog_css.html

Issue 1738313002: [MD settings] converting settings_dialog.css to style-module (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added file Created 4 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/settings/settings_dialog_css.html
diff --git a/chrome/browser/resources/settings/settings_dialog_css.html b/chrome/browser/resources/settings/settings_dialog_css.html
new file mode 100644
index 0000000000000000000000000000000000000000..5c34203c5c2a593d12bcc90fa548bd4cc6e07e02
--- /dev/null
+++ b/chrome/browser/resources/settings/settings_dialog_css.html
@@ -0,0 +1,83 @@
+/* Copyright 2016 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. */
+
+/**
+ * @fileoverview
+ * Common dialog styles for Material Design settings.
+ */
+
+<dom-module id="settings-dialog">
+ <template>
+ <style>
+ paper-dialog {
+ max-width: 800px;
+ min-width: 500px;
+ }
+
+ #dialog-content {
+ -webkit-padding-end: 0;
+ -webkit-padding-start: 0;
+ margin-bottom: 0;
+ margin-top: 0;
+ }
+
+ paper-dialog .top-row {
+ align-items: center;
+ border-bottom: 1px solid gainsboro;
+ display: flex;
+ padding-bottom: 5px;
+ padding-top: 5px;
+ }
+
+ paper-dialog .title {
+ flex: 1;
+ font-size: 1.13em;
+ }
+
+ paper-dialog .body {
+ font-size: 1em;
+ margin: 20px 0;
+ }
+
+ paper-dialog .title,
+ paper-dialog .body {
+ -webkit-padding-end: 24px;
+ -webkit-padding-start: 24px;
+ }
+
+ paper-dialog .action-button {
+ -webkit-margin-start: 10px;
+ font-weight: 500;
+ }
+
+ paper-dialog .action-button:not([disabled]) {
+ background-color: rgb(66, 133, 244);
+ color: white;
+ }
+
+ paper-dialog .cancel-button {
+ color: rgb(109, 109, 109);
+ font-weight: 500;
+ }
+
+ paper-dialog .explanation {
+ margin-bottom: 35px;
+ }
+
+ paper-dialog .button-container {
+ display: flex;
+ justify-content: flex-end;
+ }
+
+ paper-dialog paper-button {
+ margin: 0;
+ min-width: auto;
+ }
+
+ paper-dialog paper-button[toggles][active] {
+ background-color: LightGray;
+ }
+ </style>
+ </template>
+</dom-module>
« no previous file with comments | « chrome/browser/resources/settings/settings_dialog.css ('k') | chrome/browser/resources/settings/settings_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698