1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/resources/sass/components/buttons.scss
Benjamin Beganović 2b39c1a5d7 Replace blue color with $primary_color:
- Change ClientPortal helper to return 'bg-primary-darken' instead of 'active-page'
    - Buttons & input fields don't have SASS color now
    - bg-blue-600/900 replaced with primary/primary-darken
    - Production build of assets
2020-09-30 13:31:15 +02:00

46 lines
634 B
SCSS
Vendored

.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;
}
.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;
}
&:focus {
@apply outline-none underline;
}
}