mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
d42091ccb1
* feat: favorites and templates(ee) * rename migrations * fix sidebar * cleanup tabs * fix * turn off templates * cleanup * uuid validation
43 lines
805 B
CSS
43 lines
805 B
CSS
.card {
|
|
background-color: var(--mantine-color-body);
|
|
@mixin hover {
|
|
box-shadow: var(--mantine-shadow-xs);
|
|
transform: scale(1.02);
|
|
}
|
|
}
|
|
|
|
.cardSection {
|
|
position: relative;
|
|
background: light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-6));
|
|
}
|
|
|
|
.starButton {
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 4px;
|
|
opacity: 0;
|
|
transition: opacity 150ms ease;
|
|
}
|
|
|
|
.starButton[data-favorited="true"] {
|
|
opacity: 1;
|
|
}
|
|
|
|
.card:hover .starButton {
|
|
opacity: 1;
|
|
}
|
|
|
|
.title {
|
|
font-family:
|
|
Greycliff CF,
|
|
var(--mantine-font-family);
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.icon {
|
|
margin-right: rem(5px);
|
|
color: light-dark(var(--mantine-color-gray-5), var(--mantine-color-dark-2));
|
|
}
|