diff options
| author | Fabien Meghazi <agr@amigrave.com> | 2014-07-11 13:52:24 +0200 |
|---|---|---|
| committer | Fabien Meghazi <agr@amigrave.com> | 2014-07-11 13:52:24 +0200 |
| commit | 3db9ce58c7abba99b5953955e483752e875dd375 (patch) | |
| tree | 369c7a658eb6fa0fbd6943310e633dc51b596308 /addons/website/static/src/css | |
| parent | 8f190ccb2a6140a31e8a344c2340e87c81bc08db (diff) | |
| parent | 814e384744d04f585851e106f0e47715c3674dd3 (diff) | |
Merge pull request #1101 from odoo-dev/master-less-support-in-bundles-fme
[ADD] Support for LessCSS in asset bundles
Also added option in order to include asset bundles in
templates list available to the HTML editor
Diffstat (limited to 'addons/website/static/src/css')
| -rw-r--r-- | addons/website/static/src/css/editor.css | 30 | ||||
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 4 |
2 files changed, 19 insertions, 15 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index d38f26fd332..ac7ddbbccb5 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -23,8 +23,8 @@ .navbar.navbar-inverse .cke_top { background: transparent; border: none; - -webkit-box-shadow: none; -moz-box-shadow: none; + -webkit-box-shadow: none; box-shadow: none; -ms-filter: "alpha(opacity=50)"; } @@ -57,13 +57,11 @@ padding: 2px; margin: 0; z-index: 20000; - background: #414141, -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #646060), color-stop(100%, #262626)); - background: #414141, -webkit-linear-gradient(#646060, #262626); background: #414141, -moz-linear-gradient(#646060, #262626); - background: #414141, -o-linear-gradient(#646060, #262626); + background: #414141, -webkit-linear-gradient(#646060, #262626); background: #414141, linear-gradient(#646060, #262626); - -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; box-sizing: border-box; } .oe_website_editorbar li { @@ -225,8 +223,9 @@ ul.oe_menu_editor .disclose { /* ---- RTE ---- {{{ */ .oe_editable .btn, .btn.oe_editable { - -webkit-user-select: auto; -moz-user-select: auto; + -ms-user-select: auto; + -webkit-user-select: auto; user-select: auto; cursor: text !important; } @@ -384,10 +383,8 @@ ul.oe_menu_editor .disclose { height: 660px; background-color: black; border: 2px solid #1c1f1f; - -webkit-border-radius: 10px; -moz-border-radius: 10px; - -ms-border-radius: 10px; - -o-border-radius: 10px; + -webkit-border-radius: 10px; border-radius: 10px; margin: auto; top: 0; @@ -410,13 +407,13 @@ ul.oe_menu_editor .disclose { color: #1c1f1f; } .oe_mobile_preview.modal .modal-content .modal-header .close { - color: lightgrey; - filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); + color: lightgray; + filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false); opacity: 1; } .oe_mobile_preview.modal .modal-content .modal-header .close:hover { color: #e00101; - filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); + filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false); opacity: 1; } .oe_mobile_preview.modal .modal-content .modal-body { @@ -447,10 +444,8 @@ ul.oe_menu_editor .disclose { } .oe_seo_configuration .oe_seo_keyword { padding: 0.2em 0.4em 0.2em 0.5em; - -webkit-border-radius: 0.4em; -moz-border-radius: 0.4em; - -ms-border-radius: 0.4em; - -o-border-radius: 0.4em; + -webkit-border-radius: 0.4em; border-radius: 0.4em; } .oe_seo_configuration li.oe_seo_preview_g { @@ -554,3 +549,8 @@ ul.oe_menu_editor .disclose { filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); opacity: 0; } + +.oe_include_bundles { + font-weight: normal; + padding: 0 8px; +} diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index b40907bc66c..802b6299545 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -477,6 +477,10 @@ $infobar_height: 20px z-index: -1000 +opacity(0) +.oe_include_bundles + font-weight: normal + padding: 0 8px + // }}} // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: |
