lasthourcloud/resources/css/app.css
Andras Bacsai 3ba9f399b8 fix
2023-05-25 21:23:03 +02:00

124 lines
3.0 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
html {
@apply min-h-screen h-full bg-coolgray-100;
}
body {
@apply min-h-screen bg-coolgray-100 text-neutral-400 antialiased scrollbar-thumb-coollabs-100 scrollbar-track-coolgray-200 scrollbar-w-1;
}
main {
@apply px-32 xl:px-14 mx-auto max-w-screen-xl;
}
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;
}
.breadcrumbs > ul > li::before {
@apply text-warning opacity-100;
}
button[type="button"] {
@apply btn btn-xs bg-coolgray-200 no-animation normal-case text-white rounded-none;
}
button[type="submit"] {
@apply btn btn-xs no-animation normal-case text-white btn-primary rounded-none;
}
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-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-none 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-80 xl: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;
}
.lds-heart {
animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}
@keyframes lds-heart {
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);
}
}
.bg-coollabs-gradient {
@apply text-transparent bg-clip-text bg-gradient-to-r from-purple-500 via-pink-500 to-red-500;
}