Skip to content

Commit

Permalink
v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adokseo committed Oct 11, 2020
1 parent 6ab31e0 commit e93470c
Show file tree
Hide file tree
Showing 13 changed files with 1,270 additions and 289 deletions.
50 changes: 31 additions & 19 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,53 @@
{
"lists": {
"message": "Lists"
"create": {
"message": "Create"
},
"dataExportedSuccessfully": {
"message": "Data exported successfully"
},
"dataImportedSuccessfully": {
"message": "Data imported successfully"
},
"encryption": {
"message": "Encryption"
},
"export": {
"message": "Export"
},
"import": {
"message": "Import"
},
"language": {
"message": "Language"
},
"lists": {
"message": "Lists"
},
"myTasks": {
"message": "My tasks"
},
"name": {
"message": "Name"
},
"create": {
"message": "Create"
"noLists": {
"message": "No lists"
},
"noTasks": {
"message": "No tasks"
},
"language": {
"message": "Language"
"ok": {
"message": "OK"
},
"dataImportedSuccessfully": {
"message": "Data imported successfully"
"password": {
"message": "Password"
},
"dataExportedSuccessfully": {
"message": "Data exported successfully"
"remove": {
"message": "Remove"
},
"rename": {
"message": "Rename"
},
"selectFile": {
"message": "Select file"
},
"ok": {
"message": "OK"
},
"encryption": {
"message": "Encryption"
},
"myTasks": {
"message": "My tasks"
}
}
50 changes: 31 additions & 19 deletions _locales/ru/messages.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,53 @@
{
"lists": {
"message": "Списки"
"create": {
"message": "Создать"
},
"dataExportedSuccessfully": {
"message": "Данные успешно экспортированы"
},
"dataImportedSuccessfully": {
"message": "Данные успешно импортированы"
},
"encryption": {
"message": "Шифрование"
},
"export": {
"message": "Экспорт"
},
"import": {
"message": "Импорт"
},
"language": {
"message": "Язык"
},
"lists": {
"message": "Списки"
},
"myTasks": {
"message": "Мои задачи"
},
"name": {
"message": "Название"
},
"create": {
"message": "Создать"
"noLists": {
"message": "Нет списков задач"
},
"noTasks": {
"message": "Нет задач"
},
"language": {
"message": "Язык"
"ok": {
"message": "Окей"
},
"dataImportedSuccessfully": {
"message": "Данные успешно импортированы"
"password": {
"message": "Пароль"
},
"dataExportedSuccessfully": {
"message": "Данные успешно экспортированы"
"remove": {
"message": "Удалить"
},
"rename": {
"message": "Переименовать"
},
"selectFile": {
"message": "Выберите файл"
},
"ok": {
"message": "Окей"
},
"encryption": {
"message": "Шифрование"
},
"myTasks": {
"message": "Мои задачи"
}
}
1 change: 0 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"manifest_version": 2,
"name": "To-Do",
"version": "2.0",
"version_name": "2.0-alpha",
"default_locale": "en",
"icons": {
"16": "assets/icons/16.png",
Expand Down
2 changes: 1 addition & 1 deletion options.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="en">
<html>
<head>
<meta charset="utf-8">
<title>To-Do</title>
Expand Down
92 changes: 81 additions & 11 deletions popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ body[data-appearance='home'] .satus-text--title
3.0 Folder
4.0 Button
5.0 Switch
6.0 Encryption
--------------------------------------------------------------*/

/*--------------------------------------------------------------
Expand All @@ -159,7 +160,7 @@ body[data-appearance='home'] .satus-text--title
.satus-section--main
{
display: block;

box-sizing: border-box;
width: calc(100% - 16px);
max-width: 900px;
Expand All @@ -169,12 +170,12 @@ body[data-appearance='home'] .satus-text--title
color: var(--satus-theme-on-surface, #777);
border: 1px solid rgba(0,0,0,.1);
border-radius: 8px;
background-color: var(--satus-theme-surface, #fff);
background-color: var(--satus-theme-surface, #fff);
}

.satus-text--message
{
padding: 0 16px
padding: 0 16px;
}

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

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

visibility: hidden;

width: 36px;
height: 36px;
width: 34px;
height: 34px;
padding: 6px;

border-radius: 50%

border-radius: 50%;
}

.satus-dialog--menu .satus-button
{
width: 100%;
height: 36px;
padding: 0 16px;
text-align: left;
}

.satus-main__container .satus-list li .satus-section:hover .satus-button--remove
.satus-main__container .satus-list li .satus-section:hover .satus-button--menu
{
visibility: visible;
}
Expand Down Expand Up @@ -260,7 +269,7 @@ body[data-appearance='home'] .satus-text--title
4.0 BUTTON
--------------------------------------------------------------*/

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

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

.satus-switch--checkbox .satus-switch__track
Expand Down Expand Up @@ -348,6 +357,67 @@ body[data-appearance='home'] .satus-text--title
background-color: #f6b465;
box-shadow: none;
}


/*--------------------------------------------------------------
6.0 ENCRYPTION
--------------------------------------------------------------*/

.satus-dialog--encryption .satus-text
{
display: block;

width: calc(100% - 32px);
margin: 0 16px;
}

.satus-dialog--encryption .satus-text-field
{
font-size: 16px;

width: calc(100% - 32px);
margin: 8px 16px;
padding: 4px 8px;

border: 1px solid #e8e8e8;
border-radius: 4px;
background-color: #fff;
}

.satus-dialog--encryption .satus-text-field.error
{
outline: 2px solid rgba(255, 0, 0, .4);
}

.satus-dialog--encryption .satus-section
{
width: calc(100% - 32px);
margin: 8px 16px 4px;
padding: 8px 0 4px;

border-top: 1px solid #e8e8e8;

justify-content: flex-end;
}

.satus-dialog--encryption .satus-button
{
font-size: 14px;
font-weight: 600;

overflow: hidden;

height: 28px;
min-height: 28px;
margin-right: 2px;
padding: 8px 16px;

letter-spacing: .2px;
text-transform: uppercase;

color: var(--satus-theme-primary);
border-radius: 4px;
}

/*---------------------------------------------------------------
>>> FOOTER
Expand Down
3 changes: 1 addition & 2 deletions popup.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<!doctype html>
<html lang="en">
<html>
<head>
<meta charset="utf-8">
<title>To-Do</title>
<style>
html, body {
width: 300px;
Expand Down
Loading

0 comments on commit e93470c

Please sign in to comment.