Open Bug 1442296 Opened 6 years ago Updated 2 years ago

Adapt input and button styling inside popups to look better with themes

Categories

(Firefox :: Theme, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: ntim, Unassigned)

References

Details

Attachments

(2 files, 4 obsolete files)

See attached screenshot
Attached image Proposed tweaks
Blocks: 1408121
Priority: -- → P5
Assignee: nobody → stokesdy
Status: NEW → ASSIGNED
To be clear, this bug should just be limited to fixing the text inputs/buttons/checkboxes in panels. The security color should be handled in a different bug.
Comment on attachment 8963844 [details]
Bug 1442296 - Adapt input and button styling inside popups to look better with themes.

https://reviewboard.mozilla.org/r/232708/#review238166

::: commit-message-dcd10:1
(Diff revision 1)
> +Bug 1442296 - Adapt input and button styling inside popups to look better with themes. r?ntim, jaws, mconley

All the code should be browser/themes/shared/browser.inc.css, not panelUI.inc.css which is dedicated to the application menu.

::: browser/themes/shared/customizableui/panelUI.inc.css:30
(Diff revision 1)
> +:root {
> +  --arrowpanel-background: #444;
> +  --arrowpanel-color: white;
> +}

Please remove this, this was only supposed to emulate the dark theme for testing.

::: browser/themes/shared/customizableui/panelUI.inc.css:56
(Diff revision 1)
>      var(--lwt-toolbar-vertical-separator, rgba(255,255,255,.2)) calc(100% - 4px),
>      transparent calc(100% - 4px)
>    );
>  }
>  
> +#editBookmarkPanel button,

There's some code on macOS regarding the bookmarks panel buttons to clean up: https://searchfox.org/mozilla-central/source/browser/themes/osx/browser.css#423
Attachment #8963844 - Flags: review?(ntim.bugs)
Comment on attachment 8963844 [details]
Bug 1442296 - Adapt input and button styling inside popups to look better with themes.

https://reviewboard.mozilla.org/r/232708/#review238414

Please address ntim's review comments and re-request review.
Attachment #8963844 - Flags: review?(jaws)
Regarding macOS for the bookmarkPanel expanders it was using the @hudButton@ definition in browser\themes\osx\shared.inc. I was unsure if I should be changing that define or only worrying about the bookmarkPanel expanders. Currently I made a change to only the bookmarkPanel expanders.
Attachment #8963844 - Flags: review?(ntim.bugs)
Attachment #8963844 - Flags: review?(mconley)
Attachment #8963844 - Flags: review?(jaws)
Current review is a work in progress. Currently stuck on trying to figure out how to theme the New Folder dropdown tree. Also need to address the drop down indicator SVG. It is difficult to see because it is dark on dark.
Attached patch Tweaks over dyl's patch (obsolete) — Splinter Review
Here's a patch that removes some unused macOS code, and fixes the images.

There's still some work to do though :)
Attached image work-in-progress-windows.png (obsolete) —
Review still work in progress. Added ntim's changes and expanded upon them. The tree on Windows looks correct except for highlight text color. I am trying to figure out why the background of the tree on MacOS is still white but having trouble finding what is causing it.
Attachment #8963844 - Flags: review?(ntim.bugs)
Assignee: stokesdy → nobody
Status: ASSIGNED → NEW
Depends on: 1502731
Attachment #8963844 - Attachment is obsolete: true
Attachment #8968845 - Attachment is obsolete: true
Attachment #8969108 - Attachment is obsolete: true
Attachment #9032951 - Attachment description: Bug 1442296 - Use custom styling for edit bookmark panel controls on all platforms.. → Bug 1442296 - Use custom styling for edit bookmark panel controls on all platforms
Attachment #9032951 - Attachment description: Bug 1442296 - Use custom styling for edit bookmark panel controls on all platforms → Bug 1442296 - Use custom styling for edit bookmark panel controls on all platforms. r=dao
Attachment #9032951 - Attachment is obsolete: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: