unoffical wafrn mirror
wafrn.net
atproto
social-network
activitypub
1.editor-separator {
2 border-top-width: 3px;
3}
4.grid {
5 margin: 0;
6}
7
8.grid > div {
9 border: 1px solid var(--mat-sys-outline);
10 border-radius: 8px;
11}
12
13.below-editor-toolbar {
14 display: flex;
15 justify-content: space-between;
16 align-items: flex-start;
17 /* flex-wrap: wrap; */
18 /* align-items: flex-start; */
19 /* gap: 0.5rem; */
20 /* margin-bottom: 0.5rem; */
21 --mat-icon-button-icon-color: var(--mat-sys-primary);
22
23 & button {
24 --fa-display: block;
25 }
26}
27
28.below-editor-toolbar-leftside,
29.below-editor-toolbar-rightside {
30 display: flex;
31 flex-wrap: wrap;
32 align-items: center;
33 justify-content: flex-start;
34 gap: 0.5rem;
35 margin-bottom: 0.5rem;
36}
37
38.below-editor-toolbar-divider {
39 border: 1px solid var(--mat-sys-outline-variant);
40 width: 1px;
41 min-height: 40px;
42 max-height: max-content;
43}
44
45.ask-label-section,
46.editing-label-section {
47 color: var(--mat-sys-primary);
48}
49.ask-label,
50.editing-label {
51 font-weight: bold;
52}
53.label-horizontal-bar {
54 border-bottom: 4px dotted var(--mat-sys-outline-variant);
55 flex: 1;
56}
57
58.add-quote-input {
59 field-sizing: auto;
60}
61
62.cw-wrapper {
63 flex-grow: 5;
64 display: flex;
65}
66
67.cw-wrapper mat-button-toggle {
68 flex-shrink: 0;
69 margin: 3px 0;
70 margin-left: -2px;
71}
72
73.woot-textarea {
74 --mat-form-field-filled-input-text-placeholder-color: var(--mat-sys-outline);
75}
76
77app-media-preview {
78 display: block;
79 margin-bottom: 8px;
80
81 & + mat-form-field {
82 margin-bottom: -12px;
83 }
84}
85
86.delete-btn {
87 --mat-button-filled-container-color: var(--mat-sys-primary-container);
88 --mat-button-filled-label-text-color: var(--mat-sys-on-primary-container);
89 --mat-button-filled-state-layer-color: var(--mat-sys-on-primary-container);
90 box-shadow: var(--mat-sys-level2);
91 position: absolute;
92 top: 0.5rem;
93 right: 0.5rem;
94 z-index: 2;
95}
96
97.delete-btn.mdc-icon-button .ng-fa-icon {
98 display: block;
99 transform: translateY(-5px);
100}
101
102@media screen and (max-width: 380px) {
103 .post-text {
104 display: none;
105 }
106
107 .post-btn {
108 width: 24px;
109 }
110}
111
112.quote-label {
113 color: var(--mat-sys-outline);
114}
115
116.quote-container {
117 position: relative;
118}
119
120.post-editor-toolbar {
121 border-bottom: none;
122 border-top-left-radius: 5px;
123 border-top-right-radius: 5px;
124}
125
126.publish-post-button {
127 position: absolute;
128 bottom: 2em;
129 left: 0px;
130}
131
132.suggestions-menu {
133 transition:
134 left 100ms ease-out,
135 top 100ms ease-out;
136 max-height: 350px;
137 min-width: 200px;
138 max-width: 350px;
139 position: fixed;
140 z-index: 999;
141 overflow-x: hidden;
142 overflow-y: auto;
143 background-color: var(--mat-sys-surface-container);
144 border-radius: var(--mat-sys-corner-small);
145 border: 1px solid var(--mat-sys-outline-variant);
146 box-shadow: var(--mat-sys-level2);
147}
148
149.suggestion-text-placeholder {
150 --mat-progress-bar-track-height: 16px;
151 --mat-progress-bar-active-indicator-height: 16px;
152 --mat-progress-bar-active-indicator-color: var(--mat-sys-outline-variant);
153 // --mat-progress-bar-track-color: var(--mat-sys-outline-variant);
154}
155
156.suggestion-item {
157 padding: 0.25rem 0.5rem;
158 &:hover {
159 background-color: var(--mat-sys-surface-container-highest);
160 }
161}
162
163.emoji-suggestion-image {
164 width: 32px;
165 height: 32px;
166}
167
168.media-drop-indicator {
169 position: absolute;
170 inset: 0.5rem;
171 border-radius: var(--mat-sys-corner-small);
172 background-color: rgb(from var(--mat-sys-primary) r g b / 0.25);
173 display: grid;
174 place-items: center;
175 font-size: 1.6rem;
176 color: rgb(from var(--mat-sys-on-surface) r g b / 0.5);
177 pointer-events: none;
178}
179
180.bottom-information-bar {
181 display: flex;
182 justify-content: space-between;
183 align-items: flex-end;
184 gap: 0.25rem;
185}
186
187.posting-label {
188 color: var(--mat-sys-outline);
189 font-size: 0.7em;
190 line-height: 1;
191 margin-bottom: 0.25rem;
192}
193
194.user-info-button {
195 --mat-button-text-horizontal-padding: 8px;
196 --mat-button-text-container-height: auto;
197 margin: calc(var(--mat-button-text-horizontal-padding) * -1);
198 padding-block: 4px;
199}
200
201.user-info {
202 color: var(--mat-sys-on-surface);
203 display: flex;
204 align-items: center;
205 gap: 0.5rem;
206}
207
208.user-avatar {
209 display: block;
210 width: 1.25rem;
211 height: 1.25rem;
212 border: 1px solid var(--mat-sys-outline-variant);
213
214 img {
215 background-color: var(--mat-sys-surface-container-highest);
216 height: 100%;
217 width: 100%;
218 }
219}
220
221.user-name {
222 white-space: nowrap;
223 overflow: hidden;
224 text-overflow: ellipsis;
225
226 ::ng-deep img {
227 vertical-align: top;
228 }
229}
230
231.icon-dropdown {
232 color: var(--mat-sys-outline);
233}
234
235.woot-tagfield {
236 background-color: var(--mat-sys-surface-container-low);
237
238 ::ng-deep .mat-mdc-floating-label {
239 overflow: unset;
240 }
241
242 mat-label {
243 display: inline-block;
244 background-color: var(--mat-sys-surface-container-low);
245 outline: 4px solid var(--mat-sys-surface-container-low);
246 }
247}
248
249.taglist {
250 margin-top: -8px;
251 margin-bottom: 8px;
252 display: flex;
253 flex-wrap: wrap;
254 gap: 4px;
255}
256
257.post-length-note {
258 min-width: max-content;
259 display: flex;
260 flex-direction: column;
261 text-align: right;
262 gap: 0.25rem;
263
264 p {
265 margin: 0;
266 line-height: 1;
267 }
268}
269
270.post-length-warning {
271 font-size: 0.7em;
272 line-height: 1;
273 color: var(--mat-sys-outline);
274}
275
276.warning-text {
277 color: var(--mat-sys-error);
278}
279
280.length-overflow {
281 --mat-progress-bar-active-indicator-color: var(--mat-sys-error);
282 --mat-progress-spinner-active-indicator-color: var(--mat-sys-error);
283}
284
285svg {
286 display: block;
287}