mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Web responsive menu improvements (#513)
* Bold titles for apps in the app-drawer * Remove z-index from Control Panel buttons, so it doesn't overlap the menu. * Better responsive menus * Move systray icons/menus out of the menu and up to the top bar. * Increase avatar size and visibility. * Other minor menu behavior fixes. * Changes to fit odoo variables * And a little margin adjust on navbar-right * Top menu always thick * Removed overflow:hidden!important from main.less * Local patch: prevent body overflow auto * Stop using `style=` on `<body>` * Fix jquery drawer in anticipation of: https://github.com/blivesta/drawer/pull/36
This commit is contained in:
committed by
Angel Moya Pardo
parent
cb95d5e815
commit
a620134d47
@@ -66,6 +66,15 @@
|
||||
.drawer-open .drawer-overlay {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* XXX: local patch waiting for:
|
||||
https://github.com/blivesta/drawer/pull/36
|
||||
*/
|
||||
.drawer-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
/* end local patch */
|
||||
|
||||
/*!------------------------------------*\
|
||||
Top
|
||||
\*!------------------------------------*/
|
||||
|
||||
@@ -121,7 +121,10 @@
|
||||
return $this
|
||||
.removeClass(__.settings.class.close)
|
||||
.addClass(__.settings.class.open)
|
||||
.css({ 'overflow': 'hidden' })
|
||||
// XXX: local patch waiting for:
|
||||
// https://github.com/blivesta/drawer/pull/36
|
||||
//.css({ 'overflow': 'hidden' })
|
||||
// end local patch
|
||||
.drawerCallback(function triggerOpenedListeners() {
|
||||
__.settings.state = true;
|
||||
$this.trigger(__.settings.events.opened);
|
||||
@@ -136,7 +139,10 @@
|
||||
return $this
|
||||
.removeClass(__.settings.class.open)
|
||||
.addClass(__.settings.class.close)
|
||||
.css({ 'overflow': 'auto' })
|
||||
// XXX: local patch waiting for:
|
||||
// https://github.com/blivesta/drawer/pull/36
|
||||
//.css("overflow", "auto")
|
||||
// end local patch
|
||||
.drawerCallback(function triggerClosedListeners() {
|
||||
__.settings.state = false;
|
||||
$this.trigger(__.settings.events.closed);
|
||||
|
||||
Reference in New Issue
Block a user