diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-03-12 16:27:41 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-04-18 15:59:15 +0200 |
| commit | b04dec4025013c60e4857c1e177bb20d811cd41a (patch) | |
| tree | db8b38a5e1df34ee6f0402fab9a0bd8b4b769f8e /addons/web/static/src/less/webclient_layout.less | |
| parent | a6393130e6fcc4ad706f3df08557e5434416e4ab (diff) | |
[REF] *: rename all LESS files to SCSS
This is a simple renaming without adaptation.
Diffstat (limited to 'addons/web/static/src/less/webclient_layout.less')
| -rw-r--r-- | addons/web/static/src/less/webclient_layout.less | 165 |
1 files changed, 0 insertions, 165 deletions
diff --git a/addons/web/static/src/less/webclient_layout.less b/addons/web/static/src/less/webclient_layout.less deleted file mode 100644 index f876d8b3527..00000000000 --- a/addons/web/static/src/less/webclient_layout.less +++ /dev/null @@ -1,165 +0,0 @@ -@odoo-submenu-width: 220px; - -.o_web_client { - .o-flex-display(); - .o-flex-flow(column, nowrap); - overflow: hidden; - - &.o_fullscreen { - #oe_main_menu_navbar { - display: none; - } - .o_main .o_sub_menu { - display: none; - } - } - - - .navbar { - .o-flex(0, 0, auto); - - li > a { - padding: 4px 8px; - margin-top: 2px; - font-size: 13px; - } - - .oe_topbar_avatar { - max-height: 18px; - width: 18px; - } - } - - > .o_main { - .o-flex(1, 1, auto); - .o-flex-display(); - min-height: 0; // Allow flex to shrink this element as much as it wants - height: 100%; - - .o_sub_menu { - .o-flex(0, 0, @odoo-submenu-width); - .o-flex-display(); - .o-flex-flow(column, nowrap); - border-right: 1px solid darken(@odoo-control-panel-background-color, 20%); - background-color: @odoo-control-panel-background-color; - - .o_sub_menu_logo { - .o-flex(0, 0, auto); - text-align: center; - position: relative; - - > img { - margin: 14px 0; - } - - .oe_logo_edit { - position: absolute; - top: 1px; - width: 100%; - padding: 4px; - margin: 14px 0; - display: none; - color: #eee; - background: rgba(37,37,37,0.9); - } - &:hover .oe_logo_edit_admin { - display: block; - } - } - - .o_sub_menu_content { - .o-flex(1, 1, auto); - height:100%; - overflow-y: auto; - - .oe_secondary_menu_section { - font-weight: bold; - margin-left: 8px; - color: @odoo-brand-optional; - } - .oe_secondary_submenu { - margin: 3px 0px 10px; - line-height: 1.1em; - >li:not(.active) > a { - color: @odoo-main-text-color; - } - > li > a { - padding: 4px 4px 4px 18px; - > .badge { - margin-top: -1px; - } - } - .oe_secondary_submenu { - > li > a { - padding-left: 30px; - } - .oe_secondary_submenu > li > a { - padding-left: 42px; - } - } - .oe_menu_text { - .o-text-overflow(); - max-width: 85%; - margin-top: 1px; - } - .oe_menu_toggler:before { - display: inline-block; - width: 0; - height: 0; - content: "&darr"; - opacity: 0.5; - text-indent: -99999px; - vertical-align: top; - margin-left: -12px; - margin-top: 4px; - margin-right: 4px; - border-top: 4px solid transparent; - border-bottom: 4px solid transparent; - border-left: 4px solid #4c4c4c; - } - .oe_menu_opened:before { - margin-top: 6px; - margin-left: -16px; - margin-right: 4px; - border-left: 4px solid transparent; - border-right: 4px solid transparent; - border-top: 4px solid #4c4c4c; - } - } - } - - .o_sub_menu_footer { - .o-flex(0, 0, auto); - text-align: center; - - > a { - font-weight: bold; - > span { - color: @odoo-color-pink; - } - } - } - } - - .o_main_content { - .o-flex(1, 1, auto); - .o-flex-display(); - .o-flex-flow(column, nowrap); - - .o_control_panel { - .o-flex(0, 0, auto); - } - .o_content { - .o-flex(1, 1, auto); - height: 100%; - overflow: auto; - position: relative; - - > .o_view_controller { - .o-position-absolute(0, 0, 0, 0); // Get the 100% height of its flex parent - height: 100%; - } - } - } - } -} |
