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

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

Issue 2667713002: Settings: Network icons need to be flex (Closed)
Patch Set: 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 | « no previous file | 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/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 overflow: hidden; 11 overflow: hidden;
11 padding: 2px; 12 padding: 2px;
12 position: relative; 13 position: relative;
13 } 14 }
14 15
15 /* Included for options UI. TODO(stevenjb): Remove. */ 16 /* Included for options UI. TODO(stevenjb): Remove. */
16 [hidden] { 17 [hidden] {
17 display: none !important; 18 display: none !important;
18 } 19 }
19 20
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 @keyframes cellular-levels { 119 @keyframes cellular-levels {
119 0% { background: url(cellular_0.svg); } 120 0% { background: url(cellular_0.svg); }
120 25% { background: url(cellular_1.svg); } 121 25% { background: url(cellular_1.svg); }
121 50% { background: url(cellular_2.svg); } 122 50% { background: url(cellular_2.svg); }
122 75% { background: url(cellular_3.svg); } 123 75% { background: url(cellular_3.svg); }
123 100% { background: url(cellular_4.svg); } 124 100% { background: url(cellular_4.svg); }
124 } 125 }
125 </style> 126 </style>
126 <div id="icon" class$="[[getIconClass_(networkState, isListItem)]]"> 127 <div id="icon" class$="[[getIconClass_(networkState, isListItem)]]">
127 </div> 128 </div>
128 <iron-icon id="technology" hidden ="[[!showTechnology_(networkState)]]" 129 <iron-icon id="technology" hidden="[[!showTechnology_(networkState)]]"
129 icon="[[getTechnology_(networkState)]]"> 130 icon="[[getTechnology_(networkState)]]">
130 </iron-icon> 131 </iron-icon>
131 <iron-icon id="secure" hidden ="[[!showSecure_(networkState)]]" 132 <iron-icon id="secure" hidden="[[!showSecure_(networkState)]]"
132 icon="network:badge-secure"> 133 icon="network:badge-secure">
133 </iron-icon> 134 </iron-icon>
134 </template> 135 </template>
135 <script src="cr_network_icon.js"></script> 136 <script src="cr_network_icon.js"></script>
136 </dom-module> 137 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698