diff options
| author | Dipalee Bhalodia <dbh@odoo.com> | 2018-08-08 11:58:57 +0530 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-08-12 18:37:08 +0200 |
| commit | a17771f591411d744abd4ee45b4c5effb3bf16e4 (patch) | |
| tree | 71f3a93460782e17297011134c0bd573f435a5c8 /addons/web_editor/static/src/scss/web_editor.ui.scss | |
| parent | af30c2ee6136e2f6e693881fa4e81af76d7cb215 (diff) | |
[IMP] web_editor: improve text colorpicker
- Split editor button: one for font color and one for background color
- Remove recent color button feature
- Add only theme colors and remove other color sections like
graypalette/standard colors
- Button's icon for font color and background color buttons have the
same color of currently selected element
task-37974
Closes #26274
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.ui.scss')
| -rw-r--r-- | addons/web_editor/static/src/scss/web_editor.ui.scss | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.ui.scss b/addons/web_editor/static/src/scss/web_editor.ui.scss index dcc8235dea8..0b71f290e20 100644 --- a/addons/web_editor/static/src/scss/web_editor.ui.scss +++ b/addons/web_editor/static/src/scss/web_editor.ui.scss @@ -789,12 +789,6 @@ html[lang] > body.editor_enable [data-oe-translation-state] { min-width: 228px; } - #colors_preview { - padding: 4px; - border-radius: 2px; - border: 1px solid #989898; - border-color: fade-out($o-we-color-text-normal, 0.5); - } .note-color-palette .note-color-row { height: auto!important; @@ -842,8 +836,17 @@ html[lang] > body.editor_enable [data-oe-translation-state] { } .note-color { - .dropdown-toggle { - width: auto; + .note-back-color-preview, .note-fore-color-preview { + .dropdown-toggle { + padding: 0px 7px; + height: 35px; + width: auto; + border-top: none !important; + border-bottom: 3px solid; + &:after { + display: none; + } + } } .o_foreground_toggle > button:before { font-family: FontAwesome; @@ -854,7 +857,10 @@ html[lang] > body.editor_enable [data-oe-translation-state] { content: '\f0c3'; } .dropdown-menu { - min-width: 353px!important; + min-width: 180px!important; + .btn-group .note-color-reset { + font-size: 14px !important; + } } } } |
