mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-24 22:39:18 +01:00
110 lines
2.0 KiB
CSS
110 lines
2.0 KiB
CSS
@import "splitpanes/dist/splitpanes.css";
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
:root {
|
|
--p: var(--primary-color);
|
|
--pc: 89.23% 0;
|
|
--s: var(--secondary-color);
|
|
--sc: 14.57% 0 0;
|
|
--b1: var(--base-lighter-color);
|
|
--b2: var(--base-color);
|
|
--b3: var(--base-darker-color);
|
|
--bc: var(--base-content-color);
|
|
--in: 65% 0.171 249.5;
|
|
--inc: 100% 0 0;
|
|
--er: 64% 0.218 28.85;
|
|
--erc: 100% 0 0;
|
|
--wa: 70% 0.186 48.13;
|
|
--wac: 100% 0 0;
|
|
--n: var(--base-lighter-color);
|
|
}
|
|
html[data-theme="dark"] {
|
|
--base-lighter-color: 25% 0 0;
|
|
--base-color: 18% 0 0;
|
|
--base-darker-color: 11% 0 0;
|
|
--base-content-color: 89.23% 0 0;
|
|
--primary-color: 70.96% 0.143 176.65;
|
|
--secondary-color: 91.36% 0.11098 90.1243;
|
|
}
|
|
|
|
html[data-theme="light"] {
|
|
--base-lighter-color: 100% 0 0;
|
|
--base-color: 97% 0 0;
|
|
--base-darker-color: 90% 0 0;
|
|
--base-content-color: 33% 0 0;
|
|
--primary-color: 79.96% 0.143 176.65;
|
|
--secondary-color: 82.67% 0.15380739746702807 77.82;
|
|
}
|
|
|
|
@media screen and (max-device-width: 480px) {
|
|
body {
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
@apply text-3xl;
|
|
}
|
|
|
|
h2 {
|
|
@apply text-2xl;
|
|
}
|
|
|
|
h3 {
|
|
@apply text-lg;
|
|
}
|
|
|
|
.events mark {
|
|
@apply inline-block rounded-sm bg-secondary;
|
|
animation: pops 200ms ease-out;
|
|
}
|
|
|
|
@keyframes pops {
|
|
0% {
|
|
transform: scale(1.5);
|
|
}
|
|
100% {
|
|
transform: scale(1.05);
|
|
}
|
|
}
|
|
}
|
|
|
|
@layer components {
|
|
.input {
|
|
@apply !outline-none;
|
|
&.input-ghost {
|
|
@apply focus:border-transparent;
|
|
}
|
|
}
|
|
|
|
.btn {
|
|
@apply font-normal normal-case;
|
|
}
|
|
|
|
.btn:not(.btn-primary):not(.btn-secondary) {
|
|
@apply hover:bg-base-lighter;
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
@media (max-width: 768px) {
|
|
.mobile-hidden {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.active-primary {
|
|
--n: var(--p);
|
|
--nc: var(--pc);
|
|
@apply active;
|
|
}
|
|
|
|
.link-primary {
|
|
@apply underline-offset-4 hover:underline;
|
|
}
|
|
}
|