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 -webkit-box-shadow: none
29 /* ---- OpenERP Style ---- */
40 background-color: #414141
41 background: -webkit-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
71 .css_non_editable_mode_hidden
81 display: inline-block !important
82 vertical-align: middle !important
83 position: relative !important
86 /* ---- EDITOR BAR ---- */
92 border: 1px solid #aaa
94 background-color: #b1c9d9
96 // ---- TRANSLATIONS ---- {{{
97 .oe_translate_examples li
100 .oe_translatable_text
101 outline: 1px solid black
102 .oe_translatable_field
103 outline: 1px dashed black
104 .oe_translatable_text.oe_dirty, .oe_translatable_field.oe_dirty
106 .oe_translatable_text.oe_dirty:empty
108 .oe_translatable_todo
109 background: rgb(255, 255, 182)
114 // bootstrap makes .btn elements unselectable -> RTE double-click can't know
117 -webkit-user-select: auto
118 -moz-user-select: auto
119 -ms-user-select: auto
123 .modal-dialog.select-image
126 .modal .existing-attachments
130 .modal .image-preview
133 // "remove" drag & drop of CKE widgets
134 .cke_widget_drag_handler_container
135 display: none !important
137 /* ---- SNIPPET EDITOR ---- */
144 background: rgb(40,40,40)
145 box-shadow: 0px 10px 10px -10px black inset
162 padding: 2px 10px !important
169 display: inline-block
174 display: inline-block
183 -webkit-transform: translate(-39px, 44px) rotate(-90deg)
184 -moz-transform: translate(-39px, 44px) rotate(-90deg)
185 -o-transform: translate(-39px, 44px) rotate(-90deg)
186 transform: translate(-39px, 44px) rotate(-90deg)
187 -webkit-transform-origin: 50% 50%
188 -moz-transform-origin: 50% 50%
189 -ms-transform-origin: 50% 50%
190 -o-transform-origin: 50% 50%
191 transform-origin: 50% 50%
194 display: inline-block
203 -webkit-user-select: none
208 .oe_snippet_thumbnail
212 background: transparent
214 text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.95)
218 & > :not(.oe_snippet_thumbnail)
219 display: none !important
221 #oe_snippets .oe_snippet_thumbnail
222 background: rgb(116, 116, 116)
223 background-image: radial-gradient(rgba(0,0,0,0.25),rgba(0,0,0,0.4))
224 box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.07) inset
226 /* ---- SNIPPETS DROP ZONES ---- */
231 .oe_drop_zone.oe_insert
237 -webkit-transition: margin 250ms linear
241 &:not(.oe_vertical):before
244 border-top: dashed 2px rgba(209, 178, 255, 0.72)
248 border-top: dashed 2px rgba(116, 255, 161, 0.72)
253 margin: 0px -24px !important
255 background: rgba(153, 0, 255, 0.17)
258 .oe_drop_zone, .oe_drop_zone_style
259 background: rgba(153, 0, 255, 0.17)
262 background: rgba(0, 255, 133, 0.22)
270 /* ---- SNIPPET MANIPULATOR ---- */
275 background: transparent
277 transition: opacity 100ms linear
278 box-sizing: border-box
284 box-shadow: 0px 0px 0px 1px rgba(255,255,255,0.3), 0px 0px 0px 1px rgba(255,255,255,0.3) inset
285 border-color: rgba(153, 0, 255, 0.5)
287 display: block !important
294 background: rgba(255, 255, 255, 1)
295 border: solid 1px rgba(153, 0, 255, 1)
303 color: rgba(153, 0, 255, 1)
304 -webkit-transition: background 100ms linear
306 background: rgba(153, 0, 255, 1)
318 display: inline-block
330 display: inline-block
334 .dropdown-menu select,.dropdown-menu input
343 box-sizing: border-box
371 .s-resize-important, .s-resize-important *
372 cursor: s-resize !important
373 .n-resize-important, .n-resize-important *
374 cursor: n-resize !important
375 .e-resize-important, .e-resize-important *
376 cursor: e-resize !important
377 .w-resize-important, .w-resize-important *
378 cursor: w-resize !important
379 .move-important, .move-important *
380 cursor: move !important
383 /* ---- MOBILE PREVIEW ---- */
385 $mobile_preview_background: #000000
386 $mobile_preview_border: #1C1F1F
389 &.modal .modal-content
391 background-color: $mobile_preview_background
394 border-color: $mobile_preview_border
402 background-color: $mobile_preview_background
404 border-top-left-radius: 10px
405 border-top-right-radius: 10px
407 color: $mobile_preview_border
415 background-color: $mobile_preview_background
425 background-color: $mobile_preview_background
427 /* ---- SEO TOOLS ---- */
429 $remove_color: $icon_close
430 $in_title_color: #5cb85c
431 $in_description_color: #428bca
432 $in_body_color: #5bc0de
433 $highlighted_text_color: #ffffff
434 .oe_seo_configuration
442 padding: .2em .4em .2em .5em
445 background-color: $in_title_color
446 color: $highlighted_text_color
447 .keyword-in-description
448 background-color: $in_description_color
449 color: $highlighted_text_color
451 background-color: $in_body_color
452 color: $highlighted_text_color
454 /* ---- ACE EDITOR ---- */
457 $editorbar_height: 40px
458 // TODO Fix => might break with themes
463 font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace
466 transition: all 0.2s ease-in
467 -webkit-transition: all 0.2s ease-in
468 -ms-transition: all 0.2s ease-in
469 -o-transition: all 0.2s ease-in
470 -moz-transition: all 0.2s ease-in
477 .oe_ace_view_editor_title
481 height: $editorbar_height
485 height: $editorbar_height - 8px
488 height: $editorbar_height - 8px
493 top: $editorbar_height
495 bottom: $navbar_height
506 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: