Last active
September 25, 2023 10:55
-
-
Save RoxasShadow/8fb1832d35480a4782b0e3e8cdd29ccf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--uc-bg-color: #1a1e26; | |
--uc-show-new-tab-button: none; | |
--uc-show-tab-separators: none; | |
--uc-tab-separators-color: none; | |
--uc-tab-separators-width: none; | |
--uc-tab-fg-color: #fff; | |
} | |
#titlebar { | |
-moz-box-ordinal-group: 2 !important; | |
} | |
#nav-bar { | |
margin-left: 3vw !important; | |
} | |
#nav-bar-customization-target { | |
margin-left: 25px !important; | |
} | |
.titlebar-buttonbox-container { | |
background-color: rgb(50, 50, 52); | |
margin-top: -80px !important; | |
/* enable on windows for close btn */ | |
margin-top: 0 !important; | |
position: fixed; | |
display: block; | |
left: -95px; | |
z-index: 1; | |
margin-top: 7px !important; | |
} | |
.tab-close-button.close-icon { /* remove on windows for close btn */ | |
display: none !important; | |
} | |
.tabbrowser-tab:hover .tab-close-button.close-icon { /* remove on windows for close btn */ | |
display: block !important; | |
} | |
#TabsToolbar { | |
min-height: 28px !important; | |
} | |
#TabsToolbar > .toolbar-items { | |
margin-left: -66px !important; /* 0px on windows */ | |
} | |
.tabbrowser-tab:not([pinned]) { | |
max-width: 100vw !important; | |
} | |
.tabbrowser-tab:not([fadein]), | |
.titlebar-spacer, | |
.tab-line, | |
#tracking-protection-icon-container, | |
#identity-box { | |
display: none !important; | |
border: none !important; | |
} | |
#urlbar-background, | |
.titlebar-buttonbox-container, | |
#nav-bar, | |
.tabbrowser-tab:not([selected]) .tab-background { | |
background: var(--uc-bg-color) !important; | |
border: none !important; | |
} | |
#urlbar[breakout][breakout-extend] { | |
top: calc( | |
(var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2 | |
) !important; | |
left: 0 !important; | |
width: 100% !important; | |
} | |
#urlbar[breakout][breakout-extend] > #urlbar-input-container { | |
height: var(--urlbar-height) !important; | |
padding-block: 0 !important; | |
padding-inline: 0 !important; | |
} | |
#urlbar[breakout][breakout-extend] > #urlbar-background { | |
animation-name: none !important; | |
box-shadow: none !important; | |
} | |
#urlbar-background { | |
box-shadow: none !important; | |
} | |
.tabbrowser-tab::after { | |
border-left: var(--uc-tab-separators-width) solid | |
var(--uc-tab-separators-color) !important; | |
display: var(--uc-show-tab-separators) !important; | |
} | |
.tabbrowser-tab[first-visible-tab][last-visible-tab] { | |
background-color: var(--uc-bar-bg-color) !important; | |
} | |
#urlbar-input { | |
text-align: center !important; | |
margin-left: 3px !important; | |
} | |
#urlbar-input:focus { | |
text-align: left !important; | |
} | |
#urlbar-container { | |
margin-left: 3vw !important; | |
} | |
.tab-text.tab-label { | |
color: var(--uc-tab-fg-color) !important; | |
} | |
#navigator-toolbox { | |
border-bottom: 0px solid red !important; | |
background: var(--uc-bg-color) !important; | |
} | |
/* Hide tabs */ | |
#TabsToolbar{ visibility: collapse !important } | |
/* Hide tabs - enable on windows */ | |
#titlebar { | |
-moz-box-ordinal-group: initial !important; | |
} | |
:root[tabsintitlebar]{ --uc-toolbar-height: 40px; } | |
:root[tabsintitlebar][uidensity="compact"]{ --uc-toolbar-height: 32px } | |
:root[sizemode="fullscreen"] #TabsToolbar > :is(#window-controls,.titlebar-buttonbox-container){ | |
visibility: visible !important; | |
z-index: 2; | |
float: left; | |
} | |
:root:not([inFullscreen]) #nav-bar{ | |
margin-top: calc(0px - var(--uc-toolbar-height,0px)); | |
} | |
:root[tabsintitlebar] #toolbar-menubar[autohide="true"]{ | |
min-height: unset !important; | |
height: var(--uc-toolbar-height,0px) !important; | |
position: relative; | |
} | |
#toolbar-menubar[autohide="false"]{ | |
margin-bottom: var(--uc-toolbar-height,0px) | |
} | |
:root[tabsintitlebar] #toolbar-menubar[autohide="true"] #main-menubar{ | |
-moz-box-flex: 1; | |
-moz-box-align: stretch; | |
background-color: var(--toolbar-bgcolor,--toolbar-non-lwt-bgcolor); | |
background-clip: padding-box; | |
border-right: 30px solid transparent; | |
border-image: linear-gradient(to left, transparent, var(--toolbar-bgcolor,--toolbar-non-lwt-bgcolor) 30px) 20 / 30px | |
} | |
#toolbar-menubar:not([inactive]){ z-index: 2 } | |
#toolbar-menubar[autohide="true"][inactive] > #menubar-items { | |
opacity: 0; | |
pointer-events: none; | |
margin-left: var(--uc-window-drag-space-pre,0px) | |
} | |
/* Auto hide sidebar */ | |
#sidebar-box { | |
--sidebar-hover-width: 30px; | |
position: relative !important; | |
overflow-x: hidden !important; | |
/* margin-right: calc(var(--sidebar-hover-width) * -1) !important; */ | |
margin-right: 0 !important; | |
min-width: var(--sidebar-hover-width) !important; | |
max-width: var(--sidebar-hover-width) !important; | |
border-right: 1px solid var(--sidebar-border-color); | |
z-index:2147483647 !important; | |
transition: all 0.25s; | |
} | |
#sidebar-box:hover { | |
--sidebar-visible-width: 250px; | |
margin-right: calc(var(--sidebar-visible-width) * -1) !important; | |
min-width: var(--sidebar-visible-width) !important; | |
max-width: var(--sidebar-visible-width) !important; | |
transition: all 0.25s; | |
} | |
#sidebar, #sidebar-box:hover #sidebar { | |
opacity: 1 !important; | |
} | |
#sidebar-header { | |
visibility: collapse !important; | |
} | |
#sidebar-splitter { | |
display: none; | |
} |
Author
RoxasShadow
commented
Sep 25, 2023
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment