forge
Explore
Log in

Don't you dare go Hollow

forge

Clone
★ 0

0 watching0 forksRustAGPL-3.07.1 MiB490f099Tahinli7 hours ago322 commits

_min_threads.scss103 lines, 1.9 KiBHistoryRawDownload
1// The threads pages: only what style/_min.scss does not already give them.
2
3// Pull request: the sidebar boxes sit in one compact row above the conversation.
4.pull-topics {
5 display: flex;
6 flex-wrap: wrap;
7 gap: 0 32px;
8 padding-bottom: 8px;
9 border-bottom: 1px solid var(--border);
10
11 > * {
12 flex: 1 1 100%;
13 min-width: 0;
14 }
15}
16
17// The merge style choices stack as switches, under their legend.
18.merge-styles {
19 display: flex;
20 flex-direction: column;
21 gap: 8px;
22 margin: 0;
23 padding: 0;
24 border: 0;
25
26 legend {
27 margin-bottom: 4px;
28 font-size: 14px;
29 font-weight: 500;
30 }
31}
32
33// A review thread's name is its one line; its replies follow it.
34.review-thread > summary {
35 padding: 10px 0;
36 cursor: pointer;
37 font-weight: 500;
38}
39
40// The issue timeline: one hairline entry per comment, review or edit, with its actions under it.
41.issue-timeline {
42 display: flex;
43 flex-direction: column;
44}
45
46.thread-entry {
47 padding: 14px 0;
48 border-bottom: 1px solid var(--border);
49 font-size: 15px;
50}
51
52.thread-head {
53 display: flex;
54 flex-wrap: wrap;
55 align-items: center;
56 gap: 4px 8px;
57 margin-bottom: 8px;
58 color: var(--muted);
59 font-size: 13px;
60
61 strong {
62 color: var(--text);
63 font-size: 14px;
64 font-weight: 600;
65 }
66}
67
68.thread-entry > .acts {
69 margin-top: 8px;
70}
71
72// A system line: who did what, when.
73.thread-event {
74 padding: 8px 0;
75 border-bottom: 1px solid var(--border);
76 color: var(--text-2);
77 font-size: 13px;
78 line-height: 1.5;
79
80 strong {
81 color: var(--text);
82 font-weight: 500;
83 }
84}
85
86// Replies sit under their comment, indented, with a hairline down their left side.
87.discussion-replies {
88 display: flex;
89 flex-direction: column;
90 margin-left: 12px;
91 padding-left: 16px;
92 border-left: 1px solid var(--border);
93}
94
95// The merge box is a topic, its checks are rows: no frame.
96main .merge-box,
97main .merge-box .status-list {
98 padding: 0;
99 border: 0;
100 border-radius: 0;
101 background: none;
102 box-shadow: none;
103}