mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
* Bump version * Change all openerp to odoo * Fix qunit suite injection * Remove jQuery require * Change to new selectors: * `oe_leftbar` to `o_sub_menu` * `oe_logo` to `o_sub_menu_logo` * `oe_footer` to `o_sub_menu_footer` * `oe_secondary_menus_container` to `o_sub_menu_content` * Add style to hide oe_footer instead of remove to not break `support_branding` * Add note in ReadMe explaining override of `support_branding` * Set top margin of app drawer title to 0 to fit v10 proportions * Fix notification badge positioning * Add o_web_client class to body to fix overlaps * Scroll control panel with page * Change navbar z-index to not be overlapped by buttons * Raise z-index on header to raise over buttons * Handle layered notifications via z-index * Remove `#` from navigation links HREF to prevent history littering
110 lines
2.2 KiB
Plaintext
Executable File
110 lines
2.2 KiB
Plaintext
Executable File
/* Copyright 2016 LasLabs Inc.
|
|
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
|
|
|
|
.app-drawer-nav {
|
|
border-color: @dropdown-border;
|
|
background-color: @dropdown-bg;
|
|
border: 1px solid @dropdown-fallback-border; // IE8 fallback
|
|
border: 1px solid @dropdown-border;
|
|
-webkit-border-radius: @border-radius-base;
|
|
-moz-border-radius: @border-radius-base;
|
|
border-radius: @border-radius-base;
|
|
.box-shadow(0 6px 12px rgba(0, 0, 0, .175));
|
|
background-clip: padding-box;
|
|
z-index: 10000;
|
|
|
|
.o_tooltip {
|
|
z-index: 1051;
|
|
}
|
|
|
|
.oe_logo {
|
|
img {
|
|
margin-top: -@app-drawer-navbar-padding-vertical * 2;
|
|
height: @app-drawer-title-height;
|
|
}
|
|
.oe_logo_edit {
|
|
position: absolute;
|
|
top: 1px;
|
|
width: 100%;
|
|
padding: 4px;
|
|
margin: 14px 0;
|
|
display: none;
|
|
color: @odoo-list-footer-bg-color;
|
|
background: rgba(37,37,37,0.9);
|
|
}
|
|
&:hover .oe_logo_edit_admin {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.navbar-left {
|
|
width: 100%;
|
|
|
|
li {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.app-drawer-title {
|
|
float: none;
|
|
}
|
|
|
|
.app-drawer-panel-title {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.app-drawer-icon-app {
|
|
height: 100%;
|
|
width: 100%;
|
|
max-width: @app-drawer-icon-size;
|
|
max-height: @app-drawer-icon-size;
|
|
object-fit: contain;
|
|
object-position: center;
|
|
}
|
|
|
|
.panel-body {
|
|
padding-top: @app-drawer-title-height;
|
|
}
|
|
|
|
#appDrawerAppPanelHead {
|
|
position: absolute;
|
|
height: @app-drawer-title-height;
|
|
width: 100%;
|
|
}
|
|
|
|
}
|
|
|
|
.drawer-nav {
|
|
width: @app-drawer-width;
|
|
}
|
|
|
|
.drawer--left .drawer-nav {
|
|
left: -@app-drawer-width;
|
|
}
|
|
|
|
.drawer--left.drawer-open .drawer-hamburger {
|
|
left: @app-drawer-width;
|
|
}
|
|
|
|
.drawer--right .drawer-nav {
|
|
right: -@app-drawer-width;
|
|
}
|
|
|
|
.drawer-open .oe-right-toolbar {
|
|
display: none;
|
|
}
|
|
|
|
.drawer-closed .oe-right-toolbar {
|
|
display: block;
|
|
}
|
|
|
|
/* App Drawer Toggle */
|
|
|
|
.app-drawer-toggle {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.app-drawer-toggle.navbar-toggle {
|
|
margin-left: 1em;
|
|
}
|