adds default rte-content css as public asset

This commit is contained in:
Nathan Woulfe
2023-03-08 17:18:17 +10:00
parent 995530d846
commit 3d62896620
4 changed files with 52 additions and 47 deletions

View File

@@ -0,0 +1,46 @@
/* TODO => can we import uui colors? */
:root {
--uui-palette-spanish-pink-light: rgb(248, 214, 211);
}
.umb-macro-holder {
border: 3px dotted var(--uui-palette-spanish-pink-light);
padding: 7px;
display: block;
margin: 3px;
}
.umb-macro-holder.loading {
background: url(assets/img/loader.gif) right no-repeat;
background-size: 18px;
background-position-x: 99%;
}
.embeditem {
position: relative;
}
.embeditem>* {
user-select: none;
pointer-events: none;
}
.embeditem[data-mce-selected] {
outline: 2px solid var(--uui-palette-spanish-pink-light);
}
.embeditem::before {
z-index: 1000;
width: 100%;
height: 100%;
position: absolute;
content: ' ';
}
.embeditem[data-mce-selected]::before {
background: rgba(0, 0, 0, 0.025);
}
*[data-mce-selected='inline-boundary'] {
background: rgba(0, 0, 0, 0.025);
outline: 2px solid var(--uui-palette-spanish-pink-light);
}