[web] Simplify styling

This commit is contained in:
Alain Nussbaumer 2024-03-05 13:25:07 +01:00
parent ea450665da
commit 3f4c6b2cf0
18 changed files with 18 additions and 21 deletions

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p v-if="title" class="title is-4" v-text="title" />

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<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">
<div class="card-content">
<p class="title is-4" v-text="$t('dialog.add.rss.title')" />

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<form class="card" @submit.prevent="play">
<div class="card-content">
<p class="title is-4" v-text="$t('dialog.add.stream.title')" />

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<cover-artwork

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<cover-artwork

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p class="title is-4">

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p class="title is-4">

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p class="title is-4">

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p class="title is-4" v-text="directory" />

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p class="title is-4">

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p class="title is-4">

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p class="title is-4" v-text="$t('dialog.playlist.save.title')" />

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p class="title is-4">

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p class="title is-4" v-text="item.title" />

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p class="title is-4" v-text="track.title" />

View File

@ -3,7 +3,7 @@
<transition name="fade">
<div v-if="show" class="modal is-active">
<div class="modal-background" @click="$emit('close')" />
<div class="modal-content fd-modal-card">
<div class="modal-content">
<div class="card">
<div class="card-content">
<p class="title is-4" v-text="track.name" />

View File

@ -295,10 +295,7 @@ a.navbar-item {
}
/* Only scroll content if modal contains a card component */
.fd-modal-card {
overflow: visible;
}
.fd-modal-card .card-content {
.modal-content .card-content {
max-height: calc(100vh - 200px);
overflow: auto;
}