diff options
Diffstat (limited to 'addons/website/static/src/css/editor.sass')
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 117 |
1 files changed, 72 insertions, 45 deletions
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index 2f236c38aab..09d3ef51dee 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -1,7 +1,21 @@ @charset "utf-8" -.oe_hidden - display: none !important +/* ---- CKEditor Minimal Reset ---- */ + +.navbar.navbar-inverse .cke_chrome + border: none + +.navbar.navbar-inverse .cke_inner + background: transparent + +.navbar.navbar-inverse .cke_top + background: transparent + border: none + box-shadow: none + -webkit-box-shadow: none + -moz-box-shadow: none + +/* ---- OpenERP Style ---- */ .oe_website_editorbar position: fixed @@ -44,12 +58,20 @@ .oe_editable:focus outline: none !important +.css_non_editable_mode_hidden + display: none + .oe_carousel_options cursor: pointer position: absolute white-space: nowrap z-index: 1 display: none + > * + display: inline-block !important + vertical-align: middle !important + position: relative !important + top: +2px /* ---- SNIPPET EDITOR ---- */ @@ -211,50 +233,55 @@ /* ---- MOBILE PREVIEW ---- */ -.oe_stop_scrolling - height: 100% - overflow: hidden - $mobile_preview_background: #000000 -$mobile_preview_border: #1A1A1A -$mobile_preview_close: #E00101 -#mobile-preview.modal - height: 660px - background-color: $mobile_preview_background - border: 2px solid - border-radius: 10px - border-color: $mobile_preview_border - margin: auto - top: 0 - left: 0 - bottom: 0 - right: 0 - max-width: 330px - .modal-header - background-color: $mobile_preview_background - border-bottom: 0 - border-top-left-radius: 10px - border-top-right-radius: 10px - .oe_mobile_preview_title - color: $mobile_preview_border - .modal-body - background-color: $mobile_preview_background - max-height: 600px - padding: 0 - margin: 0 - .modal-footer +$mobile_preview_border: #1C1F1F +$icon_close: #E00101 +.oe_mobile_preview + &.modal .modal-content + height: 660px background-color: $mobile_preview_background + border: 2px solid + border-radius: 10px + border-color: $mobile_preview_border + margin: auto + top: 0 + left: 0 + bottom: 0 + right: 0 + max-width: 330px + .modal-header + background-color: $mobile_preview_background + border-bottom: 0 + border-top-left-radius: 10px + border-top-right-radius: 10px + .modal-title + color: $mobile_preview_border + .close + color: lightgrey + opacity: 1 + .close:hover + color: $icon_close + opacity: 1 + .modal-body + background-color: $mobile_preview_background + max-height: 600px + padding: 0 + margin: 0 + .oe_mobile_viewport + width: 320px + height: 568px + padding: 5px + border: none + .modal-footer + background-color: $mobile_preview_background -.oe_mobile_viewport - width: 320px - height: 568px - padding: 5px - border: none +/* ---- SEO TOOLS ---- */ -.oe_mobile_preview_header - .close - color: lightgrey - opacity: 1 - .close:hover - color: $mobile_preview_close - opacity: 1 +$remove_color: $icon_close +.oe_seo_configuration + .modal-dialog + width: 80% + .oe_remove + color: $remove_color + .oe_seo_suggestion + cursor: pointer
\ No newline at end of file |
