lasthourcloud/resources/css/app.css

80 lines
2.1 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-18 11:26:35 +00:00
* {
2023-05-18 13:12:26 +00:00
//outline: solid 0.25rem hsla(210, 100%, 100%, 0.5);
@apply scrollbar-thumb-yellow-400 scrollbar-track-coolgray-200 scrollbar-w-2;
2023-05-18 11:26:35 +00:00
}
html {
2023-05-18 13:12:26 +00:00
@apply h-full min-h-full bg-coolgray-100;
2023-05-18 11:26:35 +00:00
}
2023-05-03 12:36:53 +00:00
body {
2023-05-18 13:12:26 +00:00
@apply bg-coolgray-100 text-neutral-400 min-h-full antialiased;
2023-05-18 11:26:35 +00:00
}
input[type="checkbox"] {
@apply toggle toggle-warning toggle-sm;
2023-05-03 12:36:53 +00:00
}
2023-05-17 13:46:20 +00:00
input {
2023-05-18 13:12:26 +00:00
@apply input input-sm placeholder:text-neutral-700 text-white;
2023-05-16 18:47:59 +00:00
}
2023-05-18 11:26:35 +00:00
input[type="text"],[type="number"],[type="email"],[type="password"] {
@apply read-only:opacity-40;
2023-05-17 13:46:20 +00:00
}
2023-05-14 12:43:49 +00:00
textarea {
2023-05-18 13:12:26 +00:00
@apply textarea placeholder:text-neutral-700 text-white;
2023-05-17 07:26:50 +00:00
}
2023-05-04 08:45:09 +00:00
select {
2023-05-18 13:12:26 +00:00
@apply select select-sm disabled:opacity-40 font-normal placeholder:text-neutral-700 text-white;
2023-05-04 08:45:09 +00:00
}
2023-05-18 11:26:35 +00:00
button[type="button"] {
@apply btn btn-xs btn-ghost no-animation normal-case text-white;
2023-05-17 13:46:20 +00:00
}
button[type="submit"] {
2023-05-18 11:26:35 +00:00
@apply btn btn-xs no-animation normal-case text-white btn-primary;
}
button[isWarning] {
@apply btn-error text-white;
}
button[isHighlighted] {
@apply btn-primary text-white;
2023-05-16 19:49:29 +00:00
}
h1 {
2023-05-18 13:12:26 +00:00
@apply text-3xl font-bold pb-4 text-white;
2023-05-16 19:49:29 +00:00
}
h2 {
2023-05-18 13:12:26 +00:00
@apply text-2xl font-bold pb-4 text-white;
2023-05-16 19:49:29 +00:00
}
h3 {
2023-05-18 13:12:26 +00:00
@apply text-xl font-bold py-4 text-white;
2023-05-16 19:49:29 +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
}
.box {
@apply flex items-center justify-center text-sm rounded cursor-pointer h-14 bg-coolgray-200 hover:bg-coollabs-100 hover:text-white p-2 hover:no-underline;
2023-05-03 12:36:53 +00:00
}
2023-05-16 19:49:29 +00:00
2023-05-12 10:22:41 +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-05-18 13:12:26 +00:00
@apply absolute border border-dotted rounded border-neutral-600 right-0 top-0 text-warning mx-1 px-2 mt-[0.7rem];
2023-05-12 09:17:56 +00:00
}
2023-05-12 10:22:41 +00:00
.magic-input {
2023-05-18 13:12:26 +00:00
@apply input w-96 placeholder:text-neutral-700 text-sm;
2023-05-12 10:22:41 +00:00
}
.magic-items {
2023-05-17 13:46:20 +00:00
@apply absolute top-16 mt-2 w-[24rem] bg-coolgray-200 rounded-xl outline outline-coolgray-500;
2023-05-12 10:22:41 +00:00
}
.magic-item {
2023-05-17 13:46:20 +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 rounded-xl transition-colors hover:shadow;
2023-05-12 10:22:41 +00:00
}
.magic-item-focused {
@apply bg-neutral-700 text-white;
}