summary refs log tree commit diff
path: root/.mozilla/firefox/hibiki.default/chrome
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-02-10 12:32:48 +0100
committerRobert Günzler <r@gnzler.io>2026-02-10 12:41:25 +0100
commit63feeb9f369fc6176e85c1c2d8fcc863caad1946 (patch)
tree41cd5d2d1ec36e74e464caab722cc9b460153f04 /.mozilla/firefox/hibiki.default/chrome
parent5bd0a4aca65ecb9818ef1285982d160b6b6ff665 (diff)
start new
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.mozilla/firefox/hibiki.default/chrome')
-rw-r--r--.mozilla/firefox/hibiki.default/chrome/Makefile14
-rw-r--r--.mozilla/firefox/hibiki.default/chrome/csshacks.hide_tabs_toolbar_v2.css51
-rw-r--r--.mozilla/firefox/hibiki.default/chrome/lepton.patch34
-rw-r--r--.mozilla/firefox/hibiki.default/chrome/user.sidebar.css59
-rw-r--r--.mozilla/firefox/hibiki.default/chrome/user.urlbar.css28
-rw-r--r--.mozilla/firefox/hibiki.default/chrome/userChrome.css107
-rw-r--r--.mozilla/firefox/hibiki.default/chrome/userContent.css21
7 files changed, 0 insertions, 314 deletions
diff --git a/.mozilla/firefox/hibiki.default/chrome/Makefile b/.mozilla/firefox/hibiki.default/chrome/Makefile
deleted file mode 100644
index 3e5c8d6..0000000
--- a/.mozilla/firefox/hibiki.default/chrome/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-STYLE := proton-style
-
-all: fetch patch
-
-.PHONY: fetch
-fetch:
-	@echo Fetching lepton...
-	curl -sSL "https://github.com/black7375/Firefox-UI-Fix/raw/${STYLE}/css/leptonChrome.css" -o lepton.userChrome.css
-	curl -sSL "https://github.com/black7375/Firefox-UI-Fix/raw/${STYLE}/css/leptonContent.css" -o lepton.userContent.css
-
-.PHONY: patch
-patch:
-	@echo Patching lepton...
-	patch -p1 --reject-file - < lepton.patch
diff --git a/.mozilla/firefox/hibiki.default/chrome/csshacks.hide_tabs_toolbar_v2.css b/.mozilla/firefox/hibiki.default/chrome/csshacks.hide_tabs_toolbar_v2.css
deleted file mode 100644
index 37dadb8..0000000
--- a/.mozilla/firefox/hibiki.default/chrome/csshacks.hide_tabs_toolbar_v2.css
+++ /dev/null
@@ -1,51 +0,0 @@
-/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/hide_tabs_toolbar_v2.css made available under Mozilla Public License v. 2.0
-See the above repository for updates as well as full license text. */
-
-/* This requires Firefox 133+ to work */
-
-@media (-moz-bool-pref: "sidebar.verticalTabs"){
-  #sidebar-main{
-    visibility: collapse;
-  }
-}
-@media (-moz-bool-pref: "userchrome.force-window-controls-on-left.enabled"){
-  #nav-bar > .titlebar-buttonbox-container{
-    order: -1 !important;
-    > .titlebar-buttonbox{
-      flex-direction: row-reverse;
-    }
-  }
-}
-@media not (-moz-bool-pref: "sidebar.verticalTabs"){
-  #TabsToolbar:not([customizing]){
-    visibility: collapse;
-  }
-  :root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
-    display: flex !important;
-  }
-  :root:is([tabsintitlebar],[customtitlebar]) #toolbar-menubar:not([autohide="false"]) ~ #nav-bar{
-    > .titlebar-buttonbox-container{
-      display: flex !important;
-    }
-    :root[sizemode="normal"] & {
-      > .titlebar-spacer{
-        display: flex !important;
-      }
-    }
-    :root[sizemode="maximized"] & {
-      > .titlebar-spacer[type="post-tabs"]{
-        display: flex !important;
-      }
-      @media (-moz-bool-pref: "userchrome.force-window-controls-on-left.enabled"),
-        (-moz-gtk-csd-reversed-placement),
-        (-moz-platform: macos){
-        > .titlebar-spacer[type="post-tabs"]{
-          display: none !important;
-        }
-        > .titlebar-spacer[type="pre-tabs"]{
-          display: flex !important;
-        }
-      }
-    }
-  }
-}
\ No newline at end of file
diff --git a/.mozilla/firefox/hibiki.default/chrome/lepton.patch b/.mozilla/firefox/hibiki.default/chrome/lepton.patch
deleted file mode 100644
index b87db26..0000000
--- a/.mozilla/firefox/hibiki.default/chrome/lepton.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- ./lepton.userChrome.css	2022-05-24 23:50:09.178033305 +0200
-+++ ./lepton.userChrome.css	2022-05-24 23:49:33.843031418 +0200
-@@ -23,6 +23,6 @@
-   /*= Darkmode - Color lighter =================================================*/
-   :root[lwtheme-mozlightdark][lwthemetextcolor="bright"],
-   :root[style*="--lwt-accent-color: rgb(28, 27, 34); --lwt-text-color: rgba(251, 251, 254);"] {
--    --toolbar-bgcolor: rgba(43, 42, 51, 5) !important; /* Original: rgba(43, 42, 51, 1) */
-+    /* noop */
-   }
- }
-@@ -4398,9 +4398,9 @@
-   @supports -moz-bool-pref("userChrome.padding.urlbar") {
-     :root:not([uidensity="touch"]) #urlbar-container,
-     :root:not([uidensity="touch"]) #search-container {
--      padding-block: 3px !important; /* Original: 4px */
-+      padding-block: 0 !important; /* Original: 4px */
-     }
-     :root:not([uidensity="compact"]) #urlbar-container,
-     :root:not([uidensity="compact"]) #search-container {
--      padding-block: 2px !important;
-+      padding-block: 0 !important;
-     }
-@@ -18480,9 +18480,9 @@
- @media (not (-moz-bool-pref: "userChrome.urlView.as_commandbar")) and (-moz-bool-pref: "userChrome.padding.urlbar") {
-   :root:not([uidensity="touch"]) #urlbar-container,
-   :root:not([uidensity="touch"]) #search-container {
--    padding-block: 3px !important; /* Original: 4px */
-+    padding-block: 0 !important; /* Original: 4px */
-   }
-   :root:not([uidensity="compact"]) #urlbar-container,
-   :root:not([uidensity="compact"]) #search-container {
--    padding-block: 2px !important;
-+    padding-block: 0 !important;
-   }
diff --git a/.mozilla/firefox/hibiki.default/chrome/user.sidebar.css b/.mozilla/firefox/hibiki.default/chrome/user.sidebar.css
deleted file mode 100644
index 4b76246..0000000
--- a/.mozilla/firefox/hibiki.default/chrome/user.sidebar.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* = SIDEBAR STUFF ========================================================== */
-
-/* sidebar that collapses when not hovered */
-:root {
-	--thin-tab-width: 31px;
-	--wide-tab-width: 280px;
-}
-
-@media (-moz-bool-pref: "sidebar.revamp") {
-	#sidebar-box {
-		padding: 0 !important;
-	}
-
-	#sidebar {
-		border-radius: 0 !important;
-	}
-}
-
-#sidebar-box {
-	width: unset !important;
-	z-index: 1;
-	opacity: 1.0 !important;
-	border-right: 1px solid var(--chrome-content-separator-color);
-	background-color: var(--toolbar-bgcolor) !important;
-}
-
-#sidebar-box:not([hidden]) {
-	min-width: var(--thin-tab-width) !important;
-	max-width: var(--thin-tab-width) !important;
-	overflow-x: hidden !important;
-	/* animate transition */
-	transition: all 40ms !important;
-}
-
-#sidebar-box:not([hidden]):hover,
-#sidebar-box:not([hidden]):active,
-#sidebar-box:not([hidden]):focus-within,
-#sidebar-box:not([hidden]):-moz-drag-over,
-#sidebar-box:not([hidden])>.Tab[selected="true"] {
-	min-width: var(--wide-tab-width) !important;
-	max-width: var(--wide-tab-width) !important;
-}
-
-/* make sure the contents of the sidebar are not squished */
-#sidebar {
-	min-width: var(--wide-tab-width) !important;
-	max-width: var(--wide-tab-width) !important;
-	margin-left: 0 !important;
-}
-
-/* hide sidebar header */
-#sidebar-header {
-	visibility: collapse;
-}
-
-/* hide sidebar shadow */
-#sidebar-splitter {
-	display: none !important;
-}
diff --git a/.mozilla/firefox/hibiki.default/chrome/user.urlbar.css b/.mozilla/firefox/hibiki.default/chrome/user.urlbar.css
deleted file mode 100644
index 2a5297c..0000000
--- a/.mozilla/firefox/hibiki.default/chrome/user.urlbar.css
+++ /dev/null
@@ -1,28 +0,0 @@
-/* = URLBAR STUFF =========================================================== */
-
-#urlbar-container {
-	--urlbar-container-height: 29px !important;
-	--urlbar-container-padding: 0 !important;
-	--urlbar-padding-block: 0 !important;
-	--urlbar-margin-inline: 0 !important;
-}
-
-#urlbar-background {
-	background-color: var(--toolbar-bgcolor) !important;
-}
-
-#urlbar[breakout][breakout-extend] {
-	width: var(--urlbar-width) !important;
-}
-
-#urlbar[breakout][breakout-extend]>.urlbar-input-container {
-	padding-block: var(--urlbar-padding-block) !important;
-	padding-inline: var(--urlbar-padding-block) !important;
-}
-
-#urlbar-results {
-	--urlbarView-results-padding: 2px !important;
-
-	padding-top: 0 !important;
-	border-top: none !important;
-}
diff --git a/.mozilla/firefox/hibiki.default/chrome/userChrome.css b/.mozilla/firefox/hibiki.default/chrome/userChrome.css
deleted file mode 100644
index 6d2d27c..0000000
--- a/.mozilla/firefox/hibiki.default/chrome/userChrome.css
+++ /dev/null
@@ -1,107 +0,0 @@
-/* vim: foldmethod=marker
- */
-
-@import url(lepton.userChrome.css);
-@import url(csshacks.hide_tabs_toolbar_v2.css);
-@import url(user.urlbar.css);
-@import url(user.sidebar.css);
-
-@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
-@namespace html "http://www.w3.org/1999/xhtml";
-
-* {
-    font-family: "Iosevka Aile", monospace !important;
-}
-
-@media (-moz-toolbar-prefers-color-scheme: dark),
-(prefers-color-scheme: dark) {
-    :root {
-        --toolbar-non-lwt-bgcolor: #040405 !important;
-        --toolbar-bgcolor: #040405 !important;
-        --toolbar-color: #fffffb !important;
-    }
-}
-
-:root {
-    --urlbar-box-bgcolor: var(--toolbar-bgcolor) !important;
-    --urlbar-icon-fill-opacity: 0.8 !important;
-    --arrowpanel-background: var(--toolbar-bgcolor) !important;
-
-    --chrome-content-separator-color: #70649ab0 !important;
-}
-
-/* prevent pre-load flash bang */
-.browserContainer {
-    background-color: var(--toolbar-bgcolor) !important;
-}
-
-.tabbrowser tabpanels {
-    background-color: var(--toolbar-bgcolor) !important;
-}
-
-#titlebar {
-    display: none !important;
-}
-
-.titlebar-spacer[type="pre-tabs"],
-.titlebar-spacer[type="post-tabs"] {
-    width: 0 !important;
-}
-
-/* = RADIUS STUFF ========================================================== */
-
-/* Makes urlbar and many other things sharper on the edges */
-:root {
-    --any-border-radius: 0;
-    --toolbarbutton-border-radius: var(--any-border-radius) !important;
-    --urlbar-icon-border-radius: var(--any-border-radius) !important;
-    --arrowpanel-menuitem-border-radius: var(--any-border-radius) !important;
-    --arrowpanel-border-radius: var(--any-border-radius) !important;
-}
-
-menupopup,
-panel {
-    --panel-padding: 0 !important;
-    --panel-border-radius: var(--any-border-radius) !important;
-}
-
-.dialogBox {
-    border-radius: var(--any-border-radius) !important;
-}
-
-/* Hide the back and forward buttons */
-#main-window :-moz-any(#back-button, #forward-button) {
-    display: none !important;
-}
-
-/* Disable statuspanel completely, remove this if you want to keep the statuspanel */
-statuspanel {
-    display: none !important;
-}
-
-/* = PANEL STUFF =========================================================== */
-
-:root {
-    /*removes any excess space at start/end of toolbar*/
-    --toolbarbutton-outer-padding: 0 !important;
-    --toolbar-start-end-padding: 0 !important;
-}
-
-#TabsToolbar {
-    display: none !important;
-}
-
-#nav-bar {
-    /*removes thin space at the top of window*/
-    border-top: none !important;
-}
-
-/*spacer cannot be removed via customize, do this instead*/
-#nav-bar toolbarspring {
-    min-width: 0 !important;
-    flex-grow: 0 !important;
-}
-
-.titlebar-spacer {
-    width: 0 !important;
-}
diff --git a/.mozilla/firefox/hibiki.default/chrome/userContent.css b/.mozilla/firefox/hibiki.default/chrome/userContent.css
deleted file mode 100644
index 34d1bb6..0000000
--- a/.mozilla/firefox/hibiki.default/chrome/userContent.css
+++ /dev/null
@@ -1,21 +0,0 @@
-
-@import url(lepton.userContent.css);
-
-/* 
-   dark background in new tabs without a white flash (with tridactyl newtab)
-   @see: https://github.com/tridactyl/tridactyl/issues/2510
-*/
-:root {
-  --toolbar-bgcolor: #040405 !important;
-}
-
-/*
-    set the background color of the new tab page (without tridactyl or with tridactyl without newtab)
-*/
-@-moz-document url("about:home"), url("about:newtab"), url("about:blank") {
-  @media (prefers-color-scheme: dark) {
-    body {
-      background: var(--toolbar-bgcolor);
-    }
-  }
-}