Files
short/src/app/globals.css
T
2025-04-01 13:41:02 +02:00

110 lines
1.6 KiB
CSS

@import "tailwindcss";
@utility common-red {
@apply text-red-800;
}
body {
@apply text-gray-300 bg-gray-900;
}
h1 {
@apply text-5xl font-bold;
}
h2 {
@apply text-2xl font-bold;
}
.form-group {
@apply mb-2;
}
.form-field-error {
@apply common-red;
}
.form-label-error {
@apply common-red;
}
form {
@apply w-full;
}
input {
@apply w-full appearance-none bg-gray-800 border border-gray-800 text-gray-300 py-3 px-4 mb-1 leading-tight focus:outline-none focus:bg-gray-700 rounded;
}
select {
@apply w-full appearance-none bg-gray-800 border border-gray-800 text-gray-300 py-3 px-4 mb-1 leading-tight focus:outline-none focus:bg-gray-700 rounded;
}
label {
@apply block uppercase tracking-wide text-xs font-bold mb-2;
}
button {
@apply rounded bg-green-600 hover:bg-green-700 text-white py-2 px-4 disabled:opacity-50;
}
.button-icon {
@apply h-5 w-5 inline-block align-middle;
}
.zebra {
@apply even:bg-slate-800 p-2 py-5 rounded;
}
@keyframes slide-in {
0% {
transform: translateY(-30px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
.slide-animated {
animation: slide-in 0.7s ease forwards;
opacity: 0;
}
@keyframes zoom-in {
0% {
transform: scale(0.7);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 1;
}
}
.zoom-animated {
animation: zoom-in 1.5s ease forwards;
transform: scale(0.7);
}
@keyframes fade-in {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.fade-animated {
animation: fade-in 0.7s ease forwards;
opacity: 0;
}
.vcenter {
@apply flex items-center flex-col justify-center mt-5;
min-height: 80vh;
}