| 1 |
#wpcontent { |
| 2 |
padding: 0 !important; |
| 3 |
} |
| 4 |
|
| 5 |
#wpbody-content { |
| 6 |
padding: 0; |
| 7 |
overflow-x: hidden !important; |
| 8 |
min-height: calc(100vh - 32px); |
| 9 |
} |
| 10 |
@media (min-width: 783px) { |
| 11 |
#wpbody-content { |
| 12 |
padding-left: 0; |
| 13 |
} |
| 14 |
} |
| 15 |
:root { |
| 16 |
--large-gap: 40px; |
| 17 |
--main-gap: 24px; |
| 18 |
} |
| 19 |
@media (max-width: 960px) { |
| 20 |
:root { |
| 21 |
--large-gap: 24px; |
| 22 |
} |
| 23 |
} |
| 24 |
@media (max-width: 782px) { |
| 25 |
:root { |
| 26 |
--large-gap: 16px; |
| 27 |
--main-gap: 16px; |
| 28 |
} |
| 29 |
} |
| 30 |
@keyframes loading-fade { |
| 31 |
0% { |
| 32 |
opacity: 0.7; |
| 33 |
} |
| 34 |
50% { |
| 35 |
opacity: 1; |
| 36 |
} |
| 37 |
to { |
| 38 |
opacity: 0.7; |
| 39 |
} |
| 40 |
} |
| 41 |
|
| 42 |
.yaycommerce-license-page h2 { |
| 43 |
font-weight: 700; |
| 44 |
font-size: 18px; |
| 45 |
line-height: 20px; |
| 46 |
} |
| 47 |
|
| 48 |
.yaycommerce-license-page h3 { |
| 49 |
font-size: 14px; |
| 50 |
font-weight: 600; |
| 51 |
margin: 8px 0px; |
| 52 |
} |
| 53 |
|
| 54 |
.yaycommerce-license-page label { |
| 55 |
margin-bottom: 5px; |
| 56 |
display: inline-block; |
| 57 |
} |
| 58 |
|
| 59 |
.yaycommerce-license__top-bar { |
| 60 |
display: flex; |
| 61 |
align-items: center; |
| 62 |
background: #fff; |
| 63 |
gap: 1rem; |
| 64 |
} |
| 65 |
|
| 66 |
.yaycommerce-license__top-bar__icon { |
| 67 |
display: flex; |
| 68 |
} |
| 69 |
|
| 70 |
.yaycommerce-license-page main { |
| 71 |
margin-top: 1rem; |
| 72 |
} |
| 73 |
|
| 74 |
.yaycommerce-license-body { |
| 75 |
margin: 0 0 100px 0; |
| 76 |
padding: 0 20px 20px; |
| 77 |
} |
| 78 |
|
| 79 |
.yaycommerce-license-layout * { |
| 80 |
box-sizing: border-box; |
| 81 |
} |
| 82 |
|
| 83 |
.yaycommerce-license-layout { |
| 84 |
display: flex; |
| 85 |
gap: 1rem; |
| 86 |
} |
| 87 |
|
| 88 |
.yaycommerce-license-layout .yaycommerce-license-layout-main { |
| 89 |
max-width: 100%; |
| 90 |
flex: 1; |
| 91 |
margin-top: 10px; |
| 92 |
} |
| 93 |
.yaycommerce-license-settings { |
| 94 |
display: grid; |
| 95 |
gap: 1rem; |
| 96 |
grid-template-columns: 1fr 1fr 1fr; |
| 97 |
justify-content: center; |
| 98 |
} |
| 99 |
|
| 100 |
.yaycommerce-license-sidebar { |
| 101 |
width: 400px; |
| 102 |
} |
| 103 |
.yaycommerce-license-sidebar-sticky { |
| 104 |
margin-top: 10px; |
| 105 |
width: 400px; |
| 106 |
position: fixed; |
| 107 |
right: 20px; |
| 108 |
border-radius: 3px; |
| 109 |
display: flex; |
| 110 |
flex-direction: column; |
| 111 |
gap: 1rem; |
| 112 |
} |
| 113 |
|
| 114 |
@media screen and (max-width: 1800px) { |
| 115 |
.yaycommerce-license-settings { |
| 116 |
grid-template-columns: 1fr 1fr; |
| 117 |
} |
| 118 |
.yaycommerce-license-settings .yaycommerce-license-no-license:last-child { |
| 119 |
grid-column: 1 / span 2 !important; |
| 120 |
} |
| 121 |
} |
| 122 |
@media screen and (max-width: 1500px) { |
| 123 |
.yaycommerce-license-settings { |
| 124 |
grid-template-columns: 100%; |
| 125 |
max-width: 600px; |
| 126 |
margin: auto; |
| 127 |
} |
| 128 |
.yaycommerce-license-settings .yaycommerce-license-no-license:last-child { |
| 129 |
grid-column: auto !important; |
| 130 |
} |
| 131 |
} |
| 132 |
@media screen and (max-width: 1100px) { |
| 133 |
.yaycommerce-license-layout { |
| 134 |
flex-direction: column; |
| 135 |
align-items: center; |
| 136 |
width: 70%; |
| 137 |
margin: auto; |
| 138 |
} |
| 139 |
.yaycommerce-license-sidebar { |
| 140 |
width: 100%; |
| 141 |
} |
| 142 |
.yaycommerce-license-sidebar-sticky { |
| 143 |
position: relative; |
| 144 |
top: 0; |
| 145 |
right: 0; |
| 146 |
width: 100%; |
| 147 |
} |
| 148 |
.yaycommerce-license-layout-main { |
| 149 |
order: 2; |
| 150 |
width: 100%; |
| 151 |
margin-top: 0 !important; |
| 152 |
} |
| 153 |
.yaycommerce-license-settings { |
| 154 |
grid-template-columns: 100%; |
| 155 |
max-width: none; |
| 156 |
width: 100%; |
| 157 |
} |
| 158 |
} |
| 159 |
@media screen and (max-width: 700px) { |
| 160 |
.yaycommerce-license-layout { |
| 161 |
width: 100%; |
| 162 |
} |
| 163 |
} |
| 164 |
.yaycommerce-license-card { |
| 165 |
background: #ffffff; |
| 166 |
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15); |
| 167 |
border-radius: 6px; |
| 168 |
overflow: hidden; |
| 169 |
display: flex; |
| 170 |
flex-direction: column; |
| 171 |
} |
| 172 |
.yaycommerce-license-card-header { |
| 173 |
padding: 1rem; |
| 174 |
border-bottom: 1px solid #e2e4e7; |
| 175 |
background: #fafafa; |
| 176 |
display: flex; |
| 177 |
align-items: center; |
| 178 |
} |
| 179 |
.yaycommerce-license-sidebar-sticky .yaycommerce-license-card-header { |
| 180 |
background: #fff; |
| 181 |
} |
| 182 |
.yaycommerce-license-card-header h3 { |
| 183 |
margin: 0; |
| 184 |
line-height: 1.6; |
| 185 |
} |
| 186 |
.yaycommerce-license-card-description { |
| 187 |
font-size: 14px; |
| 188 |
line-height: 20px; |
| 189 |
font-weight: 400; |
| 190 |
margin-top: 4px; |
| 191 |
} |
| 192 |
.yaycommerce-license-card .yaycommerce-license-card-body { |
| 193 |
padding: 8px 24px 12px; |
| 194 |
margin-top: auto; |
| 195 |
} |
| 196 |
|
| 197 |
.yaycommerce-license-settings .yaycommerce-license-card-body { |
| 198 |
padding: 1rem; |
| 199 |
} |
| 200 |
|
| 201 |
.yaycommerce-license-input-row { |
| 202 |
display: flex; |
| 203 |
align-items: center; |
| 204 |
gap: 5px; |
| 205 |
margin-bottom: 10px; |
| 206 |
} |
| 207 |
|
| 208 |
.yaycommerce-license-input-row input { |
| 209 |
flex: 1; |
| 210 |
min-height: 30px; |
| 211 |
border-radius: 6px; |
| 212 |
border-color: #d9d9d9; |
| 213 |
} |
| 214 |
|
| 215 |
.yaycommerce-license-input-row input:disabled { |
| 216 |
background: #fbfbfb; |
| 217 |
} |
| 218 |
|
| 219 |
@media screen and (max-width: 782px) { |
| 220 |
.yaycommerce-license-input-row input { |
| 221 |
min-height: 30px; |
| 222 |
padding: 0 8px; |
| 223 |
font-size: 14px; |
| 224 |
} |
| 225 |
} |
| 226 |
|
| 227 |
.yaycommerce-license-card-footer { |
| 228 |
padding: 10px 1rem; |
| 229 |
border-top: 1px solid #d9d9d9; |
| 230 |
display: flex; |
| 231 |
flex-direction: column; |
| 232 |
gap: 5px; |
| 233 |
margin-top: auto; |
| 234 |
} |
| 235 |
|
| 236 |
.yaycommerce-license-card-footer:not(:has(div)) { |
| 237 |
display: none; |
| 238 |
} |
| 239 |
|
| 240 |
/* CSS Notification */ |
| 241 |
.yaycommerce-license-notification { |
| 242 |
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, |
| 243 |
Ubuntu, Cantarell, Helvetica Neue, sans-serif; |
| 244 |
font-size: 13px; |
| 245 |
background-color: #32373c; |
| 246 |
border-radius: 4px; |
| 247 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); |
| 248 |
color: #fff; |
| 249 |
padding: 16px 24px; |
| 250 |
width: fit-content; |
| 251 |
max-width: 600px; |
| 252 |
box-sizing: border-box; |
| 253 |
cursor: pointer; |
| 254 |
animation: NslideUp 0.5s both linear; |
| 255 |
position: fixed; |
| 256 |
bottom: 20px; |
| 257 |
right: 20px; |
| 258 |
z-index: 20; |
| 259 |
} |
| 260 |
|
| 261 |
.yaycommerce-license-buy-now { |
| 262 |
font-weight: 600; |
| 263 |
} |
| 264 |
|
| 265 |
.yaycommerce-license-expired-text, |
| 266 |
.yaycommerce-license-expired-text:hover { |
| 267 |
color: rgb(247, 40, 40); |
| 268 |
} |
| 269 |
|
| 270 |
p.yaycommerce_expired_text::before { |
| 271 |
content: "\f158"; |
| 272 |
} |
| 273 |
|
| 274 |
.yaycommerce-activate-license-button { |
| 275 |
display: flex !important; |
| 276 |
align-items: center; |
| 277 |
} |
| 278 |
|
| 279 |
.activate-loading { |
| 280 |
display: none; |
| 281 |
-webkit-box-align: center; |
| 282 |
-ms-flex-align: center; |
| 283 |
-webkit-box-pack: center; |
| 284 |
-ms-flex-pack: center; |
| 285 |
align-items: center; |
| 286 |
cursor: pointer; |
| 287 |
font-size: 21px; |
| 288 |
justify-content: center; |
| 289 |
padding: 2px; |
| 290 |
} |
| 291 |
|
| 292 |
.activate-loading.sync-loading { |
| 293 |
-webkit-animation: loading-rotate 1.5s linear infinite forwards; |
| 294 |
animation: loading-rotate 1.5s linear infinite forwards; |
| 295 |
} |
| 296 |
|
| 297 |
@keyframes loading-rotate { |
| 298 |
50% { |
| 299 |
rotate: 180deg; |
| 300 |
} |
| 301 |
100% { |
| 302 |
rotate: 360deg; |
| 303 |
} |
| 304 |
} |
| 305 |
|
| 306 |
.activate-loading svg { |
| 307 |
fill: currentColor; |
| 308 |
height: 1rem; |
| 309 |
width: 1rem; |
| 310 |
} |
| 311 |
|
| 312 |
.yaycommerce-license-message { |
| 313 |
opacity: 0; |
| 314 |
visibility: hidden; |
| 315 |
transition: all 0.2s ease-in-out; |
| 316 |
position: relative; |
| 317 |
display: flex; |
| 318 |
align-items: center; |
| 319 |
gap: 5px; |
| 320 |
color: #ff4d4f; |
| 321 |
} |
| 322 |
|
| 323 |
.yaycommerce-license-message a { |
| 324 |
color: #ff4d4f; |
| 325 |
} |
| 326 |
|
| 327 |
.yaycommerce-license-message__close { |
| 328 |
display: flex; |
| 329 |
cursor: pointer; |
| 330 |
margin-left: auto; |
| 331 |
} |
| 332 |
|
| 333 |
.yaycommerce-license-message.show { |
| 334 |
opacity: 1; |
| 335 |
visibility: visible; |
| 336 |
} |
| 337 |
|
| 338 |
.yaycommerce-license-badge { |
| 339 |
padding: 3px 8px; |
| 340 |
border-radius: 30px; |
| 341 |
background: rgb(176, 176, 176); |
| 342 |
font-size: 12px; |
| 343 |
color: #fff; |
| 344 |
} |
| 345 |
.yaycommerce-license-badge.error { |
| 346 |
background: #d63638; |
| 347 |
} |
| 348 |
.yaycommerce-license-badge.success { |
| 349 |
background: #52c41a; |
| 350 |
} |
| 351 |
.yaycommerce-license-button { |
| 352 |
height: 30px; |
| 353 |
display: flex; |
| 354 |
flex-direction: row; |
| 355 |
justify-content: center; |
| 356 |
align-items: center; |
| 357 |
padding: 4px 15px; |
| 358 |
gap: 8px; |
| 359 |
background: #ffffff; |
| 360 |
border: 1px solid #d9d9d9; |
| 361 |
border-radius: 6px; |
| 362 |
cursor: pointer; |
| 363 |
transition: all 0.3s ease-in-out; |
| 364 |
color: #414141; |
| 365 |
min-height: 30px !important; |
| 366 |
border-radius: 6px !important; |
| 367 |
} |
| 368 |
.yaycommerce-license-button:hover { |
| 369 |
box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.063); |
| 370 |
} |
| 371 |
.yaycommerce-remove-license:hover { |
| 372 |
box-shadow: 0px 2px 0px rgba(177, 0, 0, 0.223); |
| 373 |
} |
| 374 |
.yaycommerce-remove-license { |
| 375 |
border-color: #d63638 !important; |
| 376 |
color: #d63638 !important; |
| 377 |
} |
| 378 |
.yaycommerce-license-settings .yaycommerce-license-no-license { |
| 379 |
display: none; |
| 380 |
} |
| 381 |
.yaycommerce-license-settings .yaycommerce-license-no-license:last-child { |
| 382 |
display: block !important; |
| 383 |
grid-column: 1 / span 3; |
| 384 |
} |
| 385 |
|
| 386 |
.yaycommerce-license__task-list li { |
| 387 |
display: flex; |
| 388 |
align-items: center; |
| 389 |
gap: 0.5rem; |
| 390 |
margin-bottom: 10px; |
| 391 |
} |
| 392 |
.yaycommerce-license__task-list li > span:first-child { |
| 393 |
display: flex; |
| 394 |
} |
| 395 |
.yaycommerce-license__task-list li > span:first-child svg { |
| 396 |
width: 20px; |
| 397 |
height: 20px; |
| 398 |
} |
| 399 |
|
| 400 |
.yaycommerce-license__important-notice { |
| 401 |
display: flex; |
| 402 |
align-items: center; |
| 403 |
gap: 5px; |
| 404 |
padding: 5px 10px; |
| 405 |
border: 1px solid #c2ddff; |
| 406 |
background-color: #e8f2ff; |
| 407 |
color: #295b99; |
| 408 |
border-radius: 6px; |
| 409 |
} |
| 410 |
|
| 411 |
.yaycommerce-license__important-notice span:first-child { |
| 412 |
display: flex; |
| 413 |
} |
| 414 |
|
| 415 |
.yaycommerce-license__important-notice svg path:nth-child(odd) { |
| 416 |
fill: #295b99 !important; |
| 417 |
} |
| 418 |
|
| 419 |
.yaycommerce-license__network-notice { |
| 420 |
margin-bottom: 16px; |
| 421 |
padding: 10px 14px; |
| 422 |
border: 1px solid #ffe1a8; |
| 423 |
background-color: #fff8e6; |
| 424 |
color: #8a6d00; |
| 425 |
border-radius: 6px; |
| 426 |
line-height: 1.5; |
| 427 |
} |
| 428 |
|
| 429 |
.message { |
| 430 |
position: fixed; |
| 431 |
top: 0; |
| 432 |
left: 50%; |
| 433 |
z-index: 50; |
| 434 |
display: flex; |
| 435 |
align-items: center; |
| 436 |
gap: 8px; |
| 437 |
overflow: hidden; |
| 438 |
padding: 9px 12px; |
| 439 |
background: #fff; |
| 440 |
border-radius: 8px; |
| 441 |
box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), |
| 442 |
0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05); |
| 443 |
pointer-events: all; |
| 444 |
transform: translate(-50%, -100%); |
| 445 |
transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35); |
| 446 |
} |
| 447 |
|
| 448 |
.message.active { |
| 449 |
transform: translate(-50%, 35px); |
| 450 |
} |
| 451 |
|
| 452 |
.message svg { |
| 453 |
max-width: 20px; |
| 454 |
} |
| 455 |
|
| 456 |
.message--success { |
| 457 |
color: #52c41a; |
| 458 |
} |
| 459 |
.message--error { |
| 460 |
color: #ff4d4f; |
| 461 |
} |
| 462 |
|
| 463 |
.message__text { |
| 464 |
margin: 0; |
| 465 |
font-size: 14px; |
| 466 |
color: rgba(0, 0, 0, 0.88); |
| 467 |
} |
| 468 |
|