#container { max-width: 1100px; margin: 0 auto; /* center */ height: 100vh; display: grid; grid-template-areas: "header header" "tree-actions title" "tree note-content"; grid-template-columns: 2fr 5fr; grid-template-rows: auto auto 1fr; justify-content: center; grid-gap: 10px; } #header { grid-area: header; background-color: #f1f1f1; display: flex; align-items: center; } .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; } .note-editable.encrypted { background-color: #eee; } #top-message { display: none; /* initial state is hidden */ color: #333; } #error-message { display: none; /* initial state is hidden */ color: red; } .note-editable p { padding: 0; margin: 0; } ul.fancytree-container { overflow: auto; position: relative; outline: none !important; } /* icons from https://feathericons.com */ span.fancytree-node > span.fancytree-icon { background-position: 0 0; background-image: url("../images/icons/file.png"); } span.fancytree-node.fancytree-folder > span.fancytree-icon { background-position: 0 0; background-image: url("../images/icons/folder.png"); } span.fancytree-node.encrypted > span.fancytree-icon { background-position: 0 0; background-image: url("../images/icons/file-shaded.png"); } span.fancytree-node.encrypted.fancytree-folder > span.fancytree-icon { background-position: 0 0; background-image: url("../images/icons/folder-shaded.png"); } .ui-autocomplete { max-height: 300px; overflow-y: auto; /* prevent horizontal scrollbar */ overflow-x: hidden; } .icon-action:hover { text-decoration: none; } #encrypt-button, #decrypt-button { display: none; } .ui-widget-content a { color: #337ab7 !important; } #header-title { padding: 5px 50px 5px 10px; font-size: large; font-weight: bold; } #header .btn-xs { margin-bottom: 2px; margin-right: 8px; } div.ui-tooltip { max-width: 600px; max-height: 600px; overflow: auto; }