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

Side by Side Diff: sky/examples/flights-app/app-search-input.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-scrollable.sky ('k') | sky/examples/flights-app/app-title.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
3 <sky-element name="app-search-input">
2 <template> 4 <template>
3 <style> 5 <style>
4 :host { 6 :host {
5 background-color: #F6F6F6; 7 background-color: #F6F6F6;
6 padding: 4px; 8 padding: 4px;
7 display: flex; 9 display: flex;
8 align-items: center; 10 align-items: center;
9 font-size: 1.2em; 11 font-size: 1.2em;
10 } 12 }
11 13
12 .input-text { 14 .input-text {
13 margin-left: 8px; 15 margin-left: 8px;
14 } 16 }
15 </style> 17 </style>
16 <span class="input-icon"> 18 <span class="input-icon">
17 <img src="/sky/examples/flights/images/magnifying-glass.png" style="width: 1 6px"> 19 <img src="/sky/examples/flights/images/magnifying-glass.png" style="width: 1 6px">
18 </span> 20 </span>
19 <span class="input-text"><t>flights today to dc by price</t></span> 21 <span class="input-text"><t>flights today to dc by price</t></span>
20 </template> 22 </template>
21 <script> 23 <script>
22 SkyElement({ 24 module.exports = class extends SkyElement {
23 name: "app-search-input" 25 }.register();
24 });
25 </script> 26 </script>
27 </sky-element>
OLDNEW
« no previous file with comments | « sky/examples/flights-app/app-scrollable.sky ('k') | sky/examples/flights-app/app-title.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698