mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-30 04:10:32 -08:00
Add: Option - decorations
This commit is contained in:
parent
3892de12c6
commit
2f9127689a
3 changed files with 22 additions and 4 deletions
|
|
@ -1,13 +1,21 @@
|
|||
/*= Cursor Types =============================================================*/
|
||||
@import "cursor";
|
||||
@include Option($cursor) {
|
||||
@import "cursor";
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
/*= Field Border ===========================================================*/
|
||||
@import "field_border";
|
||||
@include Option($fieldBorder) {
|
||||
@import "field_border";
|
||||
}
|
||||
|
||||
/*= Downloads Panel ========================================================*/
|
||||
@import "download_panel";
|
||||
@include Option($downloadPanel) {
|
||||
@import "download_panel";
|
||||
}
|
||||
|
||||
/*= Animate ================================================================*/
|
||||
@import "animate";
|
||||
@include Option($animate) {
|
||||
@import "animate";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,11 @@ $fullyColor: "userChrome.theme.fully_color";
|
|||
$darkColor: "userChrome.theme.fully_dark";
|
||||
$protonChrome: "userChrome.theme.proton_chrome";
|
||||
|
||||
$cursor: "userChrome.decoration.cursor";
|
||||
$fieldBorder: "userChrome.decoration.field_border";
|
||||
$downloadPanel: "userChrome.decoration.download_panel";
|
||||
$animate: "userChrome.decoration.animate";
|
||||
|
||||
@mixin Option($optionName) {
|
||||
@supports -moz-bool-pref("#{$optionName}") {
|
||||
@content;
|
||||
|
|
|
|||
5
user.js
5
user.js
|
|
@ -45,6 +45,11 @@ user_pref("userChrome.theme.fully_color", true);
|
|||
user_pref("userChrome.theme.fully_dark", true);
|
||||
user_pref("userChrome.theme.proton_chrome", true);
|
||||
|
||||
user_pref("userChrome.decoration.cursor", true);
|
||||
user_pref("userChrome.decoration.field_border", true);
|
||||
user_pref("userChrome.decoration.download_panel", true);
|
||||
user_pref("userChrome.decoration.animate", true);
|
||||
|
||||
// ** Useful Options ***********************************************************
|
||||
// Integrated calculator at urlbar
|
||||
user_pref("browser.urlbar.suggest.calculator", true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue