Commit 11c8c6ff authored by Ludovic Kiefer's avatar Ludovic Kiefer Committed by Romain Courteaud

erp5_run_my_doc: manage illustration and screenshot slide types

parent 8dcf1a14
...@@ -29,17 +29,30 @@ div[data-gadget-url$="slideeditor.gadget.html"] > .slide_list > section.drag { ...@@ -29,17 +29,30 @@ div[data-gadget-url$="slideeditor.gadget.html"] > .slide_list > section.drag {
div[data-gadget-url$="slideeditor.gadget.html"] > .slide_list > section.over { div[data-gadget-url$="slideeditor.gadget.html"] > .slide_list > section.over {
border-style: dashed; border-style: dashed;
} }
div[data-gadget-url$="slideeditor.gadget.html"] > .slide_list > section > img {
width: 8em;
height: 8em;
object-fit: cover;
position: relative;
top: -2em;
z-index: 1;
border-radius: 0.325em;
}
div[data-gadget-url$="slideeditor.gadget.html"] > .slide_list > section button { div[data-gadget-url$="slideeditor.gadget.html"] > .slide_list > section button {
padding: 3pt; padding: 3pt;
border: 1px solid rgba(0, 0, 0, 0.14); border: 1px solid rgba(0, 0, 0, 0.14);
border-radius: 0.325em; border-radius: 0.325em;
background-color: #FFFFFF; background-color: #FFFFFF;
width: 2em; width: 2em;
heigth: 2em;
min-height: 2em;
overflow: hidden; overflow: hidden;
text-indent: -9999px; text-indent: -9999px;
white-space: nowrap; white-space: nowrap;
position: relative;
z-index: 2;
} }
div[data-gadget-url$="slideeditor.gadget.html"] > .slide_list > section button::before { div[data-gadget-url$="slideeditor.gadget.html"] > .slide_list > section button::before {
float: left; float: left;
text-indent: 0; text-indent: 0;
} }
\ No newline at end of file
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
data-i18n=Illustration data-i18n=Illustration
data-i18n=Code data-i18n=Code
data-i18n=Master data-i18n=Master
data-i18n=Image URL
data-i18n=Image Caption
--> -->
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
......
...@@ -34,6 +34,15 @@ div[data-gadget-url$="slideeditor.gadget.html"] { ...@@ -34,6 +34,15 @@ div[data-gadget-url$="slideeditor.gadget.html"] {
// border: 2px solid #000000; // border: 2px solid #000000;
border-style: dashed; border-style: dashed;
} }
& > img {
width: 8em;
height: 8em;
object-fit: cover;
position: relative;
top: -2em;
z-index: 1;
border-radius: 0.325em;
}
// Spacing between every section // Spacing between every section
margin-right: 2em; margin-right: 2em;
...@@ -48,9 +57,13 @@ div[data-gadget-url$="slideeditor.gadget.html"] { ...@@ -48,9 +57,13 @@ div[data-gadget-url$="slideeditor.gadget.html"] {
background-color: #FFFFFF; background-color: #FFFFFF;
width: 2em; width: 2em;
heigth: 2em;
min-height: 2em;
overflow: hidden; overflow: hidden;
text-indent: -9999px; text-indent: -9999px;
white-space: nowrap; white-space: nowrap;
position: relative;
z-index: 2;
&::before { &::before {
float: left; float: left;
text-indent: 0; text-indent: 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment