diff --git a/cypress/e2e/list/list-view-list.spec.ts b/cypress/e2e/list/list-view-list.spec.ts index 631827d7..7a856434 100644 --- a/cypress/e2e/list/list-view-list.spec.ts +++ b/cypress/e2e/list/list-view-list.spec.ts @@ -61,7 +61,7 @@ describe('List View List', () => { }) cy.visit(`/lists/${lists[1].id}/`) - cy.get('.list-title a.icon') + cy.get('.list-title .icon') .should('not.exist') cy.get('input.input[placeholder="Add a new task..."') .should('not.exist') diff --git a/cypress/e2e/list/list.spec.ts b/cypress/e2e/list/list.spec.ts index 3a108a7d..8c151328 100644 --- a/cypress/e2e/list/list.spec.ts +++ b/cypress/e2e/list/list.spec.ts @@ -52,9 +52,9 @@ describe('Lists', () => { cy.get('.list-title h1') .should('contain', 'First List') - cy.get('.namespace-container .menu.namespaces-lists .more-container .menu-list li:first-child .dropdown .dropdown-trigger') + cy.get('.namespace-container .menu.namespaces-lists .menu-list li:first-child .dropdown .dropdown-trigger') .click() - cy.get('.namespace-container .menu.namespaces-lists .more-container .menu-list li:first-child .dropdown .dropdown-content') + cy.get('.namespace-container .menu.namespaces-lists .menu-list li:first-child .dropdown .dropdown-content') .contains('Edit') .click() cy.get('#title') @@ -68,7 +68,7 @@ describe('Lists', () => { cy.get('.list-title h1') .should('contain', newListName) .should('not.contain', lists[0].title) - cy.get('.namespace-container .menu.namespaces-lists .more-container .menu-list li:first-child') + cy.get('.namespace-container .menu.namespaces-lists .menu-list li:first-child') .should('contain', newListName) .should('not.contain', lists[0].title) cy.visit('/') @@ -80,9 +80,9 @@ describe('Lists', () => { it('Should remove a list', () => { cy.visit(`/lists/${lists[0].id}`) - cy.get('.namespace-container .menu.namespaces-lists .more-container .menu-list li:first-child .dropdown .dropdown-trigger') + cy.get('.namespace-container .menu.namespaces-lists .menu-list li:first-child .dropdown .dropdown-trigger') .click() - cy.get('.namespace-container .menu.namespaces-lists .more-container .menu-list li:first-child .dropdown .dropdown-content') + cy.get('.namespace-container .menu.namespaces-lists .menu-list li:first-child .dropdown .dropdown-content') .contains('Delete') .click() cy.url() @@ -93,7 +93,7 @@ describe('Lists', () => { cy.get('.global-notification') .should('contain', 'Success') - cy.get('.namespace-container .menu.namespaces-lists .more-container .menu-list') + cy.get('.namespace-container .menu.namespaces-lists .menu-list') .should('not.contain', lists[0].title) cy.location('pathname') .should('equal', '/') @@ -112,7 +112,7 @@ describe('Lists', () => { cy.get('.modal-content [data-cy=modalPrimary]') .click() - cy.get('.namespace-container .menu.namespaces-lists .more-container .menu-list') + cy.get('.namespace-container .menu.namespaces-lists .menu-list') .should('not.contain', lists[0].title) cy.get('main.app-content') .should('contain.text', 'This list is archived. It is not possible to create new or edit tasks for it.') diff --git a/src/components/home/navigation.vue b/src/components/home/navigation.vue index 628998f0..05fb7d14 100644 --- a/src/components/home/navigation.vue +++ b/src/components/home/navigation.vue @@ -51,10 +51,7 @@ @@ -339,7 +319,7 @@ $vikunja-nav-selected-width: 0.4rem; } .menu-label, - .menu-list span.list-menu-link, + .menu-list .list-menu-link, .menu-list a { display: flex; align-items: center; @@ -357,28 +337,21 @@ $vikunja-nav-selected-width: 0.4rem; flex: 0 0 12px; } - .favorite { - margin-left: .25rem; - transition: opacity $transition, color $transition; - opacity: 0; + } + .favorite { + margin-left: .25rem; + transition: opacity $transition, color $transition; + opacity: 0; - &:hover { - color: var(--warning); - } - - &.is-favorite { - opacity: 1; - color: var(--warning); - } + &:hover, + &.is-favorite { + color: var(--warning); } + } - &:hover .favorite { - opacity: 1; - } - - &:hover { - background: transparent; - } + .favorite.is-favorite, + .list-menu:hover .favorite { + opacity: 1; } .menu-label { @@ -397,6 +370,8 @@ $vikunja-nav-selected-width: 0.4rem; display: flex; align-items: center; justify-content: space-between; + color: $vikunja-nav-color; + padding: 0 .25rem; .menu-label { margin-bottom: 0; @@ -415,11 +390,6 @@ $vikunja-nav-selected-width: 0.4rem; } } - a:not(.dropdown-item) { - color: $vikunja-nav-color; - padding: 0 .25rem; - } - :deep(.dropdown-trigger) { padding: .5rem; cursor: pointer; @@ -449,7 +419,7 @@ $vikunja-nav-selected-width: 0.4rem; .menu-label, .nsettings, - .menu-list span.list-menu-link, + .menu-list .list-menu-link, .menu-list a { color: $vikunja-nav-color; } @@ -488,7 +458,11 @@ $vikunja-nav-selected-width: 0.4rem; } } - span.list-menu-link, li > a { + a:hover { + background: transparent; + } + + .list-menu-link, li > a { padding: 0.75rem .5rem 0.75rem ($navbar-padding * 1.5 - 1.75rem); transition: all 0.2s ease; @@ -561,7 +535,7 @@ $vikunja-nav-selected-width: 0.4rem; font-family: $vikunja-font; } - span.list-menu-link, li > a { + .list-menu-link, li > a { padding-left: 2rem; display: inline-block; diff --git a/src/components/input/datepicker.vue b/src/components/input/datepicker.vue index df7ce473..1f1854a7 100644 --- a/src/components/input/datepicker.vue +++ b/src/components/input/datepicker.vue @@ -1,6 +1,6 @@ diff --git a/src/components/tasks/partials/attachments.vue b/src/components/tasks/partials/attachments.vue index ef174f9c..580cd4fb 100644 --- a/src/components/tasks/partials/attachments.vue +++ b/src/components/tasks/partials/attachments.vue @@ -57,20 +57,23 @@

{{ $t('misc.download') }} {{ $t('task.attachment.copyUrl') }} {{ $t('misc.delete') }} @@ -303,7 +306,7 @@ export default defineComponent({ display: flex; > span:not(:last-child):after, - > a:not(:last-child):after { + > button:not(:last-child):after { content: 'ยท'; padding: 0 .25rem; } @@ -383,7 +386,7 @@ export default defineComponent({ } > span:not(:last-child):after, - > a:not(:last-child):after { + > button:not(:last-child):after { display: none; } @@ -393,6 +396,10 @@ export default defineComponent({ } } +.attachment-info-meta-button { + color: var(--link); +} + @keyframes bounce { from, 20%, diff --git a/src/components/tasks/partials/singleTaskInList.vue b/src/components/tasks/partials/singleTaskInList.vue index 2e40e6f4..0380c480 100644 --- a/src/components/tasks/partials/singleTaskInList.vue +++ b/src/components/tasks/partials/singleTaskInList.vue @@ -41,6 +41,7 @@ /> @@ -254,6 +255,11 @@ export default defineComponent({ display: inline-block; flex: 1 0 50%; + .dueDate { + display: inline-block; + margin-left: 5px; + } + .overdue { color: var(--danger); }