|
2 | 2 | @import "./fonts.css"; |
3 | 3 | @import "swiper/css"; |
4 | 4 | @import "swiper/css/navigation"; |
| 5 | +@import "swiper/css/pagination"; |
| 6 | +@import "slim-select/styles"; |
| 7 | +@plugin "daisyui" { |
| 8 | + themes: cakephp --default; |
| 9 | +} |
| 10 | + |
| 11 | +@plugin "daisyui/theme" { |
| 12 | + name: "cakephp"; |
| 13 | + default: true; |
| 14 | + prefersdark: false; |
| 15 | + color-scheme: light; |
| 16 | + |
| 17 | + --color-base-100: hsl(0 0% 100%); |
| 18 | + --color-base-200: hsl(210 20% 98%); |
| 19 | + --color-base-300: hsl(210 20% 94%); |
| 20 | + --color-base-content: hsl(220 13% 18%); |
| 21 | + |
| 22 | + --color-primary: hsl(214 84% 46%); |
| 23 | + --color-primary-content: hsl(0 0% 100%); |
| 24 | + --color-secondary: hsl(262 80% 50%); |
| 25 | + --color-secondary-content: hsl(0 0% 100%); |
| 26 | + --color-accent: hsl(199 89% 48%); |
| 27 | + --color-accent-content: hsl(0 0% 100%); |
| 28 | + --color-neutral: hsl(220 13% 18%); |
| 29 | + --color-neutral-content: hsl(0 0% 100%); |
| 30 | + |
| 31 | + --color-info: hsl(198 93% 60%); |
| 32 | + --color-info-content: hsl(198 100% 12%); |
| 33 | + --color-success: hsl(158 64% 52%); |
| 34 | + --color-success-content: hsl(158 100% 10%); |
| 35 | + --color-warning: hsl(43 96% 56%); |
| 36 | + --color-warning-content: hsl(43 100% 11%); |
| 37 | + --color-error: hsl(0 72% 46%); |
| 38 | + --color-error-content: hsl(0 0% 100%); |
| 39 | + |
| 40 | + --radius-box: 1.5rem; |
| 41 | + --radius-field: 1rem; |
| 42 | + --radius-selector: 1rem; |
| 43 | + --border: 1px; |
| 44 | + --depth: 1; |
| 45 | + --noise: 0; |
| 46 | +} |
5 | 47 |
|
6 | 48 | @theme { |
7 | 49 | --font-raleway: "Raleway", sans-serif; |
|
40 | 82 | --ss-primary-color: var(--color-blue-500); |
41 | 83 | } |
42 | 84 |
|
| 85 | +.htmx-indicator { |
| 86 | + opacity: 1; |
| 87 | + transition: opacity 0.2s ease; |
| 88 | +} |
| 89 | + |
| 90 | +.htmx-request .htmx-indicator, |
| 91 | +.htmx-request.htmx-indicator { |
| 92 | + opacity: 1; |
| 93 | +} |
| 94 | + |
| 95 | +.main-loading-overlay { |
| 96 | + position: fixed; |
| 97 | + inset: 0; |
| 98 | + z-index: 80; |
| 99 | + display: flex; |
| 100 | + align-items: center; |
| 101 | + justify-content: center; |
| 102 | + background: hsl(210 40% 98% / 0.72); |
| 103 | + backdrop-filter: blur(2px); |
| 104 | + opacity: 0; |
| 105 | + visibility: hidden; |
| 106 | + pointer-events: none; |
| 107 | + transition: opacity 0.2s ease; |
| 108 | +} |
| 109 | + |
| 110 | +body.is-htmx-loading .main-loading-overlay, |
| 111 | +.main-loading-overlay.htmx-request { |
| 112 | + opacity: 1; |
| 113 | + visibility: visible; |
| 114 | + pointer-events: auto; |
| 115 | +} |
| 116 | + |
| 117 | +.main-loading-indicator-card { |
| 118 | + opacity: 1; |
| 119 | + z-index: 90; |
| 120 | +} |
| 121 | + |
43 | 122 | @layer components { |
44 | 123 | .featured-packages-slider-shell { |
45 | | - @apply -mx-3 px-3 pb-4; |
| 124 | + @apply pb-4; |
46 | 125 | } |
47 | 126 |
|
48 | 127 | .featured-packages-slider { |
|
53 | 132 | @apply h-auto py-2; |
54 | 133 | } |
55 | 134 |
|
56 | | - .featured-packages-slider-button { |
57 | | - @apply inline-flex h-11 w-11 items-center justify-center rounded-full border border-slate-200 bg-white text-lg text-slate-700 shadow-sm transition hover:border-cake-red hover:text-cake-red disabled:cursor-not-allowed disabled:opacity-40; |
58 | | - } |
59 | | - |
60 | | - .featured-packages-slider-button::after { |
61 | | - content: none; |
62 | | - } |
63 | | - |
64 | 135 | .packages-section-divider { |
65 | | - @apply flex items-center gap-4 text-xs font-semibold uppercase tracking-[0.24em] text-slate-400; |
| 136 | + @apply flex items-center gap-4 text-xs font-semibold uppercase tracking-[0.24em] opacity-40; |
66 | 137 | } |
67 | 138 |
|
68 | 139 | .packages-section-divider::before, |
69 | 140 | .packages-section-divider::after { |
70 | 141 | content: ""; |
71 | | - @apply h-px flex-1 bg-slate-200; |
| 142 | + @apply h-px flex-1 bg-base-300; |
72 | 143 | } |
73 | 144 | } |
0 commit comments