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

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

Issue 2918883003: Settings: Fix disabled primary buttons (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_shared_css.html
diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html
index 917ba17c694d3ce4fc7ec5d1caaee591a327dae1..4ed24f9629e3dbc86f3e7b5a95424e35e6b72446 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -93,24 +93,13 @@
/* There are two settings button styles, .primary-button and normal
* buttons. The primary is the action button (e.g. "edit", "delete")
* while the normal (secondary-button) is often a "Cancel" button. */
- .primary-button {
- --paper-button: {
- -webkit-padding-end: var(--settings-button-edge-spacing);
- -webkit-padding-start: var(--settings-button-edge-spacing);
- font-weight: 500;
- text-align: start;
- };
+ .primary-button:not([disabled]) {
--paper-button-flat-keyboard-focus: {
background: rgba(51, 103, 214, .12); /* --google-blue-700 */
};
color: var(--google-blue-500);
}
- .primary-button[disabled] {
- background: none;
- color: var(--paper-grey-600);
- }
-
paper-toggle-button {
@apply(--settings-actionable);
height: var(--settings-row-min-height);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698