From 10440ec765ec22349fa22cf57244e42312c8e462 Mon Sep 17 00:00:00 2001 From: nikk gitanes Date: Wed, 25 Aug 2021 18:42:17 +0300 Subject: [PATCH] web: darker inactive tables and small fixes --- .../components/DialogTorrentDetailsContent/Table/style.js | 6 +++--- .../DialogTorrentDetailsContent/TorrentCache/index.jsx | 2 +- web/src/locales/en/translation.json | 2 +- web/src/locales/ru/translation.json | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/web/src/components/DialogTorrentDetailsContent/Table/style.js b/web/src/components/DialogTorrentDetailsContent/Table/style.js index a9079c4..b3813e6 100644 --- a/web/src/components/DialogTorrentDetailsContent/Table/style.js +++ b/web/src/components/DialogTorrentDetailsContent/Table/style.js @@ -1,8 +1,8 @@ import styled, { css } from 'styled-components' -const viewedPrimaryColor = '#bdbdbd' -const viewedSecondaryColor = '#c4c4c4' -const viewedTertiaryColor = '#c9c9c9' +const viewedPrimaryColor = '#858c90' +const viewedSecondaryColor = '#8c9498' +const viewedTertiaryColor = '#949ca0' const bigTableDividerColor = '#ddd' const bigTableDefaultRowColor = '#fff' const bigTableViewedRowColor = '#f3f3f3' diff --git a/web/src/components/DialogTorrentDetailsContent/TorrentCache/index.jsx b/web/src/components/DialogTorrentDetailsContent/TorrentCache/index.jsx index 847cb70..76b2d88 100644 --- a/web/src/components/DialogTorrentDetailsContent/TorrentCache/index.jsx +++ b/web/src/components/DialogTorrentDetailsContent/TorrentCache/index.jsx @@ -93,7 +93,7 @@ const TorrentCache = ({ cache, isMini, isSnakeDebugMode }) => { if (isSnakeDebugMode && priority > 0) { let info = '' - if (priority === 1) info = '*' + if (priority === 1) info = '' else if (priority === 2) info = 'H' else if (priority === 3) info = 'R' else if (priority === 4) info = 'N' diff --git a/web/src/locales/en/translation.json b/web/src/locales/en/translation.json index bcac4b2..524611c 100644 --- a/web/src/locales/en/translation.json +++ b/web/src/locales/en/translation.json @@ -33,7 +33,7 @@ "CopyHash": "Copy Hash", "CopyLink": "Copy link", "Data": "Data", - "DebugMode": "Show download priorities", + "DebugMode": "Download priorities", "Delete": "Delete", "DeleteTorrent?": "Delete Torrent?", "DeleteTorrents?": "Delete All Torrents?", diff --git a/web/src/locales/ru/translation.json b/web/src/locales/ru/translation.json index f8e4bcd..d7d6be9 100644 --- a/web/src/locales/ru/translation.json +++ b/web/src/locales/ru/translation.json @@ -33,7 +33,7 @@ "CopyHash": "Скопировать хеш", "CopyLink": "Копировать", "Data": "Данные", - "DebugMode": "Метки приоритетов загрузки", + "DebugMode": "Метки приоритетов", "Delete": "Удалить", "DeleteTorrent?": "Удалить торрент?", "DeleteTorrents?": "Удалить все торренты?", @@ -66,7 +66,7 @@ "Mbps": "Мбит/c", "Name": "Название", "NoTorrentsAdded": "Нет торрентов", - "Offline": "Сервер не доступен", + "Offline": "Сервер недоступен", "OK": "OK", "OpenLink": "Открыть", "Peers": "Пиры",