Skip to content

Commit 06f4289

Browse files
committed
2.0-alpha
1 parent 109d361 commit 06f4289

File tree

15 files changed

+711
-562
lines changed

15 files changed

+711
-562
lines changed

_locales/en/messages.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"lists": {
3+
"message": "Lists"
4+
},
5+
"export": {
6+
"message": "Export"
7+
},
8+
"import": {
9+
"message": "Import"
10+
},
11+
"name": {
12+
"message": "Name"
13+
},
14+
"create": {
15+
"message": "Create"
16+
},
17+
"noTasks": {
18+
"message": "No tasks"
19+
},
20+
"language": {
21+
"message": "Language"
22+
},
23+
"dataImportedSuccessfully": {
24+
"message": "Data imported successfully"
25+
},
26+
"dataExportedSuccessfully": {
27+
"message": "Data exported successfully"
28+
},
29+
"selectFile": {
30+
"message": "Select file"
31+
},
32+
"ok": {
33+
"message": "OK"
34+
},
35+
"encryption": {
36+
"message": "Encryption"
37+
},
38+
"myTasks": {
39+
"message": "My tasks"
40+
}
41+
}

_locales/ru/messages.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"lists": {
3+
"message": "Списки"
4+
},
5+
"export": {
6+
"message": "Экспорт"
7+
},
8+
"import": {
9+
"message": "Импорт"
10+
},
11+
"name": {
12+
"message": "Название"
13+
},
14+
"create": {
15+
"message": "Создать"
16+
},
17+
"noTasks": {
18+
"message": "Нет задач"
19+
},
20+
"language": {
21+
"message": "Язык"
22+
},
23+
"dataImportedSuccessfully": {
24+
"message": "Данные успешно импортированы"
25+
},
26+
"dataExportedSuccessfully": {
27+
"message": "Данные успешно экспортированы"
28+
},
29+
"selectFile": {
30+
"message": "Выберите файл"
31+
},
32+
"ok": {
33+
"message": "Окей"
34+
},
35+
"encryption": {
36+
"message": "Шифрование"
37+
},
38+
"myTasks": {
39+
"message": "Мои задачи"
40+
}
41+
}

background.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

manifest.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
{
22
"manifest_version": 2,
33
"name": "To-Do",
4-
"version": "1.5",
4+
"version": "2.0",
5+
"version_name": "2.0-alpha",
6+
"default_locale": "en",
57
"icons": {
68
"16": "assets/icons/16.png",
79
"32": "assets/icons/32.png",
810
"48": "assets/icons/48.png",
911
"128": "assets/icons/128.png"
1012
},
1113
"browser_action": {
12-
"default_popup": "index.html"
13-
},
14-
"background": {
15-
"persistent": false,
16-
"scripts": [
17-
"background.js"
18-
]
14+
"default_popup": "popup.html"
1915
},
16+
"options_page": "options.html",
2017
"optional_permissions": [
2118
"downloads"
2219
],

options.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>To-Do</title>
6+
<style>
7+
html, body {
8+
width: 100vw;
9+
height: 100vh
10+
}
11+
</style>
12+
<link rel="stylesheet" href="satus.css">
13+
<link rel="stylesheet" href="popup.css">
14+
</head>
15+
<body>
16+
<script src="satus.js"></script>
17+
<script src="popup.js"></script>
18+
</body>
19+
</html>

popup.css

Lines changed: 7 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -131,121 +131,6 @@ body[data-appearance='home'] .satus-text--title
131131
{
132132
margin-left: 8px;
133133
}
134-
135-
136-
/*--------------------------------------------------------------
137-
4.0 SEARCH
138-
--------------------------------------------------------------*/
139-
140-
.satus-dialog--search
141-
{
142-
pointer-events: none;
143-
}
144-
145-
.satus-dialog--search .satus-dialog__scrim
146-
{
147-
display: none;
148-
}
149-
150-
.satus-dialog--search .satus-dialog__surface
151-
{
152-
position: fixed;
153-
top: 11px;
154-
right: 8px;
155-
156-
visibility: unset;
157-
158-
width: calc(100% - 62px);
159-
min-width: unset;
160-
max-width: unset;
161-
height: 34px;
162-
padding: 0;
163-
164-
transform: unset;
165-
animation: unset;
166-
pointer-events: all;
167-
168-
opacity: unset;
169-
border: 1px solid rgba(0,0,0,.05);
170-
box-shadow: unset;
171-
}
172-
173-
.satus-dialog--search .satus-dialog__surface .satus-text-field
174-
{
175-
height: 34px;
176-
}
177-
178-
.satus-dialog--search .satus-dialog__surface .satus-button
179-
{
180-
position: absolute;
181-
top: 3px;
182-
right: 3px;
183-
184-
overflow: hidden;
185-
186-
width: 32px;
187-
height: 32px;
188-
189-
border-radius: 50%;
190-
}
191-
192-
.satus-dialog--search .satus-dialog__surface .satus-button svg
193-
{
194-
fill: unset;
195-
stroke: currentColor;
196-
}
197-
198-
199-
/*--------------------------------------------------------------
200-
5.0 VERTICAL MENU
201-
--------------------------------------------------------------*/
202-
203-
.satus-dialog--vertical-menu .satus-dialog__surface
204-
{
205-
position: absolute;
206-
top: 8px;
207-
right: 8px;
208-
left: auto;
209-
210-
min-width: 180px;
211-
max-width: 180px;
212-
213-
transform-origin: right top;
214-
}
215-
216-
.satus-dialog--vertical-menu .satus-button,
217-
.satus-dialog--vertical-menu .satus-folder
218-
{
219-
width: 100%;
220-
height: 36px;
221-
padding: 0 16px;
222-
223-
text-align: left;
224-
}
225-
226-
.satus-dialog--vertical-menu .satus-folder svg,
227-
.satus-dialog--vertical-menu .satus-button svg
228-
{
229-
width: 20px;
230-
height: 18px;
231-
margin: 0 14px 0 0;
232-
233-
opacity: .75;
234-
235-
fill: none;
236-
stroke: #f6b465;
237-
}
238-
239-
.satus-dialog--vertical-menu .satus-folder--mixer svg
240-
{
241-
height: 20px;
242-
}
243-
244-
.satus-dialog--vertical-menu .satus-button--github svg
245-
{
246-
width: 18px;
247-
height: 18px;
248-
}
249134

250135
/*--------------------------------------------------------------
251136
>>> MAIN:
@@ -399,6 +284,11 @@ body[data-appearance='home'] .satus-text--title
399284
flex: 1;
400285
}
401286

287+
.satus-switch--checkbox .satus-switch__value
288+
{
289+
flex: unset
290+
}
291+
402292
.satus-switch--checkbox .satus-switch__track
403293
{
404294
width: 22px;
@@ -435,7 +325,7 @@ body[data-appearance='home'] .satus-text--title
435325
background-color: transparent;
436326
}
437327

438-
.satus-switch--checkbox .satus-switch__input:checked + .satus-switch__track::before
328+
.satus-switch--checkbox .satus-switch__input:checked + .satus-switch__value .satus-switch__track::before
439329
{
440330
top: 7px;
441331
left: 5px;
@@ -453,7 +343,7 @@ body[data-appearance='home'] .satus-text--title
453343
content: none;
454344
}
455345

456-
.satus-switch--checkbox .satus-switch__input:checked + .satus-switch__track
346+
.satus-switch--checkbox .satus-switch__input:checked + .satus-switch__value .satus-switch__track
457347
{
458348
background-color: #f6b465;
459349
box-shadow: none;
File renamed without changes.

0 commit comments

Comments
 (0)