about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/seadrake/diff.scss
blob: f42c2a1e6d32d3ca8059c7855f93432f11d2ad84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
*:root {
	// Main body
	body,
	body.app-body {
		//background: #001611 url(/system/custom-images/monsterpit-bg.png) no-repeat center center fixed !important;
		background: #001611 !important;
		background-size: cover !important;
		font-size: 14px !important;
	}

	// Abouts: - dotted HRs
	//         - HR fills width of content area
	//         - HR adds line of blank space before/after
	hr { border: 1px dotted #060; }

	// Small-caps links
	a[href], h1, h2, h3, h4,
	.column-header,
	.column-back-button {
		text-decoration: none !important;
		font-variant: small-caps !important;
	}

	.mascot-container, .floats { display: none !important; }

	.mascot-container, .floats { display: none !important; }

	.about-short { background: transparent !important; }

	.closed-registrations-message,
	.simple-form { min-height: inherit !important; }

	.landing-page .heading { padding-bottom: 0 !important; }

	.landing-page h1 { font-size: 32px !important; }

	.landing-page p,
	.landing-page li,
	.features-list__row .text { color: #fff !important; }

	.landing-page h1,
	.landing-page h2,
	.landing-page h3,
	.landing-page h6 { color: #096 !important; }

	.about-body h2 { font-size: 28px !important; }

	.name { font-size: 24px !important; }

	// Public user TL: action icons aligned with left edge of status
	.activity-stream .pre-header .pre-header__icon {
		position: inherit !important;
		float: left;
		margin-right: 0.5em !important;
		left: 0 !important;
	}

	// Public user TL: remove intentation from action text; move down
	.activity-stream .pre-header {
		padding-left: 0 !important;
		margin-bottom: 4px !important;
	}

	// User list: expand card size; one per row
	.account-grid-card { width: 100% !important; }

	// TL status, user card: - black semi-trans bg with rounded border
	//                       - space between right edge and scrollbar
	.status,
	.detailed-status,
	.detailed-status__action-bar,
	.account-grid-card {
		background: #032 url(/system/custom-images/status-bg.png) repeat-x top center !important;
		border: 1px solid #064 !important;
		border-radius: 4px;
		margin: 0em 0.5em 1em 0em;
	}

	.status.collapsed .status__content:after {
		background: linear-gradient(transparentize(#032, 1), #032) !important;
	}

	// TL status prefix: move origin user text closer to icon
	.notification__message,
	.status__prepend {
		margin-left: 30px !important;
		padding: 0 !important;
	}

	// TL status prefix: hide boost/fav action text
	.notification__message span,
	.status__prepend span,
	.activity-stream .pre-header { font-size: 12px !important; }

	// TL status: font size of user's friendly name
	.notification__message span a,
	.status__prepend span a,
	.activity-stream .pre-header__icon,
	.account__display-name strong,
	.status__display-name strong,
	.detailed-status__display-name strong,
	.account-grid-card .username,
	.name .username {
		font-size: 16px !important;
		font-weight: bold !important;
	}


	// TL status prefix: move icon closer to left edge
	.notification__favourite-icon-wrapper,
	.status__prepend-icon-wrapper { left: -25px !important; }

	// Spoilers
	.media-spoiler { background: #000 !important; }
  .media-gallery.full-width { margin-left: 0; margin-right: 0 }

	// UI: remove borders and solid bg colors
	.ui,
	.drawer,
	.scrollable,
	.drawer__inner,
	.column-link,
	.sidebar ul ul,
	.column-header,
	.column-header__button,
	.column-back-button,
	.column-header__wrapper,
	.drawer__header,
	.activity-stream .entry,
	.accounts-grid,
	.account-grid-card__header,
	#mastodon-timeline,
	.header-wrapper,
	.about-mastodon,
	.container,
	.content,
	.empty-column-indicator,
	.learn-more-cta,
	.sidebar-wrapper,
	.closed-registrations-message,
	.simple_form,
	.information-board,
	.about-short {
		background: none !important;
		-webkit-box-shadow: none !important;
		box-shadow: none !important;
		border: none !important;
	}

	// Column/Drawer headings: solid red bg and border; blank line after
	.column-back-button,
	.column-header,
	.drawer__header,
	.search,
	.search-results,
	.autosuggest-textarea__suggestions {
		background: #064 !important;
		margin-bottom: 1em !important;
		border: 1px solid #0c8 !important
	}

	.search-results, .autosuggest-textarea__suggestions { color: #fff !important; }

	// Fix column back buttons.
	.column-header__back-button {
		color: #fff !important;
		background: none !important;
	}

	.column-back-button {
		top: calc(-1.5em - 42px) !important;
		color: #fff !important;
	}


	// Search box: darken
	.search__input {
		background: #032 !important;
		border: 1px solid #021 !important;
	}

	// Tootbox
	.autosuggest-textarea__textarea,
	.compose-form__modifiers,
	.compose-form__buttons,
	.spoiler-input__input {
		background: #032 !important;
		color: #fff !important;
	}

	// Reply indicator: theme like status
	.reply-indicator {
		background: #032 !important;
		border: 1px solid #064 !important;
		border-radius: 4px;
		margin-bottom: 1em;
	}

	// TL status: move timestamp to bottom-right
	.status__relative-time {
		color: #096 !important;
		border-bottom: none !important;
		font-size: 10px !important;
		position: absolute;
		right: 4px;
		bottom: 0;
	}

	// TL status: color of user address; push down post content
	.account__header__username,
	.accounts-grid .account-grid-card .username,
	.activity-stream .status.light .display-name span,
	.detailed-status__display-name,
	.name .username,
	.name small,
	.status__display-name,
	.display-name__account {
		color: #3a9 !important;
		margin-bottom: 1em;
		font-size: 12px !important;
		font-weight: bold !important;
	}

	// TL status: color of users' friendly names; on own line
	.account-grid-card .name a,
	.account__display-name strong,
	.detailed-status__display-name strong,
	.reply-indicator__display-name,
	.status__display-name strong,
	.account__header__display-name,
	.card__bio .name {
		color: #0c6 !important;
		display: block;
		font-weight: bold !important;
	}

	.status__display-name strong { display: inherit !important; }

	.status__prepend span { color: white }

	// TL status prefix: color of users' friendly names
	.status__prepend .status__display-name,
	.notification__display-name,
	.status__display-name.muted,
	.status__display-name.muted strong, { color: #096 !important; font-size: 14px !important; }

	// Opened status: add link icon on posts
	.detailed-status__datetime:before { content: "\1F517" }

	// All status: message text
	.reply-indicator__content,
	.status__content,
	.account-grid-card .note {
		color: #cdd !important;
		font-size: 14px !important;
		line-height: inherit !important;
	}

	// All status: use left space; add padding to top
	.status { padding-left: 10px !important; }

	.status__info { padding-left: 0 !important; }

	.status__content { padding-top: 10px !important; }

	// All status: move icon to right side
	.status__avatar {
		left: inherit !important;
		top: 8px !important;
		right: 8px !important;
	}

	/// Expanded status: make header and padding match TL status
	.detailed-status { padding: 8px !important; }

	.detailed-status__display-name { margin: 0 !important; }

	.detailed-status__display-avatar {
		float: right !important;
		margin: 0 !important;
	}

	// TL status prefix:  text shouldn't clip icon
	//.display-name { max-width: calc(100% - 32px) !important; }


	// TL status: muted text
	.muted .status__content p { color: #9aa !important; }

	// TL status: links in post
	.reply-indicator__content a,
	.status__content a { color: #6ec !important; }

	// Expanded status: action bars
	.account__disclaimer, .account__action-bar { background: #001611 !important; }

	// Default icon button color
	.icon-button { color: #064; }

	.account__header__display-name,
	.account__header__username { font-variant: small-caps !important; }

	.account__header__username,
	.name small {
		font-size: 12px !important;
		font-weight: bold !important;
		margin-bottom: 1em !important;
	}

	.account__header__content { color: #fff !important; }

	// Make status Emojos bigger
	.reply-indicator__content .emojione,
	.status__content .emojione { width: 32px !important; height: 32px !important; padding: 2px; }

	// Locked posts animation
	@-webkit-keyframes blink-off {
		0%	{ opacity: .75 }
		50%	{ opacity: 0 }
		100%	{ opacity: .75 }
	}

	@keyframes blink-off {
		0%	{ opacity: .75 }
		50%	{ opacity: 0 }
		100%	{ opacity: .75 }
	}

	.icon-button.disabled {
		opacity: .75;

		-moz-transition: all 2s ease-in-out;
		-webkit-transition: all 2s ease-in-out;
		-o-transition: all 2s ease-in-out;
		-ms-transition: all 2s ease-in-out;
		transition: all 2s ease-in-out;

		-moz-animation: blink-off normal 4s 5 ease-in-out;
		-webkit-animation: blink-off normal 4s 5 ease-in-out;
		-ms-animation: blink-off normal 4s 5 ease-in-out;
		animation: blink-off normal 4s 5 ease-in-out;
	}

	// Active item banimation
	@-webkit-keyframes blink-on {
		from	{ transform: scale(1.5) }
		50%	{ transform: scale(2) }
		to	{ transform: scale(1.5) }
	}

	@keyframes blink-on {
		from	{ transform: scale(1.5) }
		50%	{ transform: scale(2) }
		to	{ transform: scale(1.5) }
	}

	.column-header.active>.column-header__icon,
	.icon-button.active {
		color: #0c8 !important;
		transform: scale(1.5);

		-moz-transition: all 1s ease-in-out;
		-webkit-transition: all 1s ease-in-out;
		-o-transition: all 1s ease-in-out;
		-ms-transition: all 1s ease-in-out;
		transition: all 1s ease-in-out;

		-moz-animation: blink-on normal 2s 5 ease-in-out;
		-webkit-animation: blink-on normal 2s 5 ease-in-out;
		-ms-animation: blink-on normal 2s 5 ease-in-out;
		animation: blink-on normal 2s 5 ease-in-out;
	}

	// Scrollbar in Chrome/Webkit browsers
	::-webkit-scrollbar-thumb {
		background: #096 !important;
		border: 1px solid #c09 !important;
	}
}