summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-07-16 16:49:25 +0200
committerqsm-odoo <qsm@odoo.com>2018-07-27 12:36:54 +0200
commit09f40036b9c14161db90c6128861369c91c8c64e (patch)
tree08fd442d12641d11e2dc20b018d43d004ff264d7 /addons/web/static/src/scss
parentde214e37429213fe9f329ff3f11885fee3e271c4 (diff)
[REF] *: BS4, review the 'nav' and 'navbar' components
Now the nav structure is more declarative: the 'nav-item' and 'nav-link' classes have to be put on related nav item and links. Also, the 'active' class has to be put on links instead of items. Same as for the navbar component: - The navbar structure was simplified and meant to be more declarative. - The navbar colors are also now handled by a different set of classes. The 'nav-stacked' class was removed and replaced by flex utilities. The set of classes for colors and nav styles also changed.
Diffstat (limited to 'addons/web/static/src/scss')
-rw-r--r--addons/web/static/src/scss/bootstrap_overridden.scss3
-rw-r--r--addons/web/static/src/scss/webclient.scss2
2 files changed, 1 insertions, 4 deletions
diff --git a/addons/web/static/src/scss/bootstrap_overridden.scss b/addons/web/static/src/scss/bootstrap_overridden.scss
index 20c99bf341b..9c26fa886eb 100644
--- a/addons/web/static/src/scss/bootstrap_overridden.scss
+++ b/addons/web/static/src/scss/bootstrap_overridden.scss
@@ -101,9 +101,6 @@ $dropdown-link-hover-bg: $gray-200;
// Navs
-$nav-link-padding-y: 10px;
-$nav-link-padding-x: 15px;
-
$nav-tabs-link-active-bg: $white;
$nav-pills-border-radius: 0;
diff --git a/addons/web/static/src/scss/webclient.scss b/addons/web/static/src/scss/webclient.scss
index cb122b084f2..b90b6f5fee5 100644
--- a/addons/web/static/src/scss/webclient.scss
+++ b/addons/web/static/src/scss/webclient.scss
@@ -17,7 +17,7 @@
width: 300px;
max-width: 100%;
- @include o-position-absolute($navbar-height, 0px);
+ @include o-position-absolute($nav-link-height, 0);
z-index: 1100; // Bootstrap modal z-index is 1050
.o_notification {