1 /* ---- SNIPPET EDITOR ---- {{{ */
7 -webkit-box-shadow: 0px 10px 10px -10px black inset;
8 -moz-box-shadow: 0px 10px 10px -10px black inset;
9 box-shadow: 0px 10px 10px -10px black inset;
16 #oe_snippets .scroll {
21 display: inline-block;
22 border-bottom: none !important;
23 vertical-align: middle;
27 #oe_snippets .nav > li {
31 #oe_snippets .nav > li.active {
32 background: black !important;
34 #oe_snippets .nav > li > a {
35 padding: 2px 10px !important;
40 #oe_snippets .pill-content {
43 #oe_snippets .tab-content {
44 display: inline-block;
48 #oe_snippets .tab-content > div {
51 #oe_snippets .tab-content > div label {
56 #oe_snippets .tab-content > div label div {
59 -webkit-transform: translate(-39px, 44px);
60 -moz-transform: translate(-39px, 44px);
61 -ms-transform: translate(-39px, 44px);
62 -o-transform: translate(-39px, 44px);
63 transform: translate(-39px, 44px);
64 -webkit-transform-origin: 50% 50% 50%;
65 -moz-transform-origin: 50% 50% 50%;
66 -ms-transform-origin: 50% 50% 50%;
67 -o-transform-origin: 50% 50% 50%;
68 transform-origin: 50% 50% 50%;
79 -webkit-user-select: none;
80 -moz-user-select: none;
85 .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-transition: all 150ms linear;
108 -moz-transition: all 150ms linear;
109 -o-transition: all 150ms linear;
110 transition: all 150ms linear;
111 -webkit-box-shadow: inset 0px 0px 0px 3px #333333;
112 -moz-box-shadow: inset 0px 0px 0px 3px #333333;
113 box-shadow: inset 0px 0px 0px 3px #333333;
114 -webkit-transform: scale(1, 1);
115 -moz-transform: scale(1, 1);
116 -ms-transform: scale(1, 1);
117 -o-transform: scale(1, 1);
118 transform: scale(1, 1);
120 .oe_snippet .oe_snippet_thumbnail span, .oe_snippet .oe_snippet_thumbnail div {
123 .oe_snippet > :not(.oe_snippet_thumbnail) {
124 display: none !important;
127 #oe_snippets .oe_snippet_thumbnail {
128 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)));
129 background: #747474, -webkit-radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
130 background: #747474, -moz-radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
131 background: #747474, -o-radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
132 background: #747474, radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
135 /* ---- SNIPPETS DROP ZONES ---- {{{ */
136 .oe_drop_zone.oe_insert {
141 margin-bottom: -44px;
142 -webkit-transition: margin 250ms linear;
143 -moz-transition: margin 250ms linear;
144 -o-transition: margin 250ms linear;
145 transition: margin 250ms linear;
150 .oe_drop_zone.oe_insert:not(.oe_vertical):before {
153 border-top: dashed 2px rgba(209, 178, 255, 0.72);
157 .oe_drop_zone.oe_insert.oe_hover:before {
158 border-top: dashed 2px rgba(116, 255, 161, 0.72);
160 .oe_drop_zone.oe_insert.oe_vertical {
164 margin: 0px -24px !important;
166 .oe_drop_zone.oe_insert.oe_overlay {
167 -webkit-border-radius: 3px;
168 -moz-border-radius: 3px;
169 -ms-border-radius: 3px;
170 -o-border-radius: 3px;
172 background: rgba(153, 0, 255, 0.5);
175 .oe_drop_zone, .oe_drop_zone_style {
177 background: rgba(153, 0, 255, 0.3);
178 -webkit-border-radius: 4px;
179 -moz-border-radius: 4px;
180 -ms-border-radius: 4px;
181 -o-border-radius: 4px;
184 .oe_drop_zone.oe_hover, .oe_drop_zone_style.oe_hover {
185 background: rgba(0, 255, 133, 0.3);
189 .oe_drop_zone_style {
196 /* ---- SNIPPET MANIPULATOR ---- {{{ */
197 .resize_editor_busy {
198 background-color: rgba(0, 0, 0, 0.3);
204 background: transparent;
205 -webkit-border-radius: 3px;
206 -moz-border-radius: 3px;
207 -ms-border-radius: 3px;
208 -o-border-radius: 3px;
210 -webkit-transition: opacity 100ms linear;
211 -moz-transition: opacity 100ms linear;
212 -o-transition: opacity 100ms linear;
213 transition: opacity 100ms linear;
214 -webkit-box-sizing: border-box;
215 -moz-box-sizing: border-box;
216 box-sizing: border-box;
217 pointer-events: none;
219 .oe_overlay.oe_active {
221 border-style: dashed;
223 -webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3), 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
224 -moz-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3), 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
225 box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3), 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
226 border-color: rgba(0, 0, 0, 0.5);
228 .oe_overlay .oe_handle {
229 display: block !important;
230 pointer-events: auto;
234 -webkit-box-sizing: border-box;
235 -moz-box-sizing: border-box;
236 box-sizing: border-box;
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 {
247 border: solid 1px rgba(0, 0, 0, 0.2);
248 -webkit-border-radius: 5px;
249 -moz-border-radius: 5px;
250 -ms-border-radius: 5px;
251 -o-border-radius: 5px;
259 font-family: FontAwesome;
260 color: rgba(0, 0, 0, 0.5);
261 -webkit-transition: background 100ms linear;
262 -moz-transition: background 100ms linear;
263 -o-transition: background 100ms linear;
264 transition: background 100ms linear;
266 .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 {
267 background: rgba(0, 0, 0, 0.5);
269 -webkit-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
270 -moz-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
271 box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
273 .oe_overlay .oe_handle.e {
280 .oe_overlay .oe_handle.e:before {
283 .oe_overlay .oe_handle.s {
290 .oe_overlay .oe_handle.s:before {
294 .oe_overlay .oe_handle.size {
300 .oe_overlay .oe_handle.size .oe_handle_button {
309 .oe_overlay .oe_handle.size .oe_handle_button:hover {
310 background: rgba(30, 30, 30, 0.8);
312 -webkit-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
313 -moz-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
314 box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
316 .oe_overlay .oe_handle.size div {
317 border-style: dashed;
318 border-width: 0 0 1px 0;
319 border-color: rgba(0, 0, 0, 0.5);
323 .oe_overlay .oe_handle.w {
329 .oe_overlay .oe_handle.w:before {
332 .oe_overlay .oe_handle.n {
338 .oe_overlay .oe_handle.n:before {
341 .oe_overlay .icon.btn {
342 display: inline-block;
344 .oe_overlay .oe_overlay_options {
351 .oe_overlay .oe_overlay_options .btn, .oe_overlay .oe_overlay_options a {
352 pointer-events: auto;
355 .oe_overlay .oe_overlay_options .dropdown {
356 display: inline-block;
358 .oe_overlay .oe_overlay_options .dropdown-menu {
362 .oe_overlay .oe_overlay_options .dropdown-menu select, .oe_overlay .oe_overlay_options .dropdown-menu input {
366 .s-resize-important, .s-resize-important * {
367 cursor: s-resize !important;
370 .n-resize-important, .n-resize-important * {
371 cursor: n-resize !important;
374 .e-resize-important, .e-resize-important * {
375 cursor: e-resize !important;
378 .w-resize-important, .w-resize-important * {
379 cursor: w-resize !important;
382 .move-important, .move-important * {
383 cursor: move !important;
386 /* add CSS for bootstrap dropdown multi level */
392 .dropdown-submenu > .dropdown-menu {
397 -webkit-border-radius: 0 6px 6px 6px;
398 -moz-border-radius: 0 6px 6px 6px;
399 border-radius: 0 6px 6px 6px;
401 .dropdown-submenu:hover > .dropdown-menu {
404 .dropdown-submenu:hover > a:after {
405 border-left-color: white;
407 .dropdown-submenu > a:after {
413 border-color: transparent;
415 border-width: 5px 0 5px 5px;
416 border-left-color: #cccccc;
420 .dropdown-submenu.pull-left {
423 .dropdown-submenu.pull-left > .dropdown-menu {
426 -webkit-border-radius: 6px 0 6px 6px;
427 -moz-border-radius: 6px 0 6px 6px;
428 border-radius: 6px 0 6px 6px;
445 box-shadow: 0 1px 3px #646464 inset;
447 .oe_snippet_editor .oe_snippet {
448 box-sizing: border-box;
449 display: inline-block;
454 margin: 20px 20px 20px 0;
456 border: 2px solid transparent;
457 box-shadow: 0 1px 3px #646464;
465 .oe_snippet_editor .oe_snippet:after {
471 background: rgba(255, 255, 255, 0.8);
476 .oe_snippet_editor .oe_snippet.oe_selected, .oe_snippet_editor .oe_snippet.oe_active {
477 border: 2px solid #9789ff;
478 box-shadow: 0px 3px 17px rgba(99, 53, 150, 0.59);
480 .oe_snippet_editor .oe_snippet > * {
481 pointer-events: none;
486 .oe_snippet_editor .oe_snippet > .container {
489 line-height: 0.999em;
492 .oe_snippet_editor .oe_snippet > .row {
495 line-height: 0.999em;
497 .oe_snippet_editor .oe_snippet > .span6 {
501 .oe_snippet_editor .oe_snippet > .span12 {
505 .oe_snippet_editor .oe_snippet > p {
516 .oe_snippet_editor .oe_snippet.oe_new {
518 box-shadow: 0px 1px 3px #5a5a5a inset;
521 .oe_snippet_editor .oe_snippet.oe_new.oe_selected, .oe_snippet_editor .oe_snippet.oe_new.oe_active {
522 box-shadow: 0px 2px 0px 0px #9789ff inset, 0px 3px 17px rgba(99, 53, 150, 0.59) inset;
524 .oe_snippet_editor .oe_snippet.oe_new > * {
532 .oe_snippet_editor .oe_snippet.oe_new:after {
538 background: transparent;
540 text-shadow: 0px 1px 3px black;
547 border: 2px dashed #ae34ff;
548 background: rgba(147, 52, 255, 0.1);
554 .oe_snippet_drop.oe_accepting {
555 border: 2px dashed #34ffa6;
556 background: rgba(52, 255, 190, 0.1);
559 #website-top-edit li.oe_snippet_editorbar {
560 padding: 1px 8px 2px;
561 font: normal normal normal 12px Arial, Helvetica, Tahoma, Verdana, Sans-Serif;
564 border: 1px solid #a6a6a6;
565 border-bottom-color: #979797;
569 #website-top-edit li.oe_snippet_editorbar > * {
570 display: inline-block;
576 #website-top-edit li.oe_snippet_editorbar a.button .icon {
578 background-repeat: no-repeat;
582 display: inline-block;