Skip to content

Commit

Permalink
Merge pull request #656 from 2641a40fd44383320adde4b027a1d0b03bd550/p…
Browse files Browse the repository at this point in the history
…atch-1
  • Loading branch information
black7375 authored Mar 3, 2023
2 parents 2fcd7d3 + 6d4b501 commit cb7b22f
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
25 changes: 25 additions & 0 deletions css/leptonContent.css

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

29 changes: 29 additions & 0 deletions src/contents/_rounding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@
border-radius: 0 !important;
}
}

@include moz-document(regexp ".*\.pdf$") {
.toolbarButton,
.dropdownToolbarButton,
.secondaryToolbarButton,
.dialogButton {
border-radius: 0 !important;
}
}
}

@include Option("userChrome.rounding.square_dialog") {
Expand All @@ -51,6 +60,12 @@
border-radius: 0 !important;
}
}

@include moz-document(regexp ".*\.pdf$") {
dialog {
border-radius: 0 !important;
}
}
}

@include Option("userChrome.rounding.square_checklabel") {
Expand Down Expand Up @@ -99,6 +114,13 @@
}
}
}

@include moz-document(regexp ".*\.pdf$") {
.toolbarField,
.thumbnailSelectionRing {
border-radius: 0 !important;
}
}
}

@include Option("userChrome.rounding.square_menupopup") {
Expand All @@ -125,4 +147,11 @@
border-radius: 0 !important;
}
}

@include moz-document(regexp ".*\.pdf$") {
.doorHanger,
.doorHangerRight {
border-radius: 0 !important;
}
}
}

0 comments on commit cb7b22f

Please sign in to comment.