blob: f3092834b66ff975a5eb9b06efe188e662931cef (
plain)
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
|
@import url("../themes/default/default.css");
body {
overflow: hidden;
margin: 0;
position: absolute;
/* CSS is pants. Move the bar down a tiny bit to cover up the gap. */
top: 1px;
width: 100%;
display: flex;
flex-direction: column;
}
#command-line-holder {
background: var(--tridactyl-cmdl-bg);
color: var(--tridactyl-cmdl-fg);
font-family: var(--tridactyl-cmdl-font-family);
font-size: 9pt;
/* reduce the padding added by the colon so that the command line shows up roughly where it used to be */
padding-left: 0.125ex;
}
input {
width: 97%;
font-family: var(--tridactyl-cmdl-font-family);
font-size: var(--tridactyl-cmdl-font-size);
line-height: var(--tridactyl-cmdl-line-height);
color: var(--tridactyl-cmdl-fg);
background: var(--tridactyl-cmdl-bg);
border: unset;
/* reduce the padding from the colon */
/* margin-left: -0.25ex; */
/* we currently have a border from the completions */
/* border-top: solid 1px lightgray; */
}
input:focus {
outline: none;
}
#tridactyl-colon::before {
content: ":";
}
/* COMPLETIONS */
#completions {
--option-height: var(--tridactyl-cmplt-option-height);
color: var(--tridactyl-cmplt-fg);
background: var(--tridactyl-cmplt-bg);
display: inline-block;
font-size: var(--tridactyl-cmplt-font-size);
font-family: var(--tridactyl-cmplt-font-family);
overflow: hidden;
width: 100%;
border-top: var(--tridactyl-cmplt-border-top);
}
/* Olie doesn't know how CSS inheritance works */
#completions > div {
max-height: calc(20 * var(--option-height));
min-height: calc(10 * var(--option-height));
}
#completions > div > table {
width: 100%;
font-size: 9pt;
border-spacing: 0;
table-layout: fixed;
}
#completions table tr td.prefix {
width: 1em;
padding-left: 0.5em;
text-align: center;
}
#completions table tr td.container,
#completions table tr td.icon,
#completions table tr td.privatewindow {
width: 1.5em;
}
/* #completions table tr td:nth-of-type(3) { width: 5em; } */
#completions table tr td.content {
width: 50%;
}
#completions table tr {
white-space: nowrap;
overflow: hidden;
}
#completions table tr td {
overflow: hidden;
}
#completions img {
display: inline;
vertical-align: middle;
height: 1em;
width: 1em;
}
#completions .sectionHeader {
background: linear-gradient(
var(--tridactyl-header-first-bg),
var(--tridactyl-header-second-bg),
var(--tridactyl-header-third-bg)
);
font-size: var(--tridactyl-header-font-size);
font-weight: var(--tridactyl-header-font-weight);
border-bottom: var(--tridactyl-header-border-bottom);
padding-left: 0.5ex;
}
#completions .sectionHeader,
#completions .option {
height: var(--option-height);
line-height: var(--option-height);
}
.url {
text-decoration: var(--tridactyl-url-text-decoration);
padding-left: 7px;
}
.option:not(.focused) .url {
color: var(--tridactyl-url-fg);
background: var(--tridactyl-url-bg);
}
a.url:hover {
cursor: var(--tridactyl-url-cursor);
text-decoration: underline;
}
/* Hide the URLs if the screen is small */
@media all and (max-width: 500px) {
.url {
display: none;
}
}
.FindCompletionOption .match {
font-weight: bold;
}
.hidden {
display: none;
}
/* Pick the .url out especially because otherwise its link styles dominate. */
.focused,
.focused .url {
color: var(--tridactyl-of-fg);
background: var(--tridactyl-of-bg);
}
.option.incognito .privatewindow {
background-image: var(--tridactyl-private-window-icon-url);
}
/* Still completions, but container-related stuff */
.option .container,
.option .privatewindow {
background-size: 1em;
background-repeat: no-repeat;
background-position: center;
-moz-context-properties: fill;
}
.option.container_blue .container {
fill: var(--tridactyl-container-color-blue);
}
.option.container_turquoise .container {
fill: var(--tridactyl-container-color-turquoise);
}
.option.container_green .container {
fill: var(--tridactyl-container-color-green);
}
.option.container_yellow .container {
fill: var(--tridactyl-container-color-yellow);
}
.option.container_orange .container {
fill: var(--tridactyl-container-color-orange);
}
.option.container_red .container {
fill: var(--tridactyl-container-color-red);
}
.option.container_pink .container {
fill: var(--tridactyl-container-color-pink);
}
.option.container_purple .container {
fill: var(--tridactyl-container-color-purple);
}
.option.container_fingerprint .container {
background-image: var(--tridactyl-container-fingerprint-url);
}
.option.container_briefcase .container {
background-image: var(--tridactyl-container-briefcase-url);
}
.option.container_dollar .container {
background-image: var(--tridactyl-container-dollar-url);
}
.option.container_cart .container {
background-image: var(--tridactyl-container-cart-url);
}
.option.container_circle .container {
background-image: var(--tridactyl-container-circle-url);
}
.option.container_gift .container {
background-image: var(--tridactyl-container-gift-url);
}
.option.container_vacation .container {
background-image: var(--tridactyl-container-vacation-url);
}
.option.container_food .container {
background-image: var(--tridactyl-container-food-url);
}
.option.container_fruit .container {
background-image: var(--tridactyl-container-fruit-url);
}
.option.container_pet .container {
background-image: var(--tridactyl-container-pet-url);
}
.option.container_tree .container {
background-image: var(--tridactyl-container-tree-url);
}
.option.container_chill .container {
background-image: var(--tridactyl-container-chill-url);
}
.ExcmdCompletionOption td.excmd {
padding-left: 0.5em;
width: 20%;
}
.ExcmdCompletionOption td.documentation {
width: 100%;
}
.SettingsCompletionOption td.title {
padding-left: 0.5em;
}
#completions .SettingsCompletionOption td.title,
#completions .SettingsCompletionOption td.content,
#completions .SettingsCompletionOption td.type {
width: 15%;
text-overflow: ellipsis;
}
.HelpCompletionOption td.name {
width: 25%;
}
#completions .SessionCompletionOption td.type {
width: 1ch !important;
padding: 0px 3pt;
}
#completions .SessionCompletionOption td.time {
width: 5ch !important;
padding: 0px 3pt;
text-align: right;
}
#completions .WindowCompletionOption td.id {
width: 4ch !important;
text-align: right;
padding: 0px 3pt;
}
|