Problem/Motivation
The patch in #2422363: Rewrite the menu CSS components inline with our CSS standards changed the selector from the Bartik primary navigation toggle.
Before:
body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu li {
After:
body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu-item {
This breaks the primary navigation toggle.
Additional information from http://www.w3.org/TR/selectors/
8.3.2. General sibling combinator
The general sibling combinator is made of the "tilde" (U+007E, ~) character that separates two sequences of simple selectors. The elements represented by the two sequences share the same parent in the document tree and the element represented by the first sequence precedes (not necessarily immediately) the element represented by the second one.
Screencap before:

Proposed resolution
Fix the selector so the primary navigation in Bartik can be toggled again.
Remaining tasks
- Write a patch
- Review
User interface changes
The primary navigation in Bartik can be toggled again.
API changes
None
Beta phase evaluation
| Issue category | Bug because the primary navigation has become unreachable for visitors on a small viewport |
|---|---|
| Issue priority | Major because the primary navigation has become unreachable for visitors on a small viewport and there is no workaround |
| Unfrozen changes | Unfrozen because it only changes CSS. |
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2430735-1.patch | 593 bytes | idebr |
| #1 | 2430735-1.gif | 33.37 KB | idebr |
| bartik-menu-toggle.gif | 17.84 KB | idebr |
Comments
Comment #1
idebr commentedAttached patch fixes the CSS selector so the primary navigation can be toggled again.
Screencap after:
Comment #2
lewisnymanThis looks good to me, thanks for the patch and the gifs.
Comment #3
alexpottThis issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 0990ace and pushed to 8.0.x. Thanks!
Comment #5
juankvillegas commentedidebr, totally offtopic but... what software do you use to create those nice gifs?
Comment #6
idebr commented@juankvillegas
I used LiceCap: https://github.com/lepht/licecap
Installers available from http://www.cockos.com/licecap/
Comment #7
juankvillegas commentedThank you... very easy to use.