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
+34 -22

No files matched your search

+34 -22
View File
@@ -67,10 +67,7 @@
} }
} }
a { &, svelte-css-wrapper > * {
color: @text;
}
--blue: @base; --blue: @base;
--blue-dark: @mantle; --blue-dark: @mantle;
--blue-link: @surface1; --blue-link: @surface1;
@@ -81,15 +78,18 @@
--bg-color-checked: @surface0; --bg-color-checked: @surface0;
--bg-color-hover: @surface1; --bg-color-hover: @surface1;
--divider-color: @surface1; --divider-color: @surface1;
--focus-outline-color: @accent;
--color-text: @text; --color-text: @text;
--color-icon: @subtext1; --color-icon: @subtext1;
--chevron-color: @subtext1;
--icons-color: @subtext1; --icons-color: @subtext1;
--input-color: @subtext1; --input-color: @subtext1;
--placeholder-color: @subtext1;
--border: 1px solid @surface0; --border: 1px solid @surface0;
--border-hover: 1px solid @surface2; --border-hover: 1px solid @surface2;
--border-focused: 1px solid @accent; --border-focused: 1px solid @surface2;
--clear-select-focus-outline: 1px solid @accent; --clear-select-focus-outline: 1px solid @accent;
--background: @base; --background: @base;
@@ -107,13 +107,28 @@
--grey-dark: @surface1; --grey-dark: @surface1;
--success: @green; --success: @green;
--warning: @yellow;
--danger: @red; --danger: @red;
--tag-danger-background: @red; --tag-danger-background: @red;
--tag-danger-color: @base; --tag-danger-color: @base;
}
.settings, .results {
img[alt="Favicon"] { /* favicons */
background-color: @mantle !important; .icon-wrapper {
background-color: @mantle;
}
/* urls */
cite {
color: @subtext0;
}
}
/* search query and engines */
input[name="q"],
.radio-group label {
color: @text !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