-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserContent.css
83 lines (72 loc) · 2.87 KB
/
userContent.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
/*================ GLOBAL COLORS ================*/
:root {
--accent-color: 54, 54, 54;
--secondary-accent-color: 255, 255, 255;
--third-accent-color: 190, 190, 190;
--light-color: 255, 255, 255;
--dark-color: 20, 20, 20;
--caption-min-color: 36, 209, 49;
--caption-max-color: 252, 185, 15;
--caption-close-color: 250, 55, 55;
/*================ SCROLLBAR ================*/
scrollbar-width: thin !important;
}
/*================ DARK THEME ================*/
:root:-moz-lwtheme-brighttext,
.sidebar-panel[lwt-sidebar-brighttext],
body[lwt-sidebar-brighttext] {
--main-bgcolor: var(--dark-color);
--transparent-bgcolor: var(--accent-color);
}
/*================== NEW TAB BG COLOR ==================*/
@media (prefers-color-scheme: dark) {
@-moz-document url("about:newtab"), url("about:home"), url("about:blank") {
body.activity-stream { background-color: rgba(var(--dark-color), 1) !important;}
}
}
@media (prefers-color-scheme: light) {
@-moz-document url("about:newtab"), url("about:home"), url("about:blank") {
body.activity-stream { background-color: rgba(var(--light-color), 1) !important;}
}
}
/*================== SEARCH BAR ==================*/
#root .search-wrapper input {
transition: all 0.3s ease !important;
background: rgba(var(--accent-color), 0.2) var(--newtab-search-icon) 12px center no-repeat !important;
background-size: 20px !important;
border: 2px solid !important;
border-color: rgba(var(--accent-color), 0.3) !important;
box-shadow: none !important;
}
#root .search-wrapper .search-inner-wrapper:hover input,
#root .search-wrapper .search-inner-wrapper:active input,
#root .search-wrapper input:focus {
border-color: rgba(var(--accent-color), 0.6) !important;
}
#root .search-wrapper .search-button,
#root .search-wrapper .search-button {
transition: all 0.3s ease !important;
}
#root .search-wrapper .search-button:focus,
#root .search-wrapper .search-button:hover {
background-color: rgba(var(--accent-color), 1) !important;
}
/*================== SEARCH BAR RESULTS ==================*/
.contentSearchSuggestionTable .contentSearchSuggestionsContainer,
.contentSearchSuggestionTable .contentSearchHeader {
background-color: rgba(var(--accent-color), 1) !important;
}
.contentSearchSuggestionTable .contentSearchSuggestionRow.selected,
.contentSearchSuggestionTable .contentSearchOneOffItem.selected {
background-color: rgba(var(--secondary-accent-color), 0.2) !important;
}
.contentSearchSuggestionTable .contentSearchHeader,
.contentSearchSuggestionTable .contentSearchSettingsButton,
.contentSearchSuggestionTable .contentSearchOneOffsTable {
border-color: rgba(var(--secondary-accent-color), 0.2) !important;
}
.contentSearchSuggestionTable {
box-shadow: none !important;
border: 2px solid rgba(var(--secondary-accent-color), 0.2) !important;
border-radius: 3px !important;
}