diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-07-12 15:10:47 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-07-12 17:13:23 +0200 |
| commit | dc9f942e0a2b8ef7022be1e6fd60d683017d6af3 (patch) | |
| tree | c34e4d49b08defc48a41fa65ff7ffc6e06ad4bb6 /addons/web/static | |
| parent | edd8bad5d97ee489e85504791c807f0099ef24b5 (diff) | |
[FIX] website, *: restore publish buttons' design
* web
Those were broken with https://github.com/odoo/odoo/commit/9de1bc0eef6f5bfaa2a8d745431caa361ae91548
This commit takes advantage of the bug to also improve their design and
html validity a little bit.
Diffstat (limited to 'addons/web/static')
| -rw-r--r-- | addons/web/static/src/scss/navbar.scss | 11 | ||||
| -rw-r--r-- | addons/web/static/src/scss/ui.scss | 5 |
2 files changed, 7 insertions, 9 deletions
diff --git a/addons/web/static/src/scss/navbar.scss b/addons/web/static/src/scss/navbar.scss index 79b89c7ba2d..770532d6693 100644 --- a/addons/web/static/src/scss/navbar.scss +++ b/addons/web/static/src/scss/navbar.scss @@ -64,6 +64,13 @@ > a { display: block; + + &:focus, &:active, &:focus:active { + outline: none; + } + } + + > a, > label { height: $o-navbar-height; padding: 0 10px; color: white; @@ -72,10 +79,6 @@ &:hover { background-color: $o-navbar-inverse-link-hover-bg; } - - &:focus, &:active, &:focus:active { - outline: none; - } } &.o_extra_menu_items { diff --git a/addons/web/static/src/scss/ui.scss b/addons/web/static/src/scss/ui.scss index 88c79c8018a..d88f21f83a1 100644 --- a/addons/web/static/src/scss/ui.scss +++ b/addons/web/static/src/scss/ui.scss @@ -13,8 +13,3 @@ [aria-hidden="true"], [aria-hidden="1"] { display: none!important; } - -.bg-transparent { - background: inherit; - border: none; -} |
