1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-18 09:04:35 +01:00
invoiceninja/resources/sass/components/buttons.scss

46 lines
634 B
SCSS
Raw Normal View History

.button {
@apply rounded py-3 px-4 text-sm leading-4 transition duration-150 ease-in-out;
}
button:disabled {
@apply opacity-50 cursor-not-allowed;
}
.button-primary {
@apply text-white;
&:hover {
@apply font-semibold;
}
}
.button-block {
@apply block w-full;
}
2020-03-23 18:10:42 +01:00
.button-danger {
@apply bg-red-500 text-white;
&:hover {
@apply bg-red-600;
}
}
.button-secondary {
@apply bg-gray-100;
&:hover {
@apply bg-gray-200;
}
}
.button-link {
&:hover {
@apply font-semibold underline;
2020-03-23 18:10:42 +01:00
}
&:focus {
@apply outline-none underline;
}
}