diff options
| author | stefanorigano <sri@odoo.com> | 2017-06-29 10:27:04 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-07-10 13:37:40 +0200 |
| commit | 330e0cccd4bd1d2a5afd79b8f2083a6c3796423a (patch) | |
| tree | 8f4f7cf449b18806414ccea260280fab00432774 /addons/web_editor/static/src/less/web_editor.variables.less | |
| parent | 9ac73d6873bc172620ed71386a99e56d7cb9857f (diff) | |
[IMP] web_editor, website: preserve tabs in modals
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.variables.less')
| -rw-r--r-- | addons/web_editor/static/src/less/web_editor.variables.less | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/less/web_editor.variables.less b/addons/web_editor/static/src/less/web_editor.variables.less index 4f8ab834a5c..188d62b955d 100644 --- a/addons/web_editor/static/src/less/web_editor.variables.less +++ b/addons/web_editor/static/src/less/web_editor.variables.less @@ -159,6 +159,31 @@ } } +.o-w-preserve-tabs() { + .nav-tabs { + border-bottom: 1px solid @gray-lighter; + + > li { + > a { + line-height: 1.42857143; + color: @o-we-color-light; + &:hover { + border-color: @gray-lighter; + } + } + + &.active > a { + &, &:hover, &:focus { + color: @o-we-color-normal; + background-color: @o-we-color-paper; + border-color: @gray-lighter; + border-bottom-color: transparent; + } + } + } + } +} + .o-w-preserve-btn() { .btn:not(.o_btn_preview) { border-width: 1px; |
