Use Bootstrap classes

This commit is contained in:
Brain 2024-08-21 20:25:28 +02:00
parent eb5de926d0
commit c463c2f1ad
Signed by untrusted user: Brain
GPG Key ID: EE936E31EE3AEE7A
7 changed files with 7 additions and 14 deletions

View File

@ -21,11 +21,3 @@
.search-card{ .search-card{
height: 100%; height: 100%;
} }
.card-body {
background-color: #fff;
}
.list-group-flush > .list-group-item {
background-color: #fff;
}

View File

@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
@update-values="this.$emit('update-values', this.values)" @update-values="this.$emit('update-values', this.values)"
> >
</profile-list> </profile-list>
<div v-bind="$attrs" class="card-body"> <div v-bind="$attrs" class="card-body bg-white">
<div class="row"> <div class="row">
<div class="col-12 col-md-4 col-lg-3 col-xl-2"> <div class="col-12 col-md-4 col-lg-3 col-xl-2">
<div class="form-control-plaintext form-control-sm">Eintrag hinzufügen:</div> <div class="form-control-plaintext form-control-sm">Eintrag hinzufügen:</div>
@ -34,7 +34,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<div v-if="searchResults"> <div v-if="searchResults">
<ul class="list-group"> <ul class="list-group">
<li <li
class="list-group-item" class="list-group-item bg-white"
v-for="result in searchResults" v-for="result in searchResults"
:key="result.id" :key="result.id"
@click="addResult(result)" @click="addResult(result)"

View File

@ -14,6 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
> >
<span <span
class="page-link pointer" class="page-link pointer"
:class="{ 'bg-white': page !== current }"
@click="onPageClicked(page)" @click="onPageClicked(page)"
> >
{{ page }} {{ page }}

View File

@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<template> <template>
<ul class="list-group list-group-flush"> <ul class="list-group list-group-flush">
<li <li
class="list-group-item" class="list-group-item bg-white"
v-for="(value, valueKey) in values" v-for="(value, valueKey) in values"
:key="value.id" :key="value.id"
> >

View File

@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
class="text-decoration-none d-flex" class="text-decoration-none d-flex"
:to="{ path: `/s/profile/${profile.user_id}` }" :to="{ path: `/s/profile/${profile.user_id}` }"
> >
<div class="card w-100"> <div class="card w-100 bg-white">
<div class="card-body d-flex"> <div class="card-body d-flex">
<div class="d-flex align-items-center justify-content-center me-3"> <div class="d-flex align-items-center justify-content-center me-3">
<Avatar :name="profile.nickname"/> <Avatar :name="profile.nickname"/>

View File

@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
</h3> </h3>
<div class="card w-100"> <div class="card w-100">
<slot name="card-body"> <slot name="card-body">
<div class="card-body"> <div class="card-body bg-white">
<slot></slot> <slot></slot>
</div> </div>
</slot> </slot>

View File

@ -167,7 +167,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
</Section> </Section>
<Section title="Sonstiges"> <Section title="Sonstiges">
<div class="mb-3"> <div class="mb-3 bg-white">
<label class="form-label">Über mich</label> <label class="form-label">Über mich</label>
<textarea <textarea
class="form-control" class="form-control"