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

Side by Side Diff: ui/webui/resources/cr_elements/network/cr_network_icon.html

Issue 2754753002: MD Settings: Fix network list styling (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/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
3 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm l"> 3 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm l">
4 <link rel="import" href="chrome://resources/cr_elements/network/network_icons.ht ml"> 4 <link rel="import" href="chrome://resources/cr_elements/network/network_icons.ht ml">
5 5
6 <dom-module id="cr-network-icon"> 6 <dom-module id="cr-network-icon">
7 <template> 7 <template>
8 <style> 8 <style>
9 :host { 9 :host {
10 display: inline-flex; 10 display: inline-flex;
11 opacity: .65; /* Equivalent to #5a5a5a */
12 overflow: hidden; 11 overflow: hidden;
13 padding: 2px; 12 padding: 2px;
14 position: relative; 13 position: relative;
15 } 14 }
16 15
17 /* Included for options UI. TODO(stevenjb): Remove. */ 16 /* Included for options UI. TODO(stevenjb): Remove. */
18 [hidden] { 17 [hidden] {
19 display: none !important; 18 display: none !important;
20 } 19 }
21 20
22 #icon { 21 #icon {
23 height: 20px; 22 height: 20px;
23 opacity: .65; /* Equivalent to #5a5a5a */
24 width: 20px; 24 width: 20px;
25 } 25 }
26 26
27 /* Upper-left corner */ 27 /* Upper-left corner */
28 #technology { 28 #technology {
29 height: 20px; 29 height: 20px;
30 left: 0; 30 left: 0;
31 position: absolute; 31 position: absolute;
32 top: 1px; 32 top: 1px;
33 width: 20px; 33 width: 20px;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 </div> 129 </div>
130 <iron-icon id="technology" hidden="[[!showTechnology_(networkState)]]" 130 <iron-icon id="technology" hidden="[[!showTechnology_(networkState)]]"
131 icon="[[getTechnology_(networkState)]]"> 131 icon="[[getTechnology_(networkState)]]">
132 </iron-icon> 132 </iron-icon>
133 <iron-icon id="secure" hidden="[[!showSecure_(networkState)]]" 133 <iron-icon id="secure" hidden="[[!showSecure_(networkState)]]"
134 icon="network:badge-secure"> 134 icon="network:badge-secure">
135 </iron-icon> 135 </iron-icon>
136 </template> 136 </template>
137 <script src="cr_network_icon.js"></script> 137 <script src="cr_network_icon.js"></script>
138 </dom-module> 138 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698