jekyll-theme-mastodon 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. checksums.yaml +7 -0
  2. data/_includes/analytics.html +36 -0
  3. data/_includes/analytics/amplitude.js +35 -0
  4. data/_includes/analytics/gtag.js +9 -0
  5. data/_includes/analytics/gtm.js +5 -0
  6. data/_includes/analytics/hotjar.js +8 -0
  7. data/_includes/analytics/matomo.js +10 -0
  8. data/_includes/analytics/quantcast.js +12 -0
  9. data/_includes/footer.html +28 -0
  10. data/_includes/head.html +41 -0
  11. data/_includes/header.html +18 -0
  12. data/_includes/resources.html +20 -0
  13. data/_layouts/about.html +71 -0
  14. data/_layouts/default.html +15 -0
  15. data/_layouts/error.html +31 -0
  16. data/_layouts/none.html +4 -0
  17. data/_layouts/page.html +15 -0
  18. data/_layouts/post.html +56 -0
  19. data/_layouts/profile.html +199 -0
  20. data/_layouts/redirect.html +18 -0
  21. data/_layouts/rss.html +29 -0
  22. data/_layouts/sitemap.html +29 -0
  23. data/_layouts/tags.html +32 -0
  24. data/_sass/_about.scss +905 -0
  25. data/_sass/_accounts.scss +327 -0
  26. data/_sass/_admin.scss +918 -0
  27. data/_sass/_basics.scss +272 -0
  28. data/_sass/_boost.scss +32 -0
  29. data/_sass/_compact_header.scss +34 -0
  30. data/_sass/_components.scss +7363 -0
  31. data/_sass/_containers.scss +903 -0
  32. data/_sass/_dashboard.scss +78 -0
  33. data/_sass/_font-montserrat.scss +19 -0
  34. data/_sass/_font-roboto.scss +47 -0
  35. data/_sass/_font-robotomono.scss +11 -0
  36. data/_sass/_footer.scss +137 -0
  37. data/_sass/_forms.scss +1009 -0
  38. data/_sass/_highlights.scss +146 -0
  39. data/_sass/_introduction.scss +154 -0
  40. data/_sass/_lists.scss +19 -0
  41. data/_sass/_mixins.scss +56 -0
  42. data/_sass/_modal.scss +35 -0
  43. data/_sass/_polls.scss +274 -0
  44. data/_sass/_reset.scss +108 -0
  45. data/_sass/_rtl.scss +468 -0
  46. data/_sass/_statuses.scss +191 -0
  47. data/_sass/_tables.scss +293 -0
  48. data/_sass/_variables.scss +58 -0
  49. data/_sass/_widgets.scss +619 -0
  50. data/assets/404.gif +0 -0
  51. data/assets/avatar.png +0 -0
  52. data/assets/banner.png +0 -0
  53. data/assets/fonts/montserrat/Montserrat-Medium.ttf +0 -0
  54. data/assets/fonts/montserrat/Montserrat-Regular.ttf +0 -0
  55. data/assets/fonts/montserrat/Montserrat-Regular.woff +0 -0
  56. data/assets/fonts/montserrat/Montserrat-Regular.woff2 +0 -0
  57. data/assets/fonts/roboto/roboto-bold-webfont.svg +16273 -0
  58. data/assets/fonts/roboto/roboto-bold-webfont.ttf +0 -0
  59. data/assets/fonts/roboto/roboto-bold-webfont.woff +0 -0
  60. data/assets/fonts/roboto/roboto-bold-webfont.woff2 +0 -0
  61. data/assets/fonts/roboto/roboto-italic-webfont.svg +15513 -0
  62. data/assets/fonts/roboto/roboto-italic-webfont.ttf +0 -0
  63. data/assets/fonts/roboto/roboto-italic-webfont.woff +0 -0
  64. data/assets/fonts/roboto/roboto-italic-webfont.woff2 +0 -0
  65. data/assets/fonts/roboto/roboto-medium-webfont.svg +16273 -0
  66. data/assets/fonts/roboto/roboto-medium-webfont.ttf +0 -0
  67. data/assets/fonts/roboto/roboto-medium-webfont.woff +0 -0
  68. data/assets/fonts/roboto/roboto-medium-webfont.woff2 +0 -0
  69. data/assets/fonts/roboto/roboto-regular-webfont.svg +15513 -0
  70. data/assets/fonts/roboto/roboto-regular-webfont.ttf +0 -0
  71. data/assets/fonts/roboto/roboto-regular-webfont.woff +0 -0
  72. data/assets/fonts/roboto/roboto-regular-webfont.woff2 +0 -0
  73. data/assets/fonts/robotomono/robotomono-regular-webfont.svg +1051 -0
  74. data/assets/fonts/robotomono/robotomono-regular-webfont.ttf +0 -0
  75. data/assets/fonts/robotomono/robotomono-regular-webfont.woff +0 -0
  76. data/assets/fonts/robotomono/robotomono-regular-webfont.woff2 +0 -0
  77. data/assets/hero.png +0 -0
  78. data/assets/mastodon.scss +34 -0
  79. data/license +661 -0
  80. data/readme.md +3 -0
  81. metadata +136 -0
