mirror of
https://github.com/docmost/docmost.git
synced 2025-11-12 17:42:36 +10:00
* Share - WIP * - public attachment links - WIP * WIP * WIP * Share - WIP * WIP * WIP * include userRole in space object * WIP * Server render shared page meta tags * disable user select * Close Navbar on outside click on mobile * update shared page spaceId * WIP * fix * close sidebar on click * close sidebar * defaults * update copy * Store share key in lowercase * refactor page breadcrumbs * Change copy * add link ref * open link button * add meta og:title * add twitter tags * WIP * make shares/info endpoint public * fix * * add /p/ segment to share urls * minore fixes * change mobile breadcrumb icon
60 lines
1.3 KiB
CSS
60 lines
1.3 KiB
CSS
.headerPadding {
|
|
display: none;
|
|
top: calc(
|
|
var(--app-shell-header-offset, 0rem) + var(--app-shell-header-height, 0rem)
|
|
);
|
|
}
|
|
|
|
.link {
|
|
outline: none;
|
|
cursor: pointer;
|
|
display: block;
|
|
width: 100%;
|
|
text-align: start;
|
|
word-wrap: break-word;
|
|
background-color: transparent;
|
|
color: var(--mantine-color-text);
|
|
font-size: var(--mantine-font-size-sm);
|
|
line-height: var(--mantine-line-height-sm);
|
|
padding: 6px;
|
|
border-top-right-radius: var(--mantine-radius-sm);
|
|
border-bottom-right-radius: var(--mantine-radius-sm);
|
|
border: none;
|
|
|
|
@mixin hover {
|
|
background-color: light-dark(
|
|
var(--mantine-color-gray-2),
|
|
var(--mantine-color-dark-6)
|
|
);
|
|
}
|
|
|
|
@media (max-width: $mantine-breakpoint-sm) {
|
|
& {
|
|
border: none !important;
|
|
padding-left: 0px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.linkActive {
|
|
font-weight: 500;
|
|
border-left-color: light-dark(
|
|
var(--mantine-color-grey-5),
|
|
var(--mantine-color-grey-3)
|
|
);
|
|
color: light-dark(var(--mantine-color-gray-7), var(--mantine-color-dark-1));
|
|
|
|
&,
|
|
&:hover {
|
|
background-color: light-dark(
|
|
var(--mantine-color-gray-3),
|
|
var(--mantine-color-dark-5)
|
|
) !important;
|
|
}
|
|
}
|
|
|
|
|
|
.leftBorder {
|
|
border-left: 1px solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
|
|
}
|