| @@ -14,310 +14,328 @@ | ||
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | 16 | /* Trigger button in the column cell (pushed to the cell's right edge) */ |
| 17 | 17 | .thinkrank-qe-trigger { |
| 18 | - margin-left: auto; | |
| 19 | - display: inline-flex; | |
| 20 | - align-items: center; | |
| 21 | - justify-content: center; | |
| 22 | - width: 24px; | |
| 23 | - height: 24px; | |
| 24 | - padding: 0; | |
| 25 | - border: 1px solid transparent; | |
| 26 | - border-radius: 6px; | |
| 27 | - background: transparent; | |
| 28 | - color: #a5aaac; | |
| 29 | - cursor: pointer; | |
| 30 | - transition: all 0.15s ease; | |
| 18 | + margin-left: auto; | |
| 19 | + display: inline-flex; | |
| 20 | + align-items: center; | |
| 21 | + justify-content: center; | |
| 22 | + width: 24px; | |
| 23 | + height: 24px; | |
| 24 | + padding: 0; | |
| 25 | + border: 1px solid transparent; | |
| 26 | + border-radius: 6px; | |
| 27 | + background: transparent; | |
| 28 | + color: #a5aaac; | |
| 29 | + cursor: pointer; | |
| 30 | + transition: all 0.15s ease; | |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | .thinkrank-qe-trigger:hover, |
| 34 | 34 | .thinkrank-qe-trigger:focus { |
| 35 | - color: #4451FF; | |
| 36 | - background: #f0f1ff; | |
| 37 | - border-color: #d5d8ff; | |
| 38 | - outline: none; | |
| 35 | + color: #4451ff; | |
| 36 | + background: #f0f1ff; | |
| 37 | + border-color: #d5d8ff; | |
| 38 | + outline: none; | |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /* Overlay */ |
| 42 | 42 | .thinkrank-qe-overlay { |
| 43 | - position: fixed; | |
| 44 | - inset: 0; | |
| 45 | - z-index: 100100; /* above #wpadminbar (99999) */ | |
| 46 | - display: flex; | |
| 47 | - align-items: center; | |
| 48 | - justify-content: center; | |
| 49 | - padding: 24px; | |
| 50 | - background: rgba(29, 29, 29, 0.55); | |
| 51 | - animation: thinkrank-qe-fade 0.12s ease-out; | |
| 43 | + position: fixed; | |
| 44 | + inset: 0; | |
| 45 | + z-index: 100100; /* above #wpadminbar (99999) */ | |
| 46 | + display: flex; | |
| 47 | + align-items: center; | |
| 48 | + justify-content: center; | |
| 49 | + padding: 24px; | |
| 50 | + background: rgba(29, 29, 29, 0.55); | |
| 51 | + animation: thinkrank-qe-fade 0.12s ease-out; | |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | @keyframes thinkrank-qe-fade { |
| 55 | - from { opacity: 0; } | |
| 56 | - to { opacity: 1; } | |
| 55 | + | |
| 56 | + from { | |
| 57 | + opacity: 0; | |
| 58 | + } | |
| 59 | + | |
| 60 | + to { | |
| 61 | + opacity: 1; | |
| 62 | + } | |
| 57 | 63 | } |
| 58 | 64 | |
| 59 | 65 | /* Modal card */ |
| 60 | 66 | .thinkrank-qe-modal { |
| 61 | - width: 560px; | |
| 62 | - max-width: 100%; | |
| 63 | - max-height: min(85vh, 720px); | |
| 64 | - display: flex; | |
| 65 | - flex-direction: column; | |
| 66 | - background: #ffffff; | |
| 67 | - border-radius: 8px; | |
| 68 | - box-shadow: 0 20px 50px rgba(29, 29, 29, 0.25); | |
| 69 | - animation: thinkrank-qe-pop 0.14s ease-out; | |
| 70 | - font-size: 13px; | |
| 67 | + width: 560px; | |
| 68 | + max-width: 100%; | |
| 69 | + max-height: min(85vh, 720px); | |
| 70 | + display: flex; | |
| 71 | + flex-direction: column; | |
| 72 | + background: #fff; | |
| 73 | + border-radius: 8px; | |
| 74 | + box-shadow: 0 20px 50px rgba(29, 29, 29, 0.25); | |
| 75 | + animation: thinkrank-qe-pop 0.14s ease-out; | |
| 76 | + font-size: 13px; | |
| 71 | 77 | } |
| 72 | 78 | |
| 73 | 79 | @keyframes thinkrank-qe-pop { |
| 74 | - from { opacity: 0; transform: translateY(6px) scale(0.985); } | |
| 75 | - to { opacity: 1; transform: none; } | |
| 80 | + | |
| 81 | + from { | |
| 82 | + opacity: 0; | |
| 83 | + transform: translateY(6px) scale(0.985); | |
| 84 | + } | |
| 85 | + | |
| 86 | + to { | |
| 87 | + opacity: 1; | |
| 88 | + transform: none; | |
| 89 | + } | |
| 76 | 90 | } |
| 77 | 91 | |
| 78 | 92 | /* Header */ |
| 79 | 93 | .thinkrank-qe-header { |
| 80 | - display: flex; | |
| 81 | - align-items: flex-start; | |
| 82 | - justify-content: space-between; | |
| 83 | - gap: 16px; | |
| 84 | - padding: 18px 24px; | |
| 85 | - border-bottom: 1px solid #E2E6F1; | |
| 94 | + display: flex; | |
| 95 | + align-items: flex-start; | |
| 96 | + justify-content: space-between; | |
| 97 | + gap: 16px; | |
| 98 | + padding: 18px 24px; | |
| 99 | + border-bottom: 1px solid #e2e6f1; | |
| 86 | 100 | } |
| 87 | 101 | |
| 88 | 102 | .thinkrank-qe-title { |
| 89 | - margin: 0; | |
| 90 | - font-size: 16px; | |
| 91 | - font-weight: 600; | |
| 92 | - line-height: 1.3; | |
| 93 | - color: #1D1D1D; | |
| 103 | + margin: 0; | |
| 104 | + font-size: 16px; | |
| 105 | + font-weight: 600; | |
| 106 | + line-height: 1.3; | |
| 107 | + color: #1d1d1d; | |
| 94 | 108 | } |
| 95 | 109 | |
| 96 | 110 | .thinkrank-qe-post-title { |
| 97 | - margin: 3px 0 0; | |
| 98 | - font-size: 12px; | |
| 99 | - color: #5A5C5E; | |
| 100 | - overflow: hidden; | |
| 101 | - text-overflow: ellipsis; | |
| 102 | - display: -webkit-box; | |
| 103 | - -webkit-line-clamp: 1; | |
| 104 | - -webkit-box-orient: vertical; | |
| 111 | + margin: 3px 0 0; | |
| 112 | + font-size: 12px; | |
| 113 | + color: #5a5c5e; | |
| 114 | + overflow: hidden; | |
| 115 | + text-overflow: ellipsis; | |
| 116 | + display: -webkit-box; | |
| 117 | + -webkit-line-clamp: 1; | |
| 118 | + -webkit-box-orient: vertical; | |
| 105 | 119 | } |
| 106 | 120 | |
| 107 | 121 | .thinkrank-qe-close { |
| 108 | - flex-shrink: 0; | |
| 109 | - display: inline-flex; | |
| 110 | - align-items: center; | |
| 111 | - justify-content: center; | |
| 112 | - width: 28px; | |
| 113 | - height: 28px; | |
| 114 | - padding: 0; | |
| 115 | - margin-top: 1px; | |
| 116 | - border: none; | |
| 117 | - border-radius: 6px; | |
| 118 | - background: transparent; | |
| 119 | - color: #5A5C5E; | |
| 120 | - cursor: pointer; | |
| 121 | - transition: all 0.15s ease; | |
| 122 | + flex-shrink: 0; | |
| 123 | + display: inline-flex; | |
| 124 | + align-items: center; | |
| 125 | + justify-content: center; | |
| 126 | + width: 28px; | |
| 127 | + height: 28px; | |
| 128 | + padding: 0; | |
| 129 | + margin-top: 1px; | |
| 130 | + border: none; | |
| 131 | + border-radius: 6px; | |
| 132 | + background: transparent; | |
| 133 | + color: #5a5c5e; | |
| 134 | + cursor: pointer; | |
| 135 | + transition: all 0.15s ease; | |
| 122 | 136 | } |
| 123 | 137 | |
| 124 | 138 | .thinkrank-qe-close:hover, |
| 125 | 139 | .thinkrank-qe-close:focus { |
| 126 | - background: #F1F1F5; | |
| 127 | - color: #1D1D1D; | |
| 128 | - outline: none; | |
| 140 | + background: #f1f1f5; | |
| 141 | + color: #1d1d1d; | |
| 142 | + outline: none; | |
| 129 | 143 | } |
| 130 | 144 | |
| 131 | 145 | /* Body */ |
| 132 | 146 | .thinkrank-qe-body { |
| 133 | - padding: 20px 24px; | |
| 134 | - overflow-y: auto; | |
| 135 | - display: flex; | |
| 136 | - flex-direction: column; | |
| 137 | - gap: 18px; | |
| 147 | + padding: 20px 24px; | |
| 148 | + overflow-y: auto; | |
| 149 | + display: flex; | |
| 150 | + flex-direction: column; | |
| 151 | + gap: 18px; | |
| 138 | 152 | } |
| 139 | 153 | |
| 140 | 154 | .thinkrank-qe-field { |
| 141 | - display: flex; | |
| 142 | - flex-direction: column; | |
| 143 | - gap: 6px; | |
| 155 | + display: flex; | |
| 156 | + flex-direction: column; | |
| 157 | + gap: 6px; | |
| 144 | 158 | } |
| 145 | 159 | |
| 146 | 160 | .thinkrank-qe-field-top { |
| 147 | - display: flex; | |
| 148 | - align-items: baseline; | |
| 149 | - justify-content: space-between; | |
| 150 | - gap: 12px; | |
| 161 | + display: flex; | |
| 162 | + align-items: baseline; | |
| 163 | + justify-content: space-between; | |
| 164 | + gap: 12px; | |
| 151 | 165 | } |
| 152 | 166 | |
| 153 | 167 | .thinkrank-qe-label { |
| 154 | - font-size: 13px; | |
| 155 | - font-weight: 600; | |
| 156 | - color: #1D1D1D; | |
| 168 | + font-size: 13px; | |
| 169 | + font-weight: 600; | |
| 170 | + color: #1d1d1d; | |
| 157 | 171 | } |
| 158 | 172 | |
| 159 | 173 | .thinkrank-qe-counter { |
| 160 | - font-size: 12px; | |
| 161 | - color: #5A5C5E; | |
| 162 | - font-variant-numeric: tabular-nums; | |
| 174 | + font-size: 12px; | |
| 175 | + color: #5a5c5e; | |
| 176 | + font-variant-numeric: tabular-nums; | |
| 163 | 177 | } |
| 164 | 178 | |
| 165 | 179 | .thinkrank-qe-counter.is-over { |
| 166 | - color: #921C13; | |
| 167 | - font-weight: 600; | |
| 180 | + color: #921c13; | |
| 181 | + font-weight: 600; | |
| 168 | 182 | } |
| 169 | 183 | |
| 170 | 184 | .thinkrank-qe-input { |
| 171 | - width: 100%; | |
| 172 | - box-sizing: border-box; | |
| 173 | - margin: 0; | |
| 174 | - padding: 8px 12px; | |
| 175 | - font-size: 13px; | |
| 176 | - line-height: 1.5; | |
| 177 | - color: #1D1D1D; | |
| 178 | - background: #ffffff; | |
| 179 | - border: 1px solid #D5D5DD; | |
| 180 | - border-radius: 6px; | |
| 181 | - box-shadow: none; | |
| 182 | - transition: border-color 0.15s ease, box-shadow 0.15s ease; | |
| 185 | + width: 100%; | |
| 186 | + box-sizing: border-box; | |
| 187 | + margin: 0; | |
| 188 | + padding: 8px 12px; | |
| 189 | + font-size: 13px; | |
| 190 | + line-height: 1.5; | |
| 191 | + color: #1d1d1d; | |
| 192 | + background: #fff; | |
| 193 | + border: 1px solid #d5d5dd; | |
| 194 | + border-radius: 6px; | |
| 195 | + box-shadow: none; | |
| 196 | + transition: border-color 0.15s ease, box-shadow 0.15s ease; | |
| 183 | 197 | } |
| 184 | 198 | |
| 185 | 199 | .thinkrank-qe-input::placeholder { |
| 186 | - color: #8c8f94; | |
| 200 | + color: #8c8f94; | |
| 187 | 201 | } |
| 188 | 202 | |
| 189 | 203 | .thinkrank-qe-input:focus { |
| 190 | - border-color: #4451FF; | |
| 191 | - box-shadow: 0 0 0 2px rgba(68, 81, 255, 0.18); | |
| 192 | - outline: none; | |
| 204 | + border-color: #4451ff; | |
| 205 | + box-shadow: 0 0 0 2px rgba(68, 81, 255, 0.18); | |
| 206 | + outline: none; | |
| 193 | 207 | } |
| 194 | 208 | |
| 195 | 209 | textarea.thinkrank-qe-input { |
| 196 | - resize: vertical; | |
| 197 | - min-height: 68px; | |
| 210 | + resize: vertical; | |
| 211 | + min-height: 68px; | |
| 198 | 212 | } |
| 199 | 213 | |
| 200 | 214 | .thinkrank-qe-help { |
| 201 | - margin: 0; | |
| 202 | - font-size: 12px; | |
| 203 | - line-height: 1.45; | |
| 204 | - color: #5A5C5E; | |
| 215 | + margin: 0; | |
| 216 | + font-size: 12px; | |
| 217 | + line-height: 1.45; | |
| 218 | + color: #5a5c5e; | |
| 205 | 219 | } |
| 206 | 220 | |
| 207 | 221 | .thinkrank-qe-error { |
| 208 | - margin: 0; | |
| 209 | - padding: 8px 12px; | |
| 210 | - font-size: 12px; | |
| 211 | - color: #921C13; | |
| 212 | - background: #FEF3F2; | |
| 213 | - border: 1px solid rgba(146, 28, 19, 0.2); | |
| 214 | - border-radius: 6px; | |
| 222 | + margin: 0; | |
| 223 | + padding: 8px 12px; | |
| 224 | + font-size: 12px; | |
| 225 | + color: #921c13; | |
| 226 | + background: #fef3f2; | |
| 227 | + border: 1px solid rgba(146, 28, 19, 0.2); | |
| 228 | + border-radius: 6px; | |
| 215 | 229 | } |
| 216 | 230 | |
| 217 | 231 | /* Loading state */ |
| 218 | 232 | .thinkrank-qe-loading { |
| 219 | - height: 120px; | |
| 220 | - display: flex; | |
| 221 | - align-items: center; | |
| 222 | - justify-content: center; | |
| 233 | + height: 120px; | |
| 234 | + display: flex; | |
| 235 | + align-items: center; | |
| 236 | + justify-content: center; | |
| 223 | 237 | } |
| 224 | 238 | |
| 225 | 239 | .thinkrank-qe-loading::after { |
| 226 | - content: ""; | |
| 227 | - width: 22px; | |
| 228 | - height: 22px; | |
| 229 | - border: 2.5px solid #E2E6F1; | |
| 230 | - border-top-color: #4451FF; | |
| 231 | - border-radius: 50%; | |
| 232 | - animation: thinkrank-qe-spin 0.7s linear infinite; | |
| 240 | + content: ""; | |
| 241 | + width: 22px; | |
| 242 | + height: 22px; | |
| 243 | + border: 2.5px solid #e2e6f1; | |
| 244 | + border-top-color: #4451ff; | |
| 245 | + border-radius: 50%; | |
| 246 | + animation: thinkrank-qe-spin 0.7s linear infinite; | |
| 233 | 247 | } |
| 234 | 248 | |
| 235 | 249 | @keyframes thinkrank-qe-spin { |
| 236 | - to { transform: rotate(360deg); } | |
| 250 | + | |
| 251 | + to { | |
| 252 | + transform: rotate(360deg); | |
| 253 | + } | |
| 237 | 254 | } |
| 238 | 255 | |
| 239 | 256 | /* Footer */ |
| 240 | 257 | .thinkrank-qe-footer { |
| 241 | - display: flex; | |
| 242 | - align-items: center; | |
| 243 | - justify-content: space-between; | |
| 244 | - gap: 12px; | |
| 245 | - padding: 14px 24px; | |
| 246 | - border-top: 1px solid #E2E6F1; | |
| 247 | - background: #F8F8FB; | |
| 248 | - border-radius: 0 0 8px 8px; | |
| 258 | + display: flex; | |
| 259 | + align-items: center; | |
| 260 | + justify-content: space-between; | |
| 261 | + gap: 12px; | |
| 262 | + padding: 14px 24px; | |
| 263 | + border-top: 1px solid #e2e6f1; | |
| 264 | + background: #f8f8fb; | |
| 265 | + border-radius: 0 0 8px 8px; | |
| 249 | 266 | } |
| 250 | 267 | |
| 251 | 268 | .thinkrank-qe-edit-link { |
| 252 | - font-size: 12px; | |
| 253 | - color: #5A5C5E; | |
| 254 | - text-decoration: none; | |
| 269 | + font-size: 12px; | |
| 270 | + color: #5a5c5e; | |
| 271 | + text-decoration: none; | |
| 255 | 272 | } |
| 256 | 273 | |
| 257 | 274 | .thinkrank-qe-edit-link:hover, |
| 258 | 275 | .thinkrank-qe-edit-link:focus { |
| 259 | - color: #4451FF; | |
| 260 | - text-decoration: underline; | |
| 276 | + color: #4451ff; | |
| 277 | + text-decoration: underline; | |
| 261 | 278 | } |
| 262 | 279 | |
| 263 | 280 | .thinkrank-qe-actions { |
| 264 | - display: flex; | |
| 265 | - align-items: center; | |
| 266 | - gap: 8px; | |
| 267 | - margin-left: auto; | |
| 281 | + display: flex; | |
| 282 | + align-items: center; | |
| 283 | + gap: 8px; | |
| 284 | + margin-left: auto; | |
| 268 | 285 | } |
| 269 | 286 | |
| 270 | 287 | .thinkrank-qe-btn { |
| 271 | - display: inline-flex; | |
| 272 | - align-items: center; | |
| 273 | - justify-content: center; | |
| 274 | - padding: 8px 16px; | |
| 275 | - font-size: 13px; | |
| 276 | - font-weight: 500; | |
| 277 | - line-height: 1; | |
| 278 | - border-radius: 6px; | |
| 279 | - border: 1px solid transparent; | |
| 280 | - cursor: pointer; | |
| 281 | - transition: all 0.15s ease; | |
| 288 | + display: inline-flex; | |
| 289 | + align-items: center; | |
| 290 | + justify-content: center; | |
| 291 | + padding: 8px 16px; | |
| 292 | + font-size: 13px; | |
| 293 | + font-weight: 500; | |
| 294 | + line-height: 1; | |
| 295 | + border-radius: 6px; | |
| 296 | + border: 1px solid transparent; | |
| 297 | + cursor: pointer; | |
| 298 | + transition: all 0.15s ease; | |
| 282 | 299 | } |
| 283 | 300 | |
| 284 | 301 | .thinkrank-qe-btn:focus { |
| 285 | - outline: none; | |
| 286 | - box-shadow: 0 0 0 2px rgba(68, 81, 255, 0.25); | |
| 302 | + outline: none; | |
| 303 | + box-shadow: 0 0 0 2px rgba(68, 81, 255, 0.25); | |
| 287 | 304 | } |
| 288 | 305 | |
| 289 | 306 | .thinkrank-qe-btn-ghost { |
| 290 | - background: #ffffff; | |
| 291 | - border-color: #D5D5DD; | |
| 292 | - color: #1D1D1D; | |
| 307 | + background: #fff; | |
| 308 | + border-color: #d5d5dd; | |
| 309 | + color: #1d1d1d; | |
| 293 | 310 | } |
| 294 | 311 | |
| 295 | 312 | .thinkrank-qe-btn-ghost:hover { |
| 296 | - background: #F1F1F5; | |
| 313 | + background: #f1f1f5; | |
| 297 | 314 | } |
| 298 | 315 | |
| 299 | 316 | .thinkrank-qe-btn-primary { |
| 300 | - background: #4451FF; | |
| 301 | - color: #ffffff; | |
| 317 | + background: #4451ff; | |
| 318 | + color: #fff; | |
| 302 | 319 | } |
| 303 | 320 | |
| 304 | 321 | .thinkrank-qe-btn-primary:hover { |
| 305 | - background: #3743e0; | |
| 322 | + background: #3743e0; | |
| 306 | 323 | } |
| 307 | 324 | |
| 308 | 325 | .thinkrank-qe-btn-primary:disabled { |
| 309 | - opacity: 0.6; | |
| 310 | - cursor: default; | |
| 326 | + opacity: 0.6; | |
| 327 | + cursor: default; | |
| 311 | 328 | } |
| 312 | 329 | |
| 313 | 330 | /* Small screens: WP switches to its stacked list at 782px */ |
| 314 | 331 | @media screen and (max-width: 600px) { |
| 315 | - .thinkrank-qe-overlay { | |
| 316 | - padding: 12px; | |
| 317 | - align-items: flex-end; | |
| 318 | - } | |
| 319 | 332 | |
| 320 | - .thinkrank-qe-modal { | |
| 321 | - max-height: 92vh; | |
| 322 | - } | |
| 333 | + .thinkrank-qe-overlay { | |
| 334 | + padding: 12px; | |
| 335 | + align-items: flex-end; | |
| 336 | + } | |
| 337 | + | |
| 338 | + .thinkrank-qe-modal { | |
| 339 | + max-height: 92vh; | |
| 340 | + } | |
| 323 | 341 | } |