|
4 | 4 |
|
5 | 5 | @layer components {
|
6 | 6 | .textlink {
|
7 |
| - @apply hover:text-blue-300 text-blue-400 underline cursor-pointer; |
8 |
| - } |
9 |
| - .glassmorph { |
10 |
| - @apply rounded border border-gray-500 bg-glassmorph; |
11 |
| - } |
12 |
| - .bg-glassmorph { |
13 |
| - @apply bg-gradient-to-br from-gray-750/60 to-black/60 bg-clip-padding backdrop-filter backdrop-blur-sm; |
| 7 | + @apply cursor-pointer underline hover:opacity-70; |
14 | 8 | }
|
| 9 | + |
15 | 10 | .block-button-primary {
|
16 |
| - @apply active-scale-103 relative block origin-bottom overflow-hidden rounded px-4 py-2 text-white shadow-md focus:outline-none disabled:scale-100 disabled:cursor-not-allowed bg-gradient-to-br from-blue-500 to-blue-550 hover:from-blue-550 hover:to-blue-600 disabled:from-blue-350 disabled:to-blue-450; |
| 11 | + @apply relative block origin-bottom overflow-hidden rounded-full border text-center text-sm text-gray-950 font-semibold bg-blend-soft-light px-4 py-2 shadow-md focus:outline-none disabled:scale-100 disabled:cursor-not-allowed btn-texture-yellow; |
17 | 12 | }
|
| 13 | + |
18 | 14 | .block-button-secondary {
|
19 |
| - @apply active-scale-103 relative block origin-bottom overflow-hidden rounded px-4 py-2 text-white shadow-md focus:outline-none disabled:scale-100 disabled:cursor-not-allowed bg-gradient-to-br from-gray-650 to-gray-700 hover:from-gray-700 hover:to-gray-750 disabled:from-gray-500 disabled:to-gray-600; |
| 15 | + @apply relative block origin-bottom overflow-hidden rounded-full border text-center text-sm text-gray-950 font-semibold bg-blend-soft-light px-4 py-2 shadow-md focus:outline-none disabled:scale-100 disabled:cursor-not-allowed btn-texture-gray; |
20 | 16 | }
|
21 | 17 | }
|
22 | 18 |
|
23 |
| -.active-scale-103 { |
24 |
| - transition: transform 0.15s; |
| 19 | +.bg-black-textured { |
| 20 | + background-image: url('/img/800/bg-black.webp'); |
| 21 | + background-size: cover; |
| 22 | + background-repeat: no-repeat; |
| 23 | +} |
| 24 | + |
| 25 | +.bg-blue-textured { |
| 26 | + background-image: url('/img/800/maptexture.webp'), url('/img/800/bg-blue.webp'); |
| 27 | + background-blend-mode: overlay; |
| 28 | + background-size: cover; |
| 29 | + background-repeat: no-repeat; |
| 30 | +} |
| 31 | + |
| 32 | +.bg-wooden-divider { |
| 33 | + background-image: url('/img/800/woodendividergem.webp'); |
| 34 | +} |
| 35 | + |
| 36 | +.btn-texture-yellow { |
| 37 | + background-image: url("/img/800/smalltexture.webp"), |
| 38 | + radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%), |
| 39 | + linear-gradient(to bottom, |
| 40 | + var(--yellow-350), |
| 41 | + var(--yellow-450), |
| 42 | + var(--yellow-550)); |
| 43 | + border-color: var(--yellow-200); |
| 44 | +} |
| 45 | + |
| 46 | +.btn-texture-yellow:hover { |
| 47 | + background-image: url("/img/800/smalltexture.webp"), |
| 48 | + radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 30%), |
| 49 | + linear-gradient(to bottom, |
| 50 | + var(--yellow-500), |
| 51 | + var(--yellow-600), |
| 52 | + var(--yellow-700)); |
| 53 | + border-color: var(--yellow-450); |
| 54 | +} |
| 55 | + |
| 56 | +.btn-texture-yellow:disabled { |
| 57 | + background-image: url("/img/800/smalltexture.webp"), |
| 58 | + radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%), |
| 59 | + linear-gradient(to bottom, var(--yellow-650), var(--yellow-850)); |
| 60 | + border-color: var(--yellow-550); |
| 61 | +} |
| 62 | + |
| 63 | +.btn-texture-gray { |
| 64 | + background-image: url("/img/800/smalltexture.webp"), |
| 65 | + radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%), |
| 66 | + linear-gradient(to bottom, var(--gray-250), var(--gray-350)); |
| 67 | + border-color: var(--gray-200); |
| 68 | +} |
| 69 | + |
| 70 | +.btn-texture-gray:hover { |
| 71 | + background-image: url("/img/800/smalltexture.webp"), |
| 72 | + radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 30%), |
| 73 | + linear-gradient(to bottom, var(--gray-350), var(--gray-500)); |
| 74 | + border-color: var(--gray-350); |
25 | 75 | }
|
26 | 76 |
|
27 |
| -.active-scale-103:hover { |
28 |
| - transform: scale(1.03); |
| 77 | +.btn-texture-gray:disabled { |
| 78 | + background-image: url("/img/800/smalltexture.webp"), |
| 79 | + radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%), |
| 80 | + linear-gradient(to bottom, var(--gray-450), var(--gray-550)); |
| 81 | + border-color: var(--gray-450); |
29 | 82 | }
|
0 commit comments