Skip to content

Commit

Permalink
Fix: Icons - Performance icon replace #918
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Jun 18, 2024
1 parent 036918b commit 5861dba
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 4 deletions.
10 changes: 10 additions & 0 deletions css/leptonChrome.css

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

5 changes: 5 additions & 0 deletions css/leptonChromeESR.css

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

18 changes: 18 additions & 0 deletions css/leptonContent.css

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

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

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

11 changes: 11 additions & 0 deletions src/contents/proton_contents/_about_processes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,15 @@
td.type.favicon[style*='background-image: url("chrome://global/skin/icons/link.svg");'] {
background-image: url("../icons/link.svg") !important;
}

.profiler-icon {
background: url("../icons/performance.svg") no-repeat center !important;
}
}

@include moz-document(url-prefix "about:profiling") {
.perf-intro-icon {
background-image: url("../icons/performance.svg") !important;
}
}

15 changes: 11 additions & 4 deletions src/icons/_1.25px_stroke.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
#firefox-view-button {
list-style-image: url("../icons/firefox-view.svg") !important;
list-style-image: url("../icons/firefox-view.svg") !important;
}
#reset-pbm-toolbar-button {
list-style-image: url("../icons/flame.svg") !important;
list-style-image: url("../icons/flame.svg") !important;
}
#translations-button-icon {
list-style-image: url("../icons/translations.svg") !important;
}
list-style-image: url("../icons/translations.svg") !important;
}

.tabbrowser-tab:is(
[image="chrome://global/skin/icons/performance.svg"],
[image="chrome://devtools/skin/images/tool-profiler.svg"]
) .tab-icon-image {
content: url("../icons/performance.svg") !important;
}

0 comments on commit 5861dba

Please sign in to comment.