@@ -0,0 +1,327 @@
1
+ .card {
2
+ & > a {
3
+ display: block;
4
+ text-decoration: none;
5
+ color: inherit;
6
+ box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
7
+
8
+ @media screen and (max-width: $no-gap-breakpoint) {
9
+ box-shadow: none;
10
+ }
11
+
12
+ &:hover,
13
+ &:active,
14
+ &:focus {
15
+ .card__bar {
16
+ background: lighten($ui-base-color, 8%);
17
+ }
18
+ }
19
+ }
20
+
21
+ &__img {
22
+ height: 130px;
23
+ position: relative;
24
+ background: darken($ui-base-color, 12%);
25
+ border-radius: 4px 4px 0 0;
26
+
27
+ img {
28
+ display: block;
29
+ width: 100%;
30
+ height: 100%;
31
+ margin: 0;
32
+ object-fit: cover;
33
+ border-radius: 4px 4px 0 0;
34
+ }
35
+
36
+ @media screen and (max-width: 600px) {
37
+ height: 200px;
38
+ }
39
+
40
+ @media screen and (max-width: $no-gap-breakpoint) {
41
+ display: none;
42
+ }
43
+ }
44
+
45
+ &__bar {
46
+ position: relative;
47
+ padding: 15px;
48
+ display: flex;
49
+ justify-content: flex-start;
50
+ align-items: center;
51
+ background: lighten($ui-base-color, 4%);
52
+ border-radius: 0 0 4px 4px;
53
+
54
+ @media screen and (max-width: $no-gap-breakpoint) {
55
+ border-radius: 0;
56
+ }
57
+
58
+ .avatar {
59
+ flex: 0 0 auto;
60
+ width: 48px;
61
+ height: 48px;
62
+ padding-top: 2px;
63
+
64
+ img {
65
+ width: 100%;
66
+ height: 100%;
67
+ display: block;
68
+ margin: 0;
69
+ border-radius: 4px;
70
+ background: darken($ui-base-color, 8%);
71
+ object-fit: cover;
72
+ }
73
+ }
74
+
75
+ .display-name {
76
+ margin-left: 15px;
77
+ text-align: left;
78
+
79
+ i[data-hidden] {
80
+ display: none;
81
+ }
82
+
83
+ strong {
84
+ font-size: 15px;
85
+ color: $primary-text-color;
86
+ font-weight: 500;
87
+ overflow: hidden;
88
+ text-overflow: ellipsis;
89
+ }
90
+
91
+ span {
92
+ display: block;
93
+ font-size: 14px;
94
+ color: $darker-text-color;
95
+ font-weight: 400;
96
+ overflow: hidden;
97
+ text-overflow: ellipsis;
98
+ }
99
+ }
100
+ }
101
+ }
102
+
103
+ .pagination {
104
+ padding: 30px 0;
105
+ text-align: center;
106
+ overflow: hidden;
107
+
108
+ a,
109
+ .current,
110
+ .newer,
111
+ .older,
112
+ .page,
113
+ .gap {
114
+ font-size: 14px;
115
+ color: $primary-text-color;
116
+ font-weight: 500;
117
+ display: inline-block;
118
+ padding: 6px 10px;
119
+ text-decoration: none;
120
+ }
121
+
122
+ .current {
123
+ background: $simple-background-color;
124
+ border-radius: 100px;
125
+ color: $inverted-text-color;
126
+ cursor: default;
127
+ margin: 0 10px;
128
+ }
129
+
130
+ .gap {
131
+ cursor: default;
132
+ }
133
+
134
+ .older,
135
+ .newer {
136
+ text-transform: uppercase;
137
+ color: $secondary-text-color;
138
+ }
139
+
140
+ .older {
141
+ float: left;
142
+ padding-left: 0;
143
+
144
+ .fa {
145
+ display: inline-block;
146
+ margin-right: 5px;
147
+ }
148
+ }
149
+
150
+ .newer {
151
+ float: right;
152
+ padding-right: 0;
153
+
154
+ .fa {
155
+ display: inline-block;
156
+ margin-left: 5px;
157
+ }
158
+ }
159
+
160
+ .disabled {
161
+ cursor: default;
162
+ color: lighten($inverted-text-color, 10%);
163
+ }
164
+
165
+ @media screen and (max-width: 700px) {
166
+ padding: 30px 20px;
167
+
168
+ .page {
169
+ display: none;
170
+ }
171
+
172
+ .newer,
173
+ .older {
174
+ display: inline-block;
175
+ }
176
+ }
177
+ }
178
+
179
+ .nothing-here {
180
+ background: $ui-base-color;
181
+ box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
182
+ color: $light-text-color;
183
+ font-size: 14px;
184
+ font-weight: 500;
185
+ text-align: center;
186
+ display: flex;
187
+ justify-content: center;
188
+ align-items: center;
189
+ cursor: default;
190
+ border-radius: 4px;
191
+ padding: 20px;
192
+ min-height: 30vh;
193
+
194
+ &--under-tabs {
195
+ border-radius: 0 0 4px 4px;
196
+ }
197
+
198
+ &--flexible {
199
+ box-sizing: border-box;
200
+ min-height: 100%;
201
+ }
202
+ }
203
+
204
+ .account-role,
205
+ .simple_form .recommended {
206
+ display: inline-block;
207
+ padding: 4px 6px;
208
+ cursor: default;
209
+ border-radius: 3px;
210
+ font-size: 12px;
211
+ line-height: 12px;
212
+ font-weight: 500;
213
+ color: $ui-secondary-color;
214
+ background-color: rgba($ui-secondary-color, 0.1);
215
+ border: 1px solid rgba($ui-secondary-color, 0.5);
216
+
217
+ &.moderator {
218
+ color: $success-green;
219
+ background-color: rgba($success-green, 0.1);
220
+ border-color: rgba($success-green, 0.5);
221
+ }
222
+
223
+ &.admin {
224
+ color: lighten($error-red, 12%);
225
+ background-color: rgba(lighten($error-red, 12%), 0.1);
226
+ border-color: rgba(lighten($error-red, 12%), 0.5);
227
+ }
228
+ }
229
+
230
+ .account__header__fields {
231
+ max-width: 100vw;
232
+ padding: 0;
233
+ margin: 15px -15px -15px;
234
+ border: 0 none;
235
+ border-top: 1px solid lighten($ui-base-color, 12%);
236
+ border-bottom: 1px solid lighten($ui-base-color, 12%);
237
+ font-size: 14px;
238
+ line-height: 20px;
239
+
240
+ dl {
241
+ display: flex;
242
+ border-bottom: 1px solid lighten($ui-base-color, 12%);
243
+ }
244
+
245
+ dt,
246
+ dd {
247
+ box-sizing: border-box;
248
+ padding: 14px;
249
+ text-align: center;
250
+ max-height: 48px;
251
+ overflow: hidden;
252
+ white-space: nowrap;
253
+ text-overflow: ellipsis;
254
+ }
255
+
256
+ dt {
257
+ font-weight: 500;
258
+ width: 120px;
259
+ flex: 0 0 auto;
260
+ color: $secondary-text-color;
261
+ background: rgba(darken($ui-base-color, 8%), 0.5);
262
+ }
263
+
264
+ dd {
265
+ flex: 1 1 auto;
266
+ color: $darker-text-color;
267
+ }
268
+
269
+ a {
270
+ color: $highlight-text-color;
271
+ text-decoration: none;
272
+
273
+ &:hover,
274
+ &:focus,
275
+ &:active {
276
+ text-decoration: underline;
277
+ }
278
+ }
279
+
280
+ .verified {
281
+ border: 1px solid rgba($valid-value-color, 0.5);
282
+ background: rgba($valid-value-color, 0.25);
283
+
284
+ a {
285
+ color: $valid-value-color;
286
+ font-weight: 500;
287
+ }
288
+
289
+ &__mark {
290
+ color: $valid-value-color;
291
+ }
292
+ }
293
+
294
+ dl:last-child {
295
+ border-bottom: 0;
296
+ }
297
+ }
298
+
299
+ .directory__tag .trends__item__current {
300
+ width: auto;
301
+ }
302
+
303
+ .pending-account {
304
+ &__header {
305
+ color: $darker-text-color;
306
+
307
+ a {
308
+ color: $ui-secondary-color;
309
+ text-decoration: none;
310
+
311
+ &:hover,
312
+ &:active,
313
+ &:focus {
314
+ text-decoration: underline;
315
+ }
316
+ }
317
+
318
+ strong {
319
+ color: $primary-text-color;
320
+ font-weight: 700;
321
+ }
322
+ }
323
+
324
+ &__body {
325
+ margin-top: 10px;
326
+ }
327
+ }
data/_sass/_admin.scss ADDED
@@ -0,0 +1,918 @@
1
+ $no-columns-breakpoint: 600px;
2
+ $sidebar-width: 240px;
3
+ $content-width: 840px;
4
+
5
+ .admin-wrapper {
6
+ display: flex;
7
+ justify-content: center;
8
+ width: 100%;
9
+ min-height: 100vh;
10
+
11
+ .sidebar-wrapper {
12
+ min-height: 100vh;
13
+ overflow: hidden;
14
+ pointer-events: none;
15
+ flex: 1 1 auto;
16
+
17
+ &__inner {
18
+ display: flex;
19
+ justify-content: flex-end;
20
+ background: $ui-base-color;
21
+ height: 100%;
22
+ }
23
+ }
24
+
25
+ .sidebar {
26
+ width: $sidebar-width;
27
+ padding: 0;
28
+ pointer-events: auto;
29
+
30
+ &__toggle {
31
+ display: none;
32
+ background: lighten($ui-base-color, 8%);
33
+ height: 48px;
34
+
35
+ &__logo {
36
+ flex: 1 1 auto;
37
+
38
+ a {
39
+ display: inline-block;
40
+ padding: 15px;
41
+ }
42
+
43
+ svg {
44
+ fill: $primary-text-color;
45
+ height: 20px;
46
+ position: relative;
47
+ bottom: -2px;
48
+ }
49
+ }
50
+
51
+ &__icon {
52
+ display: block;
53
+ color: $darker-text-color;
54
+ text-decoration: none;
55
+ flex: 0 0 auto;
56
+ font-size: 20px;
57
+ padding: 15px;
58
+ }
59
+
60
+ a {
61
+ &:hover,
62
+ &:focus,
63
+ &:active {
64
+ background: lighten($ui-base-color, 12%);
65
+ }
66
+ }
67
+ }
68
+
69
+ .logo {
70
+ display: block;
71
+ margin: 40px auto;
72
+ width: 100px;
73
+ height: 100px;
74
+ }
75
+
76
+ @media screen and (max-width: $no-columns-breakpoint) {
77
+ & > a:first-child {
78
+ display: none;
79
+ }
80
+ }
81
+
82
+ ul {
83
+ list-style: none;
84
+ border-radius: 4px 0 0 4px;
85
+ overflow: hidden;
86
+ margin-bottom: 20px;
87
+
88
+ @media screen and (max-width: $no-columns-breakpoint) {
89
+ margin-bottom: 0;
90
+ }
91
+
92
+ a {
93
+ display: block;
94
+ padding: 15px;
95
+ color: $darker-text-color;
96
+ text-decoration: none;
97
+ transition: all 200ms linear;
98
+ transition-property: color, background-color;
99
+ border-radius: 4px 0 0 4px;
100
+ white-space: nowrap;
101
+ overflow: hidden;
102
+ text-overflow: ellipsis;
103
+
104
+ i.fa {
105
+ margin-right: 5px;
106
+ }
107
+
108
+ &:hover {
109
+ color: $primary-text-color;
110
+ background-color: darken($ui-base-color, 5%);
111
+ transition: all 100ms linear;
112
+ transition-property: color, background-color;
113
+ }
114
+
115
+ &.selected {
116
+ background: darken($ui-base-color, 2%);
117
+ border-radius: 4px 0 0;
118
+ }
119
+ }
120
+
121
+ ul {
122
+ background: darken($ui-base-color, 4%);
123
+ border-radius: 0 0 0 4px;
124
+ margin: 0;
125
+
126
+ a {
127
+ border: 0;
128
+ padding: 15px 35px;
129
+ }
130
+ }
131
+
132
+ .simple-navigation-active-leaf a {
133
+ color: $primary-text-color;
134
+ background-color: $ui-highlight-color;
135
+ border-bottom: 0;
136
+ border-radius: 0;
137
+
138
+ &:hover {
139
+ background-color: lighten($ui-highlight-color, 5%);
140
+ }
141
+ }
142
+ }
143
+
144
+ & > ul > .simple-navigation-active-leaf a {
145
+ border-radius: 4px 0 0 4px;
146
+ }
147
+ }
148
+
149
+ .content-wrapper {
150
+ box-sizing: border-box;
151
+ width: 100%;
152
+ max-width: $content-width;
153
+ flex: 1 1 auto;
154
+ }
155
+
156
+ @media screen and (max-width: $content-width + $sidebar-width) {
157
+ .sidebar-wrapper--empty {
158
+ display: none;
159
+ }
160
+
161
+ .sidebar-wrapper {
162
+ width: $sidebar-width;
163
+ flex: 0 0 auto;
164
+ }
165
+ }
166
+
167
+ @media screen and (max-width: $no-columns-breakpoint) {
168
+ .sidebar-wrapper {
169
+ width: 100%;
170
+ }
171
+ }
172
+
173
+ .content {
174
+ padding: 55px 15px 20px 25px;
175
+
176
+ @media screen and (max-width: $no-columns-breakpoint) {
177
+ max-width: none;
178
+ padding: 15px;
179
+ padding-top: 30px;
180
+ }
181
+
182
+ &-heading {
183
+ display: flex;
184
+
185
+ padding-bottom: 36px;
186
+ border-bottom: 1px solid lighten($ui-base-color, 8%);
187
+
188
+ margin: -15px -15px 40px 0;
189
+
190
+ flex-wrap: wrap;
191
+ align-items: center;
192
+ justify-content: space-between;
193
+
194
+ & > * {
195
+ margin-top: 15px;
196
+ margin-right: 15px;
197
+ }
198
+
199
+ &-actions {
200
+ display: inline-flex;
201
+
202
+ & > :not(:first-child) {
203
+ margin-left: 5px;
204
+ }
205
+ }
206
+
207
+ @media screen and (max-width: $no-columns-breakpoint) {
208
+ border-bottom: 0;
209
+ padding-bottom: 0;
210
+ }
211
+ }
212
+
213
+ h2 {
214
+ color: $secondary-text-color;
215
+ font-size: 24px;
216
+ line-height: 36px;
217
+ font-weight: 400;
218
+
219
+ @media screen and (max-width: $no-columns-breakpoint) {
220
+ font-weight: 700;
221
+ }
222
+ }
223
+
224
+ h3 {
225
+ color: $secondary-text-color;
226
+ font-size: 20px;
227
+ line-height: 28px;
228
+ font-weight: 400;
229
+ margin-bottom: 30px;
230
+ }
231
+
232
+ h4 {
233
+ text-transform: uppercase;
234
+ font-size: 13px;
235
+ font-weight: 700;
236
+ color: $darker-text-color;
237
+ padding-bottom: 8px;
238
+ margin-bottom: 8px;
239
+ border-bottom: 1px solid lighten($ui-base-color, 8%);
240
+ }
241
+
242
+ h6 {
243
+ font-size: 16px;
244
+ color: $secondary-text-color;
245
+ line-height: 28px;
246
+ font-weight: 500;
247
+ }
248
+
249
+ .fields-group h6 {
250
+ color: $primary-text-color;
251
+ font-weight: 500;
252
+ }
253
+
254
+ .directory__tag > a,
255
+ .directory__tag > div {
256
+ box-shadow: none;
257
+ }
258
+
259
+ .directory__tag .table-action-link .fa {
260
+ color: inherit;
261
+ }
262
+
263
+ .directory__tag h4 {
264
+ font-size: 18px;
265
+ font-weight: 700;
266
+ color: $primary-text-color;
267
+ text-transform: none;
268
+ padding-bottom: 0;
269
+ margin-bottom: 0;
270
+ border-bottom: 0;
271
+ }
272
+
273
+ & > p {
274
+ font-size: 14px;
275
+ line-height: 21px;
276
+ color: $secondary-text-color;
277
+ margin-bottom: 20px;
278
+
279
+ strong {
280
+ color: $primary-text-color;
281
+ font-weight: 500;
282
+
283
+ @each $lang in $cjk-langs {
284
+ &:lang(#{$lang}) {
285
+ font-weight: 700;
286
+ }
287
+ }
288
+ }
289
+ }
290
+
291
+ hr {
292
+ width: 100%;
293
+ height: 0;
294
+ border: 0;
295
+ border-bottom: 1px solid rgba($ui-base-lighter-color, .6);
296
+ margin: 20px 0;
297
+
298
+ &.spacer {
299
+ height: 1px;
300
+ border: 0;
301
+ }
302
+ }
303
+ }
304
+
305
+ @media screen and (max-width: $no-columns-breakpoint) {
306
+ display: block;
307
+
308
+ .sidebar-wrapper {
309
+ min-height: 0;
310
+ }
311
+
312
+ .sidebar {
313
+ width: 100%;
314
+ padding: 0;
315
+ height: auto;
316
+
317
+ &__toggle {
318
+ display: flex;
319
+ }
320
+
321
+ & > ul {
322
+ display: none;
323
+ }
324
+
325
+ ul a,
326
+ ul ul a {
327
+ border-radius: 0;
328
+ border-bottom: 1px solid lighten($ui-base-color, 4%);
329
+ transition: none;
330
+
331
+ &:hover {
332
+ transition: none;
333
+ }
334
+ }
335
+
336
+ ul ul {
337
+ border-radius: 0;
338
+ }
339
+
340
+ ul .simple-navigation-active-leaf a {
341
+ border-bottom-color: $ui-highlight-color;
342
+ }
343
+ }
344
+ }
345
+ }
346
+
347
+ hr.spacer {
348
+ width: 100%;
349
+ border: 0;
350
+ margin: 20px 0;
351
+ height: 1px;
352
+ }
353
+
354
+ body,
355
+ .admin-wrapper .content {
356
+ .muted-hint {
357
+ color: $darker-text-color;
358
+
359
+ a {
360
+ color: $highlight-text-color;
361
+ }
362
+ }
363
+
364
+ .positive-hint {
365
+ color: $valid-value-color;
366
+ font-weight: 500;
367
+ }
368
+
369
+ .negative-hint {
370
+ color: $error-value-color;
371
+ font-weight: 500;
372
+ }
373
+
374
+ .neutral-hint {
375
+ color: $dark-text-color;
376
+ font-weight: 500;
377
+ }
378
+
379
+ .warning-hint {
380
+ color: $gold-star;
381
+ font-weight: 500;
382
+ }
383
+ }
384
+
385
+ .filters {
386
+ display: flex;
387
+ flex-wrap: wrap;
388
+
389
+ .filter-subset {
390
+ flex: 0 0 auto;
391
+ margin: 0 40px 20px 0;
392
+
393
+ &:last-child {
394
+ margin-bottom: 30px;
395
+ }
396
+
397
+ ul {
398
+ margin-top: 5px;
399
+ list-style: none;
400
+
401
+ li {
402
+ display: inline-block;
403
+ margin-right: 5px;
404
+ }
405
+ }
406
+
407
+ strong {
408
+ font-weight: 500;
409
+ text-transform: uppercase;
410
+ font-size: 12px;
411
+
412
+ @each $lang in $cjk-langs {
413
+ &:lang(#{$lang}) {
414
+ font-weight: 700;
415
+ }
416
+ }
417
+ }
418
+
419
+ &--with-select strong {
420
+ display: block;
421
+ margin-bottom: 10px;
422
+ }
423
+
424
+ a {
425
+ display: inline-block;
426
+ color: $darker-text-color;
427
+ text-decoration: none;
428
+ text-transform: uppercase;
429
+ font-size: 12px;
430
+ font-weight: 500;
431
+ border-bottom: 2px solid $ui-base-color;
432
+
433
+ &:hover {
434
+ color: $primary-text-color;
435
+ border-bottom: 2px solid lighten($ui-base-color, 5%);
436
+ }
437
+
438
+ &.selected {
439
+ color: $highlight-text-color;
440
+ border-bottom: 2px solid $ui-highlight-color;
441
+ }
442
+ }
443
+ }
444
+ }
445
+
446
+ .report-accounts {
447
+ display: flex;
448
+ flex-wrap: wrap;
449
+ margin-bottom: 20px;
450
+ }
451
+
452
+ .report-accounts__item {
453
+ display: flex;
454
+ flex: 250px;
455
+ flex-direction: column;
456
+ margin: 0 5px;
457
+
458
+ & > strong {
459
+ display: block;
460
+ margin: 0 0 10px -5px;
461
+ font-weight: 500;
462
+ font-size: 14px;
463
+ line-height: 18px;
464
+ color: $secondary-text-color;
465
+
466
+ @each $lang in $cjk-langs {
467
+ &:lang(#{$lang}) {
468
+ font-weight: 700;
469
+ }
470
+ }
471
+ }
472
+
473
+ .account-card {
474
+ flex: 1 1 auto;
475
+ }
476
+ }
477
+
478
+ .report-status,
479
+ .account-status {
480
+ display: flex;
481
+ margin-bottom: 10px;
482
+
483
+ .activity-stream {
484
+ flex: 2 0 0;
485
+ margin-right: 20px;
486
+ max-width: calc(100% - 60px);
487
+
488
+ .entry {
489
+ border-radius: 4px;
490
+ }
491
+ }
492
+ }
493
+
494
+ .report-status__actions,
495
+ .account-status__actions {
496
+ flex: 0 0 auto;
497
+ display: flex;
498
+ flex-direction: column;
499
+
500
+ .icon-button {
501
+ font-size: 24px;
502
+ width: 24px;
503
+ text-align: center;
504
+ margin-bottom: 10px;
505
+ }
506
+ }
507
+
508
+ .simple_form.new_report_note,
509
+ .simple_form.new_account_moderation_note {
510
+ max-width: 100%;
511
+ }
512
+
513
+ .simple_form {
514
+ .actions {
515
+ margin-top: 15px;
516
+ }
517
+
518
+ .button {
519
+ font-size: 15px;
520
+ }
521
+ }
522
+
523
+ .batch-form-box {
524
+ display: flex;
525
+ flex-wrap: wrap;
526
+ margin-bottom: 5px;
527
+
528
+ #form_status_batch_action {
529
+ margin: 0 5px 5px 0;
530
+ font-size: 14px;
531
+ }
532
+
533
+ input.button {
534
+ margin: 0 5px 5px 0;
535
+ }
536
+
537
+ .media-spoiler-toggle-buttons {
538
+ margin-left: auto;
539
+
540
+ .button {
541
+ overflow: visible;
542
+ margin: 0 0 5px 5px;
543
+ float: right;
544
+ }
545
+ }
546
+ }
547
+
548
+ .back-link {
549
+ margin-bottom: 10px;
550
+ font-size: 14px;
551
+
552
+ a {
553
+ color: $highlight-text-color;
554
+ text-decoration: none;
555
+
556
+ &:hover {
557
+ text-decoration: underline;
558
+ }
559
+ }
560
+ }
561
+
562
+ .special-action-button,
563
+ .back-link {
564
+ text-align: right;
565
+ flex: 1 1 auto;
566
+ }
567
+
568
+ .action-buttons {
569
+ display: flex;
570
+ overflow: hidden;
571
+ justify-content: space-between;
572
+ }
573
+
574
+ .spacer {
575
+ flex: 1 1 auto;
576
+ }
577
+
578
+ .log-entry {
579
+ line-height: 20px;
580
+ padding: 15px 0;
581
+ background: $ui-base-color;
582
+ border-bottom: 1px solid lighten($ui-base-color, 4%);
583
+
584
+ &:last-child {
585
+ border-bottom: 0;
586
+ }
587
+
588
+ &__header {
589
+ display: flex;
590
+ justify-content: flex-start;
591
+ align-items: center;
592
+ color: $darker-text-color;
593
+ font-size: 14px;
594
+ padding: 0 10px;
595
+ }
596
+
597
+ &__avatar {
598
+ margin-right: 10px;
599
+
600
+ .avatar {
601
+ display: block;
602
+ margin: 0;
603
+ border-radius: 50%;
604
+ width: 40px;
605
+ height: 40px;
606
+ }
607
+ }
608
+
609
+ &__content {
610
+ max-width: calc(100% - 90px);
611
+ }
612
+
613
+ &__title {
614
+ word-wrap: break-word;
615
+ }
616
+
617
+ &__timestamp {
618
+ color: $dark-text-color;
619
+ }
620
+
621
+ a,
622
+ .username,
623
+ .target {
624
+ color: $secondary-text-color;
625
+ text-decoration: none;
626
+ font-weight: 500;
627
+ }
628
+ }
629
+
630
+ a.name-tag,
631
+ .name-tag,
632
+ a.inline-name-tag,
633
+ .inline-name-tag {
634
+ text-decoration: none;
635
+ color: $secondary-text-color;
636
+
637
+ .username {
638
+ font-weight: 500;
639
+ }
640
+
641
+ &.suspended {
642
+ .username {
643
+ text-decoration: line-through;
644
+ color: lighten($error-red, 12%);
645
+ }
646
+
647
+ .avatar {
648
+ filter: grayscale(100%);
649
+ opacity: 0.8;
650
+ }
651
+ }
652
+ }
653
+
654
+ a.name-tag,
655
+ .name-tag {
656
+ display: flex;
657
+ align-items: center;
658
+
659
+ .avatar {
660
+ display: block;
661
+ margin: 0;
662
+ margin-right: 5px;
663
+ border-radius: 50%;
664
+ }
665
+
666
+ &.suspended {
667
+ .avatar {
668
+ filter: grayscale(100%);
669
+ opacity: 0.8;
670
+ }
671
+ }
672
+ }
673
+
674
+ .speech-bubble {
675
+ margin-bottom: 20px;
676
+ border-left: 4px solid $ui-highlight-color;
677
+
678
+ &.positive {
679
+ border-left-color: $success-green;
680
+ }
681
+
682
+ &.negative {
683
+ border-left-color: lighten($error-red, 12%);
684
+ }
685
+
686
+ &.warning {
687
+ border-left-color: $gold-star;
688
+ }
689
+
690
+ &__bubble {
691
+ padding: 16px;
692
+ padding-left: 14px;
693
+ font-size: 15px;
694
+ line-height: 20px;
695
+ border-radius: 4px 4px 4px 0;
696
+ position: relative;
697
+ font-weight: 500;
698
+
699
+ a {
700
+ color: $darker-text-color;
701
+ }
702
+ }
703
+
704
+ &__owner {
705
+ padding: 8px;
706
+ padding-left: 12px;
707
+ }
708
+
709
+ time {
710
+ color: $dark-text-color;
711
+ }
712
+ }
713
+
714
+ .report-card {
715
+ background: $ui-base-color;
716
+ border-radius: 4px;
717
+ margin-bottom: 20px;
718
+
719
+ &__profile {
720
+ display: flex;
721
+ justify-content: space-between;
722
+ align-items: center;
723
+ padding: 15px;
724
+
725
+ .account {
726
+ padding: 0;
727
+ border: 0;
728
+
729
+ &__avatar-wrapper {
730
+ margin-left: 0;
731
+ }
732
+ }
733
+
734
+ &__stats {
735
+ flex: 0 0 auto;
736
+ font-weight: 500;
737
+ color: $darker-text-color;
738
+ text-transform: uppercase;
739
+ text-align: right;
740
+
741
+ a {
742
+ color: inherit;
743
+ text-decoration: none;
744
+
745
+ &:focus,
746
+ &:hover,
747
+ &:active {
748
+ color: lighten($darker-text-color, 8%);
749
+ }
750
+ }
751
+
752
+ .red {
753
+ color: $error-value-color;
754
+ }
755
+ }
756
+ }
757
+
758
+ &__summary {
759
+ &__item {
760
+ display: flex;
761
+ justify-content: flex-start;
762
+ border-top: 1px solid darken($ui-base-color, 4%);
763
+
764
+ &:hover {
765
+ background: lighten($ui-base-color, 2%);
766
+ }
767
+
768
+ &__reported-by,
769
+ &__assigned {
770
+ padding: 15px;
771
+ flex: 0 0 auto;
772
+ box-sizing: border-box;
773
+ width: 150px;
774
+ color: $darker-text-color;
775
+
776
+ &,
777
+ .username {
778
+ white-space: nowrap;
779
+ overflow: hidden;
780
+ text-overflow: ellipsis;
781
+ }
782
+ }
783
+
784
+ &__content {
785
+ flex: 1 1 auto;
786
+ max-width: calc(100% - 300px);
787
+
788
+ &__icon {
789
+ color: $dark-text-color;
790
+ margin-right: 4px;
791
+ font-weight: 500;
792
+ }
793
+ }
794
+
795
+ &__content a {
796
+ display: block;
797
+ box-sizing: border-box;
798
+ width: 100%;
799
+ padding: 15px;
800
+ text-decoration: none;
801
+ color: $darker-text-color;
802
+ }
803
+ }
804
+ }
805
+ }
806
+
807
+ .one-line {
808
+ white-space: nowrap;
809
+ overflow: hidden;
810
+ text-overflow: ellipsis;
811
+ }
812
+
813
+ .ellipsized-ip {
814
+ display: inline-block;
815
+ max-width: 120px;
816
+ overflow: hidden;
817
+ text-overflow: ellipsis;
818
+ vertical-align: middle;
819
+ }
820
+
821
+ .admin-account-bio {
822
+ display: flex;
823
+ flex-wrap: wrap;
824
+ margin: 0 -5px;
825
+ margin-top: 20px;
826
+
827
+ > div {
828
+ box-sizing: border-box;
829
+ padding: 0 5px;
830
+ margin-bottom: 10px;
831
+ flex: 1 0 50%;
832
+ }
833
+
834
+ .account__header__fields,
835
+ .account__header__content {
836
+ background: lighten($ui-base-color, 8%);
837
+ border-radius: 4px;
838
+ height: 100%;
839
+ }
840
+
841
+ .account__header__fields {
842
+ margin: 0;
843
+ border: 0;
844
+
845
+ a {
846
+ color: lighten($ui-highlight-color, 8%);
847
+ }
848
+
849
+ dl:first-child .verified {
850
+ border-radius: 0 4px 0 0;
851
+ }
852
+
853
+ .verified a {
854
+ color: $valid-value-color;
855
+ }
856
+ }
857
+
858
+ .account__header__content {
859
+ box-sizing: border-box;
860
+ padding: 20px;
861
+ color: $primary-text-color;
862
+ }
863
+ }
864
+
865
+ .center-text {
866
+ text-align: center;
867
+ }
868
+
869
+ .announcements-list {
870
+ border: 1px solid lighten($ui-base-color, 4%);
871
+ border-radius: 4px;
872
+
873
+ &__item {
874
+ padding: 15px 0;
875
+ background: $ui-base-color;
876
+ border-bottom: 1px solid lighten($ui-base-color, 4%);
877
+
878
+ &__title {
879
+ padding: 0 15px;
880
+ display: block;
881
+ font-weight: 500;
882
+ font-size: 18px;
883
+ line-height: 1.5;
884
+ color: $secondary-text-color;
885
+ text-decoration: none;
886
+ margin-bottom: 10px;
887
+
888
+ &:hover,
889
+ &:focus,
890
+ &:active {
891
+ color: $primary-text-color;
892
+ }
893
+ }
894
+
895
+ &__meta {
896
+ padding: 0 15px;
897
+ color: $dark-text-color;
898
+ }
899
+
900
+ &__action-bar {
901
+ display: flex;
902
+ justify-content: space-between;
903
+ align-items: center;
904
+ }
905
+
906
+ &:last-child {
907
+ border-bottom: 0;
908
+ }
909
+ }
910
+ }
911
+
912
+ .account-badges {
913
+ margin: -2px 0;
914
+ }
915
+
916
+ .dashboard__counters.admin-account-counters {
917
+ margin-top: 10px;
918
+ }