fix(mullvad-leta): new search ui (#1681)

This commit is contained in:
Sena authored and GitHub committed 2025-03-31 07:27:22 +00:00
1 parent d31e6b85cb
commit a0f650169d
2 files changed
+69 -57

No files matched your search

+69 -57
View File
@@ -67,53 +67,68 @@
} }
} }
a { &, svelte-css-wrapper > * {
color: @text; --blue: @base;
--blue-dark: @mantle;
--blue-link: @surface1;
--blue-link--hover: @surface2;
--text-link: @blue;
--border-color: @accent;
--bg-color-checked: @surface0;
--bg-color-hover: @surface1;
--divider-color: @surface1;
--focus-outline-color: @accent;
--color-text: @text;
--color-icon: @subtext1;
--chevron-color: @subtext1;
--icons-color: @subtext1;
--input-color: @subtext1;
--placeholder-color: @subtext1;
--border: 1px solid @surface0;
--border-hover: 1px solid @surface2;
--border-focused: 1px solid @surface2;
--clear-select-focus-outline: 1px solid @accent;
--background: @base;
--list-background: @base;
--disabled-background: @surface0;
--disabled-border-color: @surface0;
--form-control-disabled: @overlay0;
--item-color: @subtext1;
--item-hover-bg: @surface0;
--item-hover-color: @subtext1;
--item-is-active-bg: @surface1;
--item-is-active-color: @text;
--selected-item-color: @subtext1;
--grey-dark: @surface1;
--success: @green;
--warning: @yellow;
--danger: @red;
--tag-danger-background: @red;
--tag-danger-color: @base;
} }
--blue: @base; .results {
--blue-dark: @mantle; /* favicons */
--blue-link: @surface1; .icon-wrapper {
--blue-link--hover: @surface2; background-color: @mantle;
--text-link: @blue; }
--border-color: @accent; /* urls */
--bg-color-checked: @surface0; cite {
--bg-color-hover: @surface1; color: @subtext0;
--divider-color: @surface1; }
}
--color-text: @text; /* search query and engines */
--color-icon: @subtext1; input[name="q"],
--icons-color: @subtext1; .radio-group label {
--input-color: @subtext1; color: @text !important;
--border: 1px solid @surface0;
--border-hover: 1px solid @surface2;
--border-focused: 1px solid @accent;
--clear-select-focus-outline: 1px solid @accent;
--background: @base;
--list-background: @base;
--disabled-background: @surface0;
--disabled-border-color: @surface0;
--form-control-disabled: @overlay0;
--item-color: @subtext1;
--item-hover-bg: @surface0;
--item-hover-color: @subtext1;
--item-is-active-bg: @surface1;
--item-is-active-color: @text;
--selected-item-color: @subtext1;
--grey-dark: @surface1;
--success: @green;
--danger: @red;
--tag-danger-background: @red;
--tag-danger-color: @base;
.settings,
img[alt="Favicon"] {
background-color: @mantle !important;
} }
img[src="/mullvad-vpn-logo.svg"] { img[src="/mullvad-vpn-logo.svg"] {
@@ -123,27 +138,24 @@
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
input[type="checkbox"] { a {
background-color: @surface0 !important;
}
input[name="q"],
.radio-group label {
color: @text; color: @text;
/* anchors */
&[href^="#"]::before {
color: @overlay2;
}
} }
.result img + a { /* tooltips */
color: @subtext0 !important; button:not([disabled])[aria-label] {
&:focus::after, &:hover::after {
color: @subtext1;
}
} }
footer a { footer a {
color: @subtext1; color: @subtext1;
border-inline-end-color: @subtext1;
}
/* anchors */
h2 a[aria-hidden="true"] {
color: @text !important;
} }
} }
} }
Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

After

Width:  |  Height:  |  Size: 44 KiB