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

Unified Diff: chrome/browser/resources/options/content_settings.css

Issue 1963203002: [Chrome Settings UI] Show overruled User Exceptions as strike-through. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move common code to appendIndicatorElement(). Created 4 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
Index: chrome/browser/resources/options/content_settings.css
diff --git a/chrome/browser/resources/options/content_settings.css b/chrome/browser/resources/options/content_settings.css
index 36c6393af3d8c36c1f3e28a955bd31de595b17f3..210377ae16f20aac3d6956e812eb21dee79b4702 100644
--- a/chrome/browser/resources/options/content_settings.css
+++ b/chrome/browser/resources/options/content_settings.css
@@ -21,10 +21,24 @@
width: 120px;
}
+.settings-list div[role='listitem'][controlled-by='policy'] .exception-setting,
+.settings-list div[role='listitem'][controlled-by='extension']
+ .exception-setting {
+ width: 112px;
Dan Beam 2016/05/25 00:41:53 how is this width calculated?
huangs 2016/05/25 15:58:50 I used Developer Tools, got rid of italic style fo
+}
+
select.exception-setting {
vertical-align: middle;
}
+.overruled .exception-setting {
+ width: 96px;
Dan Beam 2016/05/25 00:41:53 same question
huangs 2016/05/25 15:58:50 Same thing, though this time aligned to the "new e
+}
+
+.overruled span.exception-setting {
+ text-decoration: line-through;
Dan Beam 2016/05/25 00:41:53 why are there 2 rules that apply the same line-thr
huangs 2016/05/25 15:58:50 This one is for the <span> that replaces <select>,
+}
+
#exception-column-headers {
-webkit-margin-start: 17px;
display: -webkit-box;

Powered by Google App Engine
This is Rietveld 408576698