git ssb

30+

cel / git-ssb-web



Tree: ae7c8f32a4d51050bd9b6b9d07764f2b81665223

Files: ae7c8f32a4d51050bd9b6b9d07764f2b81665223 / static / styles.css

8766 bytesRaw
1body {
2 margin: 1em;
3 line-height: 1.6;
4 color: #333;
5 background: #fff;
6 font-family: 'Source Sans Pro', sans-serif;
7}
8
9* {
10 word-break: break-word;
11}
12
13article, header {
14 width: 777px;
15 min-width: 60%;
16 max-width: 100%;
17 margin-left: auto;
18 margin-right: auto;
19}
20
21.code-wrap {
22 padding: .5em 1.25ex;
23 border: 1px solid #ddd;
24 background: #f5f5f5;
25}
26
27.diff-hunk-header,
28.code-linenum,
29.code-text {
30 font: .8em Consolas, "Liberation Mono", Menlo, Courier, monospace;
31 white-space: pre-wrap;
32}
33
34pre {
35 font: .8em Consolas, "Liberation Mono", Menlo, Courier, monospace;
36 padding: .5em 1.25ex;
37 border: 1px solid #ddd;
38 background: #f5f5f5;
39 white-space: pre-wrap;
40}
41
42section code {
43 padding: .5ex;
44 border-radius: .5ex;
45 background-color: #fff;
46}
47
48.code-wrap > code,
49pre > code {
50 padding: 0;
51 background-color: #f5f5f5;
52}
53
54/* header */
55
56header h1 {
57 font-weight: bold;
58 font-size: 1.5em;
59 display: inline;
60}
61
62header h1 :link,
63header h1 :visited {
64 color: #666;
65}
66
67header h1 sub {
68 color: #444;
69 font-style: oblique;
70 font-size: small;
71}
72
73header .search-bar {
74 float: right;
75 margin-top: .5em;
76 margin-left: 1ex;
77 max-width: 35%;
78 padding: .25em;
79 font-size: .8em;
80 background: #f5f5f5;
81 border-radius: 1em;
82}
83
84.profile-icon {
85 height: 1.6em;
86 width: 1.6em;
87 margin: .4em .2em .5em .15em;
88 border: 1px solid #eee;
89 float: left;
90}
91
92.icon-right {
93 float: right;
94}
95
96/* content */
97
98section {
99 background-color: white;
100 padding: 1ex 0;
101 margin-bottom: .5em;
102 border-radius: 0;
103 border-bottom: 1px solid #eee;
104}
105
106section.branch-info, section.files {
107 border: none;
108}
109
110.rev-menu-line {
111 clear: both;
112}
113
114.missing-blobs-warning {
115 color: black;
116}
117
118section.readme {
119 margin-top: 2em;
120 padding: 2em 2em 4em;
121 box-shadow: 2px 2px 10px #efefef;
122 border: 1px #efefef solid;
123}
124
125section.collapse {
126 margin-bottom: 0;
127}
128
129h1, h2, h3, h4, h5, h6 {
130 margin: 0;
131}
132
133h3 ~ h4 {
134 margin-top: 1em;
135}
136
137a:link, a:visited {
138 color: #08c;
139 text-decoration: none;
140}
141a:hover {
142 color: #005580;
143}
144
145hr {
146 border: 0;
147 border-bottom: 1px solid #eee;
148}
149
150/* icons */
151
152i {
153 font-family: Symbola, 'Apple Color Emoji', 'Android Emoji',
154 'Segoe UI Symbol', 'DejaVu Sans', sans-serif;
155 font-style: inherit;
156 word-break: normal;
157}
158
159section img {
160 max-width: 100%;
161}
162
163.emoji {
164 width: 1em;
165 height: 1em;
166 vertical-align: middle;
167}
168
169/* repo page */
170
171.repo-title {
172 height: 2em;
173}
174
175.repo-title h2 {
176 height: 1.2em;
177}
178
179.bgslash {
180 color: #888;
181}
182
183.petname h2,
184.petname h3 {
185 float: left;
186}
187
188.right-bar {
189 float: right;
190 display: inline-block;
191}
192
193.right-bar .btn {
194 margin-top: 0.2em;
195}
196
197input { border: 1px solid #eee;}
198
199.btn {
200 background: #eee;
201 border: 1px solid #e7e7e7;
202 margin-top: .5em;
203 padding: .3em .6em;
204 border-radius: .7em;
205 cursor: pointer;
206}
207
208.btn:hover {
209 background: #ddd;
210 border: 1px solid #ccc;
211}
212
213.btn.btn-primary {
214 background: #0092db;
215 border: none;
216 color: #fff;
217}
218
219.btn.btn-primary:hover {
220 background: #03a7f9;
221}
222
223.name {
224 font-size: inherit;
225 margin-left: 1ex;
226 width: 20em;
227}
228
229label {
230 cursor: pointer;
231}
232
233.name-toggle {
234 font-size: 1.3em;
235 margin-left: .25ex;
236}
237
238.name-checkbox,
239.toggle,
240.tab-radio {
241 position: absolute;
242 opacity: 0;
243 font-size: 0;
244}
245
246.name-checkbox:checked ~ h2 :last-child,
247.name-checkbox:checked ~ h3,
248.name-checkbox:not(:checked) ~ .name,
249.name-checkbox:not(:checked) ~ .name-btn {
250 display: none;
251}
252
253.clone-urls {
254 white-space: nowrap;
255 float: right;
256 display: block;
257 position: relative;
258 width: 21rem;
259 max-width: 100%;
260 min-width: 3rem;
261 height: 1.5rem;
262}
263
264select.custom-dropdown.clone-url-protocol {
265 border-radius: 0.5rem 0 0 0.5rem;
266 width: 5rem;
267 position: absolute;
268 left: 0;
269}
270
271.clone-url-wrapper {
272 position: absolute;
273 left: 5rem;
274 right: 0;
275}
276
277.clone-url {
278 font-size: 1rem;
279 border: 1px #e1e1e1 solid;
280 border-radius: 0 0.5rem 0.5rem 0;
281 margin: 0;
282 padding: .1rem;
283 width: 100%;
284
285 background-color: #eaeaea;
286 color: #6f6f6f;
287 vertical-align: top;
288}
289.clone-url:hover {
290 color: #000;
291}
292
293nav {
294 margin: .5em 0 1ex 0;
295 clear: left;
296}
297
298nav a {
299 border-radius: .5ex;
300 padding: 0 1ex 0 0;
301 display: inline-block;
302 margin-right: .5ex;
303}
304nav a:hover {
305 color: #333;
306}
307
308nav a.active {
309 font-weight: bold;
310}
311
312.raw-link {
313 float: right;
314 display: inline-block;
315}
316
317.header-align {
318 margin-top: .25em;
319}
320
321/* files list */
322
323table.files {
324 border: 1px #dedede solid;
325}
326
327.files td:first-child {
328 padding: 0 1ex;
329 width: .7rem;
330}
331
332/* user page */
333
334.user-id {
335 float: right;
336 font-weight: normal;
337 font-size: small;
338 display: inline-block;
339 margin: 0;
340}
341
342h2 .user-id {
343 padding-top: .5em;
344}
345
346h3 .user-id {
347 padding-top: .25em;
348}
349
350/* new issue form */
351
352.wide-input {
353 width: 99%;
354 display: block;
355 font-size: inherit;
356 line-height: inherit;
357}
358
359/* issues */
360
361.issue-state {
362}
363
364.issue-state-open {
365}
366
367.issue-state-closed {
368 color: black ;
369}
370
371/* issue */
372
373.issue-status {
374 margin-right: .75ex;
375 border-radius: .2em;
376}
377
378.open {
379 font-weight: bold;
380}
381
382.btn.open:hover {
383}
384
385.closed {
386}
387
388.mention-preview {
389 overflow: hidden;
390 white-space: nowrap;
391 text-overflow: ellipsis;
392}
393
394.tab-links label,
395.tab-links a {
396 padding: 1ex;
397 color: #333;
398}
399
400#tab1:checked ~ .tab-links .tab1-link,
401#tab2:checked ~ .tab-links .tab2-link {
402 text-decoration: underline;
403}
404
405#tab1:not(:checked) ~ .tab1,
406.tab2 {
407 display: none;
408}
409
410.tab1,
411#tab2:checked ~ .tab2 {
412 display: block;
413}
414
415.preview-text {
416 border: 1px solid #c0bdba;
417 min-height: 6em;
418 margin: .25ex 0;
419 padding: .25ex;
420}
421
422.preview-text :first-child {
423 margin-top: 0;
424}
425.preview-text :last-child {
426 margin-bottom: 0;
427}
428
429.highlight {
430 background-color: #ff6;
431 padding: .25ex .5ex;
432 margin: -.25ex -.5ex;
433}
434
435.item-id {
436 color: grey;
437 line-height: 2;
438 font-size: 10pt;
439}
440
441/* code and diffs */
442
443.code {
444 border-collapse: collapse;
445 text-align: left;
446 width: 100%;
447}
448
449.code th {
450 font-family: sans-serif;
451 font-size: 1.25em;
452 padding-bottom: .5ex;
453}
454
455.diff-info {
456 font-family: sans-serif;
457 font-size: 1.25em;
458}
459
460.diff-hunk-header {
461 background-color: #eee;
462 color: grey;
463}
464
465.code td {
466 padding: 0 1ex 0;
467}
468
469:target,
470.code tr:hover {
471 background-color: #fff8d2 !important;
472}
473
474.code-linenum {
475 vertical-align: top;
476 text-align: right;
477 color: grey;
478 border-right: 1px solid rgba(0, 0, 0, 0.06);
479 white-space: nowrap;
480}
481
482.code-linenum a {
483 color: inherit;
484}
485
486.code-linenum a:hover {
487 color: #9f9999;
488}
489
490.code-text {
491 white-space: pre-wrap;
492 width: 100%;
493}
494
495.diff-old { background-color: #ffe2dd; }
496.diff-new { background-color: #d1ffd6; }
497
498.code img {
499 max-width: 100%;
500}
501
502/* Pull requests */
503
504#commits:not(:target) ~ #commits-tab,
505#commits:target ~ #files-tab {
506 display: none;
507}
508
509#commits:not(:target) + .tab-links #files-link,
510#commits:target + .tab-links #commits-link {
511 font-weight: bold;
512}
513
514.date-info {
515 font-weight: normal;
516 text-align: left;
517 color: #666;
518}
519
520.compare-commits td:first-child {
521 padding-left: 2ex;
522 white-space: nowrap;
523 text-overflow: ellipsis;
524 overflow: hidden;
525 max-width: 10em;
526}
527
528.commit-title {
529 word-break: break-all;
530}
531
532.pr-tab-links {
533 margin: .5em 0 0.25em;
534}
535
536.merge-instructions {
537 margin-top: .5em;
538}
539
540#merge-instructions:not(:checked) + h4 .toggle-open,
541#merge-instructions:checked + h4 .toggle-closed,
542#merge-instructions:not(:checked) ~ .contents {
543 display: none;
544}
545
546.toggle-link {
547 color: #006eff;
548 font-weight: normal;
549}
550
551.date { font-size: .8em; color: #666;}
552
553.dib { display: inline-block; }
554
555.w-100 { width: 100%; }
556
557.ml4 { margin-left: 2rem; }
558.ml3 { margin-left: 1rem; }
559.ml2 { margin-left: 0.5rem; }
560.ml1 { margin-left: 0.25rem; }
561
562.mr4 { margin-right: 2rem; }
563.mr3 { margin-right: 1rem; }
564.mr2 { margin-right: 0.5rem; }
565.mr1 { margin-right: 0.25rem; }
566
567.mt2 { margin-top: 0.5rem; }
568
569.float-right { float: right; }
570
571.light-grey { color: #909090; }
572
573select.custom-dropdown {
574 -webkit-appearance: none; /*REMOVES DEFAULT CHROME & SAFARI STYLE*/
575 -moz-appearance: none; /*REMOVES DEFAULT FIREFOX STYLE*/
576
577 -webkit-border-radius: 1rem;
578 border: 1px #e1e1e1 solid;
579 border-radius: 0.5rem;
580 font-size: 1rem;
581 padding: .125rem;
582 width: 30%;
583 cursor: pointer;
584
585 background: #fff url(drop-down-arrow.png) no-repeat right center;
586 background-size: 32px 32px; /*TO ACCOUNT FOR @2X IMAGE FOR RETINA */
587}
588
589/* Fix select padding in Firefox.
590 * https://bugzilla.mozilla.org/show_bug.cgi?id=382142 */
591@-moz-document url-prefix() {
592 select.custom-dropdown {
593 padding: .05rem;
594 }
595}
596
597select.custom-dropdown:active,
598select.custom-dropdown:hover,
599select.custom-dropdown:focus {
600 outline: 0;
601}
602
603select.custom-dropdown optgroup {
604 margin: 0.5rem;
605}
606
607.fileLocation {
608 border: 1px #dedede solid;
609 border-bottom: none;
610 padding: 0.2rem 0.7rem;
611 background-color: #f6f6f6;
612}
613

Built with git-ssb-web