|
| 1 | +/** @jsxImportSource @emotion/react */ |
| 2 | +import { css } from '@emotion/react'; |
| 3 | + |
| 4 | +export const pageStyle = css` |
| 5 | + background: #fbfbfb; |
| 6 | + display: flex; |
| 7 | + flex-direction: column; |
| 8 | + align-items: center; |
| 9 | + margin-top: 50px; |
| 10 | +
|
| 11 | + @media (max-width: 768px) { |
| 12 | + margin-top: 30px; |
| 13 | + } |
| 14 | +`; |
| 15 | + |
| 16 | +export const textContainerStyle = css` |
| 17 | + display: flex; |
| 18 | + flex-direction: column; |
| 19 | + align-items: flex-start; |
| 20 | + width: 86%; |
| 21 | +
|
| 22 | + @media (max-width: 768px) { |
| 23 | + width: 90%; |
| 24 | + } |
| 25 | +`; |
| 26 | + |
| 27 | +export const titleStyle = css` |
| 28 | + color: #000; |
| 29 | + font-size: 36px; |
| 30 | + font-weight: 700; |
| 31 | + margin-bottom: 19px; |
| 32 | +
|
| 33 | + @media (max-width: 768px) { |
| 34 | + font-size: 28px; |
| 35 | + text-align: center; |
| 36 | + } |
| 37 | +`; |
| 38 | + |
| 39 | +export const descriptionStyle = css` |
| 40 | + color: #252525; |
| 41 | + font-size: 16px; |
| 42 | + font-weight: 600; |
| 43 | + margin-bottom: 20px; |
| 44 | + line-height: 1.3; |
| 45 | +
|
| 46 | + @media (max-width: 768px) { |
| 47 | + font-size: 14px; |
| 48 | + text-align: center; |
| 49 | + } |
| 50 | +`; |
| 51 | + |
| 52 | +export const containerStyle = css` |
| 53 | + width: 83%; |
| 54 | + border-radius: 10px; |
| 55 | + border: 1px solid #d6d6d6; |
| 56 | + background: #fff; |
| 57 | + padding: 20px; |
| 58 | + display: flex; |
| 59 | + flex-direction: column; |
| 60 | + align-items: center; |
| 61 | + margin-top: 20px; |
| 62 | +
|
| 63 | + @media (max-width: 768px) { |
| 64 | + width: 95%; |
| 65 | + padding: 15px; |
| 66 | + } |
| 67 | +`; |
| 68 | + |
| 69 | +export const gptContainerStyle = css` |
| 70 | + width: 100%; |
| 71 | + background: #fff; |
| 72 | + display: flex; |
| 73 | + align-items: center; |
| 74 | + justify-content: center; |
| 75 | + gap: 20px; |
| 76 | + padding: 10px; |
| 77 | + margin-top: 10px; |
| 78 | + flex-wrap: wrap; |
| 79 | +
|
| 80 | + @media (max-width: 768px) { |
| 81 | + gap: 10px; |
| 82 | + } |
| 83 | +`; |
| 84 | + |
| 85 | +export const gptButtonStyle = (isSelected) => css` |
| 86 | + width: ${isSelected ? '125px' : '100px'}; |
| 87 | + height: ${isSelected ? '145px' : '100px'}; |
| 88 | + border-radius: 10px; |
| 89 | + background: ${isSelected ? 'rgba(217, 217, 217, 0.40)' : '#fff'}; |
| 90 | + display: flex; |
| 91 | + flex-direction: column; |
| 92 | + align-items: center; |
| 93 | + justify-content: center; |
| 94 | + cursor: pointer; |
| 95 | + transition: all 0.2s ease-in-out; |
| 96 | + padding: 10px; |
| 97 | +
|
| 98 | + @media (max-width: 768px) { |
| 99 | + width: ${isSelected ? '110px' : '90px'}; |
| 100 | + height: ${isSelected ? '130px' : '90px'}; |
| 101 | + } |
| 102 | +`; |
| 103 | + |
| 104 | +export const gptIconStyle = css` |
| 105 | + width: 100px; |
| 106 | + height: 100px; |
| 107 | +
|
| 108 | + @media (max-width: 768px) { |
| 109 | + width: 80px; |
| 110 | + height: 80px; |
| 111 | + } |
| 112 | +`; |
| 113 | + |
| 114 | +export const gptTextStyle = css` |
| 115 | + margin-top: 5px; |
| 116 | + font-size: 14px; |
| 117 | + font-weight: 600; |
| 118 | + color: #000; |
| 119 | +
|
| 120 | + @media (max-width: 768px) { |
| 121 | + font-size: 12px; |
| 122 | + } |
| 123 | +`; |
| 124 | + |
| 125 | +export const inputContainerStyle = css` |
| 126 | + width: 60%; |
| 127 | + margin-top: 40px; |
| 128 | + display: flex; |
| 129 | + flex-direction: column; |
| 130 | + align-items: flex-start; |
| 131 | +
|
| 132 | + @media (max-width: 768px) { |
| 133 | + width: 80%; |
| 134 | + margin-top: 20px; |
| 135 | + } |
| 136 | +`; |
| 137 | + |
| 138 | +export const inputLabelStyle = css` |
| 139 | + font-size: 14px; |
| 140 | + font-weight: 600; |
| 141 | + color: #333; |
| 142 | + margin-bottom: 5px; |
| 143 | +
|
| 144 | + @media (max-width: 768px) { |
| 145 | + font-size: 12px; |
| 146 | + } |
| 147 | +`; |
| 148 | + |
| 149 | +export const inputStyle = css` |
| 150 | + width: 100%; |
| 151 | + height: 20px; |
| 152 | + padding: 10px; |
| 153 | + border: 1px solid #ccc; |
| 154 | + border-radius: 5px; |
| 155 | + font-size: 14px; |
| 156 | +
|
| 157 | + @media (max-width: 768px) { |
| 158 | + height: 35px; |
| 159 | + font-size: 12px; |
| 160 | + } |
| 161 | +`; |
| 162 | + |
| 163 | +export const buttonContainerStyle = css` |
| 164 | + display: flex; |
| 165 | + justify-content: center; |
| 166 | + align-items: center; |
| 167 | + gap: 15px; |
| 168 | + width: 100%; |
| 169 | + margin-top: 20px; |
| 170 | +
|
| 171 | + @media (max-width: 768px) { |
| 172 | + flex-direction: column; |
| 173 | + gap: 10px; |
| 174 | + } |
| 175 | +`; |
| 176 | + |
| 177 | +export const prevTextStyle = css` |
| 178 | + font-size: 14px; |
| 179 | + font-weight: 600; |
| 180 | + color: #666; |
| 181 | + cursor: pointer; |
| 182 | +
|
| 183 | + @media (max-width: 768px) { |
| 184 | + font-size: 12px; |
| 185 | + } |
| 186 | +`; |
| 187 | + |
| 188 | +export const nextButtonStyle = css` |
| 189 | + width: 120px; |
| 190 | + height: 36px; |
| 191 | + border-radius: 30px; |
| 192 | + background: #F1502F; |
| 193 | + display: flex; |
| 194 | + align-items: center; |
| 195 | + justify-content: center; |
| 196 | + border: none; |
| 197 | + cursor: pointer; |
| 198 | + &:disabled { |
| 199 | + background: #ccc; |
| 200 | + cursor: not-allowed; |
| 201 | + } |
| 202 | + &:hover { |
| 203 | + background: #d9442a; |
| 204 | + } |
| 205 | +
|
| 206 | + @media (max-width: 768px) { |
| 207 | + width: 100px; |
| 208 | + height: 32px; |
| 209 | + } |
| 210 | +`; |
| 211 | + |
| 212 | +export const buttonTextStyle = css` |
| 213 | + color: #FFF; |
| 214 | + font-size: 14px; |
| 215 | + font-weight: 600; |
| 216 | +
|
| 217 | + @media (max-width: 768px) { |
| 218 | + font-size: 12px; |
| 219 | + } |
| 220 | +`; |
| 221 | + |
| 222 | +export const arrowIconStyle = css` |
| 223 | + width: 14px; |
| 224 | + height: 14px; |
| 225 | + margin-left: 5px; |
| 226 | +
|
| 227 | + @media (max-width: 768px) { |
| 228 | + width: 12px; |
| 229 | + height: 12px; |
| 230 | + } |
| 231 | +`; |
0 commit comments