mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 08:58:58 +01:00
26 lines
565 B
CSS
26 lines
565 B
CSS
:root {
|
|
--zen-button-size: 32px;
|
|
}
|
|
|
|
.close-zen-container {
|
|
width: var(--zen-button-size);
|
|
height: var(--zen-button-size);
|
|
}
|
|
|
|
body.zen .close-zen-container {
|
|
display: block;
|
|
position: fixed;
|
|
top: 2px;
|
|
inset-inline-end: 2px;
|
|
z-index: 9999;
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
body.zen.mobile .close-zen-container {
|
|
top: -2px;
|
|
}
|
|
|
|
body.zen.electron:not(.platform-darwin):not(.native-titlebar) .close-zen-container {
|
|
inset-inline-start: calc(env(titlebar-area-width) - var(--zen-button-size) - 2px);
|
|
inset-inline-end: unset;
|
|
} |