Skip to content

Instantly share code, notes, and snippets.

@ytomino
Created October 16, 2018 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ytomino/0146f9d3d87dfd885a015b42f86814ed to your computer and use it in GitHub Desktop.
Save ytomino/0146f9d3d87dfd885a015b42f86814ed to your computer and use it in GitHub Desktop.
Make Firefox's minimize/maximize/close buttons to white for using Firefox's dark theme, in DE's white theme (KDE Breeze)
#titlebar-min,
#titlebar-max,
#titlebar-close {
/* -moz-appearance: -moz-window-button-minimize !important; */
-moz-appearance: none !important;
list-style-position: outside;
-moz-image-region: rect(0, 18px, 18px, 0);
padding: 0px 0px 0px 0px !important;
margin: 0px 0px 0px 4px !important;
}
#titlebar-min:hover,
#titlebar-max:hover,
#titlebar-close:hover {
}
#titlebar-min {
list-style-image: url("file:///usr/share/themes/Breeze-Dark/assets/titlebutton-minimize.png");
}
#titlebar-max {
list-style-image: url("file:///usr/share/themes/Breeze-Dark/assets/titlebutton-maximize.png");
}
#titlebar-close {
list-style-image: url("file:///usr/share/themes/Breeze-Dark/assets/titlebutton-close.png");
}
#titlebar-min:hover {
list-style-image: url("file:///usr/share/themes/Breeze-Dark/assets/titlebutton-minimize-hover.png");
}
#titlebar-max:hover {
list-style-image: url("file:///usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-hover.png");
}
#titlebar-close:hover {
list-style-image: url("file:///usr/share/themes/Breeze-Dark/assets/titlebutton-close-hover.png");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment