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

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: Change 'Behavior' colunm text sizing to fix alignment. 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..b4268a4ec753c56cc9fbd2c16b5662c0dcfc1975 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;
+}
+
select.exception-setting {
vertical-align: middle;
}
+.overruled .exception-setting {
+ width: 96px;
+}
+
+.overruled span.exception-setting {
Bernhard Bauer 2016/05/18 09:55:13 Why is the span selector necessary?
huangs 2016/05/18 13:52:49 If we do don't do this, then "select.exception-set
Bernhard Bauer 2016/05/19 14:20:40 Hm... can we use an additional class for this? Oth
huangs 2016/05/20 15:16:46 This is applied to ".overruled span.exception-sett
Bernhard Bauer 2016/05/23 13:34:11 Mostly I'd be concerned that <span> is too narrow
huangs 2016/05/24 05:02:00 Acknowledged.
+ text-decoration: line-through;
+}
+
#exception-column-headers {
-webkit-margin-start: 17px;
display: -webkit-box;
@@ -107,3 +121,4 @@ select.media-device-control:empty {
#media-video-column {
width: 8.5em;
}
+y
Bernhard Bauer 2016/05/18 09:55:13 Remove
huangs 2016/05/18 13:52:49 Done.

Powered by Google App Engine
This is Rietveld 408576698