1 /* ---- CKEditor Minimal Reset ---- {{{ */
2 .navbar.navbar-inverse .cke_chrome {
6 .navbar.navbar-inverse .cke_inner {
7 background: transparent;
10 .navbar.navbar-inverse .cke_toolbar {
14 .navbar.navbar-inverse .cke_combo_button {
18 .navbar.navbar-inverse .cke_button {
23 .navbar.navbar-inverse .cke_top {
24 background: transparent;
26 -webkit-box-shadow: none;
27 -moz-box-shadow: none;
31 /* ---- OpenERP Style ---- {{{ */
32 .oe_website_editorbar {
41 background: #414141, -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #646060), color-stop(100%, #262626));
42 background: #414141, -webkit-linear-gradient(#646060, #262626);
43 background: #414141, -moz-linear-gradient(#646060, #262626);
44 background: #414141, -o-linear-gradient(#646060, #262626);
45 background: #414141, linear-gradient(#646060, #262626);
46 -webkit-box-sizing: border-box;
47 -moz-box-sizing: border-box;
48 box-sizing: border-box;
50 .oe_website_editorbar li {
54 .oe_website_editorbar li:hover {
55 background: rgba(0, 0, 0, 0.2);
56 text-shadow: black 0px 0px 3px;
60 .oe_website_editorbar .oe_rte_toolbar div.dropdown {
61 display: inline-block;
63 .oe_website_editorbar .oe_rte_toolbar div.dropdown li {
66 .oe_website_editorbar .oe_rte_toolbar button {
67 font-family: FontAwesome;
70 text-decoration: inherit;
72 .oe_website_editorbar .oe_rte_toolbar button.oe_button_list {
75 .oe_website_editorbar .oe_rte_toolbar button.oe_button_list:after {
81 outline: none !important;
84 .css_non_editable_mode_hidden {
88 .cke_editable .css_editable_mode_hidden {
92 .oe_carousel_options {
99 .oe_carousel_options > * {
100 display: inline-block !important;
101 vertical-align: middle !important;
102 position: relative !important;
106 /* ---- EDITOR BAR ---- {{{ */
107 table.editorbar-panel {
111 table.editorbar-panel td {
112 border: 1px solid #aaaaaa;
114 table.editorbar-panel td.selected {
115 background-color: #b1c9d9;
118 /* ---- TRANSLATIONS ---- {{{ */
124 .oe_translate_examples li {
129 .oe_translatable_text {
130 outline: 1px solid black;
133 .oe_translatable_field {
134 outline: 1px dashed black;
137 .oe_translatable_text.oe_dirty, .oe_translatable_field.oe_dirty {
141 .oe_translatable_text.oe_dirty:empty {
145 .oe_translatable_todo {
149 /* ---- MENU ---- {{{ */
150 div.oe_menu_buttons {
155 ul.oe_menu_editor .fa-home {
158 ul.oe_menu_editor > li:first-child > div > span > .fa-home {
161 ul.oe_menu_editor .oe_menu_placeholder {
162 outline: 1px dashed #4183c4;
164 ul.oe_menu_editor ul {
167 ul.oe_menu_editor li div {
170 ul.oe_menu_editor .disclose {
176 /* ---- RTE ---- {{{ */
177 .oe_editable .btn, .btn.oe_editable {
178 -webkit-user-select: auto;
179 -moz-user-select: auto;
181 cursor: text !important;
184 .modal-dialog.select-image {
188 .modal .existing-attachments .pager {
192 .modal .image-preview {
193 margin-bottom: 0.5em;
200 .modal.nosave .modal-footer button.save {
203 .modal.nosave .modal-footer button.wait {
204 display: inline-block !important;
205 visibility: visible !important;
208 .existing-attachments .pager .disabled {
212 .cke_widget_wrapper {
213 position: static !important;
216 .cke_widget_editable:empty:after {
218 white-space: pre-wrap;
220 .cke_widget_editable:not([placeholder]):empty::after {
223 .cke_widget_editable[placeholder]:not(:focus):empty::after {
224 content: attr(placeholder);
228 outline: 1px solid red !important;
229 background-color: #ffd9dd !important;
232 .hover-edition-button {
239 /* ---- SNIPPET EDITOR ---- {{{ */
245 -webkit-box-shadow: 0px 10px 10px -10px black inset;
246 -moz-box-shadow: 0px 10px 10px -10px black inset;
247 box-shadow: 0px 10px 10px -10px black inset;
254 #oe_snippets .scroll {
259 display: inline-block;
260 border-bottom: none !important;
261 vertical-align: middle;
265 #oe_snippets .nav > li {
269 #oe_snippets .nav > li.active {
270 background: black !important;
272 #oe_snippets .nav > li > a {
273 padding: 2px 10px !important;
278 #oe_snippets .pill-content {
281 #oe_snippets .tab-content {
282 display: inline-block;
286 #oe_snippets .tab-content > div {
289 #oe_snippets .tab-content > div label {
294 #oe_snippets .tab-content > div label div {
297 -webkit-transform: translate(-39px, 44px);
298 -moz-transform: translate(-39px, 44px);
299 -ms-transform: translate(-39px, 44px);
300 -o-transform: translate(-39px, 44px);
301 transform: translate(-39px, 44px);
302 -webkit-transform-origin: 50% 50% 50%;
303 -moz-transform-origin: 50% 50% 50%;
304 -ms-transform-origin: 50% 50% 50%;
305 -o-transform-origin: 50% 50% 50%;
306 transform-origin: 50% 50% 50%;
317 -webkit-user-select: none;
318 -moz-user-select: none;
321 pointer-events: none;
323 .oe_snippet .oe_snippet_thumbnail {
324 pointer-events: auto;
327 background: transparent;
331 .oe_snippet .oe_snippet_thumbnail:hover .oe_snippet_thumbnail_img {
332 -webkit-transform: scale(0.95, 0.95);
333 -moz-transform: scale(0.95, 0.95);
334 -ms-transform: scale(0.95, 0.95);
335 -o-transform: scale(0.95, 0.95);
336 transform: scale(0.95, 0.95);
338 .oe_snippet .oe_snippet_thumbnail .oe_snippet_thumbnail_title {
341 text-shadow: 0 0 2px black;
343 .oe_snippet .oe_snippet_thumbnail .oe_snippet_thumbnail_img {
345 -webkit-transition: all 150ms linear;
346 -moz-transition: all 150ms linear;
347 -o-transition: all 150ms linear;
348 transition: all 150ms linear;
349 -webkit-box-shadow: inset 0px 0px 0px 3px #333333;
350 -moz-box-shadow: inset 0px 0px 0px 3px #333333;
351 box-shadow: inset 0px 0px 0px 3px #333333;
352 -webkit-transform: scale(1, 1);
353 -moz-transform: scale(1, 1);
354 -ms-transform: scale(1, 1);
355 -o-transform: scale(1, 1);
356 transform: scale(1, 1);
358 .oe_snippet .oe_snippet_thumbnail span, .oe_snippet .oe_snippet_thumbnail div {
361 .oe_snippet > :not(.oe_snippet_thumbnail) {
362 display: none !important;
365 #oe_snippets .oe_snippet_thumbnail {
366 background: #747474, -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 100, color-stop(0%, rgba(0, 0, 0, 0.25)), color-stop(100%, rgba(0, 0, 0, 0.4)));
367 background: #747474, -webkit-radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
368 background: #747474, -moz-radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
369 background: #747474, -o-radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
370 background: #747474, radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
373 /* ---- SNIPPETS DROP ZONES ---- {{{ */
374 .oe_drop_zone.oe_insert {
379 margin-bottom: -44px;
380 -webkit-transition: margin 250ms linear;
381 -moz-transition: margin 250ms linear;
382 -o-transition: margin 250ms linear;
383 transition: margin 250ms linear;
388 .oe_drop_zone.oe_insert:not(.oe_vertical):before {
391 border-top: dashed 2px rgba(209, 178, 255, 0.72);
395 .oe_drop_zone.oe_insert.oe_hover:before {
396 border-top: dashed 2px rgba(116, 255, 161, 0.72);
398 .oe_drop_zone.oe_insert.oe_vertical {
402 margin: 0px -24px !important;
404 .oe_drop_zone.oe_insert.oe_overlay {
405 -webkit-border-radius: 3px;
406 -moz-border-radius: 3px;
407 -ms-border-radius: 3px;
408 -o-border-radius: 3px;
410 background: rgba(153, 0, 255, 0.5);
413 .oe_drop_zone, .oe_drop_zone_style {
415 background: rgba(153, 0, 255, 0.3);
416 -webkit-border-radius: 4px;
417 -moz-border-radius: 4px;
418 -ms-border-radius: 4px;
419 -o-border-radius: 4px;
422 .oe_drop_zone.oe_hover, .oe_drop_zone_style.oe_hover {
423 background: rgba(0, 255, 133, 0.3);
427 .oe_drop_zone_style {
434 /* ---- SNIPPET MANIPULATOR ---- {{{ */
435 .resize_editor_busy {
436 background-color: rgba(0,0,0,0.1);
441 background: transparent;
442 -webkit-border-radius: 3px;
443 -moz-border-radius: 3px;
444 -ms-border-radius: 3px;
445 -o-border-radius: 3px;
447 -webkit-transition: opacity 100ms linear;
448 -moz-transition: opacity 100ms linear;
449 -o-transition: opacity 100ms linear;
450 transition: opacity 100ms linear;
451 -webkit-box-sizing: border-box;
452 -moz-box-sizing: border-box;
453 box-sizing: border-box;
454 pointer-events: none;
456 .oe_overlay.oe_active {
458 border-style: dashed;
460 -webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3), 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
461 -moz-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3), 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
462 box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3), 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
463 border-color: rgba(0, 0, 0, 0.5);
465 .oe_overlay .oe_handle {
466 display: block !important;
467 pointer-events: auto;
471 -webkit-box-sizing: border-box;
472 -moz-box-sizing: border-box;
473 box-sizing: border-box;
478 .oe_overlay .oe_handle:before {
484 border: solid 1px rgba(0, 0, 0, 0.2);
485 -webkit-border-radius: 5px;
486 -moz-border-radius: 5px;
487 -ms-border-radius: 5px;
488 -o-border-radius: 5px;
496 font-family: FontAwesome;
497 color: rgba(0, 0, 0, 0.5);
498 -webkit-transition: background 100ms linear;
499 -moz-transition: background 100ms linear;
500 -o-transition: background 100ms linear;
501 transition: background 100ms linear;
503 .oe_overlay .oe_handle:hover:before {
504 background: rgba(0, 0, 0, 0.5);
506 -webkit-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
507 -moz-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
508 box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
510 .oe_overlay .oe_handle.e {
517 .oe_overlay .oe_handle.e:before {
520 .oe_overlay .oe_handle.s, .oe_overlay .oe_handle.size {
527 .oe_overlay .oe_handle.s:before, .oe_overlay .oe_handle.size:before {
530 .oe_overlay .oe_handle.size {
531 border-style: dashed;
532 border-width: 0 0 1px 0;
533 border-color: rgba(0, 0, 0, 0.5);
535 .oe_overlay .oe_handle.size:before {
542 .oe_overlay .oe_handle.w {
548 .oe_overlay .oe_handle.w:before {
551 .oe_overlay .oe_handle.n {
557 .oe_overlay .oe_handle.n:before {
560 .oe_overlay .icon.btn {
561 display: inline-block;
563 .oe_overlay .oe_overlay_options {
570 .oe_overlay .oe_overlay_options .btn, .oe_overlay .oe_overlay_options a {
571 pointer-events: auto;
574 .oe_overlay .oe_overlay_options .dropdown {
575 display: inline-block;
577 .oe_overlay .oe_overlay_options .dropdown-menu {
581 .oe_overlay .oe_overlay_options .dropdown-menu select, .oe_overlay .oe_overlay_options .dropdown-menu input {
586 pointer-events: auto;
591 -webkit-box-sizing: border-box;
592 -moz-box-sizing: border-box;
593 box-sizing: border-box;
599 .s-resize-important, .s-resize-important * {
600 cursor: s-resize !important;
603 .n-resize-important, .n-resize-important * {
604 cursor: n-resize !important;
607 .e-resize-important, .e-resize-important * {
608 cursor: e-resize !important;
611 .w-resize-important, .w-resize-important * {
612 cursor: w-resize !important;
615 .move-important, .move-important * {
616 cursor: move !important;
619 /* ---- MOBILE PREVIEW ---- {{{ */
620 .oe_mobile_preview.modal .modal-content {
622 background-color: black;
623 border: 2px solid #1c1f1f;
624 -webkit-border-radius: 10px;
625 -moz-border-radius: 10px;
626 -ms-border-radius: 10px;
627 -o-border-radius: 10px;
636 .oe_mobile_preview.modal .modal-content .modal-header {
637 background-color: black;
639 -moz-border-radius-topleft: 10px;
640 -webkit-border-top-left-radius: 10px;
641 border-top-left-radius: 10px;
642 -moz-border-radius-topright: 10px;
643 -webkit-border-top-right-radius: 10px;
644 border-top-right-radius: 10px;
646 .oe_mobile_preview.modal .modal-content .modal-header .modal-title {
649 .oe_mobile_preview.modal .modal-content .modal-header .close {
651 filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
654 .oe_mobile_preview.modal .modal-content .modal-header .close:hover {
656 filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
659 .oe_mobile_preview.modal .modal-content .modal-body {
660 background-color: black;
665 .oe_mobile_preview.modal .modal-content .modal-body .oe_mobile_viewport {
671 .oe_mobile_preview.modal .modal-content .modal-footer {
672 background-color: black;
675 /* ---- SEO TOOLS ---- {{{ */
676 .oe_seo_configuration .modal-dialog {
679 .oe_seo_configuration .oe_remove {
682 .oe_seo_configuration .oe_seo_suggestion {
685 .oe_seo_configuration .oe_seo_keyword {
686 padding: 0.2em 0.4em 0.2em 0.5em;
687 -webkit-border-radius: 0.4em;
688 -moz-border-radius: 0.4em;
689 -ms-border-radius: 0.4em;
690 -o-border-radius: 0.4em;
691 border-radius: 0.4em;
694 /* ---- ACE EDITOR ---- {{{ */
695 .oe_ace_view_editor {
701 .oe_ace_view_editor .oe_ace_view_editor_title {
708 .oe_ace_view_editor .oe_ace_view_editor_title .oe_view_list {
712 font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", "source-code-pro", monospace;
715 .oe_ace_view_editor .oe_ace_view_editor_title .btn {
717 padding: 0 4px 0 4px;
719 font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", "source-code-pro", monospace;
722 .oe_ace_view_editor .ace_editor {
728 .oe_ace_view_editor .ace_editor .ace_gutter {
731 .oe_ace_view_editor.oe_ace_open {
732 filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=97);
735 .oe_ace_view_editor.oe_ace_closed {
737 filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
741 /* ---- EDITOR TOUR ---- {{{ */