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

48 lines
661 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 {
2021-08-25 16:28:30 +02:00
@apply text-gray-700;
2020-03-23 18:10:42 +01:00
&:hover {
2021-08-25 16:28:30 +02:00
@apply text-gray-900 underline;
2020-03-23 18:10:42 +01:00
}
&:focus {
@apply outline-none underline;
}
}