diff options
Diffstat (limited to 'addons/web_editor/static/src/css')
| -rw-r--r-- | addons/web_editor/static/src/css/backend.css | 79 | ||||
| -rw-r--r-- | addons/web_editor/static/src/css/common.sass | 4 | ||||
| -rw-r--r-- | addons/web_editor/static/src/css/web_editor.css | 166 | ||||
| -rw-r--r-- | addons/web_editor/static/src/css/web_editor.iframe.inline.css (renamed from addons/web_editor/static/src/css/inline.css) | 0 | ||||
| -rw-r--r-- | addons/web_editor/static/src/css/web_editor.sass | 141 |
5 files changed, 0 insertions, 390 deletions
diff --git a/addons/web_editor/static/src/css/backend.css b/addons/web_editor/static/src/css/backend.css deleted file mode 100644 index 2512b1de9c0..00000000000 --- a/addons/web_editor/static/src/css/backend.css +++ /dev/null @@ -1,79 +0,0 @@ -.oe_form_field_html_text .note-editable { - min-height: 180px; - font: initial !important; - font-family: inherit !important; - line-height: initial !important; - color: initial !important; -} -.oe_form_field_html_text .o_readonly { - min-height: 1em; - width: 100%; - margin: 0; - padding: 0; - border: 0; -} -.oe_form_field_html_text .note-editable p { - font-family: 'Lucida Grande', Helvetica, Verdana, Arial, sans-serif; - -webkit-margin-before: 0; - font-size: 13px; -} - -.oe_form_field_html iframe { - display: block; - width: 100%; - border: 0; - padding: 0; - margin: 0; - min-height: 300px; - min-height: -webkit-calc(100vh - 170px); - min-height: calc(100vh - 170px); -} -.o_form_FieldTextHtml_fullscreen .oe_form_field_html.o_form_fullscreen_ancestor iframe { - position: absolute !important; - left: 0 !important; - right: 0 !important; - top: 0 !important; - bottom: 0 !important; - width: 100% !important; - min-height: 100% !important; - z-index: 1001 !important; - border: 0; -} - -.o_form_FieldTextHtml_fullscreen * { - display: none; -} -.o_form_FieldTextHtml_fullscreen .o_form_fullscreen_ancestor { - display: block !important; - position: static !important; - top: 0 !important; - left: 0 !important; - overflow: visible !important; - width: auto !important; - overflow: hidden !important; -} - -.openerp .oe_form .oe_form_field_html_translate textarea { - min-width: 60px; - width: 100%; - color: #4c4c4c; - font: normal 13px "Lucida Grande", Helvetica, Verdana, Arial, sans-serif; -} -.openerp .oe_form_readonly .oe_form .oe_form_field_html_translate textarea { - border:0; - background: #fff; -} -.openerp .oe_form_editable .oe_form .oe_form_field_html_translate > button { - float: right; - margin: -6px -3px 0 0; -} -.openerp .oe_form_editable .oe_form .oe_form_field_html_translate > .note-editable { - border: 1px solid #ccc; - min-height: 22px; - border-radius: 3px; -} -.openerp .oe_form_editable .oe_form .oe_form_field_html_translate .note-editable [contentEditable='true']:hover { - -moz-box-shadow: #DDCC33 0 0 5px 2px inset; - -webkit-box-shadow: #DDCC33 0 0 5px 2px inset; - box-shadow: #DDCC33 0 0 5px 2px inset; -}
\ No newline at end of file diff --git a/addons/web_editor/static/src/css/common.sass b/addons/web_editor/static/src/css/common.sass deleted file mode 100644 index 264f0166c49..00000000000 --- a/addons/web_editor/static/src/css/common.sass +++ /dev/null @@ -1,4 +0,0 @@ -@import "compass/css3" -@import "compass/css3/user-interface" -@import "compass/css3/transition" -@import "compass/support" diff --git a/addons/web_editor/static/src/css/web_editor.css b/addons/web_editor/static/src/css/web_editor.css deleted file mode 100644 index f83b5628b4e..00000000000 --- a/addons/web_editor/static/src/css/web_editor.css +++ /dev/null @@ -1,166 +0,0 @@ -/* ----- EDITOR ----- */ -.css_non_editable_mode_hidden { - display: none !important; -} - -/* ----- Editor (for public user, like forum) ----- */ -.note-toolbar { - margin-left: 0 !important; -} - -.note-popover .popover > .arrow { - display: none; -} - -/* ----- GENERIC LAYOUTING HELPERS ---- */ -.hidden { - display: none !important; -} - -/* table */ -#wrapwrap table.table, .o_editable table.table { - table-layout: fixed; -} -#wrapwrap table.table td, .o_editable table.table td { - min-width: 20px; -} - -/* Media */ -img.shadow { - -moz-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2); - box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2); -} - -img.padding-small, .img.padding-small, span.fa.padding-small, iframe.padding-small { - padding: 4px; -} -img.padding-medium, .img.padding-medium, span.fa.padding-medium, iframe.padding-medium { - padding: 8px; -} -img.padding-large, .img.padding-large, span.fa.padding-large, iframe.padding-large { - padding: 16px; -} -img.padding-xl, .img.padding-xl, span.fa.padding-xl, iframe.padding-xl { - padding: 32px; -} - -div.media_iframe_video.padding-small iframe { - padding: 4px; -} -div.media_iframe_video.padding-medium iframe { - padding: 8px; -} -div.media_iframe_video.padding-large iframe { - padding: 16px; -} -div.media_iframe_video.padding-xl iframe { - padding: 32px; -} - -/* font awsome */ -.fa-6x { - font-size: 6em; -} - -.fa-7x { - font-size: 7em; -} - -.fa-8x { - font-size: 8em; -} - -.fa-9x { - font-size: 9em; -} - -.fa-10x { - font-size: 10em; -} - -.fa.center-block { - text-align: center; -} - -/* video */ -div.media_iframe_video { - margin: 0 auto; - text-align: center; - position: relative; - overflow: hidden; -} -div.media_iframe_video iframe { - width: 100%; - height: 100%; - top: 0; - position: absolute; - margin: 0 auto; - margin-left: -50%; -} -div.media_iframe_video .media_iframe_video_size { - padding-bottom: 66.5%; - position: relative; - width: 100%; - height: 0; -} -div.media_iframe_video .css_editable_mode_display { - position: absolute; - width: 100%; - height: 100%; - display: none; - z-index: 2; -} - -html[data-browser^="msie"] div.media_iframe_video iframe { - margin-left: 0; -} - -/* Mobile view */ -@media (max-width: 768px) { - img:not(.cke_iframe), .media_iframe_video, span.fa, i.fa { - -webkit-transform: none !important; - -moz-transform: none !important; - -ms-transform: none !important; - -o-transform: none !important; - transform: none !important; - } -} -/* ---- fields --- */ -address .fa.fa-mobile-phone { - margin: 0 3px 0 2px; -} -address .fa.fa-file-text-o { - margin-right: 1px; -} - -span[data-oe-type="monetary"] { - white-space: nowrap; -} - -/* ---- MENU ---- {{{ */ -div.oe_menu_buttons { - top: -8px; - right: -8px; -} - -ul.oe_menu_editor .fa-home { - display: none; -} -ul.oe_menu_editor > li:first-child > div > span > .fa-home { - display: block; -} -ul.oe_menu_editor .oe_menu_placeholder { - outline: 1px dashed #4183C4; -} -ul.oe_menu_editor ul { - list-style: none; -} -ul.oe_menu_editor li div { - cursor: move; -} -ul.oe_menu_editor .disclose { - cursor: pointer; - width: 10px; - display: none; -} diff --git a/addons/web_editor/static/src/css/inline.css b/addons/web_editor/static/src/css/web_editor.iframe.inline.css index cba6343becb..cba6343becb 100644 --- a/addons/web_editor/static/src/css/inline.css +++ b/addons/web_editor/static/src/css/web_editor.iframe.inline.css diff --git a/addons/web_editor/static/src/css/web_editor.sass b/addons/web_editor/static/src/css/web_editor.sass deleted file mode 100644 index 2b5b4a8ee2f..00000000000 --- a/addons/web_editor/static/src/css/web_editor.sass +++ /dev/null @@ -1,141 +0,0 @@ -@charset "utf-8" -@import "common" - -/* ----- EDITOR ----- */ - -.css_non_editable_mode_hidden - display: none !important - -/* ----- Editor (for public user, like forum) ----- */ - -.note-toolbar - margin-left: 0 !important - -.note-popover .popover > .arrow - display: none - -/* ----- GENERIC LAYOUTING HELPERS ---- */ - -.hidden - display: none !important - -/* table */ - -#wrapwrap, .o_editable - table.table - table-layout: fixed - td - min-width: 20px - -/* Media */ - -img.shadow - +box-shadow(0px 3px 8px rgba(0, 0, 0, 0.2)) - -img, .img, span.fa, iframe - &.padding-small - padding: 4px - &.padding-medium - padding: 8px - &.padding-large - padding: 16px - &.padding-xl - padding: 32px -div.media_iframe_video - &.padding-small iframe - padding: 4px - &.padding-medium iframe - padding: 8px - &.padding-large iframe - padding: 16px - &.padding-xl iframe - padding: 32px - -/* font awsome */ - -.fa-6x - font-size: 6em -.fa-7x - font-size: 7em -.fa-8x - font-size: 8em -.fa-9x - font-size: 9em -.fa-10x - font-size: 10em -.fa.center-block - text-align: center - -/* video */ - -div.media_iframe_video - margin: 0 auto - text-align: center - position: relative - overflow: hidden - iframe - width: 100% - height: 100% - top: 0 - position: absolute - margin: 0 auto - margin-left: -50% - .media_iframe_video_size - padding-bottom: 66.5% - position: relative - width: 100% - height: 0 - .css_editable_mode_display - position: absolute - width: 100% - height: 100% - display: none - z-index: 2 - -html[data-browser^="msie"] div.media_iframe_video iframe - margin-left: 0 - -/* Mobile view */ - -@media (max-width: 768px) - img:not(.cke_iframe), .media_iframe_video, span.fa, i.fa - -webkit-transform: none !important - -moz-transform: none !important - -ms-transform: none !important - -o-transform: none !important - transform: none !important - -/* ---- fields --- */ - -address - .fa.fa-mobile-phone - margin: 0 3px 0 2px - .fa.fa-file-text-o - margin-right: 1px - -span[data-oe-type="monetary"] - white-space: nowrap - -/* ---- MENU ---- {{{ */ - -div.oe_menu_buttons - top: -8px - right: -8px - -ul.oe_menu_editor - .fa-home - display: none - > li:first-child > div > span > .fa-home - display: block - .oe_menu_placeholder - outline: 1px dashed #4183C4 - ul - list-style: none - li div - cursor: move - .disclose - cursor: pointer - width: 10px - display: none - -// }}} |
