Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
import LanguageSection from './components/account/LanguageSection.vue'
import Quota from './components/account/Quota.vue'
import Navigation from './components/navigation/Navigation.vue'
import IconClose from 'vue-material-design-icons/Close.vue'

Check failure on line 54 in src/App.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Unable to resolve path to module 'vue-material-design-icons/Close.vue'
import { defineComponent } from 'vue'

export default defineComponent({
Expand Down Expand Up @@ -97,7 +97,7 @@
}

.navigation {
background-color: var(--ion-color-cool-grey-c1);
background-color: var(--ion-surface-secondary);
width: 15%;
}

Expand Down
10 changes: 9 additions & 1 deletion src/components/account/Language.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import { savePrimaryAccountProperty } from '../../service/PersonalInfo/PersonalInfoService.js'
import { handleError } from '../../utils/handlers.js'

import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'

Check failure on line 39 in src/components/account/Language.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Unable to resolve path to module '@nextcloud/vue/dist/Components/NcSelect.js'

export default {
name: 'Language',
Expand Down Expand Up @@ -108,9 +108,17 @@
}
</script>

<style lang="scss" scoped>
<style lang="scss">
.language {
display: grid;
max-width: 500px;
}

li.vs__dropdown-option{
background-color: var(--ion-button-sidebar-background);
color: var(--ion-button-sidebar-text);
&.vs__dropdown-option--highlight {
background-color: var(--ion-button-sidebar-background-hover);
}
}
</style>
18 changes: 17 additions & 1 deletion src/components/navigation/Navigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
import { translate as t } from '@nextcloud/l10n'
import { defineComponent } from 'vue'

import IconAccount from 'vue-material-design-icons/Account.vue'

Check failure on line 33 in src/components/navigation/Navigation.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Unable to resolve path to module 'vue-material-design-icons/Account.vue'
import IconLock from 'vue-material-design-icons/Lock.vue'

Check failure on line 34 in src/components/navigation/Navigation.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Unable to resolve path to module 'vue-material-design-icons/Lock.vue'
import IconHeadset from 'vue-material-design-icons/Headset.vue'

Check failure on line 35 in src/components/navigation/Navigation.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Unable to resolve path to module 'vue-material-design-icons/Headset.vue'
import IconChevronLeft from 'vue-material-design-icons/ChevronLeft.vue'

Check failure on line 36 in src/components/navigation/Navigation.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Unable to resolve path to module 'vue-material-design-icons/ChevronLeft.vue'

// @ts-expect-error: Cannot find module or its corresponding type declarations.
import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
Expand All @@ -56,7 +56,7 @@
})
</script>

<style scoped>
<style>
.settings-navigation {
margin-left: 14px;
margin-top: 24px;
Expand All @@ -69,5 +69,21 @@
margin-left: -14px;
}
}

.app-navigation-entry {
li div.app-navigation-entry{
background-color: var(--ion-button-sidebar-background);
color: var(--ion-button-sidebar-text);
border-radius: 100px;
width: 95%;
&:hover {
background-color: var(--ion-button-sidebar-background-hover);
}
&:active {
background-color: var(--ion-button-sidebar-background-active);
}
}
}
}

</style>
7 changes: 7 additions & 0 deletions src/components/security/AuthToken.vue
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,13 @@ export default defineComponent({
<style lang="scss" scoped>
@use '../../../../../core/css/variables.scss' as variables;

tr.auth-token {
&:hover {
background-color: var(--ion-button-sidebar-background-hover);
color: var(--ion-button-sidebar-text);
}
}

.auth-token {
border-top: 2px solid var(--color-border);
max-width: 200px;
Expand Down
Loading