Css files updated.

This commit is contained in:
Jesse Malotaux 2025-03-10 12:52:22 +01:00
parent 68a2eda491
commit e03405dfb0
2 changed files with 60 additions and 0 deletions

32
fe/src/assets/_macro.css Normal file
View file

@ -0,0 +1,32 @@
/* @reference "main"; */
hr.spacer {
@apply relative
w-6
border
border-gray-300
opacity-80
overflow-visible;
&::before,
&::after {
@apply content-['']
absolute
top-1/2
-translate-y-1/2
size-2
bg-gray-300
rounded-full;
}
&::before {
@apply -left-1;
}
&::after {
@apply -right-1;
}
&:last-of-type {
@apply hidden;
}
}

View file

@ -1,3 +1,4 @@
@import './_macro';
@import 'tailwindcss'; @import 'tailwindcss';
@variant dark (&:where(.dark, .dark *)); @variant dark (&:where(.dark, .dark *));
@ -54,3 +55,30 @@ h5 {
border border
border-white/15; border-white/15;
} }
input {
@apply w-full
px-2 py-1
border
border-slate-400
text-white
rounded-md
bg-black/20;
}
:has(> input + span) {
@apply flex;
input {
@apply rounded-r-none;
}
span {
@apply flex
items-center
px-2
rounded-r-md
text-white
bg-slate-400;
}
}