forked from capsl/ansiedit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
177 lines (149 loc) · 3.04 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
body {
margin: 0;
background-color: #444;
}
html, body, #container {
width: 100%;
height: 100%;
overflow: hidden;
}
#editor {
position: relative;
cursor: crosshair;
overflow: auto;
height: calc(100% - 30px);
margin-top: 30px;
z-index: 0;
}
#editor, #title {
width: calc(100% - 160px - 1px - 160px - 1px - 160px - 1px);
margin-left: 161px;
}
#title {
font: normal normal normal 14px "Lucida Grande", sans-serif;
position: fixed;
background: linear-gradient(to bottom, #606060 0px, #505050 28px, #303030 29px);
text-shadow: #222 0px 1px 0px;
top: 0px;
text-align: center;
z-index: 1;
height: 30px;
}
#title p {
width: 320px;
margin: 8px auto;
color: #e0e0e0;
text-decoration: none;
line-height: 18px;
}
#editor canvas {
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-optimize-contrast;
}
#sidebar-left, #sidebar-right, #preview {
position: fixed;
top: 0;
width: 160px;
margin-bottom: 1px;
}
#sidebar-left {
left: 0px;
}
#preview {
margin-right: 161px;
}
#sidebar-right, #preview {
right: 0px;
}
.tool {
width: 160px;
min-height: 18px;
padding: 2px 0px;
}
.tool:hover {
background-color: #555;
}
.tool.selected {
background-color: #383;
}
.tool p {
font: normal normal normal 12px "Lucida Grande", sans-serif;
margin: 0;
padding-left: 4px;
line-height: 18px;
color: #999;
cursor: pointer;
}
.tool.selected p, .tool:hover p, .tool.enabled p {
color: #eee;
text-shadow: #555 0px 1px 0px;
}
.tool.enabled p {
background-color: #777;
}
.screen-overlay {
position: fixed;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
background-color: rgba(0, 0, 0, 0.5);
}
.modal-box {
position: absolute;
width: 320px;
max-height: 240px;
left: calc(50% - 160px);
top: calc(50% - 120px);
background-color: #444;
border-radius: 2px;
border: 1px solid #555;
box-shadow: 0px 3px 16px black;
}
.modal-box .button-box {
margin: 8px auto;
text-align: center;
width: 210px;
border-radius: 2px;
box-shadow: 0px 2px 0px #333;
}
.modal-box .button-box.download, .modal-box .button-box.import {
background-color: #272;
}
.modal-box .button-box.clear {
background-color: #777;
}
.modal-box .button-box.cancel {
background-color: #900;
}
.modal-box .file-zone {
text-align: center;
border: 4px dotted white;
height: 100px;
background-color: black;
margin: 8px;
}
.modal-box .file-zone p {
font: normal normal normal 13px "Lucida Grande", sans-serif;
color: white;
line-height: 100px;
}
.modal-box .file-zone {
border: 4px dotted white;
height: 100px;
background-color: black;
margin: 8px;
}
.modal-box p {
margin: 4px;
}
.modal-box p a {
font: normal normal normal 14px "Lucida Grande", sans-serif;
text-decoration: none;
color: white;
line-height: 28px;
text-shadow: #232 0px 1px 0px;
}
.modal-box p a:hover {
text-decoration: underline;
}