Skip to content

Commit

Permalink
2.0-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
adokseo committed Oct 1, 2020
1 parent 109d361 commit 06f4289
Show file tree
Hide file tree
Showing 15 changed files with 711 additions and 562 deletions.
41 changes: 41 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"lists": {
"message": "Lists"
},
"export": {
"message": "Export"
},
"import": {
"message": "Import"
},
"name": {
"message": "Name"
},
"create": {
"message": "Create"
},
"noTasks": {
"message": "No tasks"
},
"language": {
"message": "Language"
},
"dataImportedSuccessfully": {
"message": "Data imported successfully"
},
"dataExportedSuccessfully": {
"message": "Data exported successfully"
},
"selectFile": {
"message": "Select file"
},
"ok": {
"message": "OK"
},
"encryption": {
"message": "Encryption"
},
"myTasks": {
"message": "My tasks"
}
}
41 changes: 41 additions & 0 deletions _locales/ru/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"lists": {
"message": "Списки"
},
"export": {
"message": "Экспорт"
},
"import": {
"message": "Импорт"
},
"name": {
"message": "Название"
},
"create": {
"message": "Создать"
},
"noTasks": {
"message": "Нет задач"
},
"language": {
"message": "Язык"
},
"dataImportedSuccessfully": {
"message": "Данные успешно импортированы"
},
"dataExportedSuccessfully": {
"message": "Данные успешно экспортированы"
},
"selectFile": {
"message": "Выберите файл"
},
"ok": {
"message": "Окей"
},
"encryption": {
"message": "Шифрование"
},
"myTasks": {
"message": "Мои задачи"
}
}
30 changes: 0 additions & 30 deletions background.js

This file was deleted.

13 changes: 5 additions & 8 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
{
"manifest_version": 2,
"name": "To-Do",
"version": "1.5",
"version": "2.0",
"version_name": "2.0-alpha",
"default_locale": "en",
"icons": {
"16": "assets/icons/16.png",
"32": "assets/icons/32.png",
"48": "assets/icons/48.png",
"128": "assets/icons/128.png"
},
"browser_action": {
"default_popup": "index.html"
},
"background": {
"persistent": false,
"scripts": [
"background.js"
]
"default_popup": "popup.html"
},
"options_page": "options.html",
"optional_permissions": [
"downloads"
],
Expand Down
19 changes: 19 additions & 0 deletions options.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>To-Do</title>
<style>
html, body {
width: 100vw;
height: 100vh
}
</style>
<link rel="stylesheet" href="satus.css">
<link rel="stylesheet" href="popup.css">
</head>
<body>
<script src="satus.js"></script>
<script src="popup.js"></script>
</body>
</html>
124 changes: 7 additions & 117 deletions popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,121 +131,6 @@ body[data-appearance='home'] .satus-text--title
{
margin-left: 8px;
}


/*--------------------------------------------------------------
4.0 SEARCH
--------------------------------------------------------------*/

.satus-dialog--search
{
pointer-events: none;
}

.satus-dialog--search .satus-dialog__scrim
{
display: none;
}

.satus-dialog--search .satus-dialog__surface
{
position: fixed;
top: 11px;
right: 8px;

visibility: unset;

width: calc(100% - 62px);
min-width: unset;
max-width: unset;
height: 34px;
padding: 0;

transform: unset;
animation: unset;
pointer-events: all;

opacity: unset;
border: 1px solid rgba(0,0,0,.05);
box-shadow: unset;
}

.satus-dialog--search .satus-dialog__surface .satus-text-field
{
height: 34px;
}

.satus-dialog--search .satus-dialog__surface .satus-button
{
position: absolute;
top: 3px;
right: 3px;

overflow: hidden;

width: 32px;
height: 32px;

border-radius: 50%;
}

.satus-dialog--search .satus-dialog__surface .satus-button svg
{
fill: unset;
stroke: currentColor;
}


/*--------------------------------------------------------------
5.0 VERTICAL MENU
--------------------------------------------------------------*/

.satus-dialog--vertical-menu .satus-dialog__surface
{
position: absolute;
top: 8px;
right: 8px;
left: auto;

min-width: 180px;
max-width: 180px;

transform-origin: right top;
}

.satus-dialog--vertical-menu .satus-button,
.satus-dialog--vertical-menu .satus-folder
{
width: 100%;
height: 36px;
padding: 0 16px;

text-align: left;
}

.satus-dialog--vertical-menu .satus-folder svg,
.satus-dialog--vertical-menu .satus-button svg
{
width: 20px;
height: 18px;
margin: 0 14px 0 0;

opacity: .75;

fill: none;
stroke: #f6b465;
}

.satus-dialog--vertical-menu .satus-folder--mixer svg
{
height: 20px;
}

.satus-dialog--vertical-menu .satus-button--github svg
{
width: 18px;
height: 18px;
}

/*--------------------------------------------------------------
>>> MAIN:
Expand Down Expand Up @@ -399,6 +284,11 @@ body[data-appearance='home'] .satus-text--title
flex: 1;
}

.satus-switch--checkbox .satus-switch__value
{
flex: unset
}

.satus-switch--checkbox .satus-switch__track
{
width: 22px;
Expand Down Expand Up @@ -435,7 +325,7 @@ body[data-appearance='home'] .satus-text--title
background-color: transparent;
}

.satus-switch--checkbox .satus-switch__input:checked + .satus-switch__track::before
.satus-switch--checkbox .satus-switch__input:checked + .satus-switch__value .satus-switch__track::before
{
top: 7px;
left: 5px;
Expand All @@ -453,7 +343,7 @@ body[data-appearance='home'] .satus-text--title
content: none;
}

.satus-switch--checkbox .satus-switch__input:checked + .satus-switch__track
.satus-switch--checkbox .satus-switch__input:checked + .satus-switch__value .satus-switch__track
{
background-color: #f6b465;
box-shadow: none;
Expand Down
File renamed without changes.
Loading

0 comments on commit 06f4289

Please sign in to comment.