1 /* ---- SNIPPET EDITOR ---- {{{ */
9 -webkit-box-shadow: 0px 10px 10px -10px black inset;
10 -moz-box-shadow: 0px 10px 10px -10px black inset;
11 box-shadow: 0px 10px 10px -10px black inset;
18 #oe_snippets .scroll {
23 display: inline-block;
24 border-bottom: none !important;
25 vertical-align: middle;
29 #oe_snippets .nav > li {
33 #oe_snippets .nav > li.active {
34 background: black !important;
36 #oe_snippets .nav > li > a {
37 padding: 2px 10px !important;
42 #oe_snippets .pill-content {
45 #oe_snippets .tab-content {
46 display: inline-block;
50 #oe_snippets .tab-content > div {
53 #oe_snippets .tab-content > div label {
58 #oe_snippets .tab-content > div label div {
61 -webkit-transform: translate(-39px, 44px);
62 -moz-transform: translate(-39px, 44px);
63 -ms-transform: translate(-39px, 44px);
64 -o-transform: translate(-39px, 44px);
65 transform: translate(-39px, 44px);
66 -webkit-transform-origin: 50% 50% 50%;
67 -moz-transform-origin: 50% 50% 50%;
68 -ms-transform-origin: 50% 50% 50%;
69 -o-transform-origin: 50% 50% 50%;
70 transform-origin: 50% 50% 50%;
81 -webkit-user-select: none;
82 -moz-user-select: none;
86 .oe_snippet .oe_snippet_thumbnail {
89 background: transparent;
93 .oe_snippet .oe_snippet_thumbnail:hover .oe_snippet_thumbnail_img {
94 -webkit-transform: scale(0.95, 0.95);
95 -moz-transform: scale(0.95, 0.95);
96 -ms-transform: scale(0.95, 0.95);
97 -o-transform: scale(0.95, 0.95);
98 transform: scale(0.95, 0.95);
100 .oe_snippet .oe_snippet_thumbnail .oe_snippet_thumbnail_title {
103 text-shadow: 0 0 2px black;
105 .oe_snippet .oe_snippet_thumbnail .oe_snippet_thumbnail_img {
107 -webkit-box-shadow: inset 0px 0px 0px 3px #333333;
108 -moz-box-shadow: inset 0px 0px 0px 3px #333333;
109 box-shadow: inset 0px 0px 0px 3px #333333;
110 -webkit-transform: scale(1, 1);
111 -moz-transform: scale(1, 1);
112 -ms-transform: scale(1, 1);
113 -o-transform: scale(1, 1);
114 transform: scale(1, 1);
116 .oe_snippet .oe_snippet_thumbnail span, .oe_snippet .oe_snippet_thumbnail div {
119 .oe_snippet > :not(.oe_snippet_thumbnail) {
120 display: none !important;
123 #oe_snippets .oe_snippet_thumbnail {
124 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)));
125 background: #747474, -webkit-radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
126 background: #747474, -moz-radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
127 background: #747474, -o-radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
128 background: #747474, radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
131 /* ---- SNIPPETS DROP ZONES ---- {{{ */
132 .oe_drop_zone.oe_insert {
137 margin-bottom: -44px;
138 -webkit-transition: margin 250ms linear;
139 -moz-transition: margin 250ms linear;
140 -o-transition: margin 250ms linear;
141 transition: margin 250ms linear;
146 .oe_drop_zone.oe_insert:not(.oe_vertical):before {
149 border-top: dashed 2px rgba(209, 178, 255, 0.72);
153 .oe_drop_zone.oe_insert.oe_hover:before {
154 border-top: dashed 2px rgba(116, 255, 161, 0.72);
156 .oe_drop_zone.oe_insert.oe_vertical {
160 margin: 0px -24px !important;
162 .oe_drop_zone.oe_insert.oe_overlay {
163 -webkit-border-radius: 3px;
164 -moz-border-radius: 3px;
165 -ms-border-radius: 3px;
166 -o-border-radius: 3px;
168 background: rgba(153, 0, 255, 0.5);
171 .oe_drop_zone, .oe_drop_zone_style {
173 background: rgba(153, 0, 255, 0.3);
174 -webkit-border-radius: 4px;
175 -moz-border-radius: 4px;
176 -ms-border-radius: 4px;
177 -o-border-radius: 4px;
180 .oe_drop_zone.oe_hover, .oe_drop_zone_style.oe_hover {
181 background: rgba(0, 255, 133, 0.3);
185 .oe_drop_zone_style {
192 /* ---- SNIPPET MANIPULATOR ---- {{{ */
193 .resize_editor_busy {
194 background-color: rgba(0, 0, 0, 0.3);
201 background: transparent;
203 -webkit-border-radius: 3px;
204 -moz-border-radius: 3px;
205 -ms-border-radius: 3px;
206 -o-border-radius: 3px;
208 -webkit-transition: opacity 100ms linear;
209 -moz-transition: opacity 100ms linear;
210 -o-transition: opacity 100ms linear;
211 transition: opacity 100ms linear;
212 -webkit-box-sizing: border-box;
213 -moz-box-sizing: border-box;
214 box-sizing: border-box;
216 .oe_overlay.oe_active {
219 .oe_overlay .oe_handle {
220 display: block !important;
224 -webkit-box-sizing: border-box;
225 -moz-box-sizing: border-box;
226 box-sizing: border-box;
231 .oe_overlay .oe_handle > div {
234 border-style: dashed;
236 border-color: #666666;
237 -webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.5), 0px 0px 0px 1px rgba(255, 255, 255, 0.5) inset;
238 -moz-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.5), 0px 0px 0px 1px rgba(255, 255, 255, 0.5) inset;
239 box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.5), 0px 0px 0px 1px rgba(255, 255, 255, 0.5) inset;
241 .oe_overlay .oe_handle.e:before, .oe_overlay .oe_handle.w:before, .oe_overlay .oe_handle.s:before, .oe_overlay .oe_handle.n:before, .oe_overlay .oe_handle.size .oe_handle_button {
248 border: solid 1px rgba(0, 0, 0, 0.2);
249 -webkit-border-radius: 5px;
250 -moz-border-radius: 5px;
251 -ms-border-radius: 5px;
252 -o-border-radius: 5px;
260 font-family: FontAwesome;
261 color: rgba(0, 0, 0, 0.5);
262 -webkit-transition: background 100ms linear;
263 -moz-transition: background 100ms linear;
264 -o-transition: background 100ms linear;
265 transition: background 100ms linear;
267 .oe_overlay .oe_handle.e:hover:before, .oe_overlay .oe_handle.w:hover:before, .oe_overlay .oe_handle.s:hover:before, .oe_overlay .oe_handle.n:hover:before {
268 background: rgba(0, 0, 0, 0.5);
270 -webkit-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
271 -moz-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
272 box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
274 .oe_overlay .oe_handle.e, .oe_overlay .oe_handle.w {
278 .oe_overlay .oe_handle.e:before, .oe_overlay .oe_handle.w:before {
279 content: "\f0d9-\f0da";
282 .oe_overlay .oe_handle.e > div, .oe_overlay .oe_handle.w > div {
288 .oe_overlay .oe_handle.e {
293 .oe_overlay .oe_handle.w {
297 .oe_overlay .oe_handle.s, .oe_overlay .oe_handle.n {
301 .oe_overlay .oe_handle.s:before, .oe_overlay .oe_handle.n:before {
306 .oe_overlay .oe_handle.s > div, .oe_overlay .oe_handle.n > div {
312 .oe_overlay .oe_handle.s {
316 .oe_overlay .oe_handle.n {
319 .oe_overlay .oe_handle.n > div {
322 .oe_overlay .oe_handle.size {
329 .oe_overlay .oe_handle.size .oe_handle_button {
337 .oe_overlay .oe_handle.size .oe_handle_button:hover {
338 background: rgba(30, 30, 30, 0.8);
340 -webkit-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
341 -moz-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
342 box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
344 .oe_overlay .oe_handle.size .size {
352 .oe_overlay .oe_handle.size .auto_size {
358 .oe_overlay .oe_handle.readonly {
359 cursor: auto !important;
361 .oe_overlay .oe_handle.readonly:before, .oe_overlay .oe_handle.readonly.size {
362 display: none !important;
364 .oe_overlay .icon.btn {
365 display: inline-block;
367 .oe_overlay .oe_overlay_options {
369 left: 50% !important;
374 .oe_overlay .oe_overlay_options > .btn-group {
378 .oe_overlay .oe_overlay_options > .btn-group > a {
380 display: inline-block;
384 .oe_overlay .oe_overlay_options .btn, .oe_overlay .oe_overlay_options a {
387 .oe_overlay .oe_overlay_options .dropdown {
388 display: inline-block;
390 .oe_overlay .oe_overlay_options .dropdown-menu {
394 .oe_overlay .oe_overlay_options .dropdown-menu select, .oe_overlay .oe_overlay_options .dropdown-menu input {
397 .oe_overlay.block-w-left .w:before {
398 content: "\F061" !important;
400 .oe_overlay.block-w-right .w:before {
401 content: "\F060" !important;
403 .oe_overlay.block-w-left.block-w-right .w {
404 display: none !important;
406 .oe_overlay.block-e-left .e:before {
407 content: "\F061" !important;
409 .oe_overlay.block-e-right .e:before {
410 content: "\F060" !important;
412 .oe_overlay.block-e-left.block-e-right .e {
413 display: none !important;
415 .oe_overlay.block-s-top .s:before {
416 content: "\F063" !important;
418 .oe_overlay.block-s-bottom .s:before {
419 content: "\f062" !important;
421 .oe_overlay.block-n-top .n:before {
422 content: "\F063" !important;
424 .oe_overlay.block-n-bottom .n:before {
425 content: "\f062" !important;
428 .s-resize-important, .s-resize-important * {
429 cursor: s-resize !important;
432 .n-resize-important, .n-resize-important * {
433 cursor: n-resize !important;
436 .e-resize-important, .e-resize-important * {
437 cursor: e-resize !important;
440 .w-resize-important, .w-resize-important * {
441 cursor: w-resize !important;
444 .move-important, .move-important * {
445 cursor: move !important;
448 /* add CSS for bootstrap dropdown multi level */
454 .dropdown-submenu > .dropdown-menu {
459 -webkit-border-radius: 0 6px 6px 6px;
460 -moz-border-radius: 0 6px 6px 6px;
461 border-radius: 0 6px 6px 6px;
463 .dropdown-submenu:hover > .dropdown-menu {
466 .dropdown-submenu:hover > a:after {
467 border-left-color: white;
469 .dropdown-submenu > a:after {
475 border-color: transparent;
477 border-width: 5px 0 5px 5px;
478 border-left-color: #cccccc;
482 .dropdown-submenu.pull-left {
485 .dropdown-submenu.pull-left > .dropdown-menu {
488 -webkit-border-radius: 6px 0 6px 6px;
489 -moz-border-radius: 6px 0 6px 6px;
490 border-radius: 6px 0 6px 6px;
507 box-shadow: 0 1px 3px #646464 inset;
509 .oe_snippet_editor .oe_snippet {
510 box-sizing: border-box;
511 display: inline-block;
516 margin: 20px 20px 20px 0;
518 border: 2px solid transparent;
519 box-shadow: 0 1px 3px #646464;
527 .oe_snippet_editor .oe_snippet:after {
533 background: rgba(255, 255, 255, 0.8);
538 .oe_snippet_editor .oe_snippet.oe_selected, .oe_snippet_editor .oe_snippet.oe_active {
539 border: 2px solid #9789ff;
540 box-shadow: 0px 3px 17px rgba(99, 53, 150, 0.59);
542 .oe_snippet_editor .oe_snippet > * {
547 .oe_snippet_editor .oe_snippet > .container {
550 line-height: 0.999em;
553 .oe_snippet_editor .oe_snippet > .row {
556 line-height: 0.999em;
558 .oe_snippet_editor .oe_snippet > .span6 {
562 .oe_snippet_editor .oe_snippet > .span12 {
566 .oe_snippet_editor .oe_snippet > p {
577 .oe_snippet_editor .oe_snippet.oe_new {
579 box-shadow: 0px 1px 3px #5a5a5a inset;
582 .oe_snippet_editor .oe_snippet.oe_new.oe_selected, .oe_snippet_editor .oe_snippet.oe_new.oe_active {
583 box-shadow: 0px 2px 0px 0px #9789ff inset, 0px 3px 17px rgba(99, 53, 150, 0.59) inset;
585 .oe_snippet_editor .oe_snippet.oe_new > * {
593 .oe_snippet_editor .oe_snippet.oe_new:after {
599 background: transparent;
601 text-shadow: 0px 1px 3px black;
608 border: 2px dashed #ae34ff;
609 background: rgba(147, 52, 255, 0.1);
615 .oe_snippet_drop.oe_accepting {
616 border: 2px dashed #34ffa6;
617 background: rgba(52, 255, 190, 0.1);
620 #website-top-edit li.oe_snippet_editorbar {
621 padding: 1px 8px 2px;
622 font: normal normal normal 12px Arial, Helvetica, Tahoma, Verdana, Sans-Serif;
625 border: 1px solid #a6a6a6;
626 border-bottom-color: #979797;
630 #website-top-edit li.oe_snippet_editorbar > * {
631 display: inline-block;
637 #website-top-edit li.oe_snippet_editorbar a.button .icon {
639 background-repeat: no-repeat;
643 display: inline-block;
646 /* ---- COLOR-PICKER ---- {{{ */
649 background: transparent;
654 background: transparent;
656 .colorpicker td > * {
665 .colorpicker .only-text {
668 .colorpicker .automatic-color {
670 border-left: 7px solid #ff3333;
671 border-top: 7px solid #00ee00;
672 border-right: 8px solid #3333ff;
673 border-bottom: 8px solid #ffee00;
674 margin: 4px 3px 3px 3px;
679 .cke_panel_container table.colorpicker tr:first-child td {
682 .cke_panel_container table.colorpicker tr:last-child td {