-
Notifications
You must be signed in to change notification settings - Fork 0
/
google.scss
1345 lines (1317 loc) · 32.1 KB
/
google.scss
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
// @import "/home/kip/.cache/wal/colors.scss";
@import "colors.scss";
// checkc "INFO" tags in file when applying to colorcheme
// It's filter adjasment most of time (like hue rotate)
$main-background-color: $color0;
$background-dark: darken($main-background-color, 5%);
/* used to separate sections from each other (like borders) */
$background-light: lighten($main-background-color, 18%);
$light: $color15;
$grey: lighten($color8, 00%);
$link-color: $color2;
$stress1: $color1; /* current opened tab in repository */
$stress2: $color9; /* hi last commiter name */
$stress3: $color12;
$stress4: $color2;
/* color when you need to emphasize some section (neighter it's button
* or heading to something */
// $section-emph-border: lighten($color1, 5%);
$section-emph-border: lighten($color11, 0%);
$section-emph-background: darken($color11, 55%);
$sel-background: darken($color8, 25%);
// $sel-background: #ff0000;
$button-border-hover: #8d969e;
$debug: #7a5178;
body
{
color: $light !important;
}
// links to cite
cite, cite a:link, cite a:visited
{
color: $light !important;
}
// general for all cites {{{
// just becouse I hate how some companies implement this, I turn off any
// text decoration from links (your cursor might still show
// available clicks)
a, a:visited, a:link, a[href]
{
text-decoration: none !important;
color: $link-color !important;
&:hover
{
color: lighten($link-color, 10%) !important;
}
h3
{
text-decoration: none !important;
color: $link-color !important;
&:hover
{
color: lighten($link-color, 10%) !important;
}
}
}
// }}}
// welcom page {{{
// section in the bottom {{{
#fbar
{
border-color: $background-light !important;
background-color: $background-dark !important;
// region (Russia)
.fbar div
{
color: $light !important;
border-color: $background-light !important;
}
// information about google
.fbar span#fsr,
.fbar span#fsl
{
color: $grey !important;
}
// idk for now for what this section is, but it creates the border
.b2hzT
{
border-color: $background-light !important;
}
}
// }}}
// main content of the page {{{
// main background in google starting page
div.ctr-p
{
background-color: $main-background-color !important;
// "Mail", "Pictures" in top right corner of google main page
.gb_Ta .gb_h .gb_g
{
color: $light !important;
}
.gb_Ta .gb_i .gb_D
{
color: $light !important;
filter: invert(100%);
}
// image
div#hplogo img
{
// INFO: you'll need to find out this value
filter: invert(85.09%);
}
// input field
div.RNNXgb
{
background-color: $background-dark !important;
border-color: $background-light !important;
// inputted text
input.gLFyf
{
color: $light !important;
text-decoration: none !important;
&::spelling-error
{
text-decoration: none !important;
}
}
&:hover
{
border-color: $background-light !important;
}
// delimiter between user input and keyboard icon
span.FqnKTc
{
border-color: $background-light !important;
}
}
// suggestions to input
div.aajZCb
{
// container for entries
background-color: $background-dark !important;
border-left: 1px solid $background-light !important;
border-right: 1px solid $background-light !important;
border-bottom: 1px solid $background-light !important;
// border between user input and suggestions
div.xtSCL
{
border-color: $background-light !important;
}
// entries
ul.erkvQe li
{
background-color: $background-dark !important;
span
{
color: $light !important;
}
&:hover
{
background-color: $sel-background !important;
}
}
// "Search in Google", "I'll be lucky"
div.tfB0Bf input
{
background: none !important;
background-color: $background-dark !important;
color: $light !important;
border-color: $background-light !important;
&:hover
{
border-color: $button-border-hover !important;
}
}
}
// "Search in Google", "I'll be lucky"
div.FPdoLc input
{
background-image: none !important;
background-color: $background-dark !important;
color: $light !important;
border-color: $background-light !important;
&:hover
{
border-color: $button-border-hover !important;
}
}
// "Enter" button
a.gb_je.gb_4
{
background: none !important;
background-color: $section-emph-background !important;
border-color: $section-emph-border !important;
}
}
// }}}
// dropdown menu for other google applications {{{
body.EIlDfe .EHzcec.eejsDc
{
background-color: $main-background-color !important;
color: $light !important;
// hovering over one of the items in google applications
li.j1ei8c:hover
{
border-radius: 10px !important;
background-color: $sel-background !important;
}
a.tX9u1b:hover
{
background-color: $sel-background !important;
span.Rq5Gcb
{
background-color: $sel-background !important;
}
}
span.Rq5Gcb
{
color: $light !important;
}
// random border between applications
span.dGrefb
{
border-color: $background-light !important;
}
// bottom "Other applications from google"
div.WwFbJd a.NQV3m
{
background-color: $background-dark !important;
border-color: $background-light !important;
color: $link-color !important;
}
}
// }}}
// "Google services are available on various languages" {{{
div#SIvCob
{
color: $grey !important;
// current language
a
{
color: $link-color !important;
}
}
// }}}
// }}}
// search results {{{
// header (containes input box {{{
div.sfbg
{
background-color: $main-background-color !important;
}
// when you scroll down, show the border
.minidiv .sfbg
{
box-shadow: none !important;
border-bottom: 1px solid $background-light !important;
}
// }}}
// input section {{{
.RNNXgb
{
background: none !important;
background-color: $background-dark !important;
border-color: $background-light !important;
// text inserted
input.gLFyf
{
color: $light !important;
}
// delimiter between user input and keyboard icon
.FqnKTc
{
border-color: $background-light !important;
}
// remove error line beneath the wrong word
.pR49Ae span
{
background: none !important;
}
// lens icon
button.Tg7LZd span.z1asCe
{
color: $stress2 !important;
}
}
// delimiter between input sectionand nav bar
.dodTBe
{
background: $main-background-color !important;
}
// }}}
// dropdown entries from input suggestion {{{
.aajZCb
{
background: $background-dark !important;
border: 1px solid $background-light !important;
border-top: none !important;
box-shadow: none !important;
// delimiter btw input and suggestion box
.xtSCL
{
border-color: $background-light !important;
}
// selected entry from suggestion entries
li.sbhl,
li.sbct:hover
{
background-color: $sel-background !important;
}
// text of suggestions
span
{
color: darken($light, 10%) !important;
b
{
color: $light !important;
}
}
}
// }}}
// right side of header {{{
.gb_Ta
{
// "Enter" button
.gb_je
{
background-color: $section-emph-background !important;
border: 1px solid $section-emph-border !important;
color: $light !important;
}
}
// }}}
// right side {{{
// header from wikipedia
.kno-ecr-pt
{
color: $light !important;
}
// entries under header
.mDj5wd
{
color: $light !important;
}
// configure entries delimiter
.wwfboe
{
border-color: $background-light !important;
}
// }}}
// top navigation (below input field) {{{
div#top_nav
{
// container for navigation entries
.yg51vc
{
background-color: $main-background-color !important;
// selected entry
.hdtb-mitem.hdtb-msel
{
color: $stress2 !important;
border-color: $stress2 !important;
.MQkt5e
{
background: $stress2 !important;
}
}
// all entries
.hdtb-mitem a
{
color: $grey !important;
}
// "More" entry
.hdtb-dd-b.sqXXR
{
color: $grey !important;
}
// "Tools" button
#hdtb-tls:hover
{
background: none !important;
background-color: $sel-background !important;
border-color: $button-border-hover !important;
color: $light !important;
}
// "Tools" button activated
.hdtb-tl-sel
{
background: none !important;
background-color: $section-emph-background !important;
border-color: $section-emph-border !important;
color: $light !important;
}
}
// delimiter between navigation and total statistics
#hdtb
{
border-color: $background-light !important;
}
}
// }}}
// search results (total statistics) {{{
.appbar
{
border-color: $background-light !important;
background-color: $main-background-color !important;
#result-stats
{
color: $grey !important;
}
}
// }}}
// search results (actual results) {{{
.main
{
background: $main-background-color !important;
// just lines (idk how to describe but it's simple lines feeling
// width of the page, like delimiters)
.akqY6
{
background: $grey !important;
}
// "people also ask"
.O3JH7.qLBFXd
{
color: $light !important;
}
// delimiter for "people also ask"
.oySJpc
{
color: $background-light !important;
}
// expand arrow icon
.YsGUOb
{
filter: invert(85.09%) !important;
}
// "see results about"
.kp-blk
{
// basically "see results" text
.garHBe
{
color: $light !important;
}
border-color: $background-light !important;
// border beneath "see results about" header
.y8Jpof.pPLc9e.kpQuGf
{
border-color: $background-light !important;
}
.y8Jpof
{
&:hover
{
background: $sel-background !important;
}
// header text
.xXEKkb
{
color: $light !important;
}
// description
.cwUqwd
{
color: $grey !important;
}
}
// second border
.nm6nmc.l0jSyf.kpQuGf
{
border-color: $background-light !important;
}
}
// short answer (when google tries to emmidiately show short answer to your queery) {{{
.xpdopen
{
color: $light !important;
background: $main-background-color !important;
// source main cite
cite
{
color: $light !important;
// source subdomaine
span
{
color: $grey !important;
}
}
// name of article
div.ellip span
{
color: $link-color !important;
}
}
// additional answers from search
.jmjoTe
{
// header
h3 a
{
color: $link-color !important;
}
// something from page
.st
{
color: $grey !important;
}
// more results
a.fl
{
color: $link-color !important;
}
}
// }}}
// "People also ask" {{{
.JolIg
{
color: $light !important;
}
// delimiters between entries in "People also ask"
.cbphWd
{
border-color: $background-light !important;
}
// }}}
// returned search entries {{{
.hlcw0c
{
// source
cite
{
color: $light !important;
// subdomain from main cite
span
{
color: $grey !important;
}
}
// do not underscore link on hover
.yuRUbf a span *,
{
text-decoration: none !important;
}
// "Tranlate page"
a.fl span
{
color: darken($link-color,20%) !important;
}
// use cached (arrow on right side of source)
.action-menu
{
.GHDvEf
{
background: $main-background-color !important;
span.mn-dwn-arw
{
border-color: $grey transparent
}
}
.action-menu-panel
{
border-color: $background-light !important;
border-radius: 3px !important;
.action-menu-item
{
background: $main-background-color !important;
span
{
color: $light !important;
}
&:hover
{
background: $sel-background !important;
}
}
}
}
// name of article
div.ellip span
{
color: $link-color !important;
}
// content of article
.IsZvec
{
color: $grey !important;
// emphasized words (those which are common with query)
em
{
color: lighten($grey, 15%) !important;
}
}
// available categories in article
.HiHjCd a
{
color: $link-color !important;
}
}
// }}}
// "videos" {{{
// weird thing around header, videos ocntainer and view all
// container that is not parent of them
.Xeztj.xuc
{
background: $main-background-color !important;
}
// header
.Nxb87
{
background: $main-background-color !important;
h3
{
color: $light !important;
}
}
// container for videos
.MGqjK
{
background: $main-background-color !important;
border-color: $background-light !important;
// container for single video
.VibNM
{
border-color: $background-light !important;
.WpKAof:hover .CwxNSe
{
text-decoration: none !important;
}
// hover video card
.q2eaDe:hover
{
background: $sel-background !important;
}
// video name
.fJiQld.oz3cqf.p5AXld
{
color: $link-color !important;
&:hover
{
text-decoration: none !important;
}
}
// source of video
.hDeAhf
{
color: $light !important;
}
// all the grey text
span
{
color: $grey !important;
}
}
}
// "view all" container
.feTRce.KKIDe.mIKy0c.dGWpb
{
background: $main-background-color !important;
// width line
.pb5vrc
{
background: $background-light !important;
}
// the button
.MXl0lf.mtqGb
{
background: $main-background-color !important;
border-color: $background-light !important;
span
{
color: $link-color !important;
}
&:hover
{
border-color: $button-border-hover !important;
background: $sel-background !important;
}
}
}
// }}}
// latest from ___ {{{
.ULSxyf
{
// title
.iJ1Kvb
{
color: $light !important;
}
// basically card
.ttfMne.cv2VAd
{
border-color: $background-light !important;
background: $main-background-color !important;
&:hover
{
background: $sel-background !important;
border-color: $button-border-hover !important;
}
// card name
.mRnBbe.QgUve.oz3cqf.p5AXld.nDgy9d
{
color: $link-color !important;
}
// hovering over card don't give you underscore
a.VlJC0:hover,
a.VlJC0:hover .pAx2Gb
{
text-decoration: none !important;
}
// source of card
cite
{
color: $light !important;
}
// all the grey text
span
{
color: $grey !important;
}
}
// right arrow (to see more)
.CNf3nf.LhCR5d
{
background: $main-background-color !important;
border-color: $background-light !important;
span
{
color: $light !important;
}
&:hover
{
background: $sel-background !important;
border-color: $button-border-hover !important;
}
}
}
// }}}
// card on the right (like another description) {{{
.I6TXqe
{
background: $main-background-color !important;
border-color: $background-light !important;
// card top part {{{
.K20DDe.R9GLFb.JXFbbc.LtKgIf.ySjHwc
{
// share icon
.glhbv.pa8yL.z1asCe.Fp7My
{
color: $light !important;
}
// transcription / full name
.kno-ecr-pt span
{
color: $light !important;
}
// type of search term
.wwUB2c span
{
color: $grey !important;
}
}
// }}}
// first delimiter
.vIPkDb
{
border-bottom-color: $background-light !important;
}
// middle section {{{
.B1uW2d.ellip.PZPZlf
{
// world icon
span.psXvZ.z1asCe.GYDk8c
{
color: darken($light, 15%) !important;
}
// cite url
span.ellip
{
color: $link-color !important;
}
}
// }}}
// second delimiter
.B1uW2d
{
border-bottom-color: $background-light !important;
}
// card bottom part {{{
.Kot7x
{
// description
.kno-rdesc span
{
color: $grey !important;
}
// source to see more
a.ruhjFe.NJLBac.fl
{
color: $link-color !important;
}
// key
span.w8qArf a,
span.w8qArf
{
color: $light !important;
}
// value
span.LrzXr.kno-fv
{
color: $light !important;
a
{
color: $link-color !important;
}
}
// other similars
.Ss2Faf
{
color: $light !important;
}
// other similars website picture
.Rlm17c.BA0A6c
{
background-color: $main-background-color !important;
}
// other similars website name
.CtCigf.gBIQub
{
color: $link-color !important;
}
}
// }}}
}
// claim this knowledge panel
.H73aad
{
background: $main-background-color !important;
border-color: $background-light !important;
// text
.jleFbf
{
color: darken($light, 10%) !important;
}
&:hover
{
background: $sel-background !important;
border-color: $button-border-hover !important;
}
}
// }}}
// "Searches related to ___" {{{
#brs
{
// heading
.mmxugd span
{
color: $light !important;
}
// related searches
.card-section a
{
color: $link-color !important;
b
{
color: lighten($link-color, 10%);
}
}
}
// }}}
// pages navigation (next, previous, nth) {{{
// left side of Goooo...oogle
td.d6cvqb
{
// text ("Previous","Next")
span {
color: $link-color !important;
}
// image
span.SJajHc
{
// I don't won't to produce large number of additional
// png's so I just apply filter so it looks same as
// colorcheme
// INFO: check this when changing colorscheme
filter: hue-rotate(40deg) !important;
}
}
// page you are on
td.YyVfkd
{
// INFO: check this when changing colorscheme
// filter is for big "O" symbol (to change it's color)
filter: hue-rotate(200deg) !important;
// this one is for page number underneath
color: $light !important;
}
// page numbers you can click
td a.fl
{
color: $link-color !important;
// INFO: check this when changing colorscheme
// big "O" image
span
{
filter: hue-rotate(240deg) !important;
}
}
// }}}
// "Images for ___" {{{
.LnbJhc
{
// heading
h3[role='heading']
{
color: $light !important;
}
// icon left to heading
.iv236
{
color: $grey !important;
}
// related images search entries
.jD7Eif a.dgdd6c .WGYX8
{
background: $main-background-color !important;
border-color: $background-light !important;
// text in it
.AB4Jjf
{
color: $light !important;
}
&:hover
{
background: $sel-background !important;
border-color: $button-border-hover !important;
}
}
// show more related images search entries button
// show less related images search entries button
.KPV9xf,
.HErFVb
{
background-color: $main-background-color !important;
border-color: $background-light !important;
&:hover
{
background-color: $sel-background !important;
border-color: $button-border-hover !important;
}
}
// "View all" section
.KqWjY
{
// line like delimiter
.pb5vrc
{
background-color: $background-light !important;
}
// actual "View all" button
.MXl0lf
{
background: $main-background-color !important;
border-color: $background-light !important;
span
{
color: $link-color !important;
}
&:hover
{
border-color: $button-border-hover !important;
background: $sel-background !important;
}
}
}
// buttons to scroll further in images
.CNf3nf.LhCR5d
{
color: $light !important;
background: $main-background-color !important;
border-color: $background-light !important;
}
}
// }}}
// "Popular applications" {{{
#bres