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{
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)"
>
</profile-list>
<div v-bind="$attrs" class="card-body">
<div v-bind="$attrs" class="card-body bg-white">
<div class="row">
<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>
@ -34,7 +34,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<div v-if="searchResults">
<ul class="list-group">
<li
class="list-group-item"
class="list-group-item bg-white"
v-for="result in searchResults"
:key="result.id"
@click="addResult(result)"

View File

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

View File

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

View File

@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
class="text-decoration-none d-flex"
: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="d-flex align-items-center justify-content-center me-3">
<Avatar :name="profile.nickname"/>

View File

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

View File

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