mirror of
https://github.com/docmost/docmost.git
synced 2025-11-25 01:41:12 +10:00
* Work on mentions * fix: properly parse page slug * fix editor suggestion bugs * mentions must start with whitespace * add icon to page mention render * feat: backlinks - WIP * UI - WIP * permissions check * use FTS for page suggestion * cleanup * WIP * page title fallback * feat: handle internal link paste * link styling * WIP * Switch back to LIKE operator for search suggestion * WIP * scope to workspaceId * still create link for pages not found * select necessary columns * cleanups
59 lines
1.1 KiB
CSS
59 lines
1.1 KiB
CSS
.pageMentionLink {
|
|
color: light-dark(
|
|
var(--mantine-color-dark-4),
|
|
var(--mantine-color-dark-1)
|
|
) !important;
|
|
}
|
|
.pageMentionText {
|
|
@mixin light {
|
|
border-bottom: 0.05em solid var(--mantine-color-dark-0);
|
|
}
|
|
@mixin dark {
|
|
border-bottom: 0.05em solid var(--mantine-color-dark-2);
|
|
}
|
|
}
|
|
|
|
.userMention {
|
|
background-color: light-dark(
|
|
var(--mantine-color-gray-1),
|
|
var(--mantine-color-dark-6)
|
|
);
|
|
color: light-dark(var(--mantine-color-gray-8), var(--mantine-color-dark-1));
|
|
font-weight: 500;
|
|
border-radius: 0.4rem;
|
|
box-decoration-break: clone;
|
|
padding: 0.1rem 0.3rem;
|
|
cursor: pointer;
|
|
&::after {
|
|
content: "\200B";
|
|
}
|
|
}
|
|
|
|
.menuBtn {
|
|
width: 100%;
|
|
padding: 4px;
|
|
margin-bottom: 2px;
|
|
color: var(--mantine-color-text);
|
|
border-radius: var(--mantine-radius-sm);
|
|
|
|
&:hover {
|
|
@mixin light {
|
|
background: var(--mantine-color-gray-2);
|
|
}
|
|
|
|
@mixin dark {
|
|
background: var(--mantine-color-gray-light);
|
|
}
|
|
}
|
|
}
|
|
|
|
.selectedItem {
|
|
@mixin light {
|
|
background: var(--mantine-color-gray-2);
|
|
}
|
|
|
|
@mixin dark {
|
|
background: var(--mantine-color-gray-light);
|
|
}
|
|
}
|