admin front create new entite on cartouche

This commit is contained in:
2024-04-04 20:34:45 +02:00
parent 5521fe9998
commit 340da92a46
3 changed files with 169 additions and 4 deletions

View File

@@ -1088,6 +1088,9 @@ body{
border: #01ffe2 2px solid;
}
}
figcaption[contenteditable="true"]{
border: rgba(0,0,0,0.8) 2px solid;
}
.editable{
background: #eee;
@@ -1118,15 +1121,17 @@ ul.editable-files{
margin: 1em 0 0;
font-size: 1em;
width: 100%;
height: 100px;
line-height:100px;
height: 50px;
line-height:40px;
text-align: center;
transition: all 0.2s ease-in-out;
position: relative;
>svg{
display: inline-block;
vertical-align: middle;
width:50px; height:50px;
$wh: 30px;
width:$wh;
height:$wh;
color: #333;
}
cursor: pointer;
@@ -1221,4 +1226,38 @@ ul.editable-files{
}
}
}
.delete-btn{
text-align: center;
background-color: #eee;
border: #eee 2px solid;
&:hover{
border: #01ffe2 2px solid;
}
}
div.add-entite-btn{
border: #eee 2px solid;
background-color: #eee;
border-radius: 5px;
margin: 1em 0 0;
font-size: 1em;
width: 100%;
height: 100px;
line-height:100px;
text-align: center;
transition: all 0.2s ease-in-out;
position: relative;
>svg{
display: inline-block;
vertical-align: middle;
width:50px; height:50px;
color: #333;
}
cursor: pointer;
box-sizing: border-box;
&:hover{
border: #01ffe2 2px solid;
}
}