summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss/web_editor.common.scss
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.common.scss')
-rw-r--r--addons/web_editor/static/src/scss/web_editor.common.scss46
1 files changed, 45 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.common.scss b/addons/web_editor/static/src/scss/web_editor.common.scss
index c082e823cc0..6f83dc28524 100644
--- a/addons/web_editor/static/src/scss/web_editor.common.scss
+++ b/addons/web_editor/static/src/scss/web_editor.common.scss
@@ -39,6 +39,46 @@ html, body {
}
}
+// List
+ul.o_checklist {
+ list-style: none;
+
+ >li {
+ position: relative;
+ margin-left: $o-checklist-margin-left;
+
+ &::before {
+ content: '';
+ position: absolute;
+ left: - $o-checklist-margin-left;
+ display: block;
+ height: $o-checklist-before-size;
+ width: $o-checklist-before-size;
+ margin-top: 4px;
+ border: 1px solid;
+ text-align: center;
+ cursor: pointer;
+ }
+ &.o_checked {
+ text-decoration: line-through;
+ &::after {
+ content: "✓";
+ position: absolute;
+ left: - ($o-checklist-margin-left - $o-checklist-checkmark-width);
+ top: +1px;
+ }
+ }
+ }
+}
+ul > li.o_indent {
+ margin-left: 0;
+ list-style: none;
+ &::before {
+ content: none;
+ }
+}
+
+
// Medias
img.shadow {
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
@@ -55,6 +95,9 @@ img.padding-large, .img.padding-large, span.fa.padding-large, iframe.padding-lar
img.padding-xl, .img.padding-xl, span.fa.padding-xl, iframe.padding-xl {
padding: 32px;
}
+img.ml-auto, img.mx-auto {
+ display: block;
+}
.fa-6x {
font-size: 6em;
@@ -80,6 +123,7 @@ div.media_iframe_video {
text-align: center;
position: relative;
overflow: hidden;
+ min-width: 100px;
iframe {
width: 100%;
@@ -109,7 +153,7 @@ div.media_iframe_video {
}
.css_editable_mode_display {
- @include o-position-absolute;
+ @include o-position-absolute(0,0,0,0);
width: 100%;
height: 100%;
display: none;