Problem/Motivation
We are targeting Drupal 11.3 minimum where:
- Gin 6 will become the admin theme
- Navigation will be out of experimental and (I guess) activated by default
In the same time, this is issue is stalled because of the incompatibility between Navigation and Admin toolbar #3529095: Adopt navigation module's top bar
However, there is something "safe" we can take from this other issue: the cleaner look.
Proposed resolution
Tasks:
- Adopt toolbar/gin font
- Remove background stripes
- Toolbar height: from 72px to 64px
- Clean form layout
- Harmonize spacing
- Remove logic from #3529062: [1.0.0-alpha1] Make toolbar responsive it was cool, but it is not how Core toolbar works
Bug fixes:
- Toolbar button alignment
- Form details icon position
- Shoelace menu items are HTML checkboxes. Some themes (like taiwlind) are styling checkboxes a bit aggressively.
- Drawer title overflow
- Hide the weird form API artefact
Out of scope:
- change z-index, absolute positioning. Jean did a lot effort to make them compatible with toolbar, admin toolbar, navigation...
- Other branding compliance: colors, icons, button shape... let's do it after beta1, taking the time
| Comment | File | Size | Author |
|---|
Issue fork display_builder-3555193
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
pdureau commentedComment #3
pdureau commentedWork has started
Comment #4
pdureau commentedCompatibility with
navigationcan be improved without hurting compatibility withtoolbarandadmin_toolbarby fixing--drupal-displace-offset-topfallback valueComment #6
pdureau commentedNeed review.
Tested with the toolbar, admin toolbar & navigation.
The removal of #3529095: Adopt navigation module's top bar logic can create a weird layout on smaller screen, but I am proposing to address this in #3544782: More responsive toolbar (see new proposal).
Comment #8
mogtofu33 commentedComment #9
pdureau commentedOK. The most important is consistency, so i will propose smaller margin-x in
.db-toolbarComment #10
pdureau commentedProposal pushed to MR
Comment #11
mogtofu33 commentedWe have a problem with checkboxes and DSFR but it's a problem to fix in the theme.
The Playwright test failing highlight that the sidebar are now behind the toolbar and cannot be closed in fullscreen.
See artifact of the job: test-failed-1.png
Comment #12
pdureau commentedIndeed, I see that in the screenshot, but I ma not reproducing (with or without admin toolbar activated):
Bootstrap:





Daisy:
Olivero:
DSFR:
Mercury:
Investigation ongoing.
Comment #13
pdureau commentedComment #14
mogtofu33 commentedI can reproduce locally, with a php server running, from the module launch :
npx playwright test page --project=firefox --headed# To view the testnpx playwright test page --project=firefox --ui# To follow the testYou will see the test being stuck by not being able to close.
The test use the theme test which is based on claro, perhaps a missing css variable.
Comment #15
pdureau commentedI am still not reproducing while using

display_builder_theme_testwith Firefox outside of Playwright:Investigation still ongoing.
Comment #16
pdureau commentedAll green :)
Comment #17
just_like_good_vibeshello :)
do we merge guys?
Comment #18
pdureau commentedNo need to worry too much about form rendering in the contextual panels because it will be solved by #3535999: Render UI with both front and admin theme
Comment #19
pdureau commentedif you tested and it is OK for you, put it in RTBC :) It will make Jean's review easier.
Comment #20
mogtofu33 commented