some tag styles
This commit is contained in:
@@ -48,6 +48,9 @@
|
|||||||
--text: black;
|
--text: black;
|
||||||
--background: white;
|
--background: white;
|
||||||
--backgroundLight: #F3F3F8;
|
--backgroundLight: #F3F3F8;
|
||||||
|
--blue: #0085ff;
|
||||||
|
--teal: #9AD5CA;
|
||||||
|
--yellow: #FED766;
|
||||||
}
|
}
|
||||||
html.colorMode--dark {
|
html.colorMode--dark {
|
||||||
--text: white;
|
--text: white;
|
||||||
@@ -133,10 +136,42 @@
|
|||||||
input:focus {
|
input:focus {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
/* TODO make this more obvious */
|
||||||
.tippy-content .items {
|
.tippy-content .items {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hashtags in ProseMirror */
|
||||||
|
.ProseMirror .inline-tag,
|
||||||
|
.ProseMirror .mention {
|
||||||
|
position: relative;
|
||||||
|
margin: 0 3px;
|
||||||
|
}
|
||||||
|
.ProseMirror .inline-tag::after,
|
||||||
|
.ProseMirror .mention::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: -1px;
|
||||||
|
bottom: -2px;
|
||||||
|
left: -3px;
|
||||||
|
right: -3px;
|
||||||
|
z-index: -1;
|
||||||
|
opacity: 0.3;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
.ProseMirror .inline-tag {
|
||||||
|
color: var(--teal);
|
||||||
|
}
|
||||||
|
.ProseMirror .inline-tag::after {
|
||||||
|
background-color: var(--teal);
|
||||||
|
}
|
||||||
|
.ProseMirror .mention {
|
||||||
|
color: var(--yellow);
|
||||||
|
}
|
||||||
|
.ProseMirror .mention::after {
|
||||||
|
background-color: var(--yellow);
|
||||||
|
}
|
||||||
|
|
||||||
/* Tooltips */
|
/* Tooltips */
|
||||||
[data-tooltip] {
|
[data-tooltip] {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
Reference in New Issue
Block a user