193 lines
4.2 KiB
CSS
193 lines
4.2 KiB
CSS
:root {
|
|
/* Catppuccin Colors */
|
|
--bg: #1e1e2e;
|
|
--currentline: #302d41;
|
|
--fg: #d9e0ee;
|
|
--comment: #575268;
|
|
--flamingo: #f2cdcd;
|
|
--mauve: #ddb6f2;
|
|
--pink: #f5c2e7;
|
|
--maroon: #e8a2af;
|
|
--red: #f28fad;
|
|
--peach: #f8bd96;
|
|
--yellow: #fae3b0;
|
|
--green: #abe9b3;
|
|
--teal: #b5e8e0;
|
|
--blue: #96cdfb;
|
|
--sky: #89dceb;
|
|
--lavender: #c9cbff;
|
|
--rosewater: #f5e0dc;
|
|
--font: monospace; /*"FiraCode Nerd Font Mono";*/
|
|
|
|
/* vimium theme uses colors: flamingo, peach, rosewater, green, blue, lavender */
|
|
--tridactyl-fg: var(--fg);
|
|
--tridactyl-bg: var(--bg);
|
|
--tridactyl-url-fg: var(--rosewater);
|
|
--tridactyl-url-bg: var(--bg);
|
|
--tridactyl-highlight-box-bg: var(--currentline);
|
|
--tridactyl-highlight-box-fg: var(--fg);
|
|
--tridactyl-of-fg: var(--fg);
|
|
--tridactyl-of-bg: var(--currentline);
|
|
--tridactyl-cmdl-fg: var(--bg);
|
|
--tridactyl-cmdl-font-family: var(--font);
|
|
--tridactyl-cmplt-font-family: var(--font);
|
|
--tridactyl-hintspan-font-family: var(--font);
|
|
|
|
/* Hint character tags */
|
|
--tridactyl-hintspan-fg: var(--bg) !important;
|
|
--tridactyl-hintspan-bg: var(--green) !important;
|
|
|
|
/* Element Highlights */
|
|
--tridactyl-hint-active-fg: none;
|
|
--tridactyl-hint-active-bg: none;
|
|
--tridactyl-hint-active-outline: none;
|
|
--tridactyl-hint-bg: none;
|
|
--tridactyl-hint-outline: none;
|
|
}
|
|
|
|
#command-line-holder {
|
|
order: 1;
|
|
border: 2px solid var(--lavender);
|
|
background: var(--tridactyl-bg);
|
|
}
|
|
|
|
#tridactyl-input {
|
|
padding: 1rem;
|
|
color: var(--tridactyl-fg);
|
|
width: 90%;
|
|
font-size: 1.5rem;
|
|
line-height: 1.5;
|
|
background: var(--tridactyl-bg);
|
|
padding-left: unset;
|
|
padding: 1rem;
|
|
}
|
|
|
|
#completions table {
|
|
font-size: 0.8rem;
|
|
font-weight: 200;
|
|
border-spacing: 0;
|
|
table-layout: fixed;
|
|
padding: 1rem 0;
|
|
/* padding-top: 1rem; */
|
|
/* padding-bottom: 1rem; */
|
|
}
|
|
|
|
#completions > div {
|
|
max-height: calc(20 * var(--option-height));
|
|
min-height: calc(10 * var(--option-height));
|
|
}
|
|
|
|
/* COMPLETIONS */
|
|
|
|
#completions {
|
|
--option-height: 1.4em;
|
|
color: var(--tridactyl-fg);
|
|
background: var(--tridactyl-bg);
|
|
display: inline-block;
|
|
font-size: unset;
|
|
font-weight: 200;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
border-top: unset;
|
|
order: 2;
|
|
}
|
|
|
|
/* Olie doesn't know how CSS inheritance works */
|
|
#completions .HistoryCompletionSource {
|
|
max-height: unset;
|
|
min-height: unset;
|
|
}
|
|
|
|
#completions .HistoryCompletionSource table {
|
|
width: 100%;
|
|
font-size: 9pt;
|
|
border-spacing: 0;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
/* redundancy 2: redundancy 2: more redundancy */
|
|
#completions .BmarkCompletionSource {
|
|
max-height: unset;
|
|
min-height: unset;
|
|
}
|
|
|
|
#completions table tr td.prefix,
|
|
#completions table tr td.privatewindow,
|
|
#completions table tr td.container,
|
|
#completions table tr td.icon {
|
|
display: none;
|
|
}
|
|
|
|
#completions .BufferCompletionSource table {
|
|
width: unset;
|
|
font-size: unset;
|
|
border-spacing: unset;
|
|
table-layout: unset;
|
|
}
|
|
|
|
#completions table tr .title,
|
|
#completions table tr td.excmd {
|
|
width: 50%;
|
|
padding-left: 1rem;
|
|
color: var(--blue);
|
|
}
|
|
|
|
#completions table tr .content,
|
|
#completions table tr td.documentation {
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
#completions table tr {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
#completions table tr td {
|
|
padding: 0.5rem 0;
|
|
}
|
|
|
|
#completions .sectionHeader {
|
|
background: unset;
|
|
font-weight: bold;
|
|
border-bottom: unset;
|
|
padding: 1rem 1rem 0 !important;
|
|
padding-left: unset;
|
|
padding-bottom: 0.2rem;
|
|
color: var(--peach);
|
|
}
|
|
|
|
#cmdline_iframe {
|
|
position: fixed !important;
|
|
bottom: unset;
|
|
top: 25% !important;
|
|
left: 10% !important;
|
|
z-index: 2147483647 !important;
|
|
width: 80% !important;
|
|
box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px !important;
|
|
}
|
|
|
|
.TridactylStatusIndicator {
|
|
position: fixed !important;
|
|
bottom: 0 !important;
|
|
background: var(--tridactyl-bg) !important;
|
|
border: unset !important;
|
|
border: 1px var(--purple) solid !important;
|
|
font-size: 12pt !important;
|
|
/*font-weight: 200 !important;*/
|
|
padding: 0.8ex !important;
|
|
}
|
|
|
|
#completions .focused {
|
|
background: var(--currentline);
|
|
/* color: var(--blue); */
|
|
font-weight: bold;
|
|
}
|
|
#completions .focused td.title {
|
|
color: var(--pink);
|
|
}
|
|
|
|
#completions .focused .url {
|
|
background: var(--currentline);
|
|
color: var(--green);
|
|
}
|