@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1/**
2 * @provides phabricator-core-css
3 */
4
5body, div, dl, dt, dd, ul, ol, li,
6h1, h2, h3, h4, h5, h6,
7pre, form, fieldset,
8p, blockquote, th, td, button {
9 margin: 0;
10 padding: 0;
11 border: 0;
12}
13
14table {
15 border-collapse: collapse;
16 border-spacing: 0;
17}
18
19fieldset, img {
20 border: 0;
21}
22
23address, caption, cite, code, dfn, th, var {
24 font-style: normal;
25 font-weight: normal;
26}
27
28ol, ul {
29 list-style: none;
30}
31
32caption, th {
33 text-align: left;
34}
35
36td, th {
37 vertical-align: top;
38}
39
40h1, h2, h3, h4, h5, h6 {
41 font-size: 100%;
42 font-weight: bold;
43}
44
45body {
46 font: {$basefont};
47 direction: ltr;
48 text-align: left;
49 unicode-bidi: embed;
50 background: {$page.background};
51 color: {$blacktext};
52
53 /* By default, the iPhone zooms all text on the page by some percentage when
54 you rotate from portrait mode to landscape mode. Disable this, since it
55 breaks lots of things and prevents you from using landscape to see more
56 columns in source code views. */
57 -webkit-text-size-adjust: none;
58
59 /* Prevent content from resizing abruptly when shifting between scrollable
60 and unscrollable pages. */
61 overflow-y: scroll;
62}
63
64body.printable,
65!print body {
66 background: none;
67}
68
69textarea {
70 font: inherit;
71}
72
73table {
74 font-size: inherit;
75}
76
77h1 {
78 font-size: 16px;
79}
80
81h2 {
82 font-size: 14px;
83}
84
85a {
86 outline-style: none;
87 text-decoration: none;
88 color: {$anchor};
89 cursor: pointer;
90}
91
92.device-desktop a:hover {
93 text-decoration: underline;
94}
95
96img {
97 display: block;
98}
99
100.busy {
101 position: fixed;
102 bottom: 8px;
103 right: 8px;
104 width: 32px;
105 height: 32px;
106}
107
108.with-durable-column .busy {
109 right: 308px;
110}
111
112.busy .phui-icon-view {
113 font-size: 32px;
114}
115
116.grouped:after {
117 content: "";
118 display: table;
119 clear: both;
120}
121
122hr {
123 height: 1px;
124 background: #bbbbbb;
125 border: none;
126}
127
128.aural-only {
129 position: absolute !important;
130 clip: rect(1px, 1px, 1px, 1px);
131 -webkit-clip-path: inset(100%);
132 clip-path: inset(100%);
133
134 /* NOTE: Without this, Safari sometimes lays these elements out at normal
135 size. An example is the label on the comment action menu on timelines. */
136
137 width: 0;
138 height: 0;
139 overflow: hidden;
140}
141
142.visual-only {
143 /* These elements are hidden by the 'aria-hidden' attribute. */
144}
145
146.audible .aural-only {
147 clip: auto;
148 -webkit-clip-path: none;
149 clip-path: none;
150 width: auto;
151 height: auto;
152 overflow: auto;
153 background: #006699;
154 color: #ffffff;
155}
156
157.audible .aural-only a {
158 color: #ffffff;
159 font-weight: bold;
160}
161
162.audible .visual-only {
163 position: absolute !important;
164 background: #990066;
165 opacity: 0.25;
166}
167
168.print-only {
169 display: none;
170}
171
172/* NOTE: These rules currently only work when applied to elements which
173 actually want "display: inline". There is no "display: auto". If there
174 is a future need to mix inline and block print elements, using
175 "display: initial" may be a reasonable approach. */
176
177.printable .print-only {
178 display: inline;
179}
180
181.printable .screen-only {
182 display: none;
183}
184
185@media print {
186 .screen-only {
187 display: none;
188 }
189
190 .print-only {
191 display: inline;
192 }
193}
194
195.routing-bar {
196 position: fixed;
197 top: 0;
198 width: 100%;
199 height: 2px;
200 background: {$darkbluetext};
201 z-index: 80;
202 box-shadow: 0 2px 1px rgba(0, 128, 255, 0.25);
203}
204
205.routing-progress {
206 position: fixed;
207 top: 0;
208 left: 0;
209 height: 2px;
210 background: {$sky};
211}
212
213.clipboard-copy {
214 visibility: hidden;
215}
216
217.supports-clipboard .clipboard-copy {
218 visibility: visible;
219}
220
221.clipboard-buffer {
222 position: absolute;
223 left: -9999px;
224}