adrema/resources/css/buttons.css

39 lines
745 B
CSS
Raw Normal View History

2021-07-03 23:52:44 +02:00
.btn {
2021-07-04 00:39:39 +02:00
@apply px-3 py-2 uppercase no-underline text-sm text-white items-center justify-center bg-primary-700 rounded;
2021-07-03 23:52:44 +02:00
svg {
}
&.btn-sm {
2021-07-04 00:39:39 +02:00
@apply text-xs w-6 h-6 px-1 py-1;
2021-07-03 23:52:44 +02:00
svg {
2021-07-04 00:39:39 +02:00
@apply w-3 h-3 text-primary-100 flex-none;
2021-07-03 23:52:44 +02:00
}
}
&.btn-primary {
@apply bg-primary-700;
&:hover {
@apply bg-primary-500;
}
}
2021-07-04 00:39:39 +02:00
&.btn-warning {
@apply bg-yellow-700;
&:hover {
@apply bg-yellow-500;
}
}
&.btn-info {
@apply bg-blue-700;
&:hover {
@apply bg-blue-500;
}
}
2021-07-03 23:52:44 +02:00
&.btn-danger {
@apply bg-red-700;
&:hover {
@apply bg-red-500;
}
}
}