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

Side by Side Diff: sky/examples/flights-app/flights-app.sky

Issue 788943003: Make SkyElement more classy. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Don't change indent. Created 6 years 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 | « sky/examples/flights-app/app-toolbar.sky ('k') | sky/examples/flights-app/index.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <import src="../../framework/sky-element/sky-element.sky" as="SkyElement" /> 1 <import src="../../framework/sky-element/sky-element.sky" as="SkyElement" />
2 <import src="app-header.sky" /> 2 <import src="app-header.sky" />
3 <import src="app-title.sky" /> 3 <import src="app-title.sky" />
4 <import src="app-menu-button.sky" /> 4 <import src="app-menu-button.sky" />
5 <import src="app-panel.sky" /> 5 <import src="app-panel.sky" />
6 <import src="app-panel-header.sky" /> 6 <import src="app-panel-header.sky" />
7 <import src="app-panel-content.sky" /> 7 <import src="app-panel-content.sky" />
8 <import src="app-toolbar.sky" /> 8 <import src="app-toolbar.sky" />
9 <import src="app-search-input.sky" /> 9 <import src="app-search-input.sky" />
10 <import src="app-scrollable.sky" /> 10 <import src="app-scrollable.sky" />
11 <import src="app-toast.sky" /> 11 <import src="app-toast.sky" />
12 12
13 <sky-element name="flights-app">
13 <template> 14 <template>
14 <style> 15 <style>
15 * { box-sizing: border-box; } 16 * { box-sizing: border-box; }
16 17
17 t, span { 18 t, span {
18 display: inline; 19 display: inline;
19 } 20 }
20 21
21 :host { 22 :host {
22 display: flex; 23 display: flex;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 <app-toast> 194 <app-toast>
194 <div class="toast-icon"> 195 <div class="toast-icon">
195 <t>?</t> 196 <t>?</t>
196 </div> 197 </div>
197 <div class="toast-content"> 198 <div class="toast-content">
198 <t>Flights are <span class="tip-price">$200</span> cheaper tomorrow.</t> 199 <t>Flights are <span class="tip-price">$200</span> cheaper tomorrow.</t>
199 </div> 200 </div>
200 </app-toast> 201 </app-toast>
201 </template> 202 </template>
202 <script> 203 <script>
203 SkyElement({ 204 module.exports = class extends SkyElement {
204 name: "flights-app", 205 }.register();
205 });
206 </script> 206 </script>
207 </sky-element>
OLDNEW
« no previous file with comments | « sky/examples/flights-app/app-toolbar.sky ('k') | sky/examples/flights-app/index.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698