Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 52 additions & 3 deletions themes/a6335949-4465-4b71-926c-4a52d34bc9c0/chrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
--better-findbar-position-bottom: 15px;
--better-findbar-position-left: 50%;
--better-findbar-position-right: auto;
--better-findbar-background-color: var(--zen-primary-color);
--better-findbar-background-color: var(--zen-colors-primary);
--better-findbar-text-color: var(--toolbar-color);
--better-findbar-box-shadow: 0 5px 10px #00000080;
}

/* Custom background */
Expand All @@ -16,6 +18,20 @@
}
}

/* Custom text color */
@media (-moz-bool-pref: "theme-better_find_bar-enable_custom_text_color") {
:root {
--better-findbar-text-color: var(--theme-better_find_bar-custom_text_color);
}
}

/* Custom box shadow */
@media (-moz-bool-pref: "theme-better_find_bar-enable_custom_box_shadow") {
:root {
--better-findbar-box-shadow: var(--theme-better_find_bar-custom_box_shadow);
}
}

findbar {
display: flex !important;

Expand All @@ -35,10 +51,16 @@ findbar {
transform: translateX(var(--better-findbar-transform-translateX)) translateY(0);

overflow: unset !important;
box-shadow: var(--box-shadow-10);
box-shadow: var(--better-findbar-box-shadow);

background: var(--better-findbar-background-color) !important;
border: 1px solid var(--input-border-color) !important;
color: var(--better-findbar-text-color) !important;
border: 1px solid
color-mix(
in hsl,
var(--better-findbar-background-color) 75%,
var(--better-findbar-text-color)
) !important;

transition: transform 0.35s ease !important;

Expand All @@ -58,6 +80,33 @@ findbar {

& .findbar-textbox {
flex-grow: 1;
background: var(--better-findbar-background-color) !important;
color: var(--better-findbar-text-color) !important;
border: 1px solid
color-mix(
in hsl,
var(--better-findbar-background-color),
var(--better-findbar-text-color) 50%
) !important;

&[status="notfound"] {
background-color: color-mix(
in srgb,
var(--better-findbar-background-color),
#e80538 50%
) !important;
color: inherit;
}
}

& .findbar-textbox:focus {
outline: 1px solid
color-mix(
in hsl,
var(--better-findbar-background-color),
var(--better-findbar-text-color) 75%
) !important;
outline-offset: -1px !important;
}
}

Expand Down
Binary file modified themes/a6335949-4465-4b71-926c-4a52d34bc9c0/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 28 additions & 1 deletion themes/a6335949-4465-4b71-926c-4a52d34bc9c0/preferences.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,41 @@
"property": "theme.better_find_bar.custom_background",
"label": "Custom background HEX color",
"type": "string",
"defaultValue": "#112233"
"defaultValue": "#112233",
"placeholder": "#112233"
},
{
"property": "theme.better_find_bar.transparent_background",
"label": "Transparent background (disable it if the background blur doesn't work)",
"type": "checkbox",
"defaultValue": true
},
{
"property": "theme-better_find_bar-enable_custom_text_color",
"label": "Enable custom text color",
"type": "checkbox",
"defaultValue": false
},
{
"property": "theme.better_find_bar.custom_text_color",
"label": "Custom text HEX color",
"type": "string",
"defaultValue": "#ffffff",
"placeholder": "#ffffff"
},
{
"property": "theme-better_find_bar-enable_custom_box_shadow",
"label": "Enable custom box shadow",
"type": "checkbox",
"defaultValue": false
},
{
"property": "theme.better_find_bar.custom_box_shadow",
"label": "Custom box shadow (full CSS box-shadow value)",
"type": "string",
"defaultValue": "0 5px 10px rgba(0,0,0,0.5)",
"placeholder": "0 5px 10px rgba(0,0,0,0.5)"
},
{
"property": "theme.better_find_bar.horizontal_position",
"label": "Horizontal position",
Expand Down
5 changes: 3 additions & 2 deletions themes/a6335949-4465-4b71-926c-4a52d34bc9c0/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/a6335949-4465-4b71-926c-4a52d34bc9c0/image.png",
"author": "RobotoSkunk",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/a6335949-4465-4b71-926c-4a52d34bc9c0/preferences.json",
"version": "1.5.1",
"version": "1.6.0",
"tags": [
"find",
"bar",
"search",
"findbar",
"searchbar",
"find-bar",
"search-bar"
],
"createdAt": "2024-11-24",
"updatedAt": "2026-02-12"
"updatedAt": "2026-03-12"
}
Loading