-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathvimium-simply-dark.css
153 lines (129 loc) · 2.76 KB
/
vimium-simply-dark.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
:root {
/** Customizable Palette */
--accent: hotpink;
--text: #fff;
--background: #444;
/** Calcurated Palette */
--text-secondary: color-mix(in srgb, var(--text) 60%, transparent);
--text-tertiary: color-mix(in srgb, var(--text) 35%, transparent);
--background-selected: color-mix(in srgb, var(--background), #000 20%);
--border-primary: var(--background-selected);
--box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
}
@keyframes show {
0% {
transform: translateY(50px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
#vimiumHintMarkerContainer {
.internalVimiumHintMarker {
padding: 3px 4px;
background: var(--background);
border: none;
box-shadow: var(--box-shadow);
}
span {
color: var(--text);
text-shadow: none;
}
.matchingCharacter {
opacity: 0.4;
~ span {
color: var(--accent);
}
}
}
#vomnibar {
background: var(--background);
border: none;
box-shadow: var(--box-shadow);
animation: show 200ms cubic-bezier(0, 0, 0.2, 1) forwards;
.vomnibarSearchArea {
padding: 10px 30px;
color: var(--text);
background: transparent;
border: none;
}
#vomnibarInput {
padding: 0;
color: var(--text);
background: transparent;
box-shadow: none;
}
ul {
margin: 0;
padding: 0;
background: transparent;
border-top: 1px solid var(--border-primary);
}
li {
padding: 10px;
border-bottom: 1px solid var(--border-primary);
.vomnibarTopHalf,
.vomnibarBottomHalf {
display: flex;
padding: 3px 0;
}
.vomnibarTitle,
.vomnibarSource {
color: var(--text-secondary);
}
.vomnibarUrl {
overflow: hidden;
color: var(--text-tertiary);
white-space: nowrap;
text-overflow: ellipsis;
}
.vomnibarMatch {
color: var(--accent);
font-weight: normal;
}
.vomnibarTitle .vomnibarMatch {
color: var(--accent);
}
&.vomnibarSelected {
background-color: var(--background-selected);
border-bottom: 1px solid transparent;
}
}
}
div.vimiumHUD {
background: var(--background);
border: none;
box-shadow: var(--box-shadow);
.hud-find {
display: flex;
}
span#hud-find-input {
position: relative;
width: 100%;
color: var(--text);
&::before {
position: sticky;
left: 0;
padding-right: 4px;
color: var(--text-secondary);
background: linear-gradient(
90deg,
var(--background) 0%,
var(--background) 50%,
transparent 100%
);
}
}
#hud-match-count {
flex-shrink: 0;
float: none;
padding-left: 4px;
}
.hud-find,
.vimiumHUDSearchArea {
background-color: transparent;
border: none;
}
}