move app navigation to new nextcloud-vue components

Yes, i know. Commit early and often, sorry for that.

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke 2019-10-03 19:12:47 +02:00
parent 2b489ec6fe
commit 101bd148ae
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
4 changed files with 30 additions and 36 deletions

View File

@ -21,20 +21,13 @@
*/
#app-settings {
#calendar-input-form-label {
display: block;
text-align: center;
background-position-x: 8px;
}
.settings-fieldset-interior-item {
padding: 5px 0;
.action-checkbox {
line-height: unset !important;
.action-checkbox__label::before {
&__label::before {
margin: 0 6px 3px 3px !important;
}
}
@ -42,17 +35,23 @@
.action-button {
min-height: unset !important;
.action-button__icon {
&__icon {
margin: 0 6px 3px 3px !important;
height: 14px !important;
width: 14px !important;
background-position: unset !important;
}
.action-button__longtext {
&__longtext {
width: unset !important;
padding: 0 !important;
}
}
&__import-button {
display: block;
text-align: center;
background-position-x: 8px;
}
}
}

43
css/import.scss vendored
View File

@ -21,36 +21,31 @@
*/
.import-modal {
.modal-container {
padding: 24px !important;
min-width: 50%;
overflow: visible !important;
&__title {
}
&__subtitle {
}
&__file-list {
}
&__actions {
}
.import-modal-file-item {
&--header {
.import-modal__title,
.import-modal__subtitle {
text-align: center;
}
&__filename {
.import-modal-file-item {
display: flex;
padding-top: 10px;
}
&--header {
font-weight: bold;
}
&__calendar-select {
&__filename {
flex: 2 1 0;
}
&__calendar-select {
flex: 1 1 0;
}
}
}
}

View File

@ -21,7 +21,7 @@
-->
<template>
<modal class="import-modal" @close="cancelImport">
<modal class="import-modal" size="large" @close="cancelImport">
<h2 class="import-modal__title">
{{ $t('calendar', 'Import calendars') }}
</h2>
@ -44,7 +44,6 @@
<div class="import-modal__actions">
<button @click="cancelImport">
{{ $t('calendar', 'Cancel' )}}
Cancel
</button>
<button class="primary" @click="importCalendar">
{{ $n('calendar', 'Import calendar', 'Import calendars', files.length) }}

View File

@ -143,6 +143,7 @@ export default {
* @param {Event} event The change-event of the input-field
*/
async processFiles(event) {
console.debug('user changed files')
this.$store.commit('changeStage', 'processing')
let addedFiles = false