Add semi-transparent border around explorer menu

Fixes #2519. Fix provided by @alexgleason
This commit is contained in:
Matt Westcott 2016-05-03 15:47:30 +01:00
parent b3ffe2baf0
commit 3ac9c457eb
3 changed files with 13 additions and 0 deletions

View file

@ -13,6 +13,7 @@ Changelog
* Fix: Previewing inaccessible pages no longer fails with `ALLOWED_HOSTS = ['*']` (Robert Rollins)
* Fix: The submit button 'spinner' no longer activates if the form has client-side validation errors (Jack Paine, Matt Westcott)
* Fix: Overriding `MESSAGE_TAGS` in project settings no longer causes messages in the Wagtail admin to lose their styling (Tim Heap)
* Fix: Border added around explorer menu to stop it blending in with StreamField block listing; also fixes invisible explorer menu in Firefox 46 (Alex Gleason)
1.4.3 (04.04.2016)

View file

@ -22,3 +22,4 @@ Bug fixes
* Previewing inaccessible pages no longer fails with ``ALLOWED_HOSTS = ['*']`` (Robert Rollins)
* The submit button 'spinner' no longer activates if the form has client-side validation errors (Jack Paine, Matt Westcott)
* Overriding ``MESSAGE_TAGS`` in project settings no longer causes messages in the Wagtail admin to lose their styling (Tim Heap)
* Border added around explorer menu to stop it blending in with StreamField block listing; also fixes invisible explorer menu in Firefox 46 (Alex Gleason)

View file

@ -416,6 +416,17 @@ body.explorer-open {
display: none;
}
.explorer:after {
content: '';
width: calc(100% - 2px);
height: 100%;
position: absolute;
top: 0;
right: 0;
z-index: -1;
box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.9);
}
.nav-main {
display: block;
}