From 6d2cfe210ef3208c56aaf94aeffa569fdb0c1701 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sun, 17 Sep 2023 01:51:50 +0900 Subject: [PATCH] Fix: Rounding - Screenshot buttons #640 --- css/leptonContent.css | 3 +++ css/leptonContentESR.css | 3 +++ src/contents/_rounding.scss | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/css/leptonContent.css b/css/leptonContent.css index b38e88f..f5a5684 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -2958,6 +2958,9 @@ } /** Rounding ******************************************************************/ @supports -moz-bool-pref("userChrome.rounding.square_button") { + .all-buttons-container, + .highlight-buttons > button, + .cancel-shot, #pictureInPictureToggle > .pip-small { border-radius: 0 !important; } diff --git a/css/leptonContentESR.css b/css/leptonContentESR.css index bf6197c..6ca6479 100644 --- a/css/leptonContentESR.css +++ b/css/leptonContentESR.css @@ -2961,6 +2961,9 @@ } /** Rounding ******************************************************************/ @supports -moz-bool-pref("userChrome.rounding.square_button") { + .all-buttons-container, + .highlight-buttons > button, + .cancel-shot, #pictureInPictureToggle > .pip-small { border-radius: 0 !important; } diff --git a/src/contents/_rounding.scss b/src/contents/_rounding.scss index 7074c3c..c22ac81 100644 --- a/src/contents/_rounding.scss +++ b/src/contents/_rounding.scss @@ -1,4 +1,10 @@ @include Option("userChrome.rounding.square_button") { + // #firefox-screenshots-selection-iframe + .all-buttons-container, + .highlight-buttons > button, + .cancel-shot, + + // Video player #pictureInPictureToggle > .pip-small { border-radius: 0 !important; }