cannery/assets/css/components.scss

58 lines
1.3 KiB
SCSS
Raw Normal View History

2021-03-11 21:12:55 -05:00
@layer components {
.input {
2021-09-10 21:37:09 -04:00
@apply rounded-lg px-4 py-2 border focus:outline-none;
2021-03-11 21:12:55 -05:00
@apply shadow-sm focus:shadow-lg;
@apply transition-all duration-300 ease-in-out;
}
2022-02-05 14:18:12 -05:00
2021-03-11 21:12:55 -05:00
.input-primary {
@apply border-primary-500 hover:border-primary-600 active:border-primary-600;
@apply text-black;
}
2022-02-05 14:18:12 -05:00
2021-03-11 21:12:55 -05:00
.checkbox {
-ms-transform: scale(1.5);
-moz-transform: scale(1.5);
-webkit-transform: scale(1.5);
-o-transform: scale(1.5);
transform: scale(1.5);
padding: 10px;
2022-02-19 18:06:42 -05:00
margin: 1em auto;
2021-03-11 21:12:55 -05:00
}
2022-02-05 14:18:12 -05:00
2021-03-11 21:12:55 -05:00
.title {
@apply leading-5 tracking-wide;
}
2022-02-05 14:18:12 -05:00
2021-03-11 21:12:55 -05:00
.btn {
@apply focus:outline-none px-4 py-2 rounded-lg;
@apply shadow-sm focus:shadow-lg;
@apply transition-all duration-300 ease-in-out;
}
2022-02-05 14:18:12 -05:00
2021-03-11 21:12:55 -05:00
.btn-primary {
@apply bg-primary-500 focus:bg-primary-600 active:bg-primary-600;
2021-09-10 21:37:09 -04:00
@apply border-primary-500 focus:border-primary-600 active:border-primary-600;
@apply text-white;
}
.btn-alert {
2022-02-05 14:18:12 -05:00
@apply bg-red-600 focus:bg-red-700 active:bg-red-800;
@apply border-red-600 focus:border-red-700 active:border-red-800;
2021-03-11 21:12:55 -05:00
@apply text-white;
}
2022-02-05 14:18:12 -05:00
2021-03-11 21:12:55 -05:00
.hr {
2022-02-05 16:22:20 -05:00
@apply border border-primary-300 w-full max-w-2xl;
2021-03-11 21:12:55 -05:00
}
2021-09-10 21:37:09 -04:00
2022-02-15 23:52:44 -05:00
.hr-light {
@apply border border-white w-full max-w-2xl;
}
2021-09-10 21:37:09 -04:00
.link {
@apply hover:underline;
@apply transition-colors duration-500 ease-in-out;
}
2022-02-05 14:18:12 -05:00
}