lasthourcloud/resources/css/app.css

140 lines
3.2 KiB
CSS
Raw Normal View History

2023-05-12 13:39:07 +00:00
@tailwind base;
2023-03-17 14:33:48 +00:00
@tailwind components;
@tailwind utilities;
2023-05-03 12:36:53 +00:00
2023-05-26 13:19:01 +00:00
.scrollbar {
2023-06-05 22:18:48 +00:00
@apply scrollbar-thumb-coollabs-100 scrollbar-track-coolgray-200 scrollbar-w-1;
2023-05-26 13:19:01 +00:00
}
2023-05-26 13:19:14 +00:00
html {
@apply min-h-screen h-full bg-coolgray-100;
}
2023-05-03 12:36:53 +00:00
body {
2023-06-05 22:18:48 +00:00
@apply scrollbar min-h-screen bg-coolgray-100 text-neutral-400 antialiased;
2023-05-25 19:23:03 +00:00
}
main {
2023-06-06 11:48:20 +00:00
@apply px-32 xl:px-14 mx-auto max-w-screen-xl pt-4;
2023-05-18 11:26:35 +00:00
}
2023-05-25 19:23:03 +00:00
2023-05-18 11:26:35 +00:00
input[type="checkbox"] {
2023-05-22 13:47:40 +00:00
@apply toggle toggle-warning toggle-xs rounded;
2023-05-03 12:36:53 +00:00
}
2023-05-17 13:46:20 +00:00
input {
2023-06-05 11:50:34 +00:00
@apply input input-sm h-7 outline-none placeholder:text-neutral-700 text-white rounded-none;
2023-05-16 18:47:59 +00:00
}
2023-06-05 22:18:48 +00:00
input[type="text"],
[type="number"],
[type="email"],
[type="password"] {
2023-05-18 11:26:35 +00:00
@apply read-only:opacity-40;
2023-05-17 13:46:20 +00:00
}
2023-06-05 22:18:48 +00:00
.label-text,
label {
2023-05-22 09:21:03 +00:00
@apply text-neutral-400 text-sm;
}
2023-05-17 13:46:20 +00:00
2023-05-14 12:43:49 +00:00
textarea {
2023-05-22 13:47:40 +00:00
@apply textarea placeholder:text-neutral-700 text-white rounded-none;
2023-05-17 07:26:50 +00:00
}
2023-05-04 08:45:09 +00:00
select {
2023-06-05 11:50:34 +00:00
@apply select select-sm text-sm disabled:bg-coolgray-200 border-none disabled:opacity-50 font-normal placeholder:text-neutral-700 text-white rounded-none;
2023-05-04 08:45:09 +00:00
}
2023-05-23 07:53:24 +00:00
.breadcrumbs > ul > li::before {
@apply text-warning opacity-100;
}
2023-06-02 10:34:45 +00:00
.loading {
@apply w-4 text-warning;
}
2023-05-18 11:26:35 +00:00
button[isWarning] {
2023-06-05 10:13:13 +00:00
@apply bg-error hover:bg-error;
2023-05-18 11:26:35 +00:00
}
button[isHighlighted] {
@apply btn-primary text-white;
2023-05-16 19:49:29 +00:00
}
h1 {
2023-06-02 10:34:45 +00:00
@apply text-3xl font-bold text-white;
2023-05-16 19:49:29 +00:00
}
h2 {
2023-06-02 10:34:45 +00:00
@apply text-2xl font-bold text-white;
2023-05-16 19:49:29 +00:00
}
h3 {
2023-06-02 10:34:45 +00:00
@apply text-xl font-bold text-white;
2023-05-16 19:49:29 +00:00
}
2023-06-01 10:15:33 +00:00
h4 {
2023-06-02 10:34:45 +00:00
@apply text-base font-bold text-white;
2023-06-01 10:15:33 +00:00
}
2023-05-18 11:26:35 +00:00
a {
@apply text-neutral-400 hover:text-white text-sm link link-hover hover:bg-transparent;
2023-05-16 19:49:29 +00:00
}
2023-05-22 13:47:40 +00:00
.main-navbar {
2023-06-06 11:48:20 +00:00
@apply fixed h-full overflow-hidden pt-14;
2023-05-22 13:47:40 +00:00
}
2023-06-07 08:33:45 +00:00
.kbd-custom {
@apply px-2 text-xs border border-dashed rounded border-neutral-700 text-warning;
}
2023-05-22 13:47:40 +00:00
.icon {
@apply w-6 h-6;
}
.icon:hover {
@apply text-white;
}
2023-05-16 19:49:29 +00:00
.box {
2023-05-31 08:19:29 +00:00
@apply flex items-center justify-center text-sm rounded-none min-h-12 bg-coolgray-200 hover:bg-coollabs-100 hover:text-white p-2 hover:no-underline transition-colors;
2023-05-03 12:36:53 +00:00
}
2023-05-16 19:49:29 +00:00
2023-06-06 11:48:20 +00:00
/* .main-menu {
2023-05-12 13:39:07 +00:00
@apply relative float-left;
2023-05-12 09:17:56 +00:00
}
2023-05-12 10:22:41 +00:00
.main-menu:after {
2023-05-14 12:43:49 +00:00
content: "/";
2023-06-06 11:48:20 +00:00
@apply absolute border border-dotted rounded border-neutral-600 right-1 top-0 text-warning mx-1 px-2 mt-[0.3rem] text-sm;
} */
2023-05-22 13:47:40 +00:00
.magic-badge {
@apply min-w-fit px-2 rounded text-center border border-dotted border-primary text-white text-xs;
2023-05-12 09:17:56 +00:00
}
2023-05-12 10:22:41 +00:00
.magic-input {
2023-05-22 20:30:33 +00:00
@apply input input-sm w-80 xl:w-96 placeholder:text-neutral-700 text-sm rounded-none;
2023-05-12 10:22:41 +00:00
}
.magic-items {
2023-05-22 13:47:40 +00:00
@apply absolute top-12 mt-2 w-[24rem] bg-coolgray-200 rounded z-50;
2023-05-12 10:22:41 +00:00
}
.magic-item {
2023-05-22 13:47:40 +00:00
@apply text-sm flex items-center gap-4 m-2 py-2 pl-4 cursor-pointer hover:bg-coolgray-500 text-neutral-400 hover:text-white transition-colors hover:shadow;
2023-05-12 10:22:41 +00:00
}
.magic-item-focused {
2023-05-22 13:47:40 +00:00
@apply bg-coolgray-400 text-white;
2023-05-12 10:22:41 +00:00
}
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
}
@keyframes lds-heart {
2023-06-05 22:18:48 +00:00
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);
}
2023-05-25 13:47:27 +00:00
}
.bg-coollabs-gradient {
2023-06-05 22:18:48 +00:00
@apply text-transparent bg-clip-text bg-gradient-to-r from-purple-500 via-pink-500 to-red-500;
2023-05-30 13:52:17 +00:00
}
2023-05-31 07:22:08 +00:00
.text-helper {
2023-06-05 22:18:48 +00:00
@apply inline-block font-bold text-warning;
}