coolify/resources/css/app.css

297 lines
8.1 KiB
CSS
Raw Normal View History

2023-05-12 15:39:07 +02:00
@tailwind base;
2023-03-17 15:33:48 +01:00
@tailwind components;
@tailwind utilities;
2023-05-03 14:36:53 +02:00
2024-03-19 15:37:16 +01:00
html,
body {
@apply h-full bg-neutral-50 text-neutral-800 dark:bg-base dark:text-neutral-400;
2023-05-26 15:19:14 +02:00
}
2023-05-03 14:36:53 +02:00
body {
2023-07-05 21:26:21 +02:00
@apply text-sm antialiased scrollbar;
2023-05-25 21:23:03 +02:00
}
2024-03-25 10:41:44 +01:00
.input,
.select {
2024-03-28 15:05:12 +01:00
@apply text-black dark:bg-coolgray-100 dark:text-white ring-neutral-200 dark:ring-coolgray-300;
}
2024-03-25 10:41:44 +01:00
/* Readonly */
2024-03-25 10:41:44 +01:00
.input {
@apply dark:read-only:text-neutral-500 dark:read-only:ring-0 dark:read-only:bg-coolgray-100/40 placeholder:text-neutral-300 dark:placeholder:text-neutral-700 read-only:text-neutral-500 read-only:bg-neutral-200;
}
2024-03-25 10:41:44 +01:00
/* Focus */
2024-03-25 10:41:44 +01:00
.input,
.select {
@apply focus:ring-2 dark:focus:ring-coolgray-300 focus:ring-neutral-400;
}
2024-03-25 10:41:44 +01:00
.input,
.select {
@apply block w-full py-1.5 rounded border-0 text-sm ring-1 ring-inset;
}
.input[type="password"] {
2024-03-25 10:41:44 +01:00
@apply pr-10;
}
option {
2024-03-24 16:00:25 +01:00
@apply dark:text-white dark:bg-coolgray-100;
}
2024-03-20 15:46:59 +01:00
.button {
2024-04-16 10:09:56 +02:00
@apply flex items-center justify-center gap-2 px-2 py-1 text-sm text-black normal-case border rounded cursor-pointer bg-neutral-200/50 border-neutral-300 hover:bg-neutral-300 dark:bg-coolgray-200 dark:text-white dark:hover:text-white dark:hover:bg-coolgray-500 dark:border-black hover:text-black disabled:cursor-not-allowed min-w-fit focus:outline-1 dark:disabled:text-neutral-600 disabled:border-none disabled:hover:bg-transparent disabled:bg-transparent disabled:text-neutral-300;
2024-03-20 15:46:59 +01:00
}
2024-03-25 10:41:44 +01:00
2024-03-20 12:54:06 +01:00
button[isError]:not(:disabled) {
2024-03-24 16:00:25 +01:00
@apply text-white bg-red-600 hover:bg-red-700;
2023-07-13 13:16:24 +02:00
}
2024-03-20 12:54:06 +01:00
button[isHighlighted]:not(:disabled) {
2024-03-25 10:41:44 +01:00
@apply text-white bg-coollabs hover:bg-coollabs-100;
2024-02-02 11:50:28 +01:00
}
2024-03-19 15:37:16 +01:00
h1 {
2024-03-24 16:00:25 +01:00
@apply text-2xl 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
}
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
}
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 {
2024-03-28 12:30:06 +01:00
@apply text-black dark:text-neutral-400 dark:hover:bg-black hover:bg-neutral-200;
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-05-17 15:46:20 +02:00
2024-03-19 15:37:16 +01:00
tr th:first-child {
@apply py-3.5 pl-4 pr-3 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 {
@apply pl-4 pr-3 font-bold sm:pl-6;
2023-05-16 21:49:29 +02:00
}
2024-03-20 12:54:06 +01:00
.alert-success {
@apply flex items-center gap-2 text-success;
}
2024-03-20 15:46:59 +01:00
2024-03-20 12:54:06 +01:00
.alert-error {
@apply flex items-center gap-2 text-error;
}
2024-03-26 11:52:45 +01:00
.tag {
@apply px-2 py-1 cursor-pointer box-description dark:bg-coolgray-100 dark:hover:bg-coolgray-300 bg-neutral-100 hover:bg-neutral-200;
2024-03-26 11:52:45 +01:00
}
.add-tag {
@apply flex items-center px-2 text-xs cursor-pointer dark:text-neutral-500/20 text-neutral-500 group-hover:text-neutral-700 group-hover:dark:text-white dark:hover:bg-coolgray-300 hover:bg-neutral-200;
}
2024-03-20 12:54:06 +01:00
.dropdown-item {
2024-03-26 10:24:53 +01:00
@apply relative flex cursor-pointer select-none dark:text-white hover:bg-neutral-100 dark:hover:bg-coollabs items-center pr-4 pl-2 py-1 text-xs justify-start outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 gap-2 w-full;
}
.dropdown-item-no-padding {
@apply relative flex cursor-pointer select-none dark:text-white hover:bg-neutral-100 dark:hover:bg-coollabs items-center py-1 text-xs justify-start outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 gap-2 w-full;
2023-06-01 12:15:33 +02:00
}
2024-03-19 15:37:16 +01:00
.badge {
2024-03-24 16:00:25 +01:00
@apply inline-block w-3 h-3 text-xs font-bold leading-none border rounded-full border-neutral-200 dark:border-black;
2024-03-19 15:37:16 +01:00
}
2024-03-20 12:54:06 +01:00
.badge-absolute {
@apply absolute top-0 right-0 w-2 h-2 border-none rounded-t-none rounded-r-none;
}
2024-03-19 15:37:16 +01:00
.badge-success {
@apply bg-success;
}
2024-03-20 12:54:06 +01:00
2024-03-19 15:37:16 +01:00
.badge-warning {
@apply bg-warning;
}
2024-03-20 12:54:06 +01:00
2024-03-19 15:37:16 +01:00
.badge-error {
@apply bg-error;
}
2024-03-20 12:54:06 +01:00
2024-03-25 10:41:44 +01:00
/* [type='checkbox']:checked {
2024-03-19 15:37:16 +01:00
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='black' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
2024-03-25 10:41:44 +01:00
} */
2024-03-19 15:37:16 +01:00
.menu {
@apply flex items-center gap-1;
}
2024-03-20 12:54:06 +01:00
2024-03-19 15:37:16 +01:00
.menu-item {
2024-05-06 13:58:19 +02:00
@apply flex items-center w-full gap-3 px-2 py-1 text-sm sm:pr-0 dark:hover:bg-coolgray-100 dark:hover:text-white hover:bg-neutral-300 min-w-fit sm:min-w-64;
2024-03-19 15:37:16 +01:00
}
2024-03-20 12:54:06 +01:00
2024-03-19 15:37:16 +01:00
.menu-item-active {
2024-03-20 15:46:59 +01:00
@apply text-black rounded-none dark:bg-coolgray-200 dark:text-warning bg-neutral-200;
2024-03-19 15:37:16 +01:00
}
2024-03-25 10:41:44 +01:00
2024-03-24 16:00:25 +01:00
.heading-item-active {
@apply text-black rounded-none dark:bg-coolgray-200 dark:text-warning;
}
2024-03-20 12:54:06 +01:00
2024-03-19 15:37:16 +01:00
.icon {
2024-03-24 16:00:25 +01:00
@apply w-6 h-6 dark:hover:text-white;
2024-03-22 12:47:19 +01:00
}
2024-03-19 15:37:16 +01:00
.scrollbar {
2024-03-25 10:41:44 +01:00
@apply scrollbar-thumb-coollabs-100 dark:scrollbar-track-coolgray-200 scrollbar-track-neutral-200 scrollbar-w-2;
2024-03-19 15:37:16 +01:00
}
.main {
@apply pt-4 pl-24 pr-10 lg:pr-32 lg:pl-44;
}
.custom-modal {
2024-03-20 12:54:06 +01:00
@apply z-50 flex flex-col gap-2 px-8 py-4 border dark:bg-coolgray-100 dark:border-coolgray-200;
2024-03-19 15:37:16 +01:00
}
.navbar-main {
2024-05-06 13:58:19 +02:00
@apply flex flex-col gap-4 pb-2 border-b-2 border-solid h-fit md:flex-row justify-items-start sm:justify-between dark:border-coolgray-200 md:items-center;
2024-03-19 15:37:16 +01:00
}
.loading {
2024-03-25 10:41:44 +01:00
@apply w-4 dark:text-warning text-coollabs;
2023-05-16 21:49:29 +02:00
}
2023-06-07 10:33:45 +02:00
.kbd-custom {
2024-03-25 10:41:44 +01:00
@apply px-2 text-xs border border-dashed rounded border-neutral-700 dark:text-warning;
2023-06-07 10:33:45 +02:00
}
2023-05-16 21:49:29 +02:00
.box {
@apply relative flex lg:flex-row flex-col p-2 transition-colors cursor-pointer min-h-[4rem] dark:bg-coolgray-100 bg-white border text-black dark:text-white hover:text-black border-neutral-200 dark:border-black hover:bg-neutral-100 dark:hover:bg-coollabs-100 dark:hover:text-white hover:no-underline;
2024-03-26 10:24:53 +01:00
}
.box-boarding {
@apply flex lg:flex-row flex-col p-2 transition-colors cursor-pointer min-h-[4rem] dark:bg-coolgray-100 dark:text-white bg-neutral-50 border border-neutral-200 dark:border-black hover:bg-neutral-100 dark:hover:bg-coollabs-100 dark:hover:text-white hover:text-black hover:no-underline text-black;
2024-03-27 14:51:58 +01:00
}
.box-without-bg {
@apply flex p-2 transition-colors dark:hover:text-white hover:no-underline min-h-[4rem] border border-neutral-200 dark:border-black;
}
2024-03-28 09:25:42 +01:00
.box-without-bg-without-border {
@apply flex p-2 transition-colors dark:hover:text-white hover:no-underline min-h-[4rem];
2024-03-28 09:25:42 +01:00
}
.on-box {
@apply rounded hover:bg-neutral-300 dark:hover:bg-coolgray-500/20;
2023-05-03 14:36:53 +02:00
}
2024-03-20 15:46:59 +01:00
.box-title {
@apply font-bold text-black dark:text-white group-hover:dark:text-white;
}
2024-03-25 10:41:44 +01:00
2024-03-20 15:46:59 +01:00
.box-description {
@apply text-xs font-bold text-neutral-500 group-hover:dark:text-white group-hover:text-black;
}
2024-03-25 10:41:44 +01:00
2023-10-20 09:29:09 +02:00
.description {
2024-03-20 15:46:59 +01:00
@apply text-xs font-bold text-neutral-500 group-hover:dark:text-white group-hover:text-black;
}
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);
2023-05-25 15:47:27 +02:00
}
2023-05-25 15:47:27 +02:00
@keyframes lds-heart {
2023-06-06 00:18:48 +02:00
0% {
transform: scale(1);
}
2023-06-06 00:18:48 +02:00
5% {
transform: scale(1.2);
}
2023-06-06 00:18:48 +02:00
39% {
transform: scale(0.85);
}
2023-06-06 00:18:48 +02:00
45% {
transform: scale(1);
}
2023-06-06 00:18:48 +02:00
60% {
transform: scale(0.95);
}
2023-06-06 00:18:48 +02:00
100% {
transform: scale(0.9);
}
2023-05-25 15:47:27 +02:00
}
2023-05-25 15:47:27 +02:00
.bg-coollabs-gradient {
@apply text-transparent text-white bg-gradient-to-r from-purple-500 via-pink-500 to-red-500;
2023-05-30 15:52:17 +02:00
}
2023-05-31 09:22:08 +02:00
.text-helper {
2024-03-25 10:41:44 +01:00
@apply inline-block font-bold text-coollabs dark:text-warning;
}
2024-03-25 10:41:44 +01:00
.info-helper {
@apply cursor-pointer text-coollabs dark:text-warning;
}
2024-03-25 10:41:44 +01:00
.info-helper-popup {
2024-03-24 16:00:25 +01:00
@apply absolute z-40 hidden text-xs rounded text-neutral-700 group-hover:block dark:border-coolgray-500 border-neutral-900 dark:bg-coolgray-400 bg-neutral-200 dark:text-neutral-300;
2023-06-06 00:18:48 +02:00
}
2023-07-27 16:22:13 +02:00
.buyme {
@apply block px-3 py-2 mt-10 text-sm font-semibold leading-6 text-center text-white rounded-md shadow-sm hover:text-white bg-coolgray-200 hover:bg-coolgray-300 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-coolgray-200 hover:no-underline;
2023-08-14 14:00:10 +02:00
}
2024-03-20 12:54:06 +01:00
.title {
2024-03-20 15:46:59 +01:00
@apply hidden pb-0 lg:block lg:pb-8;
2024-03-20 12:54:06 +01:00
}
2024-03-20 15:46:59 +01:00
2023-08-14 14:00:10 +02:00
.subtitle {
@apply pt-2 pb-9;
2023-07-27 16:22:13 +02:00
}
.fullscreen {
2024-03-27 10:54:17 +01:00
@apply fixed top-0 left-0 w-full h-full z-[9999] dark:bg-coolgray-100 bg-white overflow-y-auto scrollbar pb-4;
}
.toast {
z-index: 1;
}
2024-04-11 12:13:11 +02:00
.dz-button {
@apply w-full p-4 py-10 my-4 font-bold bg-white border dark:border-coolgray-400 dark:text-white dark:bg-transparent hover:dark:bg-coolgray-400;
}