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

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

Issue 2682423002: [MD settings] change menu and domain icons (Closed)
Patch Set: updated comment Created 3 years, 10 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
« no previous file with comments | « ui/webui/resources/cr_elements/policy/cr_policy_indicator_behavior.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-tooltip/paper-too ltip.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-tooltip/paper-too ltip.html">
5 <link rel="import" href="cr_policy_indicator_behavior.html"> 5 <link rel="import" href="cr_policy_indicator_behavior.html">
6 <link rel="import" href="cr_policy_pref_behavior.html"> 6 <link rel="import" href="cr_policy_pref_behavior.html">
7 7
8 <dom-module id="cr-policy-pref-indicator"> 8 <dom-module id="cr-policy-pref-indicator">
9 <link rel="import" type="css" href="cr_policy_indicator.css"> 9 <link rel="import" type="css" href="cr_policy_indicator.css">
10 <style> 10 <style>
11 :host {
12 display: flex; /* Position independantly from the line-height. */
13 }
14
11 paper-tooltip { 15 paper-tooltip {
12 --paper-tooltip: var(--cr-policy-tooltip); 16 --paper-tooltip: var(--cr-policy-tooltip);
13 } 17 }
14 </style> 18 </style>
15 <template> 19 <template>
16 <iron-icon id="indicator" tabindex=0 20 <iron-icon id="indicator" tabindex=0
17 hidden$="[[!isIndicatorVisible(indicatorType)]]" 21 hidden$="[[!isIndicatorVisible(indicatorType)]]"
18 icon="[[getPolicyIndicatorIcon(indicatorType)]]"></iron-icon> 22 icon="[[getPolicyIndicatorIcon(indicatorType)]]"></iron-icon>
19 <paper-tooltip for="indicator" position="top" fit-to-visible-bounds> 23 <paper-tooltip for="indicator" position="top" fit-to-visible-bounds>
20 [[getTooltip_(indicatorType, pref)]] 24 [[getTooltip_(indicatorType, pref)]]
21 </paper-tooltip> 25 </paper-tooltip>
22 </template> 26 </template>
23 <script src="cr_policy_pref_indicator.js"></script> 27 <script src="cr_policy_pref_indicator.js"></script>
24 </dom-module> 28 </dom-module>
OLDNEW
« no previous file with comments | « ui/webui/resources/cr_elements/policy/cr_policy_indicator_behavior.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698