diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-12-29 14:16:13 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-01-10 17:54:22 +0100 |
| commit | 27311c2b3dd7e09af042cabaf4409f20ab861da8 (patch) | |
| tree | c799584dd6ae14bdaf0a8413d3e19ccc7d642ead /addons/website/static/src/less/website.ui.less | |
| parent | cb72f172d071faa74c6a6588bde936ce6d372d27 (diff) | |
[REF] portal, website: portal LESS files cleaning
- website.ui.less was moved to portal for no reason
- rename portal_frontend.less to portal.less
Diffstat (limited to 'addons/website/static/src/less/website.ui.less')
| -rw-r--r-- | addons/website/static/src/less/website.ui.less | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/addons/website/static/src/less/website.ui.less b/addons/website/static/src/less/website.ui.less new file mode 100644 index 00000000000..1a379d44b6a --- /dev/null +++ b/addons/website/static/src/less/website.ui.less @@ -0,0 +1,75 @@ +/// +/// This file regroups main website UI layout rules (when the user is connected). +/// + +// LAYOUTING +body.o_connected_user { + padding-top: @odoo-navbar-height!important; +} + +// MAIN MENU STYLE (added above navbar.less) +#oe_main_menu_navbar { + .o-position-absolute(0, 0, auto, 0); + position: fixed; + z-index: @zindex-modal - 10; + + font-family: @o-we-font-family; + font-size: @odoo-font-size-base; + a:hover, a:focus { + text-decoration: none; + } + .dropdown-menu { + font-size: inherit; + border-radius: 0; + } + + .o_menu_sections { + a { + > .fa-plus, > .fa-pencil { + margin-right: @grid-gutter-width/4; + } + } + + .o_mobile_preview a { + text-align: center; + font-size: 20px; + } + } + .o_menu_systray { + a { + padding: 0 @grid-gutter-width/2; + + &.css_edit_dynamic{ + padding: 0 @grid-gutter-width/4; + } + + &[data-action="edit"], &[data-action="translate"], &.css_edit_dynamic { + .button-variant(white, @odoo-brand-optional, @odoo-brand-optional); + } + + > .fa-plus, > .fa-pencil { + margin-right: @grid-gutter-width/4; + } + } + + .o_mobile_preview a { + text-align: center; + font-size: 20px; + } + } + @media only screen and (max-width: @screen-xs-max) { + #oe_applications { + position: inherit; + z-index: 1002; + } + } +} + +// TODO should be a common backend/frontend style +div.o_checkbox { + display: inline-block; + vertical-align: sub; + > input + span { + display: none; + } +} |
