diff --git a/_locales/en/messages.json b/_locales/en/messages.json index ce5367c..dc3a042 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1,6 +1,15 @@ { - "lists": { - "message": "Lists" + "create": { + "message": "Create" + }, + "dataExportedSuccessfully": { + "message": "Data exported successfully" + }, + "dataImportedSuccessfully": { + "message": "Data imported successfully" + }, + "encryption": { + "message": "Encryption" }, "export": { "message": "Export" @@ -8,34 +17,37 @@ "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" } } diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json index 4f04afa..65147e4 100644 --- a/_locales/ru/messages.json +++ b/_locales/ru/messages.json @@ -1,6 +1,15 @@ { - "lists": { - "message": "Списки" + "create": { + "message": "Создать" + }, + "dataExportedSuccessfully": { + "message": "Данные успешно экспортированы" + }, + "dataImportedSuccessfully": { + "message": "Данные успешно импортированы" + }, + "encryption": { + "message": "Шифрование" }, "export": { "message": "Экспорт" @@ -8,34 +17,37 @@ "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": "Мои задачи" } } diff --git a/manifest.json b/manifest.json index 0b320df..375fabf 100644 --- a/manifest.json +++ b/manifest.json @@ -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", diff --git a/options.html b/options.html index bd74e59..7f0dbc6 100644 --- a/options.html +++ b/options.html @@ -1,5 +1,5 @@ - + To-Do diff --git a/popup.css b/popup.css index 161398c..2aaed39 100644 --- a/popup.css +++ b/popup.css @@ -140,6 +140,7 @@ body[data-appearance='home'] .satus-text--title 3.0 Folder 4.0 Button 5.0 Switch +6.0 Encryption --------------------------------------------------------------*/ /*-------------------------------------------------------------- @@ -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; @@ -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 @@ -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; @@ -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; } @@ -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; @@ -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 @@ -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 diff --git a/popup.html b/popup.html index 0197f61..460baac 100644 --- a/popup.html +++ b/popup.html @@ -1,8 +1,7 @@ - + - To-Do