-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Files for sidebar icons need update #669
Comments
Thanks for the note. Fixed versions will be part of next update. I reused similar rules known from |
Arrgh. I see now my mistake: For testing purposes I had disabled the existing But, Aris, the new rules need an addition: #sidebarMenu-popup menuitem::before {
background-repeat: no-repeat;
} And for #sidebar-reverse-position::before {
background-image: url("chrome://devtools/skin/images/tool-network.svg") !important;
transfrom: rotate(90deg);
} |
Did you have a chance to test the latest builds? |
I had not checked yet, but did now. Both additions as written on 20 August are still necessary here. Oh, no, not quite right: In the second one only the rotate transformation is needed, the image is loaded by the styling rule. BTW you’ve removed it in v. 4.5.5, although the rule looked a bit different: diff, line 32. |
generalui/sidebar_header_icons.css
which should add icons to the sidebar panel menu does not work for several Firefox versions now. I recently found in another style collection (FF-Menu-Icon-Plus-CSS) a way to fix this. The rules do not work with this either (and therefore I did not notice this earlier), but adding!important
helps!For me this works without further padding adjustments, I may have set these elsewhere, though. Regarding the last rule: I do not know when the close menu item got its own ID, but apparently it lacked one in past Firefox versions (active version at time of writing is 129), so I‘ve added the older selector declaration.
If one wants to have these icons colored there is an issue:
With this approach using
::before
andcontent
neithercolor
norfill
work. We have to use css filters, instead, and adjusting these to the hex colors is a PITA. However, someone somewhere in StackExchange mentioned https://isotropic.co/tool/hex-color-to-css-filter/ for conversion. Note that this provides unstable results (every run is different), but there is a reliability line at the end. For some of the hex colors the converter found an exact solution (“loss 0.0”), but for one dark mode color (#ff5a5a
) it struggled heavily.For the five panel menu items it looks like this for light mode:
The updated
generalui/sidebar_header_icons_colorized.css
should probably have these updated rules:sidebar_header_icons_colorized.css
The text was updated successfully, but these errors were encountered: