mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
224 lines
4.0 KiB
CSS
224 lines
4.0 KiB
CSS
body {
|
|
font-size: var(--main-font-size);
|
|
}
|
|
|
|
#container {
|
|
margin: 0 auto; /* center */
|
|
height: 100vh;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#tab-pane {
|
|
display: flex;
|
|
}
|
|
|
|
.hidden-by-zen-mode {
|
|
display: none !important;
|
|
}
|
|
|
|
.gutter {
|
|
background: linear-gradient(to bottom, transparent, var(--accented-background-color), transparent);
|
|
}
|
|
|
|
.gutter:hover {
|
|
background: linear-gradient(to bottom, transparent, var(--main-border-color), transparent);
|
|
}
|
|
|
|
.gutter.gutter-horizontal {
|
|
cursor: col-resize;
|
|
}
|
|
|
|
.gutter.gutter-vertical {
|
|
cursor: row-resize;
|
|
}
|
|
|
|
#center-pane {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#note-tab-container {
|
|
min-height: 0;
|
|
padding-left: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
font-size: inherit;
|
|
}
|
|
|
|
#context-menu-container {
|
|
max-height: 100vh;
|
|
/* !!! Cannot set overflow: auto, submenus will break !!! */
|
|
}
|
|
|
|
#context-menu-container, #context-menu-container .dropdown-menu {
|
|
padding: 3px 0 0;
|
|
z-index: 1111;
|
|
}
|
|
|
|
#context-menu-container .dropdown-item {
|
|
padding: 0 7px 0 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
li.dropdown-submenu:hover > ul.dropdown-menu {
|
|
display: block;
|
|
}
|
|
|
|
.dropdown-submenu {
|
|
position:relative;
|
|
}
|
|
|
|
.dropdown-submenu > .dropdown-menu {
|
|
top: 0;
|
|
left: 100%;
|
|
margin-top: -6px;
|
|
min-width: 15rem;
|
|
}
|
|
|
|
/* rotate caret on hover */
|
|
.dropdown-menu > li > a:hover:after {
|
|
text-decoration: underline;
|
|
transform: rotate(-90deg);
|
|
}
|
|
|
|
.fancytree-loading span.fancytree-expander {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.fancytree-loading span.fancytree-expander:after {
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-top: 4px;
|
|
margin-left: 1px;
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
}
|
|
|
|
body {
|
|
/* FF basic styling */
|
|
scrollbar-color: var(--active-item-background-color) var(--main-background-color);
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 12px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
border-radius: 3px;
|
|
border: 1px solid var(--scrollbar-border-color);
|
|
}
|
|
|
|
::-webkit-scrollbar-corner {
|
|
background-color: inherit;
|
|
}
|
|
|
|
#note-info-table td, #note-info-table th {
|
|
padding: 15px;
|
|
}
|
|
|
|
[data-toggle="tooltip"] span {
|
|
padding-bottom: 0;
|
|
border-bottom: 1px dotted;
|
|
}
|
|
|
|
.refresh-search-button {
|
|
cursor: pointer;
|
|
position: relative;
|
|
top: -1px;
|
|
border: 1px solid transparent;
|
|
padding: 2px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.refresh-search-button:hover {
|
|
border-color: var(--button-border-color);
|
|
}
|
|
|
|
#right-pane .card {
|
|
border: 0;
|
|
}
|
|
|
|
#right-pane .card-header {
|
|
background: inherit;
|
|
padding: 5px 10px 5px 10px;
|
|
width: 99%; /* to give minimal right margin */
|
|
background-color: var(--button-background-color);
|
|
border-color: var(--button-border-color);
|
|
border-width: 1px;
|
|
border-radius: 4px;
|
|
border-style: solid;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
#right-pane .widget-title {
|
|
border-radius: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
background: inherit;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
color: var(--muted-text-color) !important;
|
|
}
|
|
|
|
#right-pane .widget-header-action {
|
|
color: var(--link-color) !important;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#right-pane .widget-help {
|
|
color: var(--muted-text-color);
|
|
position: relative;
|
|
top: 2px;
|
|
}
|
|
|
|
#right-pane .widget-help.no-link:hover {
|
|
cursor: default;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#right-pane .card-body {
|
|
width: 100%;
|
|
padding: 8px;
|
|
border: 0;
|
|
}
|
|
|
|
#right-pane .card-body ul {
|
|
padding-left: 25px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#widgets-configuration {
|
|
margin: 0;
|
|
}
|
|
|
|
#widgets-configuration h5 {
|
|
text-align: center;
|
|
}
|
|
|
|
#widgets-configuration .list-group-item {
|
|
background: var(--accented-background-color);
|
|
font-size: larger;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding-bottom: 2px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
#widgets-configuration .handle {
|
|
margin-right: 20px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.note-info-mime {
|
|
max-width: 13em;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
} |