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

Side by Side Diff: ui/webui/resources/cr_elements/policy/cr_policy_vars_css.html

Issue 2696903005: Move common cr-policy-indicator behavior into CrPolicyIndicatorBehavior (Closed)
Patch Set: rebase Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> 1 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
2 <style is="custom-style"> 2 <style is="custom-style">
3 :root { 3 :root {
4 --cr-policy-indicator: { 4 --cr-policy-indicator: {
5 @apply(--cr-icon-height-width); 5 @apply(--cr-icon-height-width);
6 display: block; 6 display: flex; /* Position independently from the line-height. */
7 }; 7 };
8 8
9 --cr-policy-tooltip: { 9 --cr-policy-tooltip: {
10 font-size: 92.31%; /* Effectively 12px if the host default is 13px. */ 10 font-size: 92.31%; /* Effectively 12px if the host default is 13px. */
11 font-weight: 500; 11 font-weight: 500;
12 max-width: 330px; 12 max-width: 330px;
13 min-width: 200px; 13 min-width: 200px;
14 padding: 10px 8px; 14 padding: 10px 8px;
15 }; 15 };
16 } 16 }
17 </style> 17 </style>
OLDNEW
« no previous file with comments | « ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js ('k') | ui/webui/resources/cr_elements_resources.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698