From a45bdb1c48618eceab44d8ce86470fdd84f600e5 Mon Sep 17 00:00:00 2001 From: 2641a40fd44383320adde4b027a1d0b03bd550 <58827198+2641a40fd44383320adde4b027a1d0b03bd550@users.noreply.github.com> Date: Sat, 7 Jan 2023 19:41:43 +0500 Subject: [PATCH] Add: Rounding - Dialog --- css/leptonChrome.css | 5 +++++ src/rounding/_square.scss | 6 ++++++ user.js | 1 + 3 files changed, 12 insertions(+) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index e26b417..505ff9b 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -3082,6 +3082,11 @@ --tab-border-radius: var(--toolbarbutton-border-radius); } } +@supports -moz-bool-pref("userChrome.rounding.square_dialog") { + .dialogBox { + border-radius: 0 !important; + } +} @supports -moz-bool-pref("userChrome.rounding.square_panel") { :root { --arrowpanel-border-radius: 0 !important; diff --git a/src/rounding/_square.scss b/src/rounding/_square.scss index 76361c9..4c1181b 100644 --- a/src/rounding/_square.scss +++ b/src/rounding/_square.scss @@ -35,6 +35,12 @@ } } +@include Option("userChrome.rounding.square_dialog") { + .dialogBox { + border-radius: 0 !important; + } +} + @include Option("userChrome.rounding.square_panel") { :root { --arrowpanel-border-radius: 0 !important; diff --git a/user.js b/user.js index d00aa34..c649538 100644 --- a/user.js +++ b/user.js @@ -120,6 +120,7 @@ user_pref("userChrome.rounding.square_tab", false); // user_pref("userChrome.combined.sub_button.as_normal", true); // user_pref("userChrome.rounding.square_button", true); +// user_pref("userChrome.rounding.square_dialog", true); // user_pref("userChrome.rounding.square_panel", true); // user_pref("userChrome.rounding.square_panelitem", true); // user_pref("userChrome.rounding.square_menupopup", true);