-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
107 lines (93 loc) · 2.81 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html>
<head>
<link rel="import" href="bower_components/core-scaffold/core-scaffold.html">
<link rel="import" href="bower_components/core-header-panel/core-header-panel.html">
<link rel="import" href="bower_components/core-menu/core-menu.html">
<link rel="import" href="bower_components/core-item/core-item.html">
<link rel="import" href="bower_components/core-icon-button/core-icon-button.html">
<link rel="import" href="bower_components/core-toolbar/core-toolbar.html">
<link rel="import" href="bower_components/core-menu/core-submenu.html">
<link rel="import" href="bower_components/sortable-list/sortable-list.html">
<link rel="import" href="bower_components/paper-dialog/paper-dialog.html">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<style>
html{
font-family: 'Roboto', sans-serif;
}
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_scaffold {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_menu {
font-size: 16px;
}
.content{
font-size: 18pt;
}
sortable-list{
}
.sortable-ghost{
background-color: rgb(79, 125, 201);
}
</style>
<polymer-element name="arrow-fodder">
<!-- Note: Custom element names must always contain a dash (-). -->
<template>
<sortable-list animation=3 handle="core-icon">
<div><core-icon icon="menu"></core-icon> <content></content></div>
</sortable-list>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
</head>
<body>
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar"></core-toolbar>
<core-menu valueattr="label" id="core_menu" theme="core-light-theme">
<core-item id="core_item" icon="settings" label="About" horizontal center layout></core-item>
<core-item id="core_item1" icon="settings" label="Item2" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>ArrowFodder</div>
<div class="content" fit>
<!-- <arrowfodder>
<li>foo</li>
<li>bar</li>
<li>baz</li>
</arrowfodder> -->
<h1>Weak Ordering</h1>
<sortable-list animation=150 handle="core-icon">
<div><core-icon icon="menu"></core-icon> First Item</div>
<div><core-icon icon="menu"></core-icon> Second Item</div>
<div><core-icon icon="menu"></core-icon> Third Item</div>
</sortable-list>
<paper-dialog heading="Dialog Title">
<p>Some content</p>
</paper-dialog>
</div>
</core-scaffold>
</body>
</html>