mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
Improve toolbar icons for all DPIs
Tag #576. - Redraw toolbar SVG images, pixel-aligning them as best as possible with manual node placement on the pixel grid. - Reintroduce PNG versions for < 1.33 dppx (with added glow arrow) - Make the css adaptive around the 1.33 dppx border, using PNG below that threshold and SVG above it.
This commit is contained in:
parent
7f9b5f6329
commit
2c450f5ad9
8 changed files with 3242 additions and 2180 deletions
|
|
@ -5,7 +5,14 @@
|
|||
:root {
|
||||
--toolbar-custom-color: hsl(210,75%,92%);
|
||||
--toolbar-highlight-top: rgba(255,255,255,.5);
|
||||
--toolbarbutton-image: url("chrome://browser/skin/Toolbar.svg");
|
||||
--toolbarbutton-image: url("chrome://browser/skin/Toolbar.png");
|
||||
}
|
||||
|
||||
/* Use SVG for HiDPI 133%+ */
|
||||
@media (min-resolution: 1.33dppx) {
|
||||
:root {
|
||||
--toolbarbutton-image: url("chrome://browser/skin/Toolbar.svg");
|
||||
}
|
||||
}
|
||||
|
||||
/* Toolbar */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue