lasthourcloud/resources/css/app.css
Andras Bacsai a044354294 css
2023-05-22 15:47:40 +02:00

98 lines
2.6 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-xs rounded;
}
input {
@apply input input-sm placeholder:text-neutral-700 text-white rounded-none;
}
input[type="text"],[type="number"],[type="email"],[type="password"] {
@apply read-only:opacity-40;
}
.label-text, label {
@apply text-neutral-400 text-sm;
}
textarea {
@apply textarea placeholder:text-neutral-700 text-white rounded-none;
}
select {
@apply select select-sm disabled:opacity-40 font-normal placeholder:text-neutral-700 text-white rounded-none;
}
button[type="button"] {
@apply btn btn-xs btn-ghost no-animation normal-case text-white rounded;
}
button[type="submit"] {
@apply btn btn-xs no-animation normal-case text-white btn-primary rounded;
}
button[isWarning] {
@apply text-error;
}
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;
}
main {
@apply h-full w-full min-h-screen px-32 xl:px-10 pt-4 mx-auto max-w-7xl;
}
.main-navbar {
@apply fixed top-0 left-0 min-h-screen overflow-hidden;
}
.icon {
@apply w-6 h-6;
}
.icon:hover {
@apply text-white;
}
.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 transition-colors;
}
.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.3rem] text-sm;
}
.magic-badge {
@apply min-w-fit px-2 rounded text-center border border-dotted border-primary text-white text-xs;
}
.magic-input {
@apply input input-sm w-96 placeholder:text-neutral-700 text-sm rounded-none;
}
.magic-items {
@apply absolute top-12 mt-2 w-[24rem] bg-coolgray-200 rounded z-50;
}
.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 transition-colors hover:shadow;
}
.magic-item-focused {
@apply bg-coolgray-400 text-white;
}