git ssb

16+

Dominic / patchbay



Tree: f3abfca785a8f7b93cc0240027581e4dbe4385d9

Files: f3abfca785a8f7b93cc0240027581e4dbe4385d9 / style.css

6346 bytesRaw
1body {
2 font-family: sans-serif;
3}
4
5h1, h2, h3, h4, h5, h6, p, ul, ol {
6 margin-top: .35em;
7}
8
9h1 { font-size: 1.2em; }
10h2 { font-size: 1.18em; }
11h3 { font-size: 1.15em; }
12h4 { font-size: 1.12em; }
13h5 { font-size: 1.1em; }
14h6 { font-size: 1em; }
15
16* {
17 word-break: break-word;
18}
19
20a:link, a:visited, a:active {
21 color: #0088cc;
22 text-decoration: none;
23}
24
25a:hover,
26a:focus {
27 color: #005580;
28 text-decoration: underline;
29}
30
31.screen {
32 position: absolute;
33 top: 0; bottom: 0;
34 left: 0; right: 0;
35 overflow-y: hidden;
36}
37
38.column {
39 display: flex;
40 flex-direction: column;
41 min-height:0px;
42}
43
44.row {
45 display: flex;
46 flex-direction: row;
47 min-height:0px;
48}
49
50.end {
51 justify-content: flex-end;
52}
53
54.wrap {
55 display: flex;
56 flex-direction: row;
57 flex-wrap: wrap;
58}
59
60.no-shrink {
61 flex-shrink: 0;
62}
63
64.expand {
65 justify-content: space-between;
66}
67
68.scroll-y {
69 overflow-y: auto;
70 min-height: 0px;
71}
72
73.scroll-x {
74 overflow-x: auto;
75 min-width: 0px;
76}
77
78pre {
79 white-space: pre-wrap;
80 word-wrap: break-word;
81}
82
83.wide {
84 width: 100%;
85}
86
87p {
88 margin-top: .35ex;
89}
90
91hr {
92 border: solid #eee;
93 clear: both;
94 border-width: 1px 0 0;
95 height: 0;
96 margin-bottom: .9em;
97}
98
99input, textarea {
100 border: none;
101 border-radius: .2em;
102 font-family: sans-serif;
103}
104
105input:focus, .compose:focus, .message:focus, button:focus {
106 outline: none;
107 border-color: #0088cc;
108 box-shadow: 0 0 4px #0088cc;
109}
110
111textarea {
112 padding: .5em;
113 font-size: 1em;
114}
115
116textarea:focus {
117 outline: none;
118 border-color: none;
119}
120
121button {
122 background: #fff;
123 color: #666;
124 border: 1px solid #bbb;
125 border-radius: .5em;
126 padding: .7em;
127 margin: .5em;
128 cursor: pointer;
129 text-transform: uppercase;
130 font-weight: bold;
131 font-size: .7em;
132}
133
134button:hover {
135 background: #ccc;
136 border: 1px solid #bbb;
137}
138
139.menu {
140 position: absolute;
141 top: .5em;
142 right: .5em;
143 padding-top: .5em;
144 padding-bottom: .5em;
145 padding-right: 1em;
146 padding-left: 1em;
147 background: #f5f5f5;
148 border: 1px solid #eee;
149 border-radius: .2em;
150 z-index: 5;
151}
152
153/* scrolling feeds, threads */
154
155.scroller {
156 width: 100%;
157}
158
159.scroller__wrapper {
160 flex: 1;
161 max-width: 600px;
162 margin-left: auto;
163 margin-right: auto;
164}
165
166/* compose */
167
168.compose {
169 width: 100%;
170 margin-top: .5em;
171 margin-bottom: .5em;
172 border: 1px solid #f5f5f5;
173}
174
175.compose button {
176 float: right;
177}
178
179/* messages */
180/*to be deprecated once message preview is converted to modular style*/
181
182.message {
183 position: relative;
184 flex-basis: 0;
185 margin-top: .25em;
186 margin-bottom: .25em;
187 padding: .2em;
188 border-top: 1px solid #f5f5f5;
189 // border-bottom: 1px solid #f5f5f5;
190 background: white;
191}
192
193.message:hover {
194 background: #f9f9f9;
195}
196
197
198.message_content div > span {
199 font-size: 0.9em;
200 margin-bottom: 0.7em;
201 display: block;
202 color: #888;
203}
204
205.message_content--mini div > span {
206 display: inline-block;
207}
208
209.message_content div > span a {
210 color: #005d8c;
211}
212
213.message_meta input {
214 font-size: .8em;
215}
216
217.message_meta {
218 margin-left: auto;
219}
220
221.message_meta > * {
222 margin-left: .5ex;
223}
224
225.message_actions {
226 position: absolute;
227 bottom: 0; right: 0;
228 margin-right: .5ex;
229 margin-bottom: .5ex;
230}
231
232.title {
233 padding: .5ex;
234}
235
236.message img {
237 max-width: 100%;
238}
239
240.message > .title > .avatar {
241 margin-left: 0;
242}
243
244.message_content {
245 padding: .5ex;
246}
247
248.actions > * {
249 padding-left: 5px;
250 margin-left: 1px;
251}
252
253.actions > :not(:last-child) {
254 border-right: 2px solid #eee;
255 padding-right: 5px;
256}
257
258.emoji {
259 height: 1em;
260 width: 1em;
261 vertical-align: top;
262}
263
264
265/* -- suggest box */
266
267.suggest-box > * {
268 display: block;
269}
270
271.suggest-box ul {
272 padding: 0;
273 list-style-type: none;
274 padding-left: 0;
275 background: #eee;
276 border: 1px solid #eee;
277 border-radius: 2px;
278}
279
280.suggest-box .selected {
281 background: white;
282}
283
284.suggest-box {
285 width: max-content;
286 background: #white;
287 border-radius: 1em;
288}
289
290/* emoji */
291.suggest-box img {
292 height: 20px;
293 width: 20px;
294}
295
296/* avatar */
297
298.avatar--large,
299.avatar--thumbnail,
300.avatar--fullsize {
301 border: 1px solid #eee;
302}
303
304.avatar--large {
305 width: 10em;
306 height: 10em;
307}
308
309.avatar--thumbnail {
310 width: 2.5em;
311 height: 2.5em;
312 float: left;
313 margin: 0 .25ex;
314}
315
316.\.meta .avatar--thumbnail {
317 width: 1.9em;
318 height: 1.9em;
319}
320
321.avatar--fullsize {
322 width: 50%;
323}
324
325.profile {
326 padding: .5ex;
327 overflow: auto;
328}
329
330.profile input {
331 width: 100%;
332}
333
334.profile__info {
335 margin-left: .5em;
336}
337
338/* lightbox - used in message-confirm */
339
340.lightbox {
341 overflow: auto;
342 width: 650px;
343 padding: 25px;
344 margin: 3em 0;
345
346 z-index: 2;
347
348 background: #f5f5f5;
349 border: 1px solid #eee;
350 border-radius: .2em;
351}
352
353/* searchprompt */
354
355.searchprompt {
356 float: left;
357 width: 85%;
358 height: 2em;
359 margin-top: .3em;
360 border-radius: 1em;
361 padding-left: .2em;
362 margin-left: 1em;
363 margin-right: 1em;
364}
365
366/* TextNodeSearcher highlights */
367
368.highlight {
369 background: #f5f5f5;
370}
371
372/* avatar editor */
373
374.hypercrop__canvas {
375 width: 100%;
376}
377
378/* gitssb */
379
380.git-table-wrapper {
381 max-height: 12em;
382 overflow: auto;
383 word-break: break-all;
384 margin: 1em 0;
385}
386
387.git-table-wrapper table {
388 width: 100%;
389}
390
391/* --- network status --- */
392
393.status {
394 width: .7em;
395 height: .7em;
396 margin: .7em;
397 border-radius: 100%;
398 background: #08c;
399}
400
401.error {
402 background: red;
403}
404
405/* tabs */
406
407.header {
408 background: #f5f5f5;
409 border-bottom: 1px inset;
410 flex-shrink: 0;
411}
412
413.header__tabs {
414 width: 100%;
415 min-width: 0px;
416}
417
418/* --- hypertabs ------- */
419
420.hypertabs__tabs {
421 min-width: 0px;
422 width: 100%;
423}
424
425.hypertabs__tab {
426 overflow-x: hidden;
427 min-width: 0px;
428 width: 100%;
429}
430
431.hypertabs__button {
432 overflow-x: hidden;
433 min-width: 0px;
434 width: 100%;
435}
436
437.hypertabs__tab {
438 color: black;
439 background: #f5f5f5;
440 border-top-left-radius: 5px;
441 margin-left: -3px;
442 border-bottom: none;
443 padding-top: .56em;
444 padding-left: 1em;
445 border-left: 1px solid #ddd;
446 width: 100%;
447}
448
449.hypertabs__tab > a {
450 color: #666;
451 text-decoration: none;
452 white-space: nowrap;
453 font-size: .9em;
454}
455
456.hypertabs--selected {
457 font-weight: bold;
458 background: #eee;
459 border-top-right-radius: 5px;
460 z-index: 1;
461}
462
463.hypertabs__x {
464 display: none;
465 transform: translate(-4px, -3px);
466}
467
468.hypertabs--selected .hypertabs__x {
469 display: block;
470}
471
472/* progress bar */
473
474.hyperprogress__bar {
475 background: darkgrey;
476}
477.hyperprogress__liquid {
478 background: lightblue;
479}
480
481
482

Built with git-ssb-web