mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 17:05:31 +02:00
hot fix: initial opacity and hover bug fix with cleaner code
This commit is contained in:
parent
d931f1f418
commit
108120b3c4
2 changed files with 4 additions and 22 deletions
|
@ -16,32 +16,14 @@
|
|||
font-weight: 600 !important;
|
||||
font-size: 12px !important;
|
||||
box-shadow: 0px !important ;
|
||||
background: rgba(255, 255, 255, var(--mod-zentoast-background_opacity, 0.3)) !important;
|
||||
border: 1px solid rgba(0, 0, 0, var(--mod-zentoast-border_opacity, 0.3)) !important;
|
||||
color: rgba(0, 0, 0, var(--mod-zentoast-text_opacity, 0.3)) !important;
|
||||
|
||||
& .description {
|
||||
font-size: 10px !important;
|
||||
}
|
||||
|
||||
&:has(#mod-zentoast[mod-zentoast-background_opacity="0.1"]) { background: rgba(255, 255, 255, 0.1) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-background_opacity="0.2"]) { background: rgba(255, 255, 255, 0.2) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-background_opacity="0.3"]) { background: rgba(255, 255, 255, 0.3) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-background_opacity="0.4"]) { background: rgba(255, 255, 255, 0.4) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-background_opacity="0.5"]) { background: rgba(255, 255, 255, 0.5) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-background_opacity="0.6"]) { background: rgba(255, 255, 255, 0.6) !important; }
|
||||
|
||||
&:has(#mod-zentoast[mod-zentoast-border_opacity="0.1"]) { border: 1px solid rgba(0, 0, 0, 0.1) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-border_opacity="0.2"]) { border: 1px solid rgba(0, 0, 0, 0.2) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-border_opacity="0.3"]) { border: 1px solid rgba(0, 0, 0, 0.3) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-border_opacity="0.4"]) { border: 1px solid rgba(0, 0, 0, 0.4) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-border_opacity="0.5"]) { border: 1px solid rgba(0, 0, 0, 0.5) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-border_opacity="0.6"]) { border: 1px solid rgba(0, 0, 0, 0.6) !important; }
|
||||
|
||||
&:has(#mod-zentoast[mod-zentoast-text_opacity="0.1"]) { color: rgba(0, 0, 0, 0.1) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-text_opacity="0.2"]) { color: rgba(0, 0, 0, 0.2) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-text_opacity="0.3"]) { color: rgba(0, 0, 0, 0.3) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-text_opacity="0.4"]) { color: rgba(0, 0, 0, 0.4) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-text_opacity="0.5"]) { color: rgba(0, 0, 0, 0.5) !important; }
|
||||
&:has(#mod-zentoast[mod-zentoast-text_opacity="0.6"]) { color: rgba(0, 0, 0, 0.6) !important; }
|
||||
|
||||
&:hover {
|
||||
background: var(--zen-primary-color) !important;
|
||||
color: var(--button-primary-color) !important;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e51b85e6-cef5-45d4-9fff-6986637974e1/image.png",
|
||||
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e51b85e6-cef5-45d4-9fff-6986637974e1/preferences.json",
|
||||
"author": "lenzfliker",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.1",
|
||||
"tags": [],
|
||||
"createdAt": "2025-05-09",
|
||||
"updatedAt": "2025-05-13"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue