Skip to content

Commit

Permalink
Add: Content - about:support refresh button as danger color #941
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Jul 7, 2024
1 parent f07e9f4 commit 5fe1a84
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 0 deletions.
40 changes: 40 additions & 0 deletions css/leptonContent.css

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

19 changes: 19 additions & 0 deletions css/leptonContentESR.css

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

3 changes: 3 additions & 0 deletions src/contents/_proton_contents.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@
/*= about:processes ==========================================================*/
@import "proton_contents/about_processes";

/*= about:processes ==========================================================*/
@import "proton_contents/about_others";

/*= chrome://browser/content/places/places.xhtml =============================*/
@import "../library/contents";
19 changes: 19 additions & 0 deletions src/contents/proton_contents/_about_others.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@include moz-document(url-prefix "about:support") {
#reset-box-button {
--in-content-focus-outline-color: var(--in-content-danger-button-background) !important;
background-color: var(--in-content-danger-button-background) !important;
color: var(--in-content-primary-button-text-color) !important;
border-color: var(--in-content-primary-button-border-color) !important;

&:enabled:hover {
background-color: var(--in-content-danger-button-background-hover) !important;
color: var(--in-content-primary-button-text-color-hover) !important;
border-color: var(--in-content-primary-button-border-hover) !important;
}
&:enabled:hover:active {
background-color: var(--in-content-danger-button-background-active) !important;
color: var(--in-content-primary-button-text-color-active) !important;
border-color: var(--in-content-primary-button-border-active) !important;
}
}
}

0 comments on commit 5fe1a84

Please sign in to comment.