Cyranicus commited on
Commit
f85f74a
1 Parent(s): 3ded3ac

Create sadbooks.css

Browse files
Files changed (1) hide show
  1. sadbooks.css +258 -0
sadbooks.css ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ PRIMARY COLOUR IS #65799B
3
+ from http://colorhunt.co/c/80280
4
+ */
5
+
6
+ html, body {
7
+ height: 100%;
8
+ width: 100%;
9
+ background-color: #1D1F21;
10
+ }
11
+ body {
12
+ margin: 0;
13
+ line-height: 1;
14
+ font-size: 12px;
15
+ color: white;
16
+ padding-top: 5px;
17
+ box-sizing: border-box;
18
+ font-family: 'Raleway', monospace;
19
+ }
20
+ button {
21
+ border: none;
22
+ background: none;
23
+ background-color: rgba(255,255,255,0.1);
24
+ height: 1em;
25
+ color: inherit;
26
+ padding: 0;
27
+ text-align: center;
28
+ cursor: pointer;
29
+ vertical-align: text-bottom;
30
+ }
31
+ input {
32
+ border: none;
33
+ background-color: transparent;
34
+ padding: 0;
35
+ color: inherit;
36
+ }
37
+ ::-webkit-scrollbar {
38
+ background-color: #1D1F21;
39
+ }
40
+ ::-webkit-scrollbar-track {
41
+ background-color: #1D1F21;
42
+ }
43
+ ::-webkit-scrollbar:vertical {
44
+ width: 5px;
45
+ }
46
+ ::-webkit-scrollbar:horizontal {
47
+ height: 5px;
48
+ }
49
+ ::-webkit-scrollbar-thumb {
50
+ background-color: #65799B !important;
51
+ border-radius: 0 !important;
52
+ }
53
+ #spaneditor {
54
+ position: fixed;
55
+ display: none;
56
+ height: 1em;
57
+ }
58
+ #resize {
59
+ position: fixed;
60
+ top: 0;
61
+ left: 0;
62
+ cursor: ns-resize;
63
+ width: 100%;
64
+ height: 5px;
65
+ background-color: rgba(255,255,255,0.1);
66
+ }
67
+ #resizestyles {
68
+ position: absolute;
69
+ top: 0;
70
+ left: 0;
71
+ cursor: ew-resize;
72
+ height: 100%;
73
+ width: 5px;
74
+ background-color: rgba(255,255,255,0.1);
75
+ }
76
+ .tabs {
77
+ margin: 0;
78
+ padding: 0;
79
+ list-style: none;
80
+ height: 15px;
81
+ background-color: #191B1D;
82
+ font-size: 0;
83
+ box-shadow: inset 0 -0.5px 0 0 rgba(255,255,255,0.1);
84
+ }
85
+ .tabs li {
86
+ display: inline-block;
87
+ padding: 0 5px;
88
+ padding-bottom: 3px;
89
+ line-height: 1;
90
+ cursor: pointer;
91
+ transition: all .2s;
92
+ border-color: transparent;
93
+ font-size: 12px;
94
+ }
95
+ .tabs li:hover {
96
+ border-bottom: 1px solid rgba(255,255,255,0.5);
97
+ padding-bottom: 2px;
98
+ }
99
+ .tabs li.active {
100
+ border-bottom: 1.5px solid #65799B;
101
+ padding-bottom: 1.5px;
102
+ cursor: default;
103
+ }
104
+ .section {
105
+ display: none;
106
+ position: absolute;
107
+ top: 0;
108
+ bottom: 0;
109
+ left: 0;
110
+ right: 0;
111
+ }
112
+ body > .section {
113
+ top: 20px;
114
+ }
115
+ #styles > .section {
116
+ left: 5px;
117
+ top: 15px;
118
+ }
119
+ body.main-htmlcss .section#htmlcss {
120
+ display: flex;
121
+ }
122
+ body.styletabs-compstyles .section#compstyles {
123
+ display: block;
124
+ }
125
+ #elements {
126
+ height: 100%;
127
+ overflow: auto;
128
+ flex: auto;
129
+ line-height: 1.5;
130
+ }
131
+ #styles {
132
+ height: 100%;
133
+ overflow: auto;
134
+ width: 250px;
135
+ padding-left: 5px;
136
+ box-sizing: border-box;
137
+ position: relative;
138
+ flex: none;
139
+ }
140
+ button:hover, button:focus {
141
+ background-color: rgba(255,255,255,0.2);
142
+ }
143
+ button::after {
144
+ vertical-align: top;
145
+ line-height: 1;
146
+ }
147
+ div.element-children {
148
+ margin-left: 10px;
149
+ }
150
+ div.element-wrapper {
151
+ white-space: nowrap;
152
+ }
153
+ div.element-wrapper > button, button.square {
154
+ width: 1em;
155
+ font-family: 'Inconsolata', monospace;
156
+ }
157
+ div.element-wrapper > button::after {
158
+ content: '-';
159
+ }
160
+ div.element-wrapper.collapsed > button::after {
161
+ content: '+';
162
+ }
163
+ div.element-wrapper.collapsed > div.element-children {
164
+ display: inline;
165
+ margin-left: 0;
166
+ }
167
+ div.element-wrapper.collapsed > div.element-children::before {
168
+ content: '...';
169
+ }
170
+ div.element-wrapper.collapsed > div.element-children > * {
171
+ display: none;
172
+ }
173
+ div.element-wrapper.nochildren > button {
174
+ opacity: 0;
175
+ pointer-events: none;
176
+ }
177
+ div.element-wrapper.nochildren > div.element-children {
178
+ display: none;
179
+ }
180
+ div.element-wrapper.active > span.element-openTag, div.element-wrapper.active > span.element-closeTag {
181
+ background-color: rgba(255,255,255,0.1);
182
+ border-radius: 2px;
183
+ }
184
+ span.syntax {
185
+ white-space: pre;
186
+ font-family: 'Inconsolata', monospace;
187
+ }
188
+ span.syntax.red {color: #CC6666;}
189
+ span.syntax.orange {color: #DE935F;}
190
+ span.syntax.cream {color: #F0C674;}
191
+ span.syntax.yellow {color: #B5BD68;}
192
+ span.syntax.aqua {color: #8ABEB7;}
193
+ span.syntax.blue {color: #81A2BE;}
194
+ span.syntax.purple {color: #B294BB;}
195
+ span.syntax.grey {color: #969896;}
196
+ span.syntax.white {color: #C5C8C6;}
197
+ span.editting {
198
+ opacity: 0;
199
+ pointer-events: none;
200
+ }
201
+ span.textNode::before, span.textNode::after {
202
+ content: "\"";
203
+ }
204
+ span.commentNode::before {
205
+ content: "<!--";
206
+ }
207
+ span.commentNode::after {
208
+ content: "-->";
209
+ }
210
+ span.doctypeNode::before {
211
+ content: "<!DOCTYPE ";
212
+ }
213
+ span.doctypeNode::after {
214
+ content: ">";
215
+ }
216
+ #buttons {
217
+ position: fixed;
218
+ top: 5px;
219
+ right: 0;
220
+ }
221
+ #buttons button {
222
+ margin-left: 2px;
223
+ }
224
+ #compstyles div {
225
+ display: block;
226
+ }
227
+ ul.context-back, ul.context-submenu {
228
+ margin: 0;
229
+ padding: 0;
230
+ background-color: #2B2B2B;
231
+ border: 1px solid #A0A0A0;
232
+ list-style: none;
233
+ padding: 5px 0;
234
+ }
235
+ ul.context-back {
236
+ position: fixed;
237
+ }
238
+ li.context-option {
239
+ padding: 5px 10px;
240
+ cursor: pointer;
241
+ }
242
+ li.context-option:hover {
243
+ background-color: #414141;
244
+ }
245
+ li.context-option.context-hassubmenu::after {
246
+ content: '>';
247
+ display: inline-block;
248
+ padding-left: 5px;
249
+ }
250
+ li.context-option > ul.context-submenu {
251
+ position: absolute;
252
+ left: 100%;
253
+ display: none;
254
+ transform: translateY(-23px);
255
+ }
256
+ li.context-option:hover > ul.context-submenu {
257
+ display: block;
258
+ }