Skip to content

Commit e93470c

Browse files
committed
v2.0
1 parent 6ab31e0 commit e93470c

File tree

13 files changed

+1270
-289
lines changed

13 files changed

+1270
-289
lines changed

_locales/en/messages.json

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,53 @@
11
{
2-
"lists": {
3-
"message": "Lists"
2+
"create": {
3+
"message": "Create"
4+
},
5+
"dataExportedSuccessfully": {
6+
"message": "Data exported successfully"
7+
},
8+
"dataImportedSuccessfully": {
9+
"message": "Data imported successfully"
10+
},
11+
"encryption": {
12+
"message": "Encryption"
413
},
514
"export": {
615
"message": "Export"
716
},
817
"import": {
918
"message": "Import"
1019
},
20+
"language": {
21+
"message": "Language"
22+
},
23+
"lists": {
24+
"message": "Lists"
25+
},
26+
"myTasks": {
27+
"message": "My tasks"
28+
},
1129
"name": {
1230
"message": "Name"
1331
},
14-
"create": {
15-
"message": "Create"
32+
"noLists": {
33+
"message": "No lists"
1634
},
1735
"noTasks": {
1836
"message": "No tasks"
1937
},
20-
"language": {
21-
"message": "Language"
38+
"ok": {
39+
"message": "OK"
2240
},
23-
"dataImportedSuccessfully": {
24-
"message": "Data imported successfully"
41+
"password": {
42+
"message": "Password"
2543
},
26-
"dataExportedSuccessfully": {
27-
"message": "Data exported successfully"
44+
"remove": {
45+
"message": "Remove"
46+
},
47+
"rename": {
48+
"message": "Rename"
2849
},
2950
"selectFile": {
3051
"message": "Select file"
31-
},
32-
"ok": {
33-
"message": "OK"
34-
},
35-
"encryption": {
36-
"message": "Encryption"
37-
},
38-
"myTasks": {
39-
"message": "My tasks"
4052
}
4153
}

_locales/ru/messages.json

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,53 @@
11
{
2-
"lists": {
3-
"message": "Списки"
2+
"create": {
3+
"message": "Создать"
4+
},
5+
"dataExportedSuccessfully": {
6+
"message": "Данные успешно экспортированы"
7+
},
8+
"dataImportedSuccessfully": {
9+
"message": "Данные успешно импортированы"
10+
},
11+
"encryption": {
12+
"message": "Шифрование"
413
},
514
"export": {
615
"message": "Экспорт"
716
},
817
"import": {
918
"message": "Импорт"
1019
},
20+
"language": {
21+
"message": "Язык"
22+
},
23+
"lists": {
24+
"message": "Списки"
25+
},
26+
"myTasks": {
27+
"message": "Мои задачи"
28+
},
1129
"name": {
1230
"message": "Название"
1331
},
14-
"create": {
15-
"message": "Создать"
32+
"noLists": {
33+
"message": "Нет списков задач"
1634
},
1735
"noTasks": {
1836
"message": "Нет задач"
1937
},
20-
"language": {
21-
"message": "Язык"
38+
"ok": {
39+
"message": "Окей"
2240
},
23-
"dataImportedSuccessfully": {
24-
"message": "Данные успешно импортированы"
41+
"password": {
42+
"message": "Пароль"
2543
},
26-
"dataExportedSuccessfully": {
27-
"message": "Данные успешно экспортированы"
44+
"remove": {
45+
"message": "Удалить"
46+
},
47+
"rename": {
48+
"message": "Переименовать"
2849
},
2950
"selectFile": {
3051
"message": "Выберите файл"
31-
},
32-
"ok": {
33-
"message": "Окей"
34-
},
35-
"encryption": {
36-
"message": "Шифрование"
37-
},
38-
"myTasks": {
39-
"message": "Мои задачи"
4052
}
4153
}

manifest.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"manifest_version": 2,
33
"name": "To-Do",
44
"version": "2.0",
5-
"version_name": "2.0-alpha",
65
"default_locale": "en",
76
"icons": {
87
"16": "assets/icons/16.png",

options.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="en">
2+
<html>
33
<head>
44
<meta charset="utf-8">
55
<title>To-Do</title>

popup.css

Lines changed: 81 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ body[data-appearance='home'] .satus-text--title
140140
3.0 Folder
141141
4.0 Button
142142
5.0 Switch
143+
6.0 Encryption
143144
--------------------------------------------------------------*/
144145

145146
/*--------------------------------------------------------------
@@ -159,7 +160,7 @@ body[data-appearance='home'] .satus-text--title
159160
.satus-section--main
160161
{
161162
display: block;
162-
163+
163164
box-sizing: border-box;
164165
width: calc(100% - 16px);
165166
max-width: 900px;
@@ -169,12 +170,12 @@ body[data-appearance='home'] .satus-text--title
169170
color: var(--satus-theme-on-surface, #777);
170171
border: 1px solid rgba(0,0,0,.1);
171172
border-radius: 8px;
172-
background-color: var(--satus-theme-surface, #fff);
173+
background-color: var(--satus-theme-surface, #fff);
173174
}
174175

175176
.satus-text--message
176177
{
177-
padding: 0 16px
178+
padding: 0 16px;
178179
}
179180

180181
.satus-main .satus-list--label
@@ -211,7 +212,7 @@ body[data-appearance='home'] .satus-text--title
211212
width: 100%;
212213
}
213214

214-
.satus-main .satus-button.satus-button--remove
215+
.satus-main .satus-button.satus-button--menu
215216
{
216217
position: absolute;
217218
z-index: 1;
@@ -220,14 +221,22 @@ body[data-appearance='home'] .satus-text--title
220221

221222
visibility: hidden;
222223

223-
width: 36px;
224-
height: 36px;
224+
width: 34px;
225+
height: 34px;
225226
padding: 6px;
226-
227-
border-radius: 50%
227+
228+
border-radius: 50%;
229+
}
230+
231+
.satus-dialog--menu .satus-button
232+
{
233+
width: 100%;
234+
height: 36px;
235+
padding: 0 16px;
236+
text-align: left;
228237
}
229238

230-
.satus-main__container .satus-list li .satus-section:hover .satus-button--remove
239+
.satus-main__container .satus-list li .satus-section:hover .satus-button--menu
231240
{
232241
visibility: visible;
233242
}
@@ -260,7 +269,7 @@ body[data-appearance='home'] .satus-text--title
260269
4.0 BUTTON
261270
--------------------------------------------------------------*/
262271

263-
.satus-main .satus-button:not(.satus-button--remove)
272+
.satus-main .satus-button:not(.satus-button--menu)
264273
{
265274
width: 100%;
266275
height: 48px;
@@ -286,7 +295,7 @@ body[data-appearance='home'] .satus-text--title
286295

287296
.satus-switch--checkbox .satus-switch__value
288297
{
289-
flex: unset
298+
flex: unset;
290299
}
291300

292301
.satus-switch--checkbox .satus-switch__track
@@ -348,6 +357,67 @@ body[data-appearance='home'] .satus-text--title
348357
background-color: #f6b465;
349358
box-shadow: none;
350359
}
360+
361+
362+
/*--------------------------------------------------------------
363+
6.0 ENCRYPTION
364+
--------------------------------------------------------------*/
365+
366+
.satus-dialog--encryption .satus-text
367+
{
368+
display: block;
369+
370+
width: calc(100% - 32px);
371+
margin: 0 16px;
372+
}
373+
374+
.satus-dialog--encryption .satus-text-field
375+
{
376+
font-size: 16px;
377+
378+
width: calc(100% - 32px);
379+
margin: 8px 16px;
380+
padding: 4px 8px;
381+
382+
border: 1px solid #e8e8e8;
383+
border-radius: 4px;
384+
background-color: #fff;
385+
}
386+
387+
.satus-dialog--encryption .satus-text-field.error
388+
{
389+
outline: 2px solid rgba(255, 0, 0, .4);
390+
}
391+
392+
.satus-dialog--encryption .satus-section
393+
{
394+
width: calc(100% - 32px);
395+
margin: 8px 16px 4px;
396+
padding: 8px 0 4px;
397+
398+
border-top: 1px solid #e8e8e8;
399+
400+
justify-content: flex-end;
401+
}
402+
403+
.satus-dialog--encryption .satus-button
404+
{
405+
font-size: 14px;
406+
font-weight: 600;
407+
408+
overflow: hidden;
409+
410+
height: 28px;
411+
min-height: 28px;
412+
margin-right: 2px;
413+
padding: 8px 16px;
414+
415+
letter-spacing: .2px;
416+
text-transform: uppercase;
417+
418+
color: var(--satus-theme-primary);
419+
border-radius: 4px;
420+
}
351421

352422
/*---------------------------------------------------------------
353423
>>> FOOTER

popup.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<!doctype html>
2-
<html lang="en">
2+
<html>
33
<head>
44
<meta charset="utf-8">
5-
<title>To-Do</title>
65
<style>
76
html, body {
87
width: 300px;

0 commit comments

Comments
 (0)