This patch also removes the --default-arrowpanel-* variables. The only place they were used (ever?) was the datetime picker.
Differential Revision: https://phabricator.services.mozilla.com/D115529
Apparently the icon we use for the category-extensions.svg and for extensionGeneric.svg is using a custom mapping
configured in mozapps.inc.mn
This was a bit confusing because I was initially changing the svg content but without having the result that
I was expecting.
With the mapping before this change, the sidebar icon for the extension category and the addon cards for
extension without an icon were both mapped to the same icon (which was the filled one before this patch,
and we would have changed both to the outline icon if we do change the icon content without changing the
mapping as well).
In this patch:
- category-discover.svg content is changed to match the new highlight-20.svg icon
- category-themes.svg content is changed to match the new themes-20.svg icon
- category-extensions.svg content is changed to mach the new extension-20.svg icon
- a new category-plugins.svg file is added and its content set to match the new plugin-20.svg icon
- extensionGeneric.svg and extensions.svg content stays the same as they are on mozilla-central before this change
but we do not map extensionGeneric.svg to category-extensions.svg anymore
It does seem also worth a mention that category-dictionaries.svg is still an svg icon with
viewBox and width/height set to 16, but it doesn't seem we do have yet a new 20x20 optimized icon
to replace this one.
Differential Revision: https://phabricator.services.mozilla.com/D114884
This patch updates the following icons:
- category-available.svg: replaced with the content of the optimized icon update-circle-20.svg
- category-recent.svg: currently replaced with the content of the same icon used for category-available-svg,
but with the addition of the attribute `transform="rotate(180)"` on the svg element, mainly because:
- this two categories may be visible at the same time if there are pending updates available AND
the user selects "View Recent Updates" from the about:addons page gear menu popup
- when both the categories are visible and the about:addons page width is less then 830px, only the
category icons are still visible (similarly to other about pages) and having the exact same icon
for both the categories may look confusing for the user
- The opposite arrow directions does also match the two icons previously used by this two categories buttons
- the recommendation was to use the same icon for both these categories, and so I assumed that one was
meant to be rotate the category-recent.svg one by 180 deg.
- the icon is applied to the category button as a background image, and so rotating it from the CSS rule
would also rotate the category button text as well
As per Step 7 from the "Proton Icons Procedure" google doc, I did run `RUN_FIND_DUPES=1 ./mach package` to
detect if these two icons needed to be added to the allow-dupes file but no duplicate was detected,
I guess it is because:
- update-circle-20.svg may not be yet used anywhere else (and so not part of the icons already used in mozilla-central)
- category-recent.svg is being rotated with an attribute applied in the svg element itself and so it is
technically a different icon from that "duplicate" icons check perspective.
Differential Revision: https://phabricator.services.mozilla.com/D114780
This allow the automatic scrollbar darkening logic to work without further
tweaks. We don't set appearance: none in any scrollbar on desktop (and we
support scrollbar-{width,color} to customize them anyways).
Differential Revision: https://phabricator.services.mozilla.com/D114696
This allow the automatic scrollbar darkening logic to work without further
tweaks. We don't set appearance: none in any scrollbar on desktop (and we
support scrollbar-{width,color} to customize them anyways).
Differential Revision: https://phabricator.services.mozilla.com/D114696
Replace the basic extension.svg icon with an hollow version.
Use this new hollow icon also for omnibox entries in the urlbar.
Use the filled version in extensionControlled, but note this is currently
unused due to some other generic icon overriding it.
Differential Revision: https://phabricator.services.mozilla.com/D113804
Also fix the blurriness on the native checkmark icon on Windows (possibly with high DPI) by not setting 16px height and width on them, each plaftorm has it's own sizing for the native checkboxes.
Differential Revision: https://phabricator.services.mozilla.com/D113846
-Adjusts spacing between top of panel and panel description
-Adjusts spacing between bottom buttons and bottom of panel
-Removes inline margin from menulists
-Fixed height for menulists
Differential Revision: https://phabricator.services.mozilla.com/D113700
This includes:
1. Changing the indent from 28px to 22px (radiobutton/checkbox's 16px + 6px margin)
2. Unifying all `.checkbox-icon` to 2px (which was already the case, just duplicated on all platforms) only when a `src` is present
3. Removing a seemingly obsolete -1px margin-inline-start from `.radio-label-box`
Differential Revision: https://phabricator.services.mozilla.com/D113396