[web] Simplify styling
This commit is contained in:
parent
ea450665da
commit
3f4c6b2cf0
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p v-if="title" class="title is-4" v-text="title" />
|
<p v-if="title" class="title is-4" v-text="title" />
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<form class="card" @submit.prevent="add_stream">
|
<form class="card" @submit.prevent="add_stream">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4" v-text="$t('dialog.add.rss.title')" />
|
<p class="title is-4" v-text="$t('dialog.add.rss.title')" />
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<form class="card" @submit.prevent="play">
|
<form class="card" @submit.prevent="play">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4" v-text="$t('dialog.add.stream.title')" />
|
<p class="title is-4" v-text="$t('dialog.add.stream.title')" />
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<cover-artwork
|
<cover-artwork
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<cover-artwork
|
<cover-artwork
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4">
|
<p class="title is-4">
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4">
|
<p class="title is-4">
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4">
|
<p class="title is-4">
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4" v-text="directory" />
|
<p class="title is-4" v-text="directory" />
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4">
|
<p class="title is-4">
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4">
|
<p class="title is-4">
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4" v-text="$t('dialog.playlist.save.title')" />
|
<p class="title is-4" v-text="$t('dialog.playlist.save.title')" />
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4">
|
<p class="title is-4">
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4" v-text="item.title" />
|
<p class="title is-4" v-text="item.title" />
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p
|
<p
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4" v-text="track.title" />
|
<p class="title is-4" v-text="track.title" />
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div v-if="show" class="modal is-active">
|
<div v-if="show" class="modal is-active">
|
||||||
<div class="modal-background" @click="$emit('close')" />
|
<div class="modal-background" @click="$emit('close')" />
|
||||||
<div class="modal-content fd-modal-card">
|
<div class="modal-content">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4" v-text="track.name" />
|
<p class="title is-4" v-text="track.name" />
|
||||||
|
|
|
@ -295,10 +295,7 @@ a.navbar-item {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Only scroll content if modal contains a card component */
|
/* Only scroll content if modal contains a card component */
|
||||||
.fd-modal-card {
|
.modal-content .card-content {
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
.fd-modal-card .card-content {
|
|
||||||
max-height: calc(100vh - 200px);
|
max-height: calc(100vh - 200px);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue