-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (82 loc) · 1.68 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
<!doctype html>
<meta charset="utf-8"/>
<title>React Tray</title>
<link rel="stylesheet" href="http://instructure-react.github.io/library/shared.css"/>
<style type="text/css">
/* Tray/Modal styles */
.ReactModal__Overlay {
background: rgba(0, 0, 0, 0.65);
}
.ReactModal__Content {
top: 0;
left: auto;
right: auto;
bottom: 0;
padding: 10px;
border: 0 none;
border-radius: 0;
box-shadow: 1px 0 5px #333;
width: 0;
overflow-x: hidden;
white-space: nowrap;
}
.ReactModal__Content--after-open {
width: 250px;
transition: width 150ms ease-out;
}
.ReactModal__Content--before-close {
width: 0;
transition: width: 150ms ease-in;
}
.ReactModal__Content h2 {
color: rgb(60, 78, 91);
border-bottom: 1px solid rgb(229, 229, 229);
margin: 0;
margin-bottom: 10px;
padding: 10px 5px;
}
/* App specific styles */
.navigation {
position: absolute;
top: 0;
bottom: 0;
width: 50px;
background: rgb(52, 69, 81);
color: rgb(235, 235, 235);
margin: 0;
padding: 0;
z-index: 100;
}
.navigation ul {
padding: 0;
margin: 0;
list-style: none;
}
.navigation li {
padding: 20px 10px;
}
.navigation li.active {
background: #fff;
color: rgb(21, 148, 218);
}
.navigation a {
cursor: pointer;
}
.content {
margin: 150px auto;
width: 100px;
}
.navigation-left { left: 0; }
.navigation-right { right: 0; }
.tray-left {
border-right: 1px solid #333;
left: 50px;
}
.tray-right {
border-left: 1px solid #333;
right: 50px;
}
</style>
<body>
<div id="example" class="padbox"></div>
<script src="./bundle.js"></script>