doneth.at/app/css/main.css

114 lines
1.6 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
body {
@apply bg-gray-200;
}
form input[type=text],
form input[type=password] {
@apply shadow;
@apply appearance-none;
@apply border;
@apply rounded;
@apply w-full;
@apply py-2;
@apply px-3;
@apply text-gray-700;
@apply leading-tight;
}
form div.error input {
@apply border-red-500;
}
form div.error ul.errors {
@apply pl-1 pt-1;
}
form div.error ul.errors li {
@apply text-red-500 text-xs italic;
}
form input[type=text]:focus,
form input[type=password]:focus {
@apply outline-none;
@apply shadow-outline;
}
form input[type=submit] {
@apply font-bold py-2 px-4 rounded w-full mt-2;
}
form.auth-form input[type=submit] {
@apply bg-blue-500 text-white;
}
.green-btn {
@apply bg-green-500 text-white;
}
.accomplishment .difficulty {
@apply font-bold;
}
.accomplishment .difficulty-easy {
@apply text-green-700;
}
.accomplishment .difficulty-medium {
@apply text-orange-700;
}
.accomplishment .difficulty-hard {
@apply text-red-700;
}
.green-btn:hover {
@apply bg-green-700;
}
.orange-btn {
@apply bg-orange-500 text-white;
}
.orange-btn:hover {
@apply bg-orange-700;
}
.red-btn {
@apply bg-red-500 text-white;
}
.red-btn:hover {
@apply bg-red-700;
}
form.auth-form input[type=submit]:hover {
@apply bg-blue-700;
}
form input[type=submit]:focus {
@apply outline-none shadow-outline;
}
.link {
@apply text-blue-700 underline;
}
.link:hover {
@apply text-blue-500;
}
.card {
@apply bg-white shadow-md rounded px-8 pt-6 pb-6 mb-4 mt-4;
}
.auth-form.card {
@apply pb-4;
}