diff --git a/modules/home/gui/apps/browsers/floorp/config/settings/config/cosmetics.nix b/modules/home/gui/apps/browsers/floorp/config/settings/config/cosmetics.nix index c8c209f..ffa4740 100755 --- a/modules/home/gui/apps/browsers/floorp/config/settings/config/cosmetics.nix +++ b/modules/home/gui/apps/browsers/floorp/config/settings/config/cosmetics.nix @@ -32,7 +32,7 @@ "floorp.browser.tabs.openNewTabPosition" = 1; "services.sync.prefs.sync.floorp.browser.note.memos" = false; "floorp.disable.fullscreen.notification" = true; - "floorp.browser.user.interface" = 8; + "floorp.browser.user.interface" = 1; "browser.newtabpage.activity-stream.floorp.background.type" = 0; "browser.startup.homepage" = "chrome://browser/content/blanktab.html"; "browser.newtabpage.enabled" = false; diff --git a/modules/home/gui/apps/browsers/floorp/config/themes/config/userChrome.css b/modules/home/gui/apps/browsers/floorp/config/themes/config/userChrome.css index 8313c11..732818b 100755 --- a/modules/home/gui/apps/browsers/floorp/config/themes/config/userChrome.css +++ b/modules/home/gui/apps/browsers/floorp/config/themes/config/userChrome.css @@ -93,3 +93,78 @@ visibility: visible !important; opacity: 1 !important; } + +/* One-Line Tweak */ +:root { + --navbarWidth: clamp(300px, 30vw, 30vw); + --animationSpeed: 0.15s; +} + + +/* Oneline tweak */ +#TabsToolbar { + margin-left: var(--navbarWidth) !important; +} + +#nav-bar { + margin-right: calc(100vw - var(--navbarWidth)) !important; +} + +#urlbar-container { + min-width: 0px !important; +} + +:root[uidensity="compact"] #nav-bar { + margin-top: -37px !important; + height: 37px !important; +} + +:root:not([uidensity="compact"]):not([uidensity="touch"]) #nav-bar { + margin-top: -44px !important; + height: 44px !important; +} + +:root[uidensity="touch"] #nav-bar { + margin-top: -49px !important; + height: 49px !important; +} + + +/* Dragging space */ +:root[sizemode="maximized"] #TabsToolbar { + margin-top: 1px; +} + +#TabsToolbar { + margin-top: 5px; +} + + +/* Simplifying interface */ +#nav-bar { + background: none !important; + box-shadow: none !important; +} + +#navigator-toolbox { + border: none !important; +} + +.titlebar-spacer { + display: none !important; +} + +#urlbar-background { + border: none !important; +} + +#urlbar:not(:hover):not([breakout][breakout-extend])>#urlbar-background { + box-shadow: none !important; + background: none !important; +} + +/* Add tab width constraints */ +.tabbrowser-tab { + min-width: 80px !important; + max-width: 150px !important; +}