Skip to content

Commit 299db96

Browse files
committed
Add link to pomodoro on dashboard
1 parent bd98225 commit 299db96

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/assets/css/dark.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
.dark .headerBlock .icons-block a:hover{
99
filter: invert(40%) sepia(94%) saturate(3371%) hue-rotate(227deg) brightness(99%) contrast(92%);
1010
}
11-
.dark .headerBlock .icons-block a img {
11+
.dark .headerBlock .icons-block a.filter img {
1212
filter: invert(100%) sepia(17%) saturate(0%) hue-rotate(24deg) brightness(103%) contrast(102%);
1313
}
1414
.dark .header-block {

src/pages/Popup.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@
2121
v-if="darkMode == false"
2222
@click="changeDarkMode(true)"
2323
/>
24-
<a @click="openPage(SettingsTab.Dashboard)"
24+
25+
<a @click="openPage(SettingsTab.Pomodoro)"
26+
>{{ t('pomodoroMode.message') }}<img src="../assets/icons/pomodoro.svg" height="22"
27+
/></a>
28+
<a class="filter" @click="openPage(SettingsTab.Dashboard)"
2529
>{{ t('dashboard.message') }}<img height="22" src="../assets/icons/dashboard.svg"
2630
/></a>
27-
<a @click="openPage(SettingsTab.GeneralSettings)"
31+
<a class="filter" @click="openPage(SettingsTab.GeneralSettings)"
2832
>{{ t('settings.message') }}<img height="22" src="../assets/icons/settings.svg"
2933
/></a>
3034
</div>
@@ -153,7 +157,7 @@ function updateTab() {
153157
}
154158
.headerBlock .icons-block {
155159
float: right;
156-
margin: 7px 10px 0 0;
160+
margin: 7px 0 0 0;
157161
}
158162
159163
.headerBlock .icons-block a:hover {

0 commit comments

Comments
 (0)