From 3ec8d42fbf6eed78c24de2caca63d91a2604ff50 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 19 May 2024 14:54:41 +0700 Subject: init --- firefox/treeStyleTabs.css | 21 +++++++++++++++ firefox/userChrome.css | 68 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 firefox/treeStyleTabs.css create mode 100644 firefox/userChrome.css (limited to 'firefox') diff --git a/firefox/treeStyleTabs.css b/firefox/treeStyleTabs.css new file mode 100644 index 0000000..d83b21c --- /dev/null +++ b/firefox/treeStyleTabs.css @@ -0,0 +1,21 @@ +:root[color-scheme="system-color"][data-user-agent*="Linux"] + tab-item:not(.active):not(.bundled-active):not(.highlighted), +:root[color-scheme="system-color"][data-user-agent*="Linux"] + .after-tabs button, +:root[color-scheme="system-color"][data-user-agent*="Linux"] + .after-tabs [role="button"], +:root[color-scheme="system-color"][data-user-agent*="Linux"] + #subpanel-selector-anchor, +:root[color-scheme="system-color"][data-user-agent*="Linux"] + #background { + --toolbar-non-lwt-bgcolor: ThreeDShadow /* or something background color */; + --toolbar-non-lwt-textcolor: ButtonText /* or something foreground color */; + background-color: #2f343f; + box-shadow: none; +} +tab-item tab-item-substance { + height: 42px; +} +tab-item .background { + box-shadow: none !important; +} diff --git a/firefox/userChrome.css b/firefox/userChrome.css new file mode 100644 index 0000000..7a929d7 --- /dev/null +++ b/firefox/userChrome.css @@ -0,0 +1,68 @@ +#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar>.toolbar-items { + opacity: 0; + pointer-events: none; +} + +#main-window:not([tabsintitlebar="true"]) #TabsToolbar { + visibility: collapse !important; +} + +#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar .titlebar-spacer { + border-inline-end: none; +} + +/* Adding empty space for buttons */ +#nav-bar { + box-sizing: border-box; +} + +/* 15px for dragging whole window by mouse*/ +#titlebar { + height: 0px; +} + +menubar, toolbar, nav-bar, #TabsToolbar > *{ + background-color: #30303000 !important; +} + +/* Fix for main menu calling by Alt button */ +#titlebar>#toolbar-menubar { + margin-top: 10px; +} + +/* Move minimize/restore/close buttons to empty space */ +#TabsToolbar>.titlebar-buttonbox-container { + /* + display: block; + position: absolute; + top: 14px; + right: 8px; + */ + display: none; +} + +/* Hide horizontal tabs at the top of the window */ +#tabbrowser-tabs { + visibility: collapse !important; +} + +#tabbrowser-tabs { + visibility: collapse !important; + min-height: 0 !important; +} + +tab { + display: none !important; +} + +#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header { + display: none; +} + +* { + font-size: 14px !important; +} + +.sidebar-splitter { + width: 0px !important; +} -- cgit v1.2.3