671 lines
15 KiB
CSS
671 lines
15 KiB
CSS
@charset "utf-8";
|
|
/* ---- CKEditor Minimal Reset ---- */
|
|
.navbar.navbar-inverse .cke_chrome {
|
|
border: none;
|
|
}
|
|
|
|
.navbar.navbar-inverse .cke_inner {
|
|
background: transparent;
|
|
}
|
|
|
|
.navbar.navbar-inverse .cke_toolbar {
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
.navbar.navbar-inverse .cke_combo_button {
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
}
|
|
.navbar.navbar-inverse .cke_button {
|
|
padding-top: 7px;
|
|
padding-bottom: 7px;
|
|
}
|
|
|
|
.navbar.navbar-inverse .cke_top {
|
|
background: transparent;
|
|
border: none;
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* ---- OpenERP Style ---- */
|
|
.oe_website_editorbar {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
display: block;
|
|
width: 100%;
|
|
padding: 2px;
|
|
margin: 0;
|
|
z-index: 20000;
|
|
background: #414141, -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #646060), color-stop(100%, #262626));
|
|
background: #414141, -webkit-linear-gradient(#646060, #262626);
|
|
background: #414141, -moz-linear-gradient(#646060, #262626);
|
|
background: #414141, -o-linear-gradient(#646060, #262626);
|
|
background: #414141, linear-gradient(#646060, #262626);
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
.oe_website_editorbar li {
|
|
display: inline;
|
|
color: #eeeeee;
|
|
}
|
|
.oe_website_editorbar li:hover {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
text-shadow: black 0px 0px 3px;
|
|
color: white;
|
|
}
|
|
|
|
.oe_website_editorbar .oe_rte_toolbar div.dropdown {
|
|
display: inline-block;
|
|
}
|
|
.oe_website_editorbar .oe_rte_toolbar div.dropdown li {
|
|
display: list-item;
|
|
}
|
|
.oe_website_editorbar .oe_rte_toolbar button {
|
|
font-family: FontAwesome;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
text-decoration: inherit;
|
|
}
|
|
.oe_website_editorbar .oe_rte_toolbar button.oe_button_list {
|
|
padding-right: 3px;
|
|
}
|
|
.oe_website_editorbar .oe_rte_toolbar button.oe_button_list:after {
|
|
content: "\F0D7";
|
|
padding-left: 6px;
|
|
}
|
|
|
|
.oe_editable:focus {
|
|
outline: none !important;
|
|
}
|
|
|
|
.css_non_editable_mode_hidden {
|
|
display: none;
|
|
}
|
|
|
|
.oe_carousel_options {
|
|
cursor: pointer;
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
z-index: 1;
|
|
display: none;
|
|
}
|
|
.oe_carousel_options > * {
|
|
display: inline-block !important;
|
|
vertical-align: middle !important;
|
|
position: relative !important;
|
|
top: 2px;
|
|
}
|
|
|
|
/* ---- EDITOR BAR ---- */
|
|
table.editorbar-panel {
|
|
cursor: pointer;
|
|
width: 100%;
|
|
}
|
|
table.editorbar-panel td {
|
|
border: 1px solid #aaaaaa;
|
|
}
|
|
table.editorbar-panel td.selected {
|
|
background-color: #b1c9d9;
|
|
}
|
|
|
|
.oe_translate_or {
|
|
color: white;
|
|
padding: 0 0.2em;
|
|
}
|
|
|
|
.oe_translate_examples li {
|
|
margin: 10px;
|
|
padding: 4px;
|
|
}
|
|
|
|
.oe_translatable_text {
|
|
outline: 1px solid black;
|
|
}
|
|
|
|
.oe_translatable_field {
|
|
outline: 1px dashed black;
|
|
}
|
|
|
|
.oe_translatable_text.oe_dirty, .oe_translatable_field.oe_dirty {
|
|
outline-color: red;
|
|
}
|
|
|
|
.oe_translatable_text.oe_dirty:empty {
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.oe_translatable_todo {
|
|
background: #ffffb6;
|
|
}
|
|
|
|
/* ---- RTE ---- */
|
|
.oe_editable .btn {
|
|
-webkit-user-select: auto;
|
|
-moz-user-select: auto;
|
|
user-select: auto;
|
|
}
|
|
|
|
.modal-dialog.select-image {
|
|
width: 80%;
|
|
}
|
|
|
|
.modal .existing-attachments .pager {
|
|
margin: 0;
|
|
}
|
|
|
|
.modal .image-preview {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.cke_widget_wrapper {
|
|
position: static !important;
|
|
}
|
|
|
|
.cke_widget_drag_handler_container {
|
|
display: none !important;
|
|
}
|
|
|
|
.cke_widget_editable:empty:after {
|
|
content: " ";
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.oe_carlos_danger {
|
|
outline: 1px solid red !important;
|
|
background-color: #ffd9dd !important;
|
|
}
|
|
|
|
/* ---- SNIPPET EDITOR ---- */
|
|
#oe_snippets {
|
|
position: fixed;
|
|
left: 0px;
|
|
right: 0px;
|
|
top: 51px;
|
|
background: #282828;
|
|
-webkit-box-shadow: 0px 10px 10px -10px black inset;
|
|
-moz-box-shadow: 0px 10px 10px -10px black inset;
|
|
box-shadow: 0px 10px 10px -10px black inset;
|
|
z-index: 1010;
|
|
overflow: hidden;
|
|
}
|
|
#oe_snippets:hover {
|
|
height: auto;
|
|
}
|
|
#oe_snippets .scroll {
|
|
white-space: nowrap;
|
|
overflow-y: none;
|
|
}
|
|
#oe_snippets .nav {
|
|
display: inline-block;
|
|
border-bottom: none !important;
|
|
vertical-align: middle;
|
|
min-width: 120px;
|
|
z-index: 1;
|
|
}
|
|
#oe_snippets .nav > li {
|
|
display: block;
|
|
float: none;
|
|
}
|
|
#oe_snippets .nav > li.active {
|
|
background: black !important;
|
|
}
|
|
#oe_snippets .nav > li > a {
|
|
padding: 2px 10px !important;
|
|
width: 100%;
|
|
display: block;
|
|
border: 0;
|
|
}
|
|
#oe_snippets .pill-content {
|
|
border: 0;
|
|
}
|
|
#oe_snippets .tab-content {
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
background: black;
|
|
}
|
|
#oe_snippets .tab-content > div {
|
|
background: black;
|
|
}
|
|
#oe_snippets .tab-content > div label {
|
|
width: 44px;
|
|
color: white;
|
|
padding-left: 10px;
|
|
}
|
|
#oe_snippets .tab-content > div label div {
|
|
width: 100px;
|
|
text-align: center;
|
|
-webkit-transform: translate(-39px, 44px);
|
|
-moz-transform: translate(-39px, 44px);
|
|
-ms-transform: translate(-39px, 44px);
|
|
-o-transform: translate(-39px, 44px);
|
|
transform: translate(-39px, 44px);
|
|
-webkit-transform-origin: 50% 50% 50%;
|
|
-moz-transform-origin: 50% 50% 50%;
|
|
-ms-transform-origin: 50% 50% 50%;
|
|
-o-transform-origin: 50% 50% 50%;
|
|
transform-origin: 50% 50% 50%;
|
|
}
|
|
|
|
.oe_snippet {
|
|
float: left;
|
|
vertical-align: top;
|
|
width: 93px;
|
|
margin-left: 1px;
|
|
margin-top: 0px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
cursor: move;
|
|
pointer-events: none;
|
|
}
|
|
.oe_snippet .oe_snippet_thumbnail {
|
|
pointer-events: auto;
|
|
text-align: center;
|
|
height: 100%;
|
|
background: transparent;
|
|
color: white;
|
|
position: relative;
|
|
}
|
|
.oe_snippet .oe_snippet_thumbnail:hover .oe_snippet_thumbnail_img {
|
|
-webkit-transform: scale(0.95, 0.95);
|
|
-moz-transform: scale(0.95, 0.95);
|
|
-ms-transform: scale(0.95, 0.95);
|
|
-o-transform: scale(0.95, 0.95);
|
|
transform: scale(0.95, 0.95);
|
|
}
|
|
.oe_snippet .oe_snippet_thumbnail .oe_snippet_thumbnail_title {
|
|
font-size: 12px;
|
|
display: block;
|
|
text-shadow: 0 0 2px black;
|
|
}
|
|
.oe_snippet .oe_snippet_thumbnail .oe_snippet_thumbnail_img {
|
|
height: 74px;
|
|
-webkit-transition: all 150ms linear;
|
|
-moz-transition: all 150ms linear;
|
|
-o-transition: all 150ms linear;
|
|
transition: all 150ms linear;
|
|
-webkit-box-shadow: inset 0px 0px 0px 3px #333333;
|
|
-moz-box-shadow: inset 0px 0px 0px 3px #333333;
|
|
box-shadow: inset 0px 0px 0px 3px #333333;
|
|
-webkit-transform: scale(1, 1);
|
|
-moz-transform: scale(1, 1);
|
|
-ms-transform: scale(1, 1);
|
|
-o-transform: scale(1, 1);
|
|
transform: scale(1, 1);
|
|
}
|
|
.oe_snippet .oe_snippet_thumbnail span, .oe_snippet .oe_snippet_thumbnail div {
|
|
line-height: 18px;
|
|
}
|
|
.oe_snippet > :not(.oe_snippet_thumbnail) {
|
|
display: none !important;
|
|
}
|
|
|
|
#oe_snippets .oe_snippet_thumbnail {
|
|
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)));
|
|
background: #747474, -webkit-radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
|
|
background: #747474, -moz-radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
|
|
background: #747474, -o-radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
|
|
background: #747474, radial-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
|
|
}
|
|
|
|
/* ---- SNIPPETS DROP ZONES ---- */
|
|
.oe_drop_zone.oe_insert {
|
|
display: block;
|
|
height: 48px;
|
|
margin: 0px;
|
|
margin-top: -4px;
|
|
margin-bottom: -44px;
|
|
-webkit-transition: margin 250ms linear;
|
|
-moz-transition: margin 250ms linear;
|
|
-o-transition: margin 250ms linear;
|
|
transition: margin 250ms linear;
|
|
width: 100%;
|
|
position: absolute;
|
|
z-index: 1000;
|
|
}
|
|
.oe_drop_zone.oe_insert:not(.oe_vertical):before {
|
|
content: "";
|
|
display: block;
|
|
border-top: dashed 2px rgba(209, 178, 255, 0.72);
|
|
position: relative;
|
|
top: 0px;
|
|
}
|
|
.oe_drop_zone.oe_insert.oe_hover:before {
|
|
border-top: dashed 2px rgba(116, 255, 161, 0.72);
|
|
}
|
|
.oe_drop_zone.oe_insert.oe_vertical {
|
|
width: 48px;
|
|
float: left;
|
|
position: relative;
|
|
margin: 0px -24px !important;
|
|
}
|
|
.oe_drop_zone.oe_insert.oe_overlay {
|
|
border-radius: 3px;
|
|
background: rgba(153, 0, 255, 0.5);
|
|
}
|
|
|
|
.oe_drop_zone, .oe_drop_zone_style {
|
|
border: none;
|
|
background: rgba(153, 0, 255, 0.3);
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
-ms-border-radius: 4px;
|
|
-o-border-radius: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
.oe_drop_zone.oe_hover, .oe_drop_zone_style.oe_hover {
|
|
background: rgba(0, 255, 133, 0.3);
|
|
z-index: 1001;
|
|
}
|
|
|
|
.oe_drop_zone_style {
|
|
color: white;
|
|
height: 48px;
|
|
margin-bottom: 32px;
|
|
padding-top: 12px;
|
|
}
|
|
|
|
/* ---- SNIPPET MANIPULATOR ---- */
|
|
.oe_overlay {
|
|
display: none;
|
|
position: absolute;
|
|
background: transparent;
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
-ms-border-radius: 3px;
|
|
-o-border-radius: 3px;
|
|
border-radius: 3px;
|
|
-webkit-transition: opacity 100ms linear;
|
|
-moz-transition: opacity 100ms linear;
|
|
-o-transition: opacity 100ms linear;
|
|
transition: opacity 100ms linear;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
pointer-events: none;
|
|
}
|
|
.oe_overlay.oe_active {
|
|
display: block;
|
|
border-style: dashed;
|
|
border-width: 1px;
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3), 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
|
|
-moz-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3), 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
|
|
box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3), 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
|
|
border-color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
.oe_overlay.oe_active .oe_handle {
|
|
display: block !important;
|
|
pointer-events: auto;
|
|
}
|
|
.oe_overlay.oe_active .oe_handle:before {
|
|
position: relative;
|
|
top: 50%;
|
|
left: 50%;
|
|
display: block;
|
|
background: white;
|
|
border: solid 1px rgba(0, 0, 0, 0.2);
|
|
-webkit-border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
-ms-border-radius: 5px;
|
|
-o-border-radius: 5px;
|
|
border-radius: 5px;
|
|
width: 18px;
|
|
height: 18px;
|
|
margin: -9px;
|
|
padding-left: 1px;
|
|
font-size: 14px;
|
|
line-height: 14px;
|
|
font-family: FontAwesome;
|
|
color: rgba(0, 0, 0, 0.5);
|
|
-webkit-transition: background 100ms linear;
|
|
-moz-transition: background 100ms linear;
|
|
-o-transition: background 100ms linear;
|
|
transition: background 100ms linear;
|
|
}
|
|
.oe_overlay.oe_active .oe_handle:hover:before {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
color: white;
|
|
-webkit-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
|
|
-moz-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
|
|
box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7);
|
|
}
|
|
.oe_overlay.oe_active .oe_handle.e:before {
|
|
content: "\F061";
|
|
}
|
|
.oe_overlay.oe_active .oe_handle.s:before {
|
|
content: "\F063";
|
|
}
|
|
.oe_overlay.oe_active .oe_handle.w:before {
|
|
content: "\F060";
|
|
}
|
|
.oe_overlay.oe_active .oe_handle.n:before {
|
|
content: "\F062";
|
|
}
|
|
.oe_overlay .icon.btn {
|
|
display: inline-block;
|
|
}
|
|
.oe_overlay .oe_overlay_options {
|
|
position: absolute;
|
|
width: 100%;
|
|
text-align: center;
|
|
top: -11px;
|
|
z-index: 1002;
|
|
}
|
|
.oe_overlay .oe_overlay_options .btn, .oe_overlay .oe_overlay_options a {
|
|
pointer-events: auto;
|
|
cursor: pointer;
|
|
}
|
|
.oe_overlay .oe_overlay_options .dropdown {
|
|
display: inline-block;
|
|
}
|
|
.oe_overlay .oe_overlay_options .dropdown-menu {
|
|
text-align: left;
|
|
min-width: 180px;
|
|
}
|
|
.oe_overlay .oe_overlay_options .dropdown-menu select, .oe_overlay .oe_overlay_options .dropdown-menu input {
|
|
display: block;
|
|
}
|
|
|
|
.oe_handle {
|
|
pointer-events: auto;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
display: block;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
width: 8px;
|
|
height: 8px;
|
|
margin: -4px;
|
|
}
|
|
|
|
.oe_handle.n {
|
|
left: 2px;
|
|
width: 100%;
|
|
top: 0px;
|
|
cursor: s-resize;
|
|
}
|
|
|
|
.oe_handle.e {
|
|
left: auto;
|
|
top: 2px;
|
|
height: 100%;
|
|
right: 0px;
|
|
cursor: w-resize;
|
|
}
|
|
|
|
.oe_handle.s {
|
|
top: auto;
|
|
left: 2px;
|
|
width: 100%;
|
|
bottom: 0px;
|
|
cursor: n-resize;
|
|
}
|
|
|
|
.oe_handle.w {
|
|
top: 2px;
|
|
height: 100%;
|
|
left: 0px;
|
|
cursor: e-resize;
|
|
}
|
|
|
|
.s-resize-important, .s-resize-important * {
|
|
cursor: s-resize !important;
|
|
}
|
|
|
|
.n-resize-important, .n-resize-important * {
|
|
cursor: n-resize !important;
|
|
}
|
|
|
|
.e-resize-important, .e-resize-important * {
|
|
cursor: e-resize !important;
|
|
}
|
|
|
|
.w-resize-important, .w-resize-important * {
|
|
cursor: w-resize !important;
|
|
}
|
|
|
|
.move-important, .move-important * {
|
|
cursor: move !important;
|
|
}
|
|
|
|
/* ---- MOBILE PREVIEW ---- */
|
|
.oe_mobile_preview.modal .modal-content {
|
|
height: 660px;
|
|
background-color: black;
|
|
border: 2px solid #1c1f1f;
|
|
-webkit-border-radius: 10px;
|
|
-moz-border-radius: 10px;
|
|
-ms-border-radius: 10px;
|
|
-o-border-radius: 10px;
|
|
border-radius: 10px;
|
|
margin: auto;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
max-width: 330px;
|
|
}
|
|
.oe_mobile_preview.modal .modal-content .modal-header {
|
|
background-color: black;
|
|
border-bottom: 0;
|
|
-moz-border-radius-topleft: 10px;
|
|
-webkit-border-top-left-radius: 10px;
|
|
border-top-left-radius: 10px;
|
|
-moz-border-radius-topright: 10px;
|
|
-webkit-border-top-right-radius: 10px;
|
|
border-top-right-radius: 10px;
|
|
}
|
|
.oe_mobile_preview.modal .modal-content .modal-header .modal-title {
|
|
color: #1c1f1f;
|
|
}
|
|
.oe_mobile_preview.modal .modal-content .modal-header .close {
|
|
color: lightgrey;
|
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
|
opacity: 1;
|
|
}
|
|
.oe_mobile_preview.modal .modal-content .modal-header .close:hover {
|
|
color: #e00101;
|
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
|
opacity: 1;
|
|
}
|
|
.oe_mobile_preview.modal .modal-content .modal-body {
|
|
background-color: black;
|
|
max-height: 600px;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.oe_mobile_preview.modal .modal-content .modal-body .oe_mobile_viewport {
|
|
width: 320px;
|
|
height: 568px;
|
|
padding: 5px;
|
|
border: none;
|
|
}
|
|
.oe_mobile_preview.modal .modal-content .modal-footer {
|
|
background-color: black;
|
|
}
|
|
|
|
/* ---- SEO TOOLS ---- */
|
|
.oe_seo_configuration .modal-dialog {
|
|
width: 80%;
|
|
}
|
|
.oe_seo_configuration .oe_remove {
|
|
color: #e00101;
|
|
}
|
|
.oe_seo_configuration .oe_seo_suggestion {
|
|
cursor: pointer;
|
|
}
|
|
.oe_seo_configuration .oe_seo_keyword {
|
|
padding: 0.2em 0.4em 0.2em 0.5em;
|
|
-webkit-border-radius: 0.4em;
|
|
-moz-border-radius: 0.4em;
|
|
-ms-border-radius: 0.4em;
|
|
-o-border-radius: 0.4em;
|
|
border-radius: 0.4em;
|
|
}
|
|
|
|
/* ---- ACE EDITOR ---- */
|
|
.oe_ace_view_editor {
|
|
position: fixed;
|
|
top: 51px;
|
|
right: 0;
|
|
z-index: 1000;
|
|
height: 100%;
|
|
}
|
|
.oe_ace_view_editor .oe_ace_view_editor_title {
|
|
width: 100%;
|
|
padding-top: 0;
|
|
padding-left: 0;
|
|
height: 30px;
|
|
background: #2f3129;
|
|
}
|
|
.oe_ace_view_editor .oe_ace_view_editor_title .oe_view_list {
|
|
width: 50%;
|
|
height: 30px;
|
|
font-size: 14px;
|
|
font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", "source-code-pro", monospace;
|
|
line-height: normal;
|
|
}
|
|
.oe_ace_view_editor .oe_ace_view_editor_title .btn {
|
|
height: 30px;
|
|
padding: 0 4px 0 4px;
|
|
font-size: 14px;
|
|
font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", "source-code-pro", monospace;
|
|
line-height: normal;
|
|
}
|
|
.oe_ace_view_editor .ace_editor {
|
|
position: absolute;
|
|
top: 30px;
|
|
right: 0;
|
|
bottom: 51px;
|
|
left: 0;
|
|
}
|
|
.oe_ace_view_editor .ace_editor .ace_gutter {
|
|
cursor: ew-resize;
|
|
}
|
|
.oe_ace_view_editor.oe_ace_open {
|
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=97);
|
|
opacity: 0.97;
|
|
}
|
|
.oe_ace_view_editor.oe_ace_closed {
|
|
z-index: -1000;
|
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
|
|
opacity: 0;
|
|
}
|
|
|
|
/* ---- EDITOR TOUR ---- */
|
|
div.tour-backdrop {
|
|
z-index: 2009;
|
|
}
|
|
|
|
.popover.tour {
|
|
z-index: 2010;
|
|
}
|