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 {
color: @text;
&, svelte-css-wrapper > * {
--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;
--blue-dark: @mantle;
--blue-link: @surface1;
--blue-link--hover: @surface2;
--text-link: @blue;
.results {
/* favicons */
.icon-wrapper {
background-color: @mantle;
}
--border-color: @accent;
--bg-color-checked: @surface0;
--bg-color-hover: @surface1;
--divider-color: @surface1;
/* urls */
cite {
color: @subtext0;
}
}
--color-text: @text;
--color-icon: @subtext1;
--icons-color: @subtext1;
--input-color: @subtext1;
--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;
/* search query and engines */
input[name="q"],
.radio-group label {
color: @text !important;
}
img[src="/mullvad-vpn-logo.svg"] {
@@ -123,27 +138,24 @@
content: url("data:image/svg+xml,@{svg}");
}
input[type="checkbox"] {
background-color: @surface0 !important;
}
input[name="q"],
.radio-group label {
a {
color: @text;
/* anchors */
&[href^="#"]::before {
color: @overlay2;
}
}
.result img + a {
color: @subtext0 !important;
/* tooltips */
button:not([disabled])[aria-label] {
&:focus::after, &:hover::after {
color: @subtext1;
}
}
footer a {
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