diff --git a/packages/theme/styles/_colors.scss b/packages/theme/styles/_colors.scss
index d61c254bb2..f63d1dce9f 100644
--- a/packages/theme/styles/_colors.scss
+++ b/packages/theme/styles/_colors.scss
@@ -61,11 +61,14 @@
--accent-bg-color: #27282b;
--accent-shadow: rgb(0 0 0 / 10%) 0px 2px 4px;
+ --dark-color: #62666d;
--content-color: #8a8f98;
--accent-color: #d7d8db;
--caption-color: #f7f8f8;
--white-color: #fff;
--caret-color: #6e5ed2;
+ --warning-color: #f2994a;
+ --error-color: #eb5757;
--divider-color: #303236;
--menu-bg-select: #2d2f36;
diff --git a/packages/ui/lang/en.json b/packages/ui/lang/en.json
index 9050d5a498..2b3a10cc1e 100644
--- a/packages/ui/lang/en.json
+++ b/packages/ui/lang/en.json
@@ -15,6 +15,10 @@
"None": "None",
"NotSelected": "Not selected",
"Today": "Today",
+ "NoDate": "No date",
+ "StartDate": "Start date",
+ "TargetDate": "Target date",
+ "Overdue": "Overdue",
"English": "English",
"Russian": "Russian",
"MinutesBefore": "{minutes, plural, =1 {a minute before} other {# minutes before}}",
diff --git a/packages/ui/lang/ru.json b/packages/ui/lang/ru.json
index e6fd4fefcb..2d87120778 100644
--- a/packages/ui/lang/ru.json
+++ b/packages/ui/lang/ru.json
@@ -15,6 +15,10 @@
"None": "Нет",
"NotSelected": "Не выбрано",
"Today": "Сегодня",
+ "NoDate": "Без даты",
+ "StartDate": "Дата начала",
+ "TargetDate": "Дата окончания",
+ "Overdue": "Просрочено",
"English": "Английский",
"Russian": "Русский",
"MinutesBefore": "{minutes, plural, =1 {за минуту} other {за # минут}}",
diff --git a/packages/ui/src/components/Button.svelte b/packages/ui/src/components/Button.svelte
index 0fc3e5dfae..d61115a9a6 100644
--- a/packages/ui/src/components/Button.svelte
+++ b/packages/ui/src/components/Button.svelte
@@ -107,7 +107,7 @@
pointer-events: none;
}
&:hover {
- color: var(--caption-color);
+ color: var(--accent-color);
transition-duration: 0;
.btn-icon { color: var(--caption-color); }
@@ -137,15 +137,15 @@
}
&.no-border {
font-weight: 400;
- color: var(--content-color);
+ color: var(--accent-color);
background-color: var(--button-bg-color);
box-shadow: var(--button-shadow);
&:hover {
- color: var(--accent-color);
+ color: var(--caption-color);
background-color: var(--button-bg-hover);
- .btn-icon { color: var(--accent-color); }
+ .btn-icon { color: var(--caption-color); }
}
&:disabled {
background-color: #30323655;
diff --git a/packages/ui/src/components/calendar/DatePicker.svelte b/packages/ui/src/components/calendar/DatePicker.svelte
index 252615591c..0ed142db07 100644
--- a/packages/ui/src/components/calendar/DatePicker.svelte
+++ b/packages/ui/src/components/calendar/DatePicker.svelte
@@ -15,7 +15,9 @@
+
+
+
+
+
diff --git a/packages/ui/src/components/calendar/DatePopup.svelte b/packages/ui/src/components/calendar/DatePopup.svelte
index 231d621e1b..e00fede554 100644
--- a/packages/ui/src/components/calendar/DatePopup.svelte
+++ b/packages/ui/src/components/calendar/DatePopup.svelte
@@ -51,9 +51,7 @@
const tempDate = new Date(currentDate.getFullYear(), currentDate.getMonth(), i)
days.push({
dayOfWeek: (tempDate.getDay() === 0) ? 7 : tempDate.getDay(),
- style: getDateStyle(tempDate),
- focused: false,
- today: areDatesEqual(tempDate, today)
+ style: getDateStyle(tempDate)
})
}
days = days
@@ -92,9 +90,6 @@
{#each days as day, i}
{
if (currentDate) currentDate.setDate(i + 1)
diff --git a/packages/ui/src/components/calendar/DatePresenter.svelte b/packages/ui/src/components/calendar/DatePresenter.svelte
index 6aeda0ec93..5b4b87b152 100644
--- a/packages/ui/src/components/calendar/DatePresenter.svelte
+++ b/packages/ui/src/components/calendar/DatePresenter.svelte
@@ -13,54 +13,63 @@
// limitations under the License.
-->
-{#if currentDate !== undefined}
-
- {#if editable}
-
-
{ withDate = !withDate }}>
-
-
-
-
hoverEdits(ev, 'date')}
- >
-
editClick(ev, edits[0].id)}
- on:input={ev => onInput(ev.target, edits[0].id)}
- on:keydown={ev => keyDown(ev, edits[0].id)}
- />
-
.
-
editClick(ev, edits[1].id)}
- on:input={ev => onInput(ev.target, edits[1].id)}
- on:keydown={ev => keyDown(ev, edits[1].id)}
- />
-
.
-
editClick(ev, edits[2].id)}
- on:input={ev => onInput(ev.target, edits[2].id)}
- on:keydown={ev => keyDown(ev, edits[2].id)}
- />
-
-
-
{ withTime = !withTime }}>
-
-
-
hoverEdits(ev, 'time')}
+