forked from vednoc/dark-whatsapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWhatsApp.user.css
1352 lines (1213 loc) · 40.3 KB
/
WhatsApp.user.css
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
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* ==UserStyle==
@name WhatsApp Dark »Onyx«
@description A customizable theme for WhatsApp.
@namespace github.com/runxel/onyx
@homepageURL https://github.com/runxel/onyx
@supportURL https://github.com/runxel/onyx/issues
@updateURL https://rawgit.com/runxel/onyx/master/WhatsApp.user.css
@version 2.0.1
@author runxel
@license MIT
@preprocessor uso
@var color dark "Dark" #272c35
@var color darker "Darker" #1f232a
@var color bgcol "Background" #101318
@var color light "Light" #d1d1d1
@var color lighter "Lighter" #e9e9e9
@var color accent "Accent" #5792ff
@var color accent2 "Accent 2" #09d261
@var color icon "Icons" #e1e1e1
@var color shadow "Shadow" rgba(0,0,0,0.12)
@var color mred "Red-ish" #dd3b4f
@var color mgreen "Green-ish" #70A352
@var color mblue "Blue-ish" #527AA3
@var text emojiOpacity "Emoji opacity" 0.75
@var text customImage "Custom image" url(replace-with-image-address)
@var text customRules "Custom CSS rules" #test::after { content: "paste all your custom css here!" !important; }
@var text customFonts "Custom fonts" "'custom-font', 'Segoe UI', 'Helvetica Neue', 'Helvetica', 'Lucida Grande', 'Arial', 'Ubuntu', 'Cantarell', 'Fira Sans',"
@var text customCompact "Compact mode breakpoint" 720px
@advanced dropdown background "App background" {
bg1 "Default theme image" <<<EOT
#app > div::after {
top: 0px; right: 0px;
bottom: 0px; left: 0px;
height: auto; width: auto;
background-color: var(--bgcol) !important;
background-image: var(--image) !important;
background-repeat: no-repeat;
background-size: cover;
background-position: center; } EOT;
bg2 "Your custom image" <<<EOT
#app > div::after {
top: 0px; right: 0px;
bottom: 0px; left: 0px;
height: auto; width: auto;
background-color: var(--bgcol) !important;
background-image: /*[[customImage]]*\/ !important;
background-repeat: no-repeat;
background-size: cover;
background-position: center; } EOT;
bg3 "Default WA image" <<<EOT
#app > div::after {
opacity: var(--emojiOpacity) !important;
background-color: var(--accent) !important; } EOT;
bg4 "No image" <<<EOT
#app > div::after {
display: none !important; } EOT;
}
@advanced dropdown doodles "Chat doodles" {
doodle1 "Light doodles" <<<EOT
#app [data-asset-chat-background="true"] {
filter: invert(100%) opacity(0.45) !important; } EOT;
doodle2 "Dark doodles" <<<EOT
#app [data-asset-chat-background="true"] {
filter: opacity(0.5) !important; } EOT;
doodle3 "Disable doodles" <<<EOT
#app [data-asset-chat-background="true"] {
display: none !important; } EOT;
}
@advanced dropdown blurContacts "Blur contacts" {
disable "Disable" <<<EOT
/* Disabled. *\/
EOT;
enable "Enable" <<<EOT
/* Blurry mode for contacts. *\/
#pane-side [style*="height"] > div > div[class] {
filter: blur(8px); }
#pane-side [style*="height"] > div > div._3mMX1,
#pane-side [style*="height"] > div > div:hover {
filter: blur(0px); } EOT;
}
@advanced dropdown blurImages "Blur images" {
disable "Disable" <<<EOT
/* Disabled. *\/
EOT;
enable "Enable" <<<EOT
/* Blurry mode for images. *\/
#main [style*="height"] > img {
transition: 500ms ease-in-out;
transition-delay: 0ms;
filter: blur(10px) grayscale(100%); }
/* On event. *\/
#main [style*="height"] > img:hover {
transition-delay: 500ms;
filter: blur(0px) grayscale(0%); } EOT;
}
@advanced dropdown fullscreen "Fullscreen mode" {
disable "Disable" <<<EOT
/* Disabled. *\/
EOT;
enable "Enable" <<<EOT
/* Fullscreen. *\/
#app > div > .app,
#app > div > span [data-animate-status-v3-modal-background] > div {
height: calc(100% - 0px);
top: 0px;
width: 100%; }
/* Outline and round edges. *\/
#app .app {
box-shadow: none !important;
border-radius: 0px; }
/* Disable background image. *\/
#app > div::after {
display: none !important; } EOT;
}
@advanced dropdown tails "Message tails" {
enable "Enable" <<<EOT
/* Enabled. *\/
EOT;
disable "Disable" <<<EOT
.tail-container {
display: none !important; }
.tail {
border-radius: 7.5px !important; } EOT;
}
@advanced dropdown tails "Nag screen: Inform about new messages" {
enable "Enable" <<<EOT
/* Enabled. *\/
EOT;
disable "Disable" <<<EOT
._3O0po {
display: none !important; } EOT;
}
@advanced dropdown compactMode "Compact mode for small resolutions" {
enable "Enable" <<<EOT
@media screen and (max-height: 500px) {
/* App height reset. *\/
#app > div > .app { min-height: auto; }
}
@media screen and (max-width:/*[[customCompact]]*\/) {
/*.app > div { box-shadow: 0 0 0 2px inset var(--accent); } *\/
/* Fix header width hiding icons. *\/
#side > header { min-width: 240px; }
/* Hide notifications. *\/
#side > header + span { display: none }
/* Contacts *\/
.app > div:nth-child(3) {
transition: 0;
flex: 0 0 75px !important; }
.app > div:nth-child(3):hover {
transition-delay: 0.99s;
flex: 0 0 40% !important; }
/* Search bar width. *\/
.ZP8RM:not(._19OGD) label {
padding: 0px; }
/* Contact list reset when right is active. *\/
.app.three > div:nth-child(3) {
flex: 0 0 75px !important;
margin-left: -75px !important; }
/* Chat section. *\/
._1Iexl {
flex: 0 0 65% !important; }
/* On hover or active sub-menus. *\/
.app.two > .k1feT:hover,
.MZIyP .k1feT {
transition-delay: 1s !important;
/* TODO: Adjust panel width. *\/
flex: 0 0 30% !important; }
/* Info flexbox. *\/
.three ._3HZor {
width: calc(100% - 75px) !important;
left: 75px !important; }
/* Chat flexbox. *\/
.two > ._1Iexl {
margin: 0 !important;
flex: 0 0 calc(100% - 75px) !important; }
/* Search contacts. *\/
.two .k1feT:not(:hover) ._2MSJr {
padding: 0; }
/* On hover. *\/
.two .k1feT:hover ._2MSJr {
transition-delay: 1s !important; }
/** Hack for positioning unread counter. *\/
#side:not(:hover) ._3j7s9 ._1AwDx ._3Bxar span > div {
z-index: 101;
position: absolute; }
/* ? Unread counter. *\/
#side:not(:hover) div > .OUeyt {
height: 18px;
padding: 0 5px 0 5px;
margin: -5px 0 0 -35px;
background-color: var(--dark) !important;
box-shadow: 0 0 0 3px var(--darker) !important; }
/* On event. *\/
/*#side:hover div > .OUeyt {
background-color: var(--dark) !important;
box-shadow: 0 0 0 3px var(--darker) !important; }*\/
/* ? Message status. *\/
.two .k1feT ._3j7s9 ._1VfKB {
z-index: 101;
position: absolute;
margin-left: -68px;
margin-top: 5px;
border-radius: 50%;
background-color: var(--dark);
box-shadow: 0 0 0 3px var(--darker); }
/* Background on event. *\/
.two .k1feT ._2EXPL:hover ._1VfKB,
.two .k1feT ._2EXPL._1f1zm ._1VfKB {
background-color: var(--darker);
box-shadow: 0 0 0 3px var(--dark) !important; }
/** Icon size. *\/
.two .k1feT ._3j7s9 ._1VfKB span > svg {
padding: 2px;
height: 14px !important;
width: 14px !important; }
/* Hide all icons except new messages. *\/
.two .k1feT ._15G96 span:not(.OUeyt),
.two .k1feT .ZR5SB {
display: none !important; }
}
@media screen and (max-width: 720px) {
/* Width overflow fix. *\/
._3dqpi {
min-width: 100%; }
/* On hover or active sub-menus. *\/
.app.two > .k1feT:hover,
.MZIyP .k1feT {
transition-delay: 1s !important;
flex: 0 0 40% !important; }
} EOT;
disable "Disable" <<<EOT
/* Disabled. *\/
EOT;
}
==/UserStyle== */
@-moz-document domain("web.whatsapp.com") {
:root {
--dark: /*[[dark]]*/;
--darker: /*[[darker]]*/;
--bgcol: /*[[bgcol]]*/;
--light: /*[[light]]*/;
--lighter: /*[[lighter]]*/;
--accent: /*[[accent]]*/;
--accent2: /*[[accent2]]*/;
--icon: /*[[icon]]*/;
--shadow: /*[[shadow]]*/;
--mred: /*[[mred]]*/;
--mgreen: /*[[mgreen]]*/;
--mblue: /*[[mblue]]*/;
--image: url(https://media.discordapp.net/attachments/310799529161129984/417408747812552715/zilesanamin.jpg);
--emojiOpacity: /*[[emojiOpacity]]*/;
}
/* Body reset. */
body {
font-family: /*[[customFonts]]*/ sans-serif;
background: none;
background-color: var(--bgcol); }
/* Scrollbar track. */
*::-webkit-scrollbar-track {
background-color: var(--shadow); }
/* Scrollbar thumb. */
*::-webkit-scrollbar-thumb {
background-color: var(--accent); }
* {
scrollbar-width: thin;
scrollbar-color: var(--accent) var(--shadow); }
/* Highlight selection. */
::selection {
color: var(--light) !important;
background-color: var(--accent) !important; }
::-moz-selection {
color: var(--light) !important;
background-color: var(--accent) !important; }
/* Input placeholders. */
::-webkit-input-placeholder {
color: var(--lighter) !important; }
/* Progress. */
progress[value]::-webkit-progress-bar {
background: var(--darker); }
/* Value. */
progress[value]::-webkit-progress-value {
background: var(--accent); }
progress {
background: var(--darker); }
::-moz-progress-bar {
background: var(--accent) !important; }
/* App wrapper. */
#app .app {
background: none;
background-color: var(--dark); }
/* Accent background. */
.app-wrapper::after {
background: none !important; }
/* Log-in page. */
.landing-wrapper::before {
opacity: 0.6;
background-color: var(--accent) !important; }
.landing-window {
border-radius: 4px !important;
border: 1px solid var(--shadow);
box-shadow: 0 8px 32px 0 var(--shadow) !important;
background-color: var(--darker) !important; }
.landing-main + div {
background-color: var(--darker) !important; }
.landing-main + div img:not(:hover) {
opacity: 0.3; }
/* Text color. */
.landing-main * {
color: var(--light); }
/* Reload QR code. */
._1MOym {
background-color: var(--darker) !important; }
._3PxOr rect {
fill: var(--dark) !important; }
/* Fix QR code. */
[alt="Scan me!"] {
border: 2px solid white !important; }
/* Loader. */
#startup svg > circle {
stroke: var(--lighter) !important; }
/* Logo colors. */
span._3PxOr svg path:nth-child(1) {
fill: var(--dark) !important; }
/* Landing page. */
.app .iFKgT {
border: none;
background-color: var(--dark) !important; }
/* Image. */
.app .iFKgT [data-asset-intro-image] {
max-width: 200px;
max-height: 200px;
border-radius: 50%;
filter: opacity(/*[[emojiOpacity]]*/);
transition: opacity 1s ease !important; }
/* Text color. */
.app .iFKgT * {
color: var(--light); }
/* Accent bar. */
.app .iFKgT::after {
border-top-color: var(--accent) !important; }
/* Hide the text. */
.iFKgT ._3mkas { font-size: 0px; }
/** Theme note. */
.app .iFKgT ._3mkas::before {
display: block;
margin-bottom: -20px;
font-size: 16px;
content: var(--message) var(--changes) !important;
}
/** Theme info. */
.app .iFKgT ._3mkas::after {
display: block;
margin-top: 10px;
padding-top: 10px;
font-size: 16px;
content: var(--version) !important;
border-top: 1px solid var(--darker);
}
/* Left drawer. */
#app .app #side {
background-color: var(--darker); }
/* Chat list. */
#side > header {
background-color: var(--darker) !important; }
/* Enable notifications. */
#side ._2GB6m {
background-color: var(--accent) !important; }
/* Low battery. */
#side ._2t3oV {
background-color: var(--mred) !important; }
/* Phone not connected. */
#side ._1puWZ {
background-color: var(--mred) !important; }
/* Text color. */
#side ._2GB6m *,
#side ._1puWZ * {
color: var(--lighter); }
/* Global -> Search. */
._2HS9r {
border-bottom: 0px solid var(--dark);
background-color: var(--darker) !important;
background-color: transparent !important; }
/* Label background. */
.ZP8RM label, .ZP8RM._19OGD {
border: 0px solid var(--dark);
background-color: var(--dark) !important; }
/* Input element. */
.ZP8RM label input {
color: var(--light);
background-color: transparent; }
.ZP8RM::after,
.ZP8RM > div::after {
border-color: var(--darker) !important;
background-color: var(--dark) !important; }
/* New group and group info buttons. */
._11p3Q, .r7sRK, ._8-yzK {
/* box-shadow: 0 0 8px -1px var(--shadow) !important; */
color: var(--accent) !important;
background-color: transparent !important; }
/* Hide borders. */
._2DxRd {
border-color: var(--darker) !important; }
/* Search results. */
#side ._1AKfk {
color: var(--accent);
background-color: var(--dark); }
/* Matching results. */
#side .matched-text {
color: var(--accent) !important; }
/* Contacts wrapper. */
#pane-side, ._11GZy ._2UaNq {
background-color: transparent !important; }
/* Contacts. */
._2UaNq, ._11GZy ._26JG5 {
transition: 200ms ease-in-out;
background-color: transparent !important; }
/* On event. */
._2UaNq._3mMX1, ._2UaNq:hover {
background-color: var(--dark) !important; }
/* Text color. */
._2UaNq * {
color: var(--light); }
/* Borders. */
._2UaNq::after, ._2WP9Q {
border-color: transparent !important; }
/* Avatar wrapper background. */
._3RWII {
box-shadow: 0 0 8px -1px var(--shadow) !important;
background-color: transparent !important; }
/* New message indicator. */
#side .P6z4j {
color: var(--lighter) !important;
background-color: var(--accent) !important; }
/* Settings. */
._11GZy, ._1KDYa {
background-color: var(--darker) !important; }
/* Header color. */
._11GZy header, ._1KDYa header {
min-height: 50px;
height: auto;
background-color: var(--darker) !important; }
/* Reset header height. */
._11GZy header > div:first-child {
padding: 12px 0 !important;
height: auto; }
/* Reset header title in left/right drawers. */
._11GZy ._1xGbt {
margin-top: 2px !important;
font-size: 16px; }
/* Transparent sections. */
._11GZy ._1CRb5, ._1KDYa ._2LSbZ {
box-shadow: none !important;
background-color: transparent !important; }
/* Highlighted sections. */
._11GZy ._3hhmj ._1CkkN {
background-color: var(--darker) !important; }
/* Change profile picture. */
._11GZy .WX_XW, ._11GZy ._2Lbqu, ._1JS2G {
background-color: rgba(0,0,0,0.5) !important; }
/* Text color. */
._11GZy * {
color: var(--light); }
/*// Zoom in/out. */
._2LALH {
background-color: var(--dark) !important; }
/* Input element. */
._5UNoc ._3hnO5 { border-color: var(--accent) !important; }
/* Take a new profile picture. */
._2HyTU {
background-color: var(--darker) !important; }
/* Confirm button. */
._2HyTU ._1g8sv {
box-shadow: 0 2px 4px 0 var(--shadow) !important;
background-color: var(--accent) !important; }
/* Option/select elements. */
select {
color: var(--light);
border-color: var(--accent); }
select option { background-color: var(--dark); }
/* Archived chat image. */
._2fq0t ._2Lev2 {
background-color: var(--dark) !important; }
/* Body. */
._2fq0t ._2sNbV ._1CkkN,
._2fq0t ._2sNbV ._2EXPL {
background-color: transparent; }
/* On event. TODO: Fixed, but it might still overlap somewhere. */
.k1feT ._2sNbV > ._1CkkN:hover,
._2fq0t ._2sNbV ._1CkkN:hover {
background-color: var(--dark); }
/* New group. */
._2fq0t ._39pS- {
background-color: transparent !important; }
/* Header. */
._2fq0t ._1AKfk {
background-color: var(--darker) !important; }
/* On event. */
.k1feT ._2fq0t ._2EXPL._1f1zm,
.k1feT ._2fq0t ._2EXPL:hover {
background-color: var(--dark) !important; }
/* Search element */
._66JgU ._3_3Rs {
border-bottom: none !important; }
._66JgU ._3_3Rs input, ._66JgU ._3_3Rs ::placeholder {
color: var(--lighter) !important; }
/** Context/dropdown menu. */
._2hHc6 {
background-color: var(--darker) !important;
box-shadow: 0 4px 16px 0 var(--shadow) !important; }
._2hHc6 li:hover, ._2hHc6 li:hover div {
color: var(--accent) !important;
background-color: var(--dark) !important; }
._2hHc6 div, ._1ArIP div {
color: var(--light); }
/* Middle drawer. */
#main {
background-color: var(--dark); }
/* Doodle background. TODO: Plans for the future. */
/*[[doodles]]*/
/* Main -> Group description. */
._3jzsh {
background-color: var(--darker) !important; }
/* Text colors. */
._3jzsh ._3GIEC, ._3jzsh ._6xQdq, ._1FWQp {
color: var(--lighter) !important; }
/* Sprachnachricht duration color */
._1FWQp {
color: var(--light) !important; }
/* Jump to present button. */
._3KRbU {
box-shadow: 0 4px 8px 2px var(--shadow) !important;
background-color: var(--darker) !important; }
/* Number of messages. */
._3KRbU > span > span {
background-color: var(--accent) !important; }
/* Header. */
#main header {
border: none;
background-color: var(--dark); }
/* Text color. */
#main header ._1WBXd * {
color: var(--light); }
/* Header text color. #22 */
#main > header > div span[title] {
color: var(--light); }
/* Header separator. */
#main > header::after {
border-bottom-color: var(--darker);
background-color: transparent; }
/* Footer. */
#main footer {
border-top: 1px solid var(--darker);
background-color: var(--darker); }
/* Input wrapper. */
#main footer > div {
color: var(--light);
border: none;
/* border-bottom: 2px solid var(--dark); */
background-color: var(--dark); }
/* Input element. */
#main footer > div:nth-child(1) > div:nth-child(2) {
border: none !important;
color: var(--light);
background-color: var(--darker) !important; }
/* Voice message duration. */
._30ie- {
color: var(--light) !important; }
/* Unknown contact. */
.TYhk9 {
border-color: var(--darker) !important;
background-color: var(--dark) !important;
box-shadow: 0 0px 8px 2px var(--shadow) !important; }
/* Buttons. */
.TYhk9 ._1sB6s {
color: var(--light) !important;
background-color: var(--darker) !important; }
/* Shared contact button colors. */
.b332w {
color: var(--accent) !important; }
/* Shared contact text. */
.AVd_p {
color: var(--lighter) !important; }
/* View contact. */
._36ApL {
background-color: transparent !important; }
/* Hide 'Type a message' once focused. */
._3FeAD.focused div[style] {
color: transparent !important; }
/* Placeholder text color. */
._3FeAD div[style] {
transition: color 0.15s ease;
color: #909090 !important; }
/* Right drawer. */
/* .app ._3HZor ._2fq0t {
background-color: var(--darker); } */
/* Border-color. */
.app ._3HZor {
border-left-color: transparent !important; }
/* Header. */
.app ._3HZor header {
background-color: var(--darker); }
/* Fix header text vertical position. */
.app ._3HZor ._1pYs5 {
margin-top: 4px !important; }
/* Text color. */
.app ._3HZor header div {
color: var(--light); }
/* Mute/starred messages. */
._3_-Si + ._3_-Si ._2x2XP {
border-color: var(--dark) !important; }
/* Group info sections. */
.app ._3HZor ._26JG5, .app ._3HZor ._2UaNq {
/*box-shadow: 0 1px 3px shadow /**/
box-shadow: none;
background-color: transparent; }
.app ._3HZor ._26JG5:hover {
background-color: var(--dark) !important; }
/* Fix borders. */
.app ._3HZor ._27Ie2,
.app ._3HZor ._26JG5::before {
border-color: transparent !important; }
/* User's name. */
.app ._3HZor span {
color: var(--light); }
/** Username colors in group chat. */
.app [class*="color-"] span {
color: inherit !important; }
/* Group options. */
.app ._3HZor ._1CRb5 ._2EXPL,
.app ._3HZor ._1CRb5 ._1CkkN {
transition: 200ms ease-in-out;
background-color: transparent; }
/* On event. */
.app ._3HZor ._1CRb5 ._2EXPL._3xj48:hover,
.app ._3HZor ._1CRb5 ._1CkkN:hover {
background-color: var(--dark); }
/* Text color. */
.app ._3HZor ._1CRb5 ._2EXPL * {
color: var(--light); }
/* Admin color. */
.app ._3HZor .FPZFa {
border: 2px solid var(--accent); }
/* Search messages. TODO: Apply this to all search elements. */
.a5vst, .a5vst .ZP8RM._19OGD /*, ._3HZor ._1iMEz._3sdhb*/ {
background-color: var(--darker) !important; }
/* Input wrapper. */
.a5vst label {
border: 0px solid var(--dark) !important;
background-color: var(--dark) !important; }
.a5vst .ZP8RM::after {
border: none !important;
background-color: var(--dark) !important; }
.a5vst label input {
background-color: transparent !important; }
/* Search messages body. */
.YAPQk {
background-color: var(--darker) !important; }
/* Matching results. */
._3HZor .matched-text {
color: var(--accent) !important; }
/* On event. */
.YAPQk ._1f1zm > ._3j7s9,
.YAPQk ._3j7s9:hover {
background-color: var(--dark) !important; }
/* Search messages. */
#pane-side ._2EXPL {
background-color: transparent !important; }
/* Starred messages. */
._1WMT2 .tail:not(.PJFFv) {
background-color: var(--dark) !important; }
/* Borders. */
._1WMT2::before, ._1WMT2::after {
display: none !important; }
._1WMT2:hover {
transition: 200ms ease-in-out !important;
background-color: var(--darker) !important; }
/* Remove tails. */
._1WMT2 .tail-container {
display: none !important; }
/* Date text color. */
._1WMT2 ._2V2qB {
color: var(--lighter) !important; }
/* Message info. */
#app .app > div:nth-child(2) ._2rGVQ {
background-color: var(--dark) !important; }
/* Doodle image. */
#app .app > div:nth-child(2) [data-asset-chat-background="true"] {
filter: invert(100%) opacity(0.8) !important; }
/* Read by. */
#app .app > div:nth-child(2) ._2AJf5 {
background-color: transparent !important; }
/* Media/docs/links section. */
._3HZor ._3b2Cf {
background-color: var(--darker) !important; }
/* Active indicator. */
._3HZor ._3b2Cf:before {
background-color: var(--accent) !important; }
/* Selected image. */
._2Ry6_ ._2mlDB {
border-color: var(--accent) !important; }
/* Selected links. */
.D6ZWG {
background-color: var(--darker) !important; }
/* Text color. */
.D6ZWG ._1S4i5,
._2Mvo8.fyJXn {
color: var(--lighter); }
/** Media viewer. */
._1iNsf, ._2KgjI {
background-color: transparent !important; }
/* Pseudo-element background. */
._1iNsf::before, ._2KgjI::before {
content: ""; position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
background-color: var(--dark);
opacity: 0.8; z-index: -1; }
/* Chevron/preloader background. */
._3yth3 {
box-shadow: 0 2px 4px -1px var(--shadow) !important;
background-color: var(--darker) !important; }
/* Header. */
._1iNsf > div:first-child,
._2KgjI > div:first-child {
box-shadow: 0 1px 0 0 var(--darker);
background-color: var(--dark) !important; }
/* Inner element. */
._1iNsf > div:first-child > div > div,
._2KgjI > div:first-child > div > div {
background-color: transparent !important; }
/* Text color. */
._1iNsf > div:first-child > div > div *,
._2KgjI > div:first-child > div > div * {
color: var(--light); }
/* Footer. */
._2AP3i {
border-color: var(--darker) !important;
background-color: var(--dark) !important; }
/* Selected image. */
._2AP3i .cJP5q {
border: none !important;
transform: scale(1) !important;
outline: 3px solid var(--accent) !important }
._2AP3i ._1LdNS:hover:not(.cJP5q):not(#spec) {
outline: 3px solid var(--accent) !important; }
/* Message bubbles. */
.message-in:not(.a81-s), .message-out:not(.a81-s), .message {
background-color: var(--darker) !important; }
._2v02G {
color: var(--lighter) !important; }
/* Message text color. */
.message-in .selectable-text,
.message-out .selectable-text,
.quoted-mention,
._1upWv {
color: var(--light) !important; }
/* Use accent color for links. #20 */
a[href].selectable-text {
color: var(--accent) !important; }
/* Forwarded message. */
._15aTv {
color: var(--lighter) !important; }
/* Phone numbers of users that aren't your contacts. */
#main ._1F9Ap {
color: var(--lighter) !important; }
/* Mentions. */
.matched-mention, .matched-mention .at-symbol {
color: var(--accent) !important; }
/* Message meta text color. */
[class*="message-"] div > div:last-child span {
color: var(--light); }
/* Image/gif/video meta wrapper. */
.KYpDv ._1DZAH {
bottom: 8px;
padding: 2px 5px;
border-radius: 4px;
background-color: var(--shadow); }
/* Text color. */
.KYpDv ._1DZAH ._3EFt_ {
margin-top: 0px;
color: var(--lighter); }
/* Message options. */
._3EQsG {
/*transition: 200ms ease-in-out;/**/
background: linear-gradient(to right, transparent 0%, var(--darker) 40%) !important; }
/* Message options for images. */
._3EQsG._1eJVc {
background: none !important; }
/* Smooth transition. */
.message span:last-child div {
transition: 50ms ease-in-out !important; }
/* Typing... */
span._2ZAIy {
color: var(--accent) !important; }
/* System messages. */
.a7otO {
box-shadow: 0 2px 8px 0px var(--shadow) !important;
border-bottom: 3px solid var(--shadow) !important;
background-color: var(--darker) !important; }
/* Text color and shadows. */
.a7otO * {
text-shadow: none !important;
color: var(--lighter) !important; }
/* New message. */
#main ._3Xx0y {
border: none !important;
background-color: var(--darker) !important; }
/* X unread messages. */
#main ._3Xx0y span {
box-shadow: 0 0 8px 0 var(--shadow) !important;
color: var(--light) !important;
background-color: var(--darker) !important; }
/* Loader. */
._2sOZc {
box-shadow: 0 2px 4px -1px var(--shadow) !important;
background-color: var(--darker) !important; }
/* Document embeds. */
._3RQfg ._3a29n {
background-color: var(--dark) !important; }
/* Link embeds. */
._3qblR, ._1SsXF {
box-shadow: 0 0 0 1px var(--dark) !important;
background-color: var(--dark) !important; }
/* Thumbnail. */
._3_nIn {
background-color: var(--darker) !important; }
/* Reply section. (= */
footer ._1ebw2 {
box-shadow: 0 0px 8px 0 var(--darker) !important;
background-color: var(--darker) !important; }
/* Fix margins. */
footer ._1ebw2 > div:first-child {
margin: 0 0 5px 10px !important;
background-color: transparent !important; }
/* Reply content. */
footer ._1ebw2 > div:first-child > div {
background-color: var(--dark) !important; }
/* Close button. */
footer ._1ebw2 > div:last-child {
position: relative;
margin: 0 8px 5px 8px !important;
background-color: transparent !important; }
/* Make the button larger. */
footer ._1ebw2 > div:last-child > div svg {
padding: 18px;
border-radius: 6px;
background-color: var(--dark); }
/* Mention group members. */
._2j-wI, .XSeqj {
color: var(--light);
border-left: none !important;
background-color: var(--dark) !important; }
/* Wrapper. */
._2j-wI .XSeqj {
transition: 300ms ease-in-out !important;
background-color: transparent !important; }
/* Active. */
._2j-wI .XSeqj._1Yz8K,
._2j-wI .XSeqj:hover {
background-color: var(--darker) !important; }
/* Select messages. */
#main ._2AqZl {
background-color: var(--shadow); }
/* Hover over messages. */
#main .qTFAl {
transition: 0.15s ease-in-out !important; }
/* Selected message. */
#main .qTFAl:hover, #main .qTFAl._3Z2tD {
background-color: var(--shadow) !important; }
/* Selected icon. */
#main ._15wNI {
border-color: var(--accent) !important;
background-color: var(--accent) !important; }
/* Checkmark. */
#main ._15wNI ._1ygtt {
border-bottom-color: var(--accent);
border-right-color: var(--accent); }
/* Footer/control/options. */
#main ._1hhkM {
background-color: var(--darker); }
/* Bubble tails -- experimental. */
.tail .tail-container {
width: 0px !important;
height: 10px !important;
z-index: 0 !important;
border-top: 12px solid var(--darker);
background: none !important; }
.tail.message-in .tail-container {
left: -10px !important; top: 0px;
border-left: 10px solid transparent;
border-radius: 5px 0 0 0; }
.tail.message-out .tail-container {
right: -10px !important; top: 0px;
border-right: 10px solid transparent;
border-radius: 0 5px 0 0; }
/* Disable tails everywhere. */
/*[[tails]]*/
/* Disable tails everywhere except in chat. */
.starred-msg-wrapper .tail-container,
.message-gallery .tail-container,
.MS-DH .tail-container {
display: none !important; }
/* Rounded corners. */
.message-gallery.tail-override-left,