Skip to content

Commit

Permalink
Scrollbars are finally coloured... and removed overlayn't restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
dominichayesferen committed Mar 5, 2023
1 parent 0ff9827 commit 86e4efd
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
23 changes: 21 additions & 2 deletions mod-files/chrome/ferenChrome.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
/* FIREFOX GTKLESS STYLE CHECK HEADER - DO NOT REMOVE UNLESS YOU WANT TO RETAIN THIS VERSION DURING A GTKLESS-CSS UPDATE */

/* Scrollbars for all pages, and the browser itself */
@media (prefers-color-scheme: light) { /* Based on about:newtab palette */
html,
body {
scrollbar-color: #15141A #F9F9FB;
}
}
@media (prefers-color-scheme: dark) {
html,
body {
scrollbar-color: #FBFBFE #2B2A33;
}
}

/* Stuff for the browser */
@-moz-document url('chrome://browser/content/browser.xhtml') {

/*
Expand Down Expand Up @@ -375,6 +390,10 @@
border: 3px solid background !important;
border-radius: 5px !important;
}*/
panelview,
menupopup {
scrollbar-color: var(--arrowpanel-color) var(--arrowpanel-background);
}


/* Menus */
Expand Down Expand Up @@ -468,9 +487,9 @@
}



/* Optional Firefox palettes */
@supports -moz-bool-pref("gtkless.colors-adwaita") {
/* Optional Firefox colours: Adwaita */
/* Adwaita */
/* LIGHT THEME */
@media (prefers-color-scheme: light) {
:not(:-moz-lwtheme) {
Expand Down
2 changes: 2 additions & 0 deletions mod-files/chrome/userContent.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* insert other mods, above ferenChrome.css, here */
@import url("ferenChrome.css");
1 change: 0 additions & 1 deletion mod-files/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ user_pref("widget.content.gtk-theme-override", "Adwaita");
user_pref("widget.gtk.alt-theme.accent", false);
user_pref("widget.gtk.alt-theme.scrollbar_active", false);
user_pref("widget.gtk.alt-theme.selection", false);
user_pref("widget.gtk.overlay-scrollbars.enabled", false);
user_pref("widget.gtk.theme-scrollbar-colors.enabled", false);
user_pref("layout.css.backdrop-filter.enabled", true);
user_pref("layout.css.color-mix.enabled", true);
Expand Down

0 comments on commit 86e4efd

Please sign in to comment.