Commit d1676362 authored by ransome1's avatar ransome1
Browse files

Added Simplified Chinese

parent c80116a3
{ {
"name": "sleek", "name": "sleek",
"productName": "sleek", "productName": "sleek",
"version": "1.0.5-4", "version": "1.0.5-5",
"description": "Todo app based on todo.txt for Linux, Windows and MacOS, free and open-source", "description": "Todo app based on todo.txt for Linux, Windows and MacOS, free and open-source",
"synopsis": "Todo app based on todo.txt for Linux, Windows and MacOS, free and open-source", "synopsis": "Todo app based on todo.txt for Linux, Windows and MacOS, free and open-source",
"category": "ProjectManagement", "category": "ProjectManagement",
......
...@@ -336,6 +336,10 @@ nav ul li.is-highlighted a { ...@@ -336,6 +336,10 @@ nav ul li.is-highlighted a {
border-color: #2d2d2d; border-color: #2d2d2d;
} }
.column.content .button {
background: #2d2d2d !important;
}
.modal.content { .modal.content {
color: #CCCDCF !important; color: #CCCDCF !important;
} }
......
{"version":3,"sourceRoot":"","sources":["../scss/dark.scss","../scss/variables.scss"],"names":[],"mappings":"AAGA;EACE,kBCOa;EDNb;;;AAEF;EACE;;;AAEF;AAAA;EAEE;;;AAEF;AAAA;AAAA;EAGE,OCZa;;;ADcf;AAAA;AAAA;EAGE;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAOE;EACA;;;AAEF;EACE;;;AAEF;AAAA;EAEE;EACA;;;AAEF;EACE;;;AAEF;AAAA;EAEE;;AACA;AAAA;EACE;;;AAGJ;AAAA;EAEE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE,kBC3EY;;AD4EZ;EACE,OCjFW;;ADoFX;EACE;;AAGA;EACE,OCzFO;ED0FP;;AAEF;AAAA;EAEE,OC9FO;ED+FP;EACA,kBC3FW;;AD8Ff;EACE,OCpGS;EDqGT;EACA,kBCjGa;;;ADuGf;EACE;;AAEF;EACE;;;AAIN;EACE,kBC/Ga;;ADgHb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EACE;EACA,cC9XQ;;ADgYV;EACE,cCpYW;;ADsYb;EACE;EACA,cCxYW;;;AD2Yf;EACE;;AACA;EACE,OC9YW;ED+YX;;AACA;EACE;;;AAKJ;AAAA;AAAA;EAGE;EACA;EACA;;;AAGJ;EACE;;AACA;EACE;;AAEF;AAAA;EAEE;;AAEF;AAAA;EAEE;;AAEF;EACE,YCxaU;EDyaV;;AACA;AAAA;AAAA;EAGE;EACA;;AAEF;EACE;;AAEF;AAAA;EAEE,OCrbQ;EDsbR;;AAEF;AAAA;EAEE,OC1bQ;ED2bR,YC/bS;;;ADocb;EACE;;AAEF;AAAA;EAEE,OCzcW","file":"dark.css"} {"version":3,"sourceRoot":"","sources":["../scss/dark.scss","../scss/variables.scss"],"names":[],"mappings":"AAGA;EACE,kBCOa;EDNb;;;AAEF;EACE;;;AAEF;AAAA;EAEE;;;AAEF;AAAA;AAAA;EAGE,OCZa;;;ADcf;AAAA;AAAA;EAGE;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAOE;EACA;;;AAEF;EACE;;;AAEF;AAAA;EAEE;EACA;;;AAEF;EACE;;;AAEF;AAAA;EAEE;;AACA;AAAA;EACE;;;AAGJ;AAAA;EAEE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE,kBC3EY;;AD4EZ;EACE,OCjFW;;ADoFX;EACE;;AAGA;EACE,OCzFO;ED0FP;;AAEF;AAAA;EAEE,OC9FO;ED+FP;EACA,kBC3FW;;AD8Ff;EACE,OCpGS;EDqGT;EACA,kBCjGa;;;ADuGf;EACE;;AAEF;EACE;;;AAIN;EACE,kBC/Ga;;ADgHb;EACE;;;AAIF;EACE;EACA;;;AAIF;EACE,kBC7He;;AD+HjB;EACE,OCrIW;;ADuIb;EACE;;AAGA;EACE,OC7IS;;ADgJb;EACE,cC3Ie;;AD4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EACE;;;AAKJ;AAAA;AAAA;EAGE;EACA;EACA;;;AAGJ;EACE;;AACA;EACE;;AAEF;AAAA;EAEE;;AAEF;AAAA;EAEE;;AAEF;EACE,YC7aU;ED8aV;;AACA;AAAA;AAAA;EAGE;EACA;;AAEF;EACE;;AAEF;AAAA;EAEE,OC1bQ;ED2bR;;AAEF;AAAA;EAEE,OC/bQ;EDgcR,YCpcS;;;ADycb;EACE;;AAEF;AAAA;EAEE,OC9cW","file":"dark.css"}
\ No newline at end of file \ No newline at end of file
...@@ -28,6 +28,10 @@ button, button:focus, button:active, button:active, button:after, button::before ...@@ -28,6 +28,10 @@ button, button:focus, button:active, button:active, button:after, button::before
box-shadow: none !important; box-shadow: none !important;
} }
.button i {
color: #3273dc;
}
.is-hidden { .is-hidden {
display: none !important; display: none !important;
} }
...@@ -43,7 +47,7 @@ button, button:focus, button:active, button:active, button:after, button::before ...@@ -43,7 +47,7 @@ button, button:focus, button:active, button:active, button:after, button::before
color: #4a4a4a; color: #4a4a4a;
} }
.button.is-link svg { .button.is-link i {
color: white; color: white;
} }
...@@ -150,13 +154,12 @@ strong { ...@@ -150,13 +154,12 @@ strong {
font-weight: normal !important; font-weight: normal !important;
} }
svg { /*svg {
color: #3273dc; color: $has-text-link;
} }*/
code, pre { code, pre {
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace !important; font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace !important;
background-color: #ebebeb; background-color: #ebebeb !important;
color: inherit !important; color: inherit !important;
} }
...@@ -184,9 +187,9 @@ nav ul li a { ...@@ -184,9 +187,9 @@ nav ul li a {
line-height: 5em; line-height: 5em;
text-align: center; text-align: center;
border-bottom: 1px solid rgba(0, 0, 0, 0.05); border-bottom: 1px solid rgba(0, 0, 0, 0.05);
} /*svg {
nav ul li a svg { color: inherit;
color: inherit; }*/
} }
nav ul li a:focus { nav ul li a:focus {
background: #ebebeb; background: #ebebeb;
...@@ -282,8 +285,7 @@ nav ul:nth-child(2) { ...@@ -282,8 +285,7 @@ nav ul:nth-child(2) {
#errorContainer p { #errorContainer p {
margin: 0.1em 0; margin: 0.1em 0;
} }
#errorContainer .button, #errorContainer .button {
#errorContainer svg {
color: white; color: white;
} }
...@@ -335,9 +337,9 @@ nav ul:nth-child(2) { ...@@ -335,9 +337,9 @@ nav ul:nth-child(2) {
background: #ebebeb; background: #ebebeb;
border-radius: 50%; border-radius: 50%;
cursor: pointer; cursor: pointer;
} /*svg {
#drawerContainer a.drawerClose svg { color: $dark-grey;
color: #4a4a4a; }*/
} }
#drawerContainer .drawer { #drawerContainer .drawer {
width: 100%; width: 100%;
...@@ -391,6 +393,9 @@ nav ul:nth-child(2) { ...@@ -391,6 +393,9 @@ nav ul:nth-child(2) {
margin-bottom: 1.5em; margin-bottom: 1.5em;
cursor: pointer; cursor: pointer;
} }
#drawerContainer .drawer h4.is-4 i {
color: #3273dc;
}
#drawerContainer .drawer .dropdown-item { #drawerContainer .drawer .dropdown-item {
width: 100%; width: 100%;
padding: 0; padding: 0;
...@@ -437,15 +442,15 @@ nav ul:nth-child(2) { ...@@ -437,15 +442,15 @@ nav ul:nth-child(2) {
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 45; z-index: 45;
/*.icon.is-left svg,
.icon.is-right svg {
color: $dark-grey;
}*/
} }
#todoTableSearchContainer .icon.is-left { #todoTableSearchContainer .icon.is-left {
top: 0.65em; top: 0.65em;
left: 0.65em; left: 0.65em;
} }
#todoTableSearchContainer .icon.is-left svg,
#todoTableSearchContainer .icon.is-right svg {
color: #4a4a4a;
}
#todoTableSearchContainer.is-active { #todoTableSearchContainer.is-active {
display: block; display: block;
...@@ -493,9 +498,9 @@ nav ul:nth-child(2) { ...@@ -493,9 +498,9 @@ nav ul:nth-child(2) {
margin-top: 0.5em; margin-top: 0.5em;
border: none; border: none;
font-family: FreeSansBold; font-family: FreeSansBold;
} /*svg {
#todoTable .flex-table.group svg { color: inherit;
color: inherit; }*/
} }
#todoTable .flex-table.group .button { #todoTable .flex-table.group .button {
cursor: default; cursor: default;
...@@ -596,9 +601,9 @@ nav ul:nth-child(2) { ...@@ -596,9 +601,9 @@ nav ul:nth-child(2) {
text-align: center; text-align: center;
text-transform: lowercase; text-transform: lowercase;
} }
#todoTable .flex-table .flex-row.itemDueDate svg.fa-sort-down { #todoTable .flex-table .flex-row.itemDueDate .fa-sort-down {
position: absolute; position: absolute;
right: 0.265em; right: 0.2em;
bottom: 2.75em; bottom: 2.75em;
display: none; display: none;
} }
...@@ -658,8 +663,8 @@ nav ul:nth-child(2) { ...@@ -658,8 +663,8 @@ nav ul:nth-child(2) {
#todoTable .flex-table .flex-row:focus .tags { #todoTable .flex-table .flex-row:focus .tags {
display: block; display: block;
} }
#todoTable .flex-table .flex-row:hover svg.fa-sort-down, #todoTable .flex-table .flex-row:hover i.fa-sort-down,
#todoTable .flex-table .flex-row:focus svg.fa-sort-down { #todoTable .flex-table .flex-row:focus i.fa-sort-down {
display: block; display: block;
} }
#todoTable .flex-table .flex-row.todoTableItemMore { #todoTable .flex-table .flex-row.todoTableItemMore {
...@@ -706,6 +711,10 @@ nav ul:nth-child(2) { ...@@ -706,6 +711,10 @@ nav ul:nth-child(2) {
cursor: pointer; cursor: pointer;
pointer-events: all; pointer-events: all;
} }
#modalForm #modalFormInputHelp i,
#modalForm #modalFormInputResize i {
color: #3273dc;
}
#modalForm .card-header-title { #modalForm .card-header-title {
font-family: "FreeSansBold"; font-family: "FreeSansBold";
} }
...@@ -716,6 +725,9 @@ nav ul:nth-child(2) { ...@@ -716,6 +725,9 @@ nav ul:nth-child(2) {
#modalForm .is-active { #modalForm .is-active {
display: block; display: block;
} }
#modalForm .icon {
color: #3273dc;
}
#modalForm .field { #modalForm .field {
width: auto; width: auto;
float: left; float: left;
...@@ -816,7 +828,7 @@ nav ul:nth-child(2) { ...@@ -816,7 +828,7 @@ nav ul:nth-child(2) {
padding: 0.25em; padding: 0.25em;
text-decoration: none; text-decoration: none;
} }
.contentContainer .btnOnboarding svg { .contentContainer .btnOnboarding i {
font-size: 5em; font-size: 5em;
margin: 0.25em 0; margin: 0.25em 0;
} }
...@@ -1054,11 +1066,11 @@ nav ul:nth-child(2) { ...@@ -1054,11 +1066,11 @@ nav ul:nth-child(2) {
left: -0.8em; left: -0.8em;
} }
.modal.content .modal-card-body table.settings tr td:first-child { .modal.content .modal-card-body table.settings tr td:first-child {
width: 80%;
padding-right: 3em; padding-right: 3em;
} }
.modal.content .modal-card-body table.settings tr td:last-child { .modal.content .modal-card-body table.settings tr td:last-child {
min-width: 12em; width: 20%;
text-align: center;
} }
.modal.content .modal-card-body table.shortcuts td .tag { .modal.content .modal-card-body table.shortcuts td .tag {
font-size: 1em !important; font-size: 1em !important;
...@@ -1114,15 +1126,19 @@ nav ul:nth-child(2) { ...@@ -1114,15 +1126,19 @@ nav ul:nth-child(2) {
bottom: 1em; bottom: 1em;
z-index: 40; z-index: 40;
} }
.messages i {
color: #3273dc;
}
.messages .message { .messages .message {
display: none; display: none;
} }
.messages .message.is-active { .messages .message.is-active {
display: block; display: block;
} }
.messages .message.is-active .message-body .brands svg { .messages .message.is-active .message-body .brands i {
font-size: 2.25em; font-size: 2.25em;
margin-right: 0.2em; margin-right: 0.2em;
color: #3273dc;
} }
.messages .button { .messages .button {
margin-top: 0.5em; margin-top: 0.5em;
...@@ -1154,8 +1170,8 @@ body.compact #todoTable .flex-table .flex-row.itemDueDate .tags { ...@@ -1154,8 +1170,8 @@ body.compact #todoTable .flex-table .flex-row.itemDueDate .tags {
top: -1.9em; top: -1.9em;
right: -1.9em; right: -1.9em;
} }
body.compact #todoTable .flex-table .flex-row.itemDueDate svg.fa-sort-down { body.compact #todoTable .flex-table .flex-row.itemDueDate i.fa-sort-down {
right: 0.225em; right: 0.2em;
bottom: 1.75em; bottom: 1.75em;
} }
body.compact #todoTable .flex-table.group { body.compact #todoTable .flex-table.group {
...@@ -5590,7 +5606,7 @@ button.dropdown-item.is-active { ...@@ -5590,7 +5606,7 @@ button.dropdown-item.is-active {
.modal-card { .modal-card {
margin: 0 auto; margin: 0 auto;
max-height: calc(100vh - 40px); max-height: calc(100vh - 40px);
width: 900px; width: 80%;
} }
} }
......
This diff is collapsed.
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
<title id="title">sleek</title> <title id="title">sleek</title>
<link rel="stylesheet" href="css/style.css"> <link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" id="themeLink" href=""> <link rel="stylesheet" id="themeLink" href="">
<link href="../node_modules/@fortawesome/fontawesome-free/css/fontawesome.css" rel="stylesheet">
<link href="../node_modules/@fortawesome/fontawesome-free/css/brands.css" rel="stylesheet">
<link href="../node_modules/@fortawesome/fontawesome-free/css/solid.css" rel="stylesheet">
<link href="../node_modules/@fortawesome/fontawesome-free/css/regular.css" rel="stylesheet">
</head> </head>
<body id="body"> <body id="body">
<div class="columns is-gapless is-mobile"> <div class="columns is-gapless is-mobile">
...@@ -555,46 +559,46 @@ ...@@ -555,46 +559,46 @@
</tr> </tr>
<tr> <tr>
<td id="helpTabKeyboardTR5TD1"></td> <td id="helpTabKeyboardTR5TD1"></td>
<td><span class="tag is-dark is-large">Ctrl</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">O</span></td> <td><span class="tag is-dark is-large">Ctrl</span> <i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">O</span></td>
<td><span class="tag is-dark is-large">cmd</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">O</span></td> <td><span class="tag is-dark is-large">cmd</span> <i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">O</span></td>
</tr> </tr>
<tr> <tr>
<td id="helpTabKeyboardTR11TD1"></td> <td id="helpTabKeyboardTR11TD1"></td>
<td><span class="tag is-dark is-large">Ctrl</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">C</span></td> <td><span class="tag is-dark is-large">Ctrl</span> <i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">C</span></td>
<td><span class="tag is-dark is-large">cmd</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">C</span></td> <td><span class="tag is-dark is-large">cmd</span> <i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">C</span></td>
</tr> </tr>
<tr> <tr>
<th colspan="3"><h5 class="title is-5" style="margin-top: .75em;">While adding/editing todos</h5></th> <th colspan="3"><h5 class="title is-5" style="margin-top: .75em;">While adding/editing todos</h5></th>
</tr> </tr>
<tr> <tr>
<td id="helpTabKeyboardTR7TD1"></td> <td id="helpTabKeyboardTR7TD1"></td>
<td><span class="tag is-dark is-large">Alt</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">A-Z</span></td> <td><span class="tag is-dark is-large">Alt</span>&nbsp;<i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">A-Z</span></td>
<td><span class="tag is-dark is-large">Alt</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">A-Z</span></td> <td><span class="tag is-dark is-large">Alt</span>&nbsp;<i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">A-Z</span></td>
</tr> </tr>
<tr> <tr>
<td>Increase/decrease priority</td> <td>Increase/decrease priority</td>
<td><span class="tag is-dark is-large">Alt</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">Up/Down</span></td> <td><span class="tag is-dark is-large">Alt</span>&nbsp;<i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">Up/Down</span></td>
<td><span class="tag is-dark is-large">Alt</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">Up/Down</span></td> <td><span class="tag is-dark is-large">Alt</span>&nbsp;<i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">Up/Down</span></td>
</tr> </tr>
<tr> <tr>
<td>Clear priority</td> <td>Clear priority</td>
<td><span class="tag is-dark is-large">Alt</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">Right/Left</span></td> <td><span class="tag is-dark is-large">Alt</span>&nbsp;<i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">Right/Left</span></td>
<td><span class="tag is-dark is-large">Alt</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">Right/Left</span></td> <td><span class="tag is-dark is-large">Alt</span>&nbsp;<i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">Right/Left</span></td>
</tr> </tr>
<tr> <tr>
<td>Increase/decrease due date</td> <td>Increase/decrease due date</td>
<td><span class="tag is-dark is-large">Ctrl + Alt</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">Up/Down</span></td> <td><span class="tag is-dark is-large">Ctrl + Alt</span>&nbsp;<i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">Up/Down</span></td>
<td><span class="tag is-dark is-large">cmd + Alt</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">Up/Down</span></td> <td><span class="tag is-dark is-large">cmd + Alt</span>&nbsp;<i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">Up/Down</span></td>
</tr> </tr>
<tr> <tr>
<td>Clear due date</td> <td>Clear due date</td>
<td><span class="tag is-dark is-large">Ctrl + Alt</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">Right/Left</span></td> <td><span class="tag is-dark is-large">Ctrl + Alt</span>&nbsp;<i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">Right/Left</span></td>
<td><span class="tag is-dark is-large">cmd + Alt</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">Right/Left</span></td> <td><span class="tag is-dark is-large">cmd + Alt</span>&nbsp;<i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">Right/Left</span></td>
</tr> </tr>
<tr> <tr>
<td id="helpTabKeyboardTR10TD1"></td> <td id="helpTabKeyboardTR10TD1"></td>
<td><span class="tag is-dark is-large">Ctrl</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">Enter</span></td> <td><span class="tag is-dark is-large">Ctrl</span>&nbsp;<i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">Enter</span></td>
<td><span class="tag is-dark is-large">cmd</span> <i class="fas fa-plus"></i> <span class="tag is-info is-large">Enter</span></td> <td><span class="tag is-dark is-large">cmd</span>&nbsp;<i class="fas fa-plus"></i>&nbsp;<span class="tag is-info is-large">Enter</span></td>
</tr> </tr>
</table> </table>
</section> </section>
...@@ -703,9 +707,5 @@ ...@@ -703,9 +707,5 @@
<script defer src="../node_modules/jstodotxt/jsTodoTxt.js"></script> <script defer src="../node_modules/jstodotxt/jsTodoTxt.js"></script>
<script defer src="../node_modules/marked/marked.min.js"></script> <script defer src="../node_modules/marked/marked.min.js"></script>
<script defer type="module" src="render.js"></script> <script defer type="module" src="render.js"></script>
<script defer src="../node_modules/@fortawesome/fontawesome-free/js/fontawesome.min.js"></script>
<script defer src="../node_modules/@fortawesome/fontawesome-free/js/solid.min.js"></script>
<script defer src="../node_modules/@fortawesome/fontawesome-free/js/regular.min.js"></script>
<script defer src="../node_modules/@fortawesome/fontawesome-free/js/brands.min.js"></script>
</body> </body>
</html> </html>
...@@ -270,7 +270,6 @@ function selectFilter(filter, category) { ...@@ -270,7 +270,6 @@ function selectFilter(filter, category) {
function generateFilterButtons(category, autoCompleteValue, autoCompletePrefix, caretPosition) { function generateFilterButtons(category, autoCompleteValue, autoCompletePrefix, caretPosition) {
try { try {
selectedFilters = new Array; selectedFilters = new Array;
if(userData.selectedFilters && userData.selectedFilters.length>0) selectedFilters = JSON.parse(userData.selectedFilters); if(userData.selectedFilters && userData.selectedFilters.length>0) selectedFilters = JSON.parse(userData.selectedFilters);
// creates a div for the specific filter section // creates a div for the specific filter section
let todoFiltersContainer = document.createElement("div"); let todoFiltersContainer = document.createElement("div");
...@@ -302,9 +301,7 @@ function generateFilterButtons(category, autoCompleteValue, autoCompletePrefix, ...@@ -302,9 +301,7 @@ function generateFilterButtons(category, autoCompleteValue, autoCompletePrefix,
hideFilterCategories = [...new Set(hideFilterCategories.join(",").split(","))]; hideFilterCategories = [...new Set(hideFilterCategories.join(",").split(","))];
} }
setUserData("hideFilterCategories", hideFilterCategories) setUserData("hideFilterCategories", hideFilterCategories)
generateGroups(items.filtered).then(function(groups) { startBuilding();
generateTable(groups);
});
} }
// add the headline before category container // add the headline before category container
todoFiltersContainer.appendChild(todoFilterHeadline); todoFiltersContainer.appendChild(todoFilterHeadline);
......
...@@ -73,9 +73,7 @@ let ...@@ -73,9 +73,7 @@ let
translations, translations,
userData, userData,
view; view;
// ########################################################################################################################
// FUNCTIONS
// ########################################################################################################################
function configureMatomo() { function configureMatomo() {
try { try {
if(!userData.uid) { if(!userData.uid) {
...@@ -821,7 +819,7 @@ function setFriendlyLanguageNames() { ...@@ -821,7 +819,7 @@ function setFriendlyLanguageNames() {
friendlyLanguageName = "Français" friendlyLanguageName = "Français"
break; break;
case "cn": case "cn":
friendlyLanguageName = "Simplified Chinese" friendlyLanguageName = "简体中文"
break; break;
default: default:
return; return;
...@@ -909,8 +907,9 @@ function showFiles() { ...@@ -909,8 +907,9 @@ function showFiles() {
} else { } else {
cell1.innerHTML = "<button class=\"button is-link\">" + translations.select + "</button>"; cell1.innerHTML = "<button class=\"button is-link\">" + translations.select + "</button>";
cell1.onclick = function() { cell1.onclick = function() {
window.api.send("startFileWatcher", this.parentElement.getAttribute("data-path")); setUserData("selectedFilters", []);
resetModal().then(response => { resetModal().then(response => {
window.api.send("startFileWatcher", this.parentElement.getAttribute("data-path"));
console.info(response); console.info(response);
}).catch(error => { }).catch(error => {
handleError(error); handleError(error);
......
...@@ -347,6 +347,11 @@ nav { ...@@ -347,6 +347,11 @@ nav {
} }
} }
} }
.column.content {
.button {
background: $darker-grey!important;
}
}
.modal.content { .modal.content {
color: $lighter-grey!important; color: $lighter-grey!important;
.button { .button {
......
...@@ -25,6 +25,9 @@ button, button:focus, button:active, button:active, button:after, button::before ...@@ -25,6 +25,9 @@ button, button:focus, button:active, button:active, button:after, button::before
border: none!important; border: none!important;
box-shadow: none!important; box-shadow: none!important;
} }
.button i {
color: $has-text-link;
}
.is-hidden { .is-hidden {
display: none!important; display: none!important;
} }
...@@ -37,7 +40,7 @@ button, button:focus, button:active, button:active, button:after, button::before ...@@ -37,7 +40,7 @@ button, button:focus, button:active, button:active, button:after, button::before
border: 1px solid $mid-grey!important; border: 1px solid $mid-grey!important;
color: $dark-grey; color: $dark-grey;
} }
.button.is-link svg { .button.is-link i {
color: white; color: white;
} }
table { table {
...@@ -134,12 +137,12 @@ strong { ...@@ -134,12 +137,12 @@ strong {
font-family: "FreeSansBold"; font-family: "FreeSansBold";
font-weight: normal!important; font-weight: normal!important;
} }
svg { /*svg {
color: $has-text-link; color: $has-text-link;
} }*/
code, pre { code, pre {
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace!important; font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace!important;
background-color: $light-grey; background-color: $light-grey!important;
color: inherit!important; color: inherit!important;
} }
nav { nav {
...@@ -164,9 +167,9 @@ nav { ...@@ -164,9 +167,9 @@ nav {
line-height: 5em; line-height: 5em;
text-align: center; text-align: center;
border-bottom: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05);
svg { /*svg {
color: inherit; color: inherit;