119 lines
1.7 KiB
CSS
119 lines
1.7 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 pt-1 pl-1;
|
|
}
|
|
|
|
form div.error ul.errors li {
|
|
@apply text-xs italic text-red-500;
|
|
}
|
|
|
|
form input[type=text]:focus,
|
|
form input[type=password]:focus {
|
|
@apply outline-none;
|
|
@apply shadow-outline;
|
|
}
|
|
|
|
form input[type=submit] {
|
|
@apply px-4 py-2 mt-2 font-bold rounded;
|
|
}
|
|
|
|
form.auth-form input[type=submit] {
|
|
@apply w-full text-white bg-blue-500;
|
|
}
|
|
|
|
.green-btn {
|
|
@apply text-white bg-green-500;
|
|
}
|
|
|
|
.accomplishment .text {
|
|
@apply flex-grow;
|
|
}
|
|
|
|
.accomplishment .difficulty {
|
|
@apply flex-shrink-0 pl-1 font-bold text-right;
|
|
min-width: 3em;
|
|
}
|
|
|
|
.difficulty-easy {
|
|
@apply text-green-700;
|
|
}
|
|
|
|
.difficulty-medium {
|
|
@apply text-orange-700;
|
|
}
|
|
|
|
.difficulty-hard {
|
|
@apply text-red-700;
|
|
}
|
|
|
|
.green-btn:hover {
|
|
@apply bg-green-700;
|
|
}
|
|
|
|
.orange-btn {
|
|
@apply text-white bg-orange-500;
|
|
}
|
|
|
|
.orange-btn:hover {
|
|
@apply bg-orange-700;
|
|
}
|
|
|
|
.red-btn {
|
|
@apply text-white bg-red-500;
|
|
}
|
|
|
|
.red-btn:hover {
|
|
@apply bg-red-700;
|
|
}
|
|
|
|
|
|
form.auth-form input[type=submit]:hover {
|
|
@apply bg-blue-700;
|
|
}
|
|
|
|
form input[type=submit]:focus {
|
|
@apply shadow-outline outline-none;
|
|
}
|
|
|
|
.link {
|
|
@apply text-blue-700 underline;
|
|
}
|
|
|
|
.link:hover {
|
|
@apply text-blue-500;
|
|
}
|
|
|
|
.card {
|
|
@apply px-8 pt-6 pb-6 mt-4 mb-4 bg-white rounded shadow-md;
|
|
}
|
|
|
|
.auth-form.card {
|
|
@apply pb-4;
|
|
}
|