Skip to content

Commit

Permalink
Merge pull request #661 from 2641a40fd44383320adde4b027a1d0b03bd550/p…
Browse files Browse the repository at this point in the history
…atch-1
  • Loading branch information
black7375 committed Mar 10, 2023
2 parents c8b0469 + 143601d commit 267c31c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
3 changes: 2 additions & 1 deletion css/leptonChrome.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions css/leptonContent.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions src/contents/_rounding.scss
@@ -1,13 +1,14 @@
@include Option("userChrome.rounding.square_button") {
@include moz-document(
url-prefix "about:",
url-prefix "chrome://browser/content/",
url-prefix "chrome://pippki/content/"
regexp "^chrome:\/\/\\w+\/content\/.*\.xhtml$"
) {
button,
.close-icon,
.action-icon::before,
.web-appearance-choice,
.page-section-header > .twisty,
.closed-tab-li-main,
#categories > .category,
.sidebar-footer-link {
border-radius: 0 !important;
Expand Down Expand Up @@ -71,8 +72,7 @@
@include Option("userChrome.rounding.square_checklabel") {
@include moz-document(
url-prefix "about:",
url-prefix "chrome://browser/content/",
url-prefix "chrome://pippki/content/"
regexp "^chrome:\/\/\\w+\/content\/.*\.xhtml$"
) {
input[type="checkbox"]:not(.toggle-button),
.checkbox-check {
Expand All @@ -84,8 +84,7 @@
@include Option("userChrome.rounding.square_field") {
@include moz-document(
url-prefix "about:",
url-prefix "chrome://browser/content/",
url-prefix "chrome://pippki/content/"
regexp "^chrome:\/\/\\w+\/content\/.*\.xhtml$"
) {
input:is([type="color"], [type="email"], [type="tel"], [type="text"], [type="password"], [type="url"], [type="number"]),
textarea,
Expand Down
3 changes: 2 additions & 1 deletion src/rounding/_square.scss
Expand Up @@ -65,7 +65,8 @@
@include Option("userChrome.rounding.square_menuitem") {
xul|menulist:not([native]),
xul|menulist > xul|menupopup xul|menu,
xul|menulist > xul|menupopup xul|menuitem {
xul|menulist > xul|menupopup xul|menuitem,
.customization-uidensity-menuitem {
border-radius: 0 !important;
}
}
Expand Down

0 comments on commit 267c31c

Please sign in to comment.