|
| 1 | +.dimension-corner-link { |
| 2 | + position: fixed; |
| 3 | + z-index: 1000; |
| 4 | + top: 76px; |
| 5 | + right: 20px; |
| 6 | + display: inline-flex; |
| 7 | + min-height: 38px; |
| 8 | + align-items: center; |
| 9 | + padding: 0 16px; |
| 10 | + border: 1px solid rgba(99, 102, 241, 0.28); |
| 11 | + border-radius: 999px; |
| 12 | + color: #3730a3; |
| 13 | + background: rgba(255, 255, 255, 0.93); |
| 14 | + box-shadow: 0 8px 25px rgba(79, 70, 229, 0.14); |
| 15 | + font-size: 12px; |
| 16 | + font-weight: 700; |
| 17 | + text-decoration: none; |
| 18 | + backdrop-filter: blur(12px); |
| 19 | +} |
| 20 | + |
| 21 | +.dimension-corner-link:hover { |
| 22 | + color: #fff; |
| 23 | + background: #4f46e5; |
| 24 | +} |
| 25 | + |
| 26 | +.dimension-corner-link:focus-visible, |
| 27 | +.dimension-choice-action:focus-visible { |
| 28 | + outline: 3px solid #4f46e5; |
| 29 | + outline-offset: 3px; |
| 30 | +} |
| 31 | + |
| 32 | +.dimension-choice { |
| 33 | + position: fixed; |
| 34 | + inset: 0; |
| 35 | + width: min(680px, calc(100% - 32px)); |
| 36 | + max-width: none; |
| 37 | + max-height: calc(100% - 32px); |
| 38 | + margin: auto; |
| 39 | + padding: clamp(28px, 6vw, 54px); |
| 40 | + overflow: auto; |
| 41 | + border: 1px solid rgba(255, 255, 255, 0.95); |
| 42 | + border-radius: 24px; |
| 43 | + color: #252044; |
| 44 | + background: linear-gradient(145deg, #fff, #f5f3ff 64%, #e8f5ff); |
| 45 | + box-shadow: 0 30px 90px rgba(20, 20, 65, 0.33); |
| 46 | +} |
| 47 | + |
| 48 | +.dimension-choice::backdrop { |
| 49 | + background: rgba(18, 20, 50, 0.7); |
| 50 | + backdrop-filter: blur(8px); |
| 51 | +} |
| 52 | + |
| 53 | +.dimension-choice-kicker { |
| 54 | + margin: 0 0 24px; |
| 55 | + color: #5046bd; |
| 56 | + font-size: 11px; |
| 57 | + font-weight: 700; |
| 58 | + letter-spacing: 0.16em; |
| 59 | +} |
| 60 | + |
| 61 | +.dimension-choice h1 { |
| 62 | + margin: 0; |
| 63 | + color: #251d59; |
| 64 | + font-size: clamp(36px, 6vw, 56px); |
| 65 | + font-weight: 750; |
| 66 | + line-height: 1.08; |
| 67 | +} |
| 68 | + |
| 69 | +.dimension-choice-lead { |
| 70 | + margin: 22px 0 0; |
| 71 | + color: #514d70; |
| 72 | + font-size: 17px; |
| 73 | + line-height: 1.7; |
| 74 | +} |
| 75 | + |
| 76 | +.dimension-choice-actions { |
| 77 | + display: grid; |
| 78 | + grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 79 | + gap: 12px; |
| 80 | + margin-top: 32px; |
| 81 | +} |
| 82 | + |
| 83 | +.dimension-choice-action { |
| 84 | + display: flex; |
| 85 | + min-height: 58px; |
| 86 | + align-items: center; |
| 87 | + justify-content: center; |
| 88 | + gap: 8px; |
| 89 | + padding: 12px 16px; |
| 90 | + border-radius: 14px; |
| 91 | + font: inherit; |
| 92 | + font-size: 14px; |
| 93 | + font-weight: 700; |
| 94 | + line-height: 1.35; |
| 95 | + text-align: center; |
| 96 | + text-decoration: none; |
| 97 | + cursor: pointer; |
| 98 | +} |
| 99 | + |
| 100 | +.dimension-choice-action.primary { |
| 101 | + border: 1px solid #4f46e5; |
| 102 | + color: #fff; |
| 103 | + background: linear-gradient(135deg, #6366f1, #4338ca); |
| 104 | +} |
| 105 | + |
| 106 | +.dimension-choice-action.secondary { |
| 107 | + border: 1px solid #b8b4df; |
| 108 | + color: #3730a3; |
| 109 | + background: #fff; |
| 110 | +} |
| 111 | + |
| 112 | +.dimension-choice-note { |
| 113 | + margin: 22px 0 0; |
| 114 | + color: #716c8a; |
| 115 | + font-size: 12px; |
| 116 | +} |
| 117 | + |
| 118 | +@media (max-width: 600px) { |
| 119 | + .dimension-corner-link { top: 68px; right: 12px; padding: 0 12px; } |
| 120 | + .dimension-choice-actions { grid-template-columns: 1fr; } |
| 121 | + .dimension-choice-lead { font-size: 15px; } |
| 122 | +} |
0 commit comments