-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
111 lines (94 loc) · 1.97 KB
/
style.css
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
108
109
110
111
body {
margin: 0;
background-color: #222;
}
canvas {
display: block;
}
/* Grid */
#grid {
background-color: transparent;
background-image: linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .05) 75%, rgba(255, 255, 255, .05) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .05) 75%, rgba(255, 255, 255, .05) 76%, transparent 77%, transparent);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: 76px 76px;
pointer-events: none;
}
#grid-legend {
position: fixed;
right: 10px;
bottom: 10px;
color: #fff;
text-align: right;
}
/* Menu */
.menu {
margin: 0;
padding: 0;
list-style-type: none;
display: none;
position: fixed;
top: 0;
left: 0;
border: 1px solid #ffaa1d;
background: #fff5db;
}
.menu li {
padding: 5px;
cursor: pointer;
}
.menu li:hover {
background-color: #fff1b0;
}
/* Modal */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
background: #fff5db;
}
.modal .modal-header {
position: relative;
background: #ffaa1d;
padding: 5px;
padding-right: 50px;
cursor: move;
}
.modal .modal-header .close {
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 20px;
border: 0;
background: 0;
font-size: 15px;
cursor: pointer;
}
.modal .modal-header .close:hover {
color: #fff;
}
.modal .modal-body {
padding: 5px;
border-bottom: 1px solid;
border-right: 1px solid;
border-left: 1px solid;
border-color: #ffaa1d;
}
.modal .modal-footer {
padding: 5px;
background: #ffaa1d;
}
/* Form */
label {
display: block;
font-weight: bold;
margin-bottom: 2px;
}
input {
margin-bottom: 10px;
}