Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
3428949
A quick and dirty try at making the wp-admin sidebar accessible while…
shaunandrews Mar 24, 2020
fa9c5ce
Back to the dark background by default, and accounting for the `folde…
shaunandrews Mar 24, 2020
ccfdb6e
Making the WP logo just a little smaller.
shaunandrews Mar 26, 2020
3b04e76
Improve interaction handling for Navigation menu logo
Apr 1, 2020
06925b2
Adjust click outside to close logic
Apr 1, 2020
76824a9
A quick and dirty try at making the wp-admin sidebar accessible while…
shaunandrews Mar 24, 2020
e435096
Fix SVG color and pointer events
Apr 1, 2020
d0cb8f3
Rename fullscreen-mode-close to admin-menu-toggle
Apr 1, 2020
3b2e3a3
Fix classNames and imports for renamed admin-menu-toggle
Apr 1, 2020
13b2cb6
Focus Admin Menu on TAB press when open
Apr 1, 2020
4f85339
Make sure the top toolbar moves when the menu is opened.
shaunandrews Apr 2, 2020
28efc8e
Adjusting focus state to use new line-width, making the button a litt…
shaunandrews Apr 2, 2020
746f9e6
Improve admin menu keyboard navigation in open/close states
Apr 3, 2020
87ff44b
Updating classNames after a rebase.
shaunandrews Apr 7, 2020
f134242
Moving to toggle button from edit-post into the interface package so …
shaunandrews Apr 9, 2020
3946045
Oops, forgot to remove this.
shaunandrews Apr 10, 2020
baab65c
Updating classnames.
shaunandrews Apr 10, 2020
96e2d94
Replacing the FullscreenModeClose component with the new AdminMenuTog…
shaunandrews Apr 10, 2020
e1ff1cd
Removing the .js selector.
shaunandrews Apr 10, 2020
70d046d
Moving the display logic out of the component and into the places whe…
shaunandrews Apr 14, 2020
e5ce2f6
Update package-lock and e2e test
Apr 14, 2020
edb8102
Refactor event bindings in relation to state within admin-menu-toggle
Apr 15, 2020
84a3da5
Refactoring the transition to avoid a display bug in Safari.
shaunandrews Apr 21, 2020
d55ad2c
Update package-lock.json
Apr 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Refactoring the transition to avoid a display bug in Safari.
  • Loading branch information
shaunandrews committed Apr 21, 2020
commit 84a3da589d112312e08f42d04f49c58eef88b269
30 changes: 15 additions & 15 deletions packages/interface/src/components/fullscreen-mode/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@ body.is-fullscreen-mode {
display: none;
}

// Display the sidebar offscreen, and then transition in when needed.
// Layer the sidebar above the editor's top bar and
// setup the transition
#adminmenumain {
position: relative;
z-index: 1;
transform: translateX(-160px);
transition: transform 0.12s ease-in-out;
}

// Display the sidebar offscreen, and then transition in when needed.
#adminmenumain,
#adminmenuback {
position: fixed;
top: 60px;
left: -160px;
transition: left 0.12s ease-in-out;
left: 0;
bottom: 0;
}

// Hides the admin menu
// This prevents keyboard navigation from accessing inner links
#adminmenuwrap {
display: none;
}

#adminmenu {
position: relative;
bottom: auto;
}

#adminmenuback {
top: 60px;
//display: none;
}

.interface-interface-skeleton__body,
Expand All @@ -47,7 +47,7 @@ body.is-fullscreen-mode {

body.is-showing-admin-menu {
#adminmenumain {
left: 0;
transform: translateX(0);
}

// Show the admin menu
Expand Down