Files

220 lines
4.7 KiB
CSS
Raw Permalink Normal View History

2025-05-14 18:43:23 +08:00
@import "./fonts.css" layer(base);
2024-06-25 13:44:46 +02:00
2025-05-14 18:43:23 +08:00
@import "tailwindcss";
2023-05-03 14:36:53 +02:00
2025-05-14 18:43:23 +08:00
@import "./utilities.css";
2025-05-14 18:43:23 +08:00
@plugin 'tailwind-scrollbar';
@plugin '@tailwindcss/typography';
@plugin '@tailwindcss/forms';
2024-06-24 11:21:39 +02:00
2025-05-14 18:43:23 +08:00
@source '../../storage/framework/views/*.php';
2024-06-24 11:21:39 +02:00
2025-05-14 18:43:23 +08:00
@custom-variant dark (&:where(.dark, .dark *));
2024-06-24 11:21:39 +02:00
2025-05-14 18:43:23 +08:00
@theme {
--font-sans: 'Geist Sans', Inter, sans-serif;
--font-mono: 'Geist Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
--font-geist-sans: 'Geist Sans', Inter, sans-serif;
--font-logs: 'Geist Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
2025-05-14 18:43:23 +08:00
--color-base: #101010;
--color-warning: #fcd452;
--color-warning-50: #fefce8;
--color-warning-100: #fef9c3;
--color-warning-200: #fef08a;
--color-warning-300: #fde047;
--color-warning-400: #fcd452;
--color-warning-500: #facc15;
--color-warning-600: #ca8a04;
--color-warning-700: #a16207;
--color-warning-800: #854d0e;
--color-warning-900: #713f12;
--color-success: #22C55E;
2025-05-14 18:43:23 +08:00
--color-error: #dc2626;
--color-coollabs-50: #f5f0ff;
2025-05-14 18:43:23 +08:00
--color-coollabs: #6b16ed;
--color-coollabs-100: #7317ff;
--color-coollabs-200: #5a12c7;
--color-coollabs-300: #4a0fa3;
2025-05-14 18:43:23 +08:00
--color-coolgray-100: #181818;
--color-coolgray-200: #202020;
--color-coolgray-300: #242424;
--color-coolgray-400: #282828;
--color-coolgray-500: #323232;
}
2025-05-14 18:43:23 +08:00
/*
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 10:41:44 +01:00
2025-05-14 18:43:23 +08: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.
*/
2026-06-01 10:13:56 +02:00
@layer components {
.terminal-mobile-key {
@apply min-h-10 rounded-md border border-white/10 bg-white/10 px-2 py-2 text-sm font-semibold text-white shadow-inner active:bg-white/25;
}
}
2025-05-14 18:43:23 +08:00
@layer base {
2025-05-14 18:43:23 +08:00
*,
::after,
::before,
::backdrop,
::file-selector-button {
2025-05-19 22:27:04 +02:00
border-color: var(--color-coolgray-200, currentcolor);
2025-05-14 18:43:23 +08:00
}
2024-03-22 16:52:20 +01:00
}
2025-05-14 18:43:23 +08:00
@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);
}
}
2025-05-14 18:43:23 +08:00
/*
* Base styles
*/
html,
body {
@apply w-full min-h-full bg-gray-50 dark:bg-base dark:text-neutral-400;
2024-03-25 10:41:44 +01:00
}
2025-05-14 18:43:23 +08:00
body {
@apply min-h-screen text-sm font-sans antialiased scrollbar overflow-x-hidden;
}
.coolify-monaco-editor {
@apply min-w-0 w-full;
overflow-x: hidden;
}
.coolify-monaco-editor .monaco-editor,
.coolify-monaco-editor .overflow-guard {
max-width: 100%;
2024-03-22 16:52:20 +01:00
}
option {
2024-03-24 16:00:25 +01:00
@apply dark:text-white dark:bg-coolgray-100;
2024-03-22 16:52:20 +01:00
}
2024-03-20 12:54:06 +01:00
button[isError]:not(:disabled) {
@apply text-red-800 dark:text-red-300 bg-red-50 dark:bg-red-900/30 border-red-300 dark:border-red-800 hover:bg-red-300 hover:text-white dark:hover:bg-red-800 dark:hover:text-white;
2023-07-13 13:16:24 +02:00
}
2024-03-20 12:54:06 +01:00
button[isHighlighted]:not(:disabled) {
@apply text-coollabs-200 dark:text-white bg-coollabs-50 dark:bg-coollabs/20 border-coollabs dark:border-coollabs-100 hover:bg-coollabs hover:text-white dark:hover:bg-coollabs-100 dark:hover:text-white;
2024-02-02 11:50:28 +01:00
}
2024-03-19 15:37:16 +01:00
h1 {
2024-10-29 15:20:36 +01:00
@apply text-3xl font-bold dark:text-white;
2023-05-18 13:26:35 +02:00
}
2024-03-19 15:37:16 +01:00
h2 {
2024-03-24 16:00:25 +01:00
@apply text-xl font-bold dark:text-white;
2023-05-18 13:26:35 +02:00
}
2024-03-19 15:37:16 +01:00
h3 {
2024-03-24 16:00:25 +01:00
@apply text-lg font-bold dark:text-white;
2024-03-19 15:37:16 +01:00
}
h4 {
2024-03-24 16:00:25 +01:00
@apply text-base font-bold dark:text-white;
2024-03-19 15:37:16 +01:00
}
a {
2024-03-25 10:41:44 +01:00
@apply hover:text-black dark:hover:text-white;
2023-12-06 16:32:40 +01:00
}
button:focus-visible,
a:focus-visible {
@apply outline-none ring-2 ring-coollabs dark:ring-warning ring-offset-2 dark:ring-offset-coolgray-100;
}
2023-06-06 00:18:48 +02:00
label {
2024-03-24 16:00:25 +01:00
@apply dark:text-neutral-400;
2024-03-19 15:37:16 +01:00
}
2024-03-19 15:37:16 +01:00
table {
@apply min-w-full divide-y dark:divide-coolgray-200 divide-neutral-300;
2024-03-19 15:37:16 +01:00
}
thead {
@apply uppercase;
}
tbody {
2024-03-24 16:00:25 +01:00
@apply divide-y dark:divide-coolgray-200 divide-neutral-300;
2024-03-19 15:37:16 +01:00
}
tr {
@apply text-black dark:text-neutral-400 dark:hover:bg-coolgray-300 hover:bg-neutral-100;
2023-05-22 11:21:03 +02:00
}
2024-03-19 15:37:16 +01:00
tr th {
2024-03-25 19:07:59 +01:00
@apply px-3 py-3.5 text-left text-black dark:text-white;
2023-07-26 13:23:47 +02:00
}
2023-05-17 15:46:20 +02:00
2024-03-19 15:37:16 +01:00
tr th:first-child {
2025-05-14 18:43:23 +08:00
@apply py-3.5 pr-3 pl-4 sm:pl-6;
2023-06-02 12:34:45 +02:00
}
2024-03-19 15:37:16 +01:00
tr td {
@apply px-3 py-4 whitespace-nowrap;
2023-05-16 21:49:29 +02:00
}
2024-03-19 15:37:16 +01:00
tr td:first-child {
2025-05-14 18:43:23 +08:00
@apply pr-3 pl-4 font-bold sm:pl-6;
2023-05-16 21:49:29 +02:00
}
2024-10-30 08:39:14 +01:00
section {
@apply mb-12;
}
2025-05-14 18:43:23 +08:00
/*
* Utility classes
*/
.input[type="password"] {
@apply pr-[2.4rem];
2023-10-05 10:58:08 +02:00
}
2023-05-25 15:47:27 +02:00
.lds-heart {
2023-06-06 00:18:48 +02:00
animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
2025-12-04 13:14:44 +01:00
}
.log-highlight {
background-color: rgba(234, 179, 8, 0.4);
border-radius: 2px;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
.dark .log-highlight {
background-color: rgba(234, 179, 8, 0.3);
}