lasthourcloud/resources/css/app.css
Andras Bacsai 203c19c01f wip
2023-05-18 15:12:26 +02:00

80 lines
2.1 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
* {
//outline: solid 0.25rem hsla(210, 100%, 100%, 0.5);
@apply scrollbar-thumb-yellow-400 scrollbar-track-coolgray-200 scrollbar-w-2;
}
html {
@apply h-full min-h-full bg-coolgray-100;
}
body {
@apply bg-coolgray-100 text-neutral-400 min-h-full antialiased;
}
input[type="checkbox"] {
@apply toggle toggle-warning toggle-sm;
}
input {
@apply input input-sm placeholder:text-neutral-700 text-white;
}
input[type="text"],[type="number"],[type="email"],[type="password"] {
@apply read-only:opacity-40;
}
textarea {
@apply textarea placeholder:text-neutral-700 text-white;
}
select {
@apply select select-sm disabled:opacity-40 font-normal placeholder:text-neutral-700 text-white;
}
button[type="button"] {
@apply btn btn-xs btn-ghost no-animation normal-case text-white;
}
button[type="submit"] {
@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;
}
h1 {
@apply text-3xl font-bold pb-4 text-white;
}
h2 {
@apply text-2xl font-bold pb-4 text-white;
}
h3 {
@apply text-xl font-bold py-4 text-white;
}
a {
@apply text-neutral-400 hover:text-white text-sm link link-hover hover:bg-transparent;
}
.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;
}
.main-menu {
@apply relative float-left;
}
.main-menu:after {
content: "/";
@apply absolute border border-dotted rounded border-neutral-600 right-0 top-0 text-warning mx-1 px-2 mt-[0.7rem];
}
.magic-input {
@apply input w-96 placeholder:text-neutral-700 text-sm;
}
.magic-items {
@apply absolute top-16 mt-2 w-[24rem] bg-coolgray-200 rounded-xl outline outline-coolgray-500;
}
.magic-item {
@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;
}
.magic-item-focused {
@apply bg-neutral-700 text-white;
}