summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/webclient_layout.scss
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/scss/webclient_layout.scss')
-rw-r--r--addons/web/static/src/scss/webclient_layout.scss36
1 files changed, 18 insertions, 18 deletions
diff --git a/addons/web/static/src/scss/webclient_layout.scss b/addons/web/static/src/scss/webclient_layout.scss
index f811df48802..c8bb9e3c3ed 100644
--- a/addons/web/static/src/scss/webclient_layout.scss
+++ b/addons/web/static/src/scss/webclient_layout.scss
@@ -1,7 +1,7 @@
.o_web_client {
- @include o-flex-display;
- @include o-flex-flow(column, nowrap);
+ display: flex;
+ flex-flow: column nowrap;
overflow: hidden;
&.o_fullscreen {
@@ -15,7 +15,7 @@
.navbar {
- @include o-flex(0, 0, auto);
+ flex: 0 0 auto;
li > a {
padding: 4px 8px;
@@ -30,20 +30,20 @@
}
> .o_main {
- @include o-flex(1, 1, auto);
- @include o-flex-display;
+ flex: 1 1 auto;
+ display: flex;
min-height: 0; // Allow flex to shrink this element as much as it wants
height: 100%;
.o_sub_menu {
- @include o-flex(0, 0, 220px);
- @include o-flex-display;
- @include o-flex-flow(column, nowrap);
+ flex: 0 0 220px;
+ display: flex;
+ flex-flow: column nowrap;
border-right: 1px solid darken($o-control-panel-background-color, 20%);
background-color: $o-control-panel-background-color;
.o_sub_menu_logo {
- @include o-flex(0, 0, auto);
+ flex: 0 0 auto;
text-align: center;
position: relative;
@@ -67,14 +67,14 @@
}
.o_sub_menu_content {
- @include o-flex(1, 1, auto);
+ flex: 1 1 auto;
height:100%;
overflow-y: auto;
.oe_secondary_menu_section {
font-weight: bold;
margin-left: 8px;
- color: $o-brand-optional;
+ color: $o-brand-primary;
}
.oe_secondary_submenu {
margin: 3px 0px 10px;
@@ -128,28 +128,28 @@
}
.o_sub_menu_footer {
- @include o-flex(0, 0, auto);
+ flex: 0 0 auto;
text-align: center;
> a {
font-weight: bold;
> span {
- color: $o-color-pink;
+ color: $o-enterprise-color; // FIXME probably supposed to be primary to be auto-adapted in enterprise ?
}
}
}
}
.o_main_content {
- @include o-flex(1, 1, auto);
- @include o-flex-display;
- @include o-flex-flow(column, nowrap);
+ flex: 1 1 auto;
+ display: flex;
+ flex-flow: column nowrap;
.o_control_panel {
- @include o-flex(0, 0, auto);
+ flex: 0 0 auto;
}
.o_content {
- @include o-flex(1, 1, auto);
+ flex: 1 1 auto;
height: 100%;
overflow: auto;
position: relative;