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

Unified Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html

Issue 2912893002: MD Bookmarks: Support policies for disabling bookmark editing (Closed)
Patch Set: canEdit -> globalCanEdit Created 3 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/cr_toolbar/cr_toolbar_selection_overlay.html
diff --git a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html
index 16413e1da5c542a0b1449ef01f28b6b19c53a254..3138f473a77702ee684aeedd9cd21aec655cfd3d 100644
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html
@@ -25,6 +25,12 @@
font-weight: 500;
}
+ paper-button[disabled] {
+ background: transparent;
+ color: inherit;
+ opacity: 0.7;
+ }
+
#number-selected {
flex: 1;
}
@@ -51,7 +57,8 @@
<paper-button on-tap="onClearSelectionTap_">
[[cancelLabel]]
</paper-button>
- <paper-button id="delete" on-tap="onDeleteTap_">
+ <paper-button id="delete" on-tap="onDeleteTap_"
+ disabled="[[deleteDisabled]]">
[[deleteLabel]]
</paper-button>
</div>

Powered by Google App Engine
This is Rietveld 408576698