-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
101 lines (95 loc) · 2.26 KB
/
index.html
File metadata and controls
101 lines (95 loc) · 2.26 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/caldo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Zest Components Demo</title>
<style>
body {
overflow: hidden;
height: 100vh;
}
#app {
display: flex;
height: 100%;
}
#inner-app {
width: 100%;
overflow-y: auto;
}
two-tier-menu.demo {
flex: 0 0 10%;
}
two-tier-menu:not(.demo) {
height: 60%;
width: 25%;
margin: 20px;
}
@media (max-width: 500px) {
.wrapper {
flex-direction: column-reverse;
}
ul {
display: flex;
align-items: center;
justify-content: space-between;
}
}
</style>
</head>
<body>
<template id="demo-menu-styles">
<style>
:host {
display: flex;
flex-direction: column;
justify-content: start;
height: 100vh;
border-right: 1px solid #D7DBDD;
font-family: sans-serif;
background: #3224f4
}
:host .items {
flex-grow: 3;
}
menu-logo {
display: inline-block;
padding: 10px 20px;
color: white;
font-size: 2em;
margin: auto;
}
.items {
display: flex;
flex-direction: column;
justify-content: start;
}
menu-item {
padding: 10px 10px 0 50px;
color: white;
font-size: 20px;
}
menu-item.section-header {
padding: 10px;
width: 12em;
}
menu-item.section-header img {
width: 10%;
}
.items .section-header, .items .section-header {
padding-left: 20px;
}
:host img {
width: 2em;
}
</style>
</template>
<template id="demo-gutter">
<img src="/caldo.svg" alt="catalyst squad logo">
<span>© Catalyst Squad 2023</span>
</template>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>