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

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

Issue 980323003: Clean up examples directory (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/examples/flights-app/app-title.sky ('k') | sky/examples/flights-app/app-toolbar.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <import src="../../framework/sky-element/sky-element.sky" as="SkyElement" />
2
3 <sky-element name="app-toast">
4 <template>
5 <style>
6 :host {
7 position: absolute;
8 bottom: 32px;
9 right: 32px;
10 max-width: 55%;
11 box-shadow: 0px 0px 12px 2px rgba(22, 22, 22, 0.4);
12 background-image: linear-gradient(#E5D658, #DFCF43);
13 border: 1px solid #AEA477;
14 padding: 6px;
15 border-radius: 2px;
16 display: flex;
17 align-items: center;
18 font-size: 0.8em;
19 overflow: hidden;
20 }
21
22 .header {
23 flex-shrink: 0;
24 margin-right: 6px;
25 }
26
27 .close-box {
28 position: absolute;
29 top: 3px;
30 right: 3px;
31 width: 1em;
32 overflow: hidden;
33 text-align: center;
34 outline: 1px solid #AEA477;
35 }
36 </style>
37 <div class="header">
38 <content select=".toast-icon" />
39 </div>
40 <div class="content">
41 <content select=".toast-content" />
42 </div>
43 <div class="close-box">
44 X
45 </div>
46 </template>
47 <script>
48 module.exports = class extends SkyElement {
49 }.register();
50 </script>
51 </sky-element>
OLDNEW
« no previous file with comments | « sky/examples/flights-app/app-title.sky ('k') | sky/examples/flights-app/app-toolbar.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698