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

Unified Diff: ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.css

Issue 1346823005: Elim cr_button from md-settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/v1_0/cr_button/cr_button.css
diff --git a/ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.css b/ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.css
deleted file mode 100644
index 7050cf3247857cb6cbe8b82b8592d907f397896b..0000000000000000000000000000000000000000
--- a/ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.css
+++ /dev/null
@@ -1,30 +0,0 @@
-/* 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. */
-
-:host {
- display: inline-block;
- vertical-align: middle;
-}
-
-:host([disabled]) {
- pointer-events: none;
-}
-
-paper-button[toggles][active] {
- background-color: lightgrey;
-}
-
-paper-button {
- margin: 0;
- --paper-button: {
- min-width: auto;
Dan Beam 2015/09/22 17:22:47 where are we doing this?
stevenjb 2015/09/22 17:36:29 I thought you added this for md-downloads then did
Dan Beam 2015/09/22 22:22:23 downloads still does this, but so should settings,
stevenjb 2015/09/22 23:00:18 I was reluctant to propagate --paper-button, but c
Dan Beam 2015/09/22 23:09:55 this is fine for now, I suppose, but we should sta
stevenjb 2015/09/23 17:22:48 I agree that would be better, but it would also me
- };
-}
-
-:host([lowercase]) paper-button {
- --paper-button: {
- min-width: auto; /* HACK(dbeam): mixins can't be redefined. */
- text-transform: none;
- };
-}

Powered by Google App Engine
This is Rietveld 408576698