diff --git a/resources/css/app.css b/resources/css/app.css index 3cdef5ea..b549e5dd 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -7,3 +7,4 @@ @import "buttons"; @import "table"; @import "sidebar"; +@import "bool"; diff --git a/resources/css/bool.css b/resources/css/bool.css new file mode 100644 index 00000000..0ca6b414 --- /dev/null +++ b/resources/css/bool.css @@ -0,0 +1,26 @@ +.bool { + @apply rounded-full text-xs w-5 h-5 flex items-center justify-center leading-none; + &.enabled { + @apply bg-green-800 text-red-100; + } + &.disabled { + @apply bg-red-800 text-green-100; + } + svg { + @apply w-2 h-2; + } +} + + +.bool-row { + @apply flex; + .bool { + @apply rounded-none; + &:last-child { + @apply rounded-r-full; + } + &:first-child { + @apply rounded-l-full; + } + } +} diff --git a/resources/js/components/VBool.vue b/resources/js/components/VBool.vue index 1d8d1365..ad684877 100644 --- a/resources/js/components/VBool.vue +++ b/resources/js/components/VBool.vue @@ -1,6 +1,7 @@ diff --git a/resources/js/views/member/Index.vue b/resources/js/views/member/Index.vue index 54d4f4c1..ef0c2c60 100644 --- a/resources/js/views/member/Index.vue +++ b/resources/js/views/member/Index.vue @@ -8,9 +8,7 @@
Straße
PLZ
Ort
-
Mittendrin
-
Nami
-
Check
+
Tags
Rechnung
Geburtstag
Eintritt
@@ -24,13 +22,11 @@
- -
-
- -
-
- +
+ M + N + C +