small styling fixes

This commit is contained in:
zadam 2019-02-02 23:51:00 +01:00
parent c153793766
commit f89537037e
3 changed files with 12 additions and 6 deletions

View File

@ -477,10 +477,12 @@ div.ui-tooltip {
overflow: auto; overflow: auto;
/* limiting the size since actual note content is more important */ /* limiting the size since actual note content is more important */
max-height: 30%; max-height: 30%;
flex-shrink: 0;
flex-basis: 2em;
} }
#label-list, #relation-list, #attribute-list { #label-list, #relation-list, #attribute-list {
color: #777777; color: var(--muted-text-color);
padding: 5px; padding: 5px;
display: none; display: none;
} }
@ -595,8 +597,12 @@ button.icon-button {
max-width: 100%; max-width: 100%;
} }
pre {
color: var(--main-text-color) !important;
}
#file-preview-content { #file-preview-content {
background-color: #f6f6f6; background-color: var(--accented-background-color);
padding: 15px; padding: 15px;
max-width: 600px; max-width: 600px;
max-height: 300px; max-height: 300px;
@ -796,7 +802,7 @@ div[data-notify="container"] {
right: 10px; right: 10px;
top: -7px; top: -7px;
font-size: 150%; font-size: 150%;
color: #777; color: var(--main-text-color);
z-index: 100; z-index: 100;
} }
@ -833,7 +839,7 @@ div[data-notify="container"] {
margin: var(--ck-spacing-large) 0; margin: var(--ck-spacing-large) 0;
color: #aaa; color: var(--muted-text-color);
} }
.fancytree-loading span.fancytree-expander { .fancytree-loading span.fancytree-expander {

View File

@ -457,7 +457,7 @@ sqlInit.dbReady.then(() => {
setInterval(cls.wrap(runChecks), 60 * 60 * 1000); setInterval(cls.wrap(runChecks), 60 * 60 * 1000);
// kickoff checks soon after startup (to not block the initial load) // kickoff checks soon after startup (to not block the initial load)
setTimeout(cls.wrap(runChecks), 0); setTimeout(cls.wrap(runChecks), 10 * 1000);
}); });
module.exports = {}; module.exports = {};

View File

@ -23,7 +23,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td colspan="2">
<button id="file-download" class="btn btn-primary" type="button">Download</button> <button id="file-download" class="btn btn-primary" type="button">Download</button>
&nbsp; &nbsp;
<button id="file-open" class="btn btn-primary" type="button">Open</button> <button id="file-open" class="btn btn-primary" type="button">Open</button>