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

Unified Diff: ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.css

Issue 1310373008: Add cr_policy_indicator for settings controls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md_settings_compiled_resources_3
Patch Set: Rebase + Feedback 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/policy/cr_policy_indicator.css
diff --git a/chrome/browser/resources/settings/checkbox/checkbox.css b/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.css
similarity index 52%
copy from chrome/browser/resources/settings/checkbox/checkbox.css
copy to ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.css
index ad35bc55961db1a8f952c62364dc09bd42b8328a..518050d28fe4d6c7b7e91c335098b31270ee2e34 100644
--- a/chrome/browser/resources/settings/checkbox/checkbox.css
+++ b/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.css
@@ -2,20 +2,15 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
+/* Note: we use display: block here to avoid positioning issues related to
+ * the use of overflow: hidden. */
:host {
display: block;
- margin-bottom: 10px;
- margin-top: 10px;
+ height: 20px;
+ width: 20px;
}
-#checkbox {
- -webkit-margin-end: 10px;
-}
-
-.main-label {
- -webkit-margin-end: 10px;
-}
-
-.sub-label {
- color: rgba(0, 0, 0, .5);
+img {
+ height: 100%;
+ width: 100%;
}

Powered by Google App Engine
This is Rietveld 408576698