Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Theme: sleek border #581

Open
SnowiyQ opened this issue Oct 13, 2024 · 0 comments
Open

Update Theme: sleek border #581

SnowiyQ opened this issue Oct 13, 2024 · 0 comments

Comments

@SnowiyQ
Copy link
Contributor

SnowiyQ commented Oct 13, 2024

The previous styles were not applied correctly because !important was missing.
Changes:

  1. Added !important
  2. Reduced unnecessary code by removing unmodified or redundant CSS rules.
:root {
     --sno-colors-border: #e8e8e80f;
     --sno-colors-border-hover: #3e3e3eb2;
     #urlbar {
         transform-origin: right !important;
         transition: all 0.2s linear !important;
         border: 1px solid var(--sno-colors-border) !important;
    }
     #urlbar:hover {
         border: 1px solid var(--sno-colors-border-hover) !important;
    }
     #urlbar[breakout][breakout-extend] {
         top: 10% !important;
    }
     #urlbar:is([focused], [open]) > #urlbar-background, #searchbar:focus-within {
         background: #000000e5 !important;
    }
}

:root:not([inDOMFullscreen='true']):not([chromehidden~='location']):not([chromehidden~='toolbar']) {
     & #tabbrowser-tabbox #tabbrowser-tabpanels .browserSidebarContainer {
         --uc-tweak-rounded-corners-shadow-color: var(--sno-colors-border) !important;
         box-shadow: var(--uc-tweak-rounded-corners-shadow) !important;
    }
}

i hope this time it will work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant