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

Unified Diff: ui/webui/resources/cr_elements/shared_style_css.html

Issue 2071543003: MD WebUI: Extract settings-dialog into shared cr-dialog element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ) from comment Created 4 years, 6 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: ui/webui/resources/cr_elements/shared_style_css.html
diff --git a/ui/webui/resources/cr_elements/shared_style_css.html b/ui/webui/resources/cr_elements/shared_style_css.html
new file mode 100644
index 0000000000000000000000000000000000000000..1f6cf1a50454d530929e1a586ac3ec515b7f8c2e
--- /dev/null
+++ b/ui/webui/resources/cr_elements/shared_style_css.html
@@ -0,0 +1,32 @@
+<link rel="import" href="chrome://resources/html/polymer.html">
+
+<!-- Common styles for Material Design WebUI. Included directly in
+ settings_shared_css.html. -->
+<dom-module id="cr-shared-style">
+ <template>
+ <style>
+ .action-button {
+ background: var(--google-blue-500);
+ color: white;
+ --paper-button-flat-keyboard-focus: {
+ background-color: rgb(58, 117, 215); /* 88% of --google-blue-500 */
+ };
+ }
+
+ .action-button[disabled] {
+ opacity: .25; /* TODO(dbeam): check this value with bettes. */
+ }
+
+ .cancel-button {
+ --paper-button-flat-keyboard-focus: {
+ background-color: rgba(0, 0, 0, .12);
+ };
+ }
+
+ .action-button,
+ .cancel-button {
+ font-weight: 500;
+ }
+ </style>
+ </template>
+</dom-module>
« no previous file with comments | « ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js ('k') | ui/webui/resources/cr_elements_resources.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698