coolify/resources/css/app.css

170 lines
2.9 KiB
CSS
Raw Normal View History

@import "./fonts.css" layer(base);
@import "tailwindcss";
2023-05-03 12:36:53 +00:00
@import "./utilities.css";
@plugin 'tailwind-scrollbar';
@plugin '@tailwindcss/typography';
@plugin '@tailwindcss/forms';
2024-06-24 09:21:39 +00:00
@source '../../storage/framework/views/*.php';
2024-06-24 09:21:39 +00:00
@custom-variant dark (&:where(.dark, .dark *));
2024-06-24 09:21:39 +00:00
@theme {
--font-sans: Inter, sans-serif;
--color-base: #101010;
--color-warning: #fcd452;
--color-success: #16a34a;
--color-error: #dc2626;
--color-coollabs: #6b16ed;
--color-coollabs-100: #7317ff;
--color-coolgray-100: #181818;
--color-coolgray-200: #202020;
--color-coolgray-300: #242424;
--color-coolgray-400: #282828;
--color-coolgray-500: #323232;
}
/*
The default border color has changed to `currentcolor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
2024-03-25 09:41:44 +00:00
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentcolor);
}
}
@keyframes lds-heart {
0% {
transform: scale(1);
}
5% {
transform: scale(1.2);
}
39% {
transform: scale(0.85);
}
45% {
transform: scale(1);
}
60% {
transform: scale(0.95);
}
100% {
transform: scale(0.9);
}
}
/*
* Base styles
*/
html,
body {
@apply w-full min-h-full bg-neutral-50 dark:bg-base dark:text-neutral-400;
2024-03-25 09:41:44 +00:00
}
body {
@apply min-h-screen text-sm antialiased scrollbar;
}
option {
2024-03-24 15:00:25 +00:00
@apply dark:text-white dark:bg-coolgray-100;
}
2024-03-20 11:54:06 +00:00
button[isError]:not(:disabled) {
2024-03-24 15:00:25 +00:00
@apply text-white bg-red-600 hover:bg-red-700;
2023-07-13 11:16:24 +00:00
}
2024-03-20 11:54:06 +00:00
button[isHighlighted]:not(:disabled) {
2024-03-25 09:41:44 +00:00
@apply text-white bg-coollabs hover:bg-coollabs-100;
2024-02-02 10:50:28 +00:00
}
2024-03-19 14:37:16 +00:00
h1 {
@apply text-3xl font-bold dark:text-white;
2023-05-18 11:26:35 +00:00
}
2024-03-19 14:37:16 +00:00
h2 {
2024-03-24 15:00:25 +00:00
@apply text-xl font-bold dark:text-white;
2023-05-18 11:26:35 +00:00
}
2024-03-19 14:37:16 +00:00
h3 {
2024-03-24 15:00:25 +00:00
@apply text-lg font-bold dark:text-white;
2024-03-19 14:37:16 +00:00
}
h4 {
2024-03-24 15:00:25 +00:00
@apply text-base font-bold dark:text-white;
2024-03-19 14:37:16 +00:00
}
a {
2024-03-25 09:41:44 +00:00
@apply hover:text-black dark:hover:text-white;
2023-12-06 15:32:40 +00:00
}
2023-06-05 22:18:48 +00:00
label {
2024-03-24 15:00:25 +00:00
@apply dark:text-neutral-400;
2024-03-19 14:37:16 +00:00
}
2024-03-19 14:37:16 +00:00
table {
@apply min-w-full divide-y dark:divide-coolgray-200 divide-neutral-300;
2024-03-19 14:37:16 +00:00
}
thead {
@apply uppercase;
}
tbody {
2024-03-24 15:00:25 +00:00
@apply divide-y dark:divide-coolgray-200 divide-neutral-300;
2024-03-19 14:37:16 +00:00
}
tr {
2024-03-28 11:30:06 +00:00
@apply text-black dark:text-neutral-400 dark:hover:bg-black hover:bg-neutral-200;
2023-05-22 09:21:03 +00:00
}
2024-03-19 14:37:16 +00:00
tr th {
2024-03-25 18:07:59 +00:00
@apply px-3 py-3.5 text-left text-black dark:text-white;
}
2023-05-17 13:46:20 +00:00
2024-03-19 14:37:16 +00:00
tr th:first-child {
@apply py-3.5 pr-3 pl-4 sm:pl-6;
2023-06-02 10:34:45 +00:00
}
2024-03-19 14:37:16 +00:00
tr td {
@apply px-3 py-4 whitespace-nowrap;
2023-05-16 19:49:29 +00:00
}
2024-03-19 14:37:16 +00:00
tr td:first-child {
@apply pr-3 pl-4 font-bold sm:pl-6;
2023-05-16 19:49:29 +00:00
}
section {
@apply mb-12;
}
/*
* Utility classes
*/
.input[type="password"] {
padding-right: var(--padding-10);
}
2023-05-25 13:47:27 +00:00
.lds-heart {
2023-06-05 22:18:48 +00:00
animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
2023-05-25 13:47:27 +00:00
}