3 /* ---- CKEditor Minimal Reset ---- {{{ */
5 .navbar.navbar-inverse .cke_chrome
8 .navbar.navbar-inverse .cke_inner
9 background: transparent
11 .navbar.navbar-inverse
22 .navbar.navbar-inverse .cke_top
23 background: transparent
26 -ms-filter: "alpha(opacity=50)"
30 /* ---- OpenERP Style ---- {{{ */
41 @include background(#414141, linear-gradient(#646060, #262626))
42 +box-sizing(border-box)
47 background: rgba(0,0,0,0.2)
48 +text-shadow(black 0px 0px 3px)
51 .oe_website_editorbar .oe_rte_toolbar
58 font-family: FontAwesome
61 text-decoration: inherit
69 outline: none !important
72 display: block !important
75 display: none !important
77 .cke_editable .css_editable_mode_hidden
80 .cke_editable .css_editable_mode_display
81 display: block !important
83 .oe_structure.oe_empty:empty, [data-oe-type=html]:empty, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child
84 background-image: url('/website/static/src/img/edit_here.png') !important
86 .oe_structure.oe_empty:empty:before, [data-oe-type=html]:empty:before, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before
87 content: 'Press The Top-Left Edit Button' !important
89 [data-oe-type=html].oe_no_empty:empty:before
90 content: '' !important
92 [data-oe-type=html].oe_no_empty:empty
93 background-image: none !important
94 height: 16px !important
98 /* ---- EDITOR BAR ---- {{{ */
100 table.editorbar-panel
104 border: 1px solid #aaa
106 background-color: #b1c9d9
110 /* ---- TRANSLATIONS ---- {{{ */
115 .oe_translate_examples li
118 .oe_translatable_text
119 outline: 1px solid black
120 .oe_translatable_field
121 outline: 1px dashed black
122 .oe_translatable_text.oe_dirty, .oe_translatable_field.oe_dirty
124 .oe_translatable_text.oe_dirty:empty
126 .oe_translatable_todo
127 background: rgb(255, 255, 182)
131 /* ---- MENU ---- {{{ */
140 > li:first-child > div > span > .fa-home
143 outline: 1px dashed #4183C4
155 /* ---- RTE ---- {{{ */
157 // bootstrap makes .btn elements unselectable -> RTE double-click can't know
159 .oe_editable .btn, .btn.oe_editable
161 cursor: text !important
163 .modal-dialog.select-media
166 .modal .existing-attachments
170 .modal .image-preview
178 display: inline-block !important
179 visibility: visible !important
181 .filepicker, .image-preview
196 display: inline-block
222 background-color: #ddd
224 $attachment-border-color: #848490
225 .existing-attachments
229 .existing-attachment-cell
232 border: 1px solid $attachment-border-color
233 .existing-attachment-remove
236 left: 15px // padding-left on col-*
241 border: 1px solid $attachment-border-color
244 +border-bottom-right-radius(8px)
248 border-color: rgb(0, 248, 248)
250 // wrapper positioned relatively for drag&drop widget which is disabled below.
251 // Breaks completely horribly crazy products listing page, so take it out.
253 position: static !important
256 display: inline !important
258 // prevent inline widgets from entirely disappearing when their (textual)
259 // content is removed
264 white-space: pre-wrap
265 // no @placeholder -> just add some padding
266 &:not([placeholder]):empty::after
268 // with placeholder and when not (yet) focused -> display placeholder
269 &[placeholder]:not(:focus):empty::after
270 content: attr(placeholder)
273 outline: 1px solid red !important
274 background-color: #ffd9dd !important
277 display: inline-block
281 // This z-index is due to .navbar of bootstrap & jQuery-transfo
291 display: inline-block
302 /* ---- MOBILE PREVIEW ---- {{{ */
304 $mobile_preview_background: #000000
305 $mobile_preview_border: #1C1F1F
308 &.modal .modal-content
310 background-color: $mobile_preview_background
311 border: 2px solid $mobile_preview_border
320 background-color: $mobile_preview_background
322 +border-top-left-radius(10px)
323 +border-top-right-radius(10px)
325 color: $mobile_preview_border
333 background-color: $mobile_preview_background
343 background-color: $mobile_preview_background
347 /* ---- SEO TOOLS ---- {{{ */
349 $remove_color: $icon_close
350 $in_title_color: #5cb85c
351 $in_description_color: #428bca
352 $in_body_color: #5bc0de
353 $highlighted_text_color: #ffffff
354 .oe_seo_configuration
362 padding: .2em .4em .2em .5em
367 list-style-image: none
368 list-style-position: outside
369 list-style-type: none
371 font-family: arial,sans-serif
380 text-overflow: ellipsis
381 -webkit-text-overflow: ellipsis
384 color: rgb(30, 15, 190)
385 text-decoration: underline
388 font-style: normal !important
408 /* ---- ACE EDITOR ---- {{{ */
410 $editorbar_height: 30px
411 // TODO Fix => might break with themes
415 // top property is set programmatically
419 .oe_ace_view_editor_title
423 height: $editorbar_height
427 height: $editorbar_height
430 height: $editorbar_height
435 top: $editorbar_height
437 // bottom property is set programmatically
449 /* ---- EDITOR TOUR ---- {{{ */
460 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: