trilium/public/stylesheets/style.css

111 lines
2.2 KiB
CSS
Raw Normal View History

#container {
max-width: 1100px;
margin: 0 auto; /* center */
height: 100vh;
display: grid;
2017-10-07 10:46:30 +08:00
grid-template-areas: "header header"
"tree-actions title"
"tree note-content";
grid-template-columns: 2fr 5fr;
grid-template-rows: auto
2017-10-07 10:46:30 +08:00
auto
1fr;
justify-content: center;
grid-gap: 10px;
}
2017-10-11 08:37:45 +08:00
#header {
grid-area: header;
background-color: #f1f1f1;
display: flex;
align-items: center;
}
2017-06-12 09:04:04 +08:00
.note-editable {
/* This is because with empty content height of editor is 0 and it's impossible to click into it */
min-height: 400px;
overflow: auto;
2017-06-12 09:04:04 +08:00
}
.note-editable.encrypted {
background-color: #eee;
}
2017-06-12 09:04:04 +08:00
#top-message {
display: none; /* initial state is hidden */
color: #333;
2017-08-14 09:42:10 +08:00
}
#error-message {
display: none; /* initial state is hidden */
2017-10-07 10:46:30 +08:00
color: red;
}
.note-editable p {
padding: 0;
margin: 0;
2017-08-24 11:36:16 +08:00
}
ul.fancytree-container {
overflow: auto;
position: relative;
outline: none !important;
2017-08-24 11:36:16 +08:00
}
2017-08-28 02:39:26 +08:00
/* icons from https://feathericons.com */
span.fancytree-node > span.fancytree-icon {
background-position: 0 0;
2017-10-16 07:47:05 +08:00
background-image: url("../images/icons/file.png");
}
span.fancytree-node.fancytree-folder > span.fancytree-icon {
background-position: 0 0;
2017-10-16 07:47:05 +08:00
background-image: url("../images/icons/folder.png");
}
span.fancytree-node.encrypted > span.fancytree-icon {
background-position: 0 0;
2017-10-16 07:47:05 +08:00
background-image: url("../images/icons/file-shaded.png");
}
span.fancytree-node.encrypted.fancytree-folder > span.fancytree-icon {
background-position: 0 0;
2017-10-16 07:47:05 +08:00
background-image: url("../images/icons/folder-shaded.png");
}
2017-09-04 06:53:28 +08:00
.ui-autocomplete {
max-height: 300px;
overflow-y: auto;
/* prevent horizontal scrollbar */
overflow-x: hidden;
2017-09-06 10:01:22 +08:00
}
.icon-action:hover {
text-decoration: none;
2017-09-06 10:01:22 +08:00
}
#encrypt-button, #decrypt-button {
display: none;
2017-10-06 08:15:45 +08:00
}
.ui-widget-content a {
color: #337ab7 !important;
2017-10-07 10:46:30 +08:00
}
#header-title {
padding: 5px 50px 5px 10px;
font-size: large;
font-weight: bold;
2017-10-09 23:28:56 +08:00
}
#header .btn-xs {
margin-bottom: 2px;
margin-right: 8px;
2017-10-12 08:37:27 +08:00
}
div.ui-tooltip {
max-width: 600px;
max-height: 600px;
overflow: auto;
2017-09-04 06:53:28 +08:00
}