OLD | NEW |
---|---|
(Empty) | |
1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | |
4 <link rel="import" href="/extension_control_browser_proxy.html"> | |
5 | |
6 <dom-module id="extension-controlled-indicator"> | |
7 <template> | |
8 <style include="settings-shared"> | |
9 :host { | |
10 -webkit-margin-start: 36px; | |
11 align-items: center; | |
12 display: flex; | |
13 min-height: 44px; | |
dpapad
2016/11/17 01:50:07
Can this be a --settings-row-min-height variable?
Dan Beam
2016/11/17 02:50:14
Done.
| |
14 } | |
15 | |
16 img { | |
17 -webkit-margin-end: 16px; | |
18 height: 20px; | |
19 width: 20px; | |
20 } | |
21 | |
22 span { | |
23 -webkit-margin-end: 8px; | |
24 flex: 1; | |
25 } | |
26 </style> | |
27 <img src="chrome://extension-icon/[[extensionId]]/40/1"> | |
28 <span inner-h-t-m-l="[[getLabel_(extensionId, extensionName)]]"></span> | |
29 <template is="dom-if" if="[[extensionCanBeDisabled]]"> | |
30 <paper-button class="secondary-button" on-tap="onDisableTap_"> | |
31 $i18n{disable} | |
32 </paper-button> | |
33 </template> | |
34 </template> | |
35 </dom-module> | |
36 | |
37 <script src="/controls/extension_controlled_indicator.js"></script> | |
OLD | NEW |