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)"
33 -webkit-box-shadow: none
44 /* ---- OpenERP Style ---- {{{ */
55 @include background(#414141, linear-gradient(#646060, #262626))
56 +box-sizing(border-box)
61 background: rgba(0,0,0,0.2)
62 +text-shadow(black 0px 0px 3px)
65 .oe_website_editorbar .oe_rte_toolbar
72 font-family: FontAwesome
75 text-decoration: inherit
83 outline: none !important
86 display: block !important
89 display: none !important
91 .cke_editable .css_editable_mode_hidden
94 .cke_editable .css_editable_mode_display
95 display: block !important
97 .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
98 background-image: url('/website/static/src/img/edit_here.png') !important
100 .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
101 content: 'Press The Top-Left Edit Button' !important
103 [data-oe-type=html].oe_no_empty:empty:before
104 content: '' !important
106 [data-oe-type=html].oe_no_empty:empty
107 background-image: none !important
108 height: 16px !important
121 padding: 4px 8px 4px 8px
127 /* ---- EDITOR BAR ---- {{{ */
129 table.editorbar-panel
133 border: 1px solid #aaa
135 background-color: #b1c9d9
152 /* ---- TRANSLATIONS ---- {{{ */
157 .oe_translate_examples li
160 .oe_translatable_text
161 outline: 1px solid black
162 .oe_translatable_field
163 outline: 1px dashed black
164 .oe_translatable_text.oe_dirty, .oe_translatable_field.oe_dirty
166 .oe_translatable_text.oe_dirty:empty
168 .oe_translatable_todo
169 background: rgb(255, 255, 182)
176 /* ---- MENU ---- {{{ */
185 > li:first-child > div > span > .fa-home
188 outline: 1px dashed #4183C4
200 /* ---- RTE ---- {{{ */
202 // bootstrap makes .btn elements unselectable -> RTE double-click can't know
204 .oe_editable .btn, .btn.oe_editable
206 cursor: text !important
208 .modal-dialog.select-media
211 .modal .existing-attachments
215 .modal .image-preview
223 display: inline-block !important
224 visibility: visible !important
226 .filepicker, .image-preview
241 display: inline-block
267 background-color: #ddd
269 $attachment-border-color: #848490
270 .existing-attachments
274 .existing-attachment-cell
277 border: 1px solid $attachment-border-color
278 .existing-attachment-remove
281 left: 15px // padding-left on col-*
286 border: 1px solid $attachment-border-color
289 +border-bottom-right-radius(8px)
293 border-color: rgb(0, 248, 248)
295 // wrapper positioned relatively for drag&drop widget which is disabled below.
296 // Breaks completely horribly crazy products listing page, so take it out.
298 position: static !important
301 display: inline !important
303 // prevent inline widgets from entirely disappearing when their (textual)
304 // content is removed
309 white-space: pre-wrap
310 // no @placeholder -> just add some padding
311 &:not([placeholder]):empty::after
313 // with placeholder and when not (yet) focused -> display placeholder
314 &[placeholder]:not(:focus):empty::after
315 content: attr(placeholder)
318 outline: 1px solid red !important
319 background-color: #ffd9dd !important
322 display: inline-block
326 // This z-index is due to .navbar of bootstrap & jQuery-transfo
336 display: inline-block
347 /* ---- MOBILE PREVIEW ---- {{{ */
349 $mobile_preview_background: #000000
350 $mobile_preview_border: #1C1F1F
353 &.modal .modal-content
355 background-color: $mobile_preview_background
356 border: 2px solid $mobile_preview_border
365 background-color: $mobile_preview_background
367 +border-top-left-radius(10px)
368 +border-top-right-radius(10px)
370 color: $mobile_preview_border
378 background-color: $mobile_preview_background
388 background-color: $mobile_preview_background
392 /* ---- SEO TOOLS ---- {{{ */
394 $remove_color: $icon_close
395 $in_title_color: #5cb85c
396 $in_description_color: #428bca
397 $in_body_color: #5bc0de
398 $highlighted_text_color: #ffffff
399 .oe_seo_configuration
407 padding: .2em .4em .2em .5em
412 list-style-image: none
413 list-style-position: outside
414 list-style-type: none
416 font-family: arial,sans-serif
425 text-overflow: ellipsis
426 -webkit-text-overflow: ellipsis
429 color: rgb(30, 15, 190)
430 text-decoration: underline
433 font-style: normal !important
453 /* ---- ACE EDITOR ---- {{{ */
455 $editorbar_height: 30px
456 $infobar_height: 20px
457 // TODO Fix => might break with themes
461 // top property is set programmatically
467 .oe_ace_view_editor_title
471 height: $editorbar_height
474 height: $editorbar_height
477 height: $editorbar_height
482 top: $editorbar_height + $infobar_height
484 // bottom property is set programmatically
502 /* ---- CUSTOMIZE THEME ---- {{{ */
505 #theme_customize_modal
508 background: transparent
516 font-family: 'Lato-Regular'
518 text-transform: capitalize
519 letter-spacing: normal
522 font-family: 'Lato-Regular'
524 text-transform: uppercase
525 letter-spacing: normal
528 padding: 4px 0 4px 4px
529 background-color: #bdc3c7
537 border: 1px solid #fff
543 box-shadow: 2px 2px 3px #888
544 border: 1px solid #666
549 border: 1px solid rgba(136, 136, 136, 0.5)
564 /* ---- force the browse to re-compute the stylesheets ---- */
565 body.theme_customize_css_loading
572 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: