| 1 |
.settings_page_yaycommerce-license-settings .yaycommerce-license-wrap { |
| 2 |
margin: 0; |
| 3 |
} |
| 4 |
.settings_page_yaycommerce-license-settings #wpbody-content { |
| 5 |
padding: 0; |
| 6 |
overflow-x: hidden !important; |
| 7 |
min-height: calc(100vh - 32px); |
| 8 |
} |
| 9 |
@media (min-width: 783px) { |
| 10 |
.settings_page_yaycommerce-license-settings #wpbody-content { |
| 11 |
padding-left: 0; |
| 12 |
} |
| 13 |
} |
| 14 |
:root { |
| 15 |
--large-gap: 40px; |
| 16 |
--main-gap: 24px; |
| 17 |
} |
| 18 |
@media (max-width: 960px) { |
| 19 |
:root { |
| 20 |
--large-gap: 24px; |
| 21 |
} |
| 22 |
} |
| 23 |
@media (max-width: 782px) { |
| 24 |
:root { |
| 25 |
--large-gap: 16px; |
| 26 |
--main-gap: 16px; |
| 27 |
} |
| 28 |
} |
| 29 |
@keyframes loading-fade { |
| 30 |
0% { |
| 31 |
opacity: 0.7; |
| 32 |
} |
| 33 |
50% { |
| 34 |
opacity: 1; |
| 35 |
} |
| 36 |
to { |
| 37 |
opacity: 0.7; |
| 38 |
} |
| 39 |
} |
| 40 |
|
| 41 |
.yaycommerce-license-layout * { |
| 42 |
box-sizing: border-box; |
| 43 |
} |
| 44 |
.yaycommerce-license-layout-primary { |
| 45 |
margin: 20px 0; |
| 46 |
} |
| 47 |
|
| 48 |
.yaycommerce-license-layout .yaycommerce-license-layout-main { |
| 49 |
max-width: 100%; |
| 50 |
} |
| 51 |
.yaycommerce-license-settings { |
| 52 |
display: grid; |
| 53 |
gap: 1rem; |
| 54 |
grid-template-columns: 1fr 1fr; |
| 55 |
} |
| 56 |
@media screen and (max-width: 1000px){ |
| 57 |
.yaycommerce-license-settings { |
| 58 |
grid-template-columns: 90%; |
| 59 |
} |
| 60 |
} |
| 61 |
.yaycommerce-license-settings .yaycommerce-license-card { |
| 62 |
margin-bottom: 24px; |
| 63 |
background: #fff; |
| 64 |
border-radius: 3px; |
| 65 |
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), |
| 66 |
0 1px 3px 0 rgba(0, 0, 0, 0.12); |
| 67 |
transition: box-shadow 0.2s cubic-bezier(0.4, 1, 0.4, 1); |
| 68 |
} |
| 69 |
.yaycommerce-license-settings .yaycommerce-license-card-header { |
| 70 |
padding: 8px 24px; |
| 71 |
border-bottom: 1px solid #e2e4e7; |
| 72 |
background: #fafafa; |
| 73 |
} |
| 74 |
.yaycommerce-license-settings .yaycommerce-license-card-title { |
| 75 |
font-size: 14px; |
| 76 |
font-weight: 600; |
| 77 |
margin: 8px 0px; |
| 78 |
} |
| 79 |
.yaycommerce-license-settings .yaycommerce-license-card-description { |
| 80 |
font-size: 14px; |
| 81 |
line-height: 20px; |
| 82 |
font-weight: 400; |
| 83 |
margin-top: 4px; |
| 84 |
} |
| 85 |
.yaycommerce-license-settings .yaycommerce-license-card .yaycommerce-license-card-body { |
| 86 |
padding: 8px 24px 12px; |
| 87 |
} |
| 88 |
|
| 89 |
@media (max-width: 782px) { |
| 90 |
.yaycommerce-license-base-control |
| 91 |
.yaycommerce-license-base-control-field |
| 92 |
.yaycommerce-license-select-control-input { |
| 93 |
font-size: 16px; |
| 94 |
} |
| 95 |
} |
| 96 |
.yaycommerce-license-base-control { |
| 97 |
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, |
| 98 |
Ubuntu, Cantarell, Helvetica Neue, sans-serif; |
| 99 |
font-size: 13px; |
| 100 |
margin-bottom: 16px; |
| 101 |
} |
| 102 |
|
| 103 |
.yaycommerce-license-base-control .yaycommerce-license-base-control-field { |
| 104 |
display: flex; |
| 105 |
gap: 1rem; |
| 106 |
align-items: center; |
| 107 |
margin-bottom: 8px; |
| 108 |
} |
| 109 |
.yaycommerce-license-control .yaycommerce-license-base-control-label { |
| 110 |
margin-right: 40px; |
| 111 |
min-width: 140px; |
| 112 |
cursor: auto; |
| 113 |
} |
| 114 |
@media (max-width: 600px) { |
| 115 |
.yaycommerce-license-control .yaycommerce-license-base-control-label { |
| 116 |
min-width: 110px; |
| 117 |
} |
| 118 |
} |
| 119 |
.yaycommerce-license-control .yaycommerce-license-text { |
| 120 |
line-height: 30px; |
| 121 |
margin-bottom: 5px; |
| 122 |
font-weight: 600; |
| 123 |
} |
| 124 |
|
| 125 |
.yaycommerce-license-text-control-input, |
| 126 |
.yaycommerce-license-text-control-input[type="text"] { |
| 127 |
width: 100%; |
| 128 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, |
| 129 |
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 130 |
padding: 6px 8px; |
| 131 |
box-shadow: 0 0 0 transparent; |
| 132 |
transition: box-shadow 0.1s linear; |
| 133 |
border-radius: 2px; |
| 134 |
border: 1px solid #757575; |
| 135 |
font-size: 16px; |
| 136 |
line-height: normal; |
| 137 |
} |
| 138 |
@media (min-width: 600px) { |
| 139 |
.yaycommerce-license-text-control-input, |
| 140 |
.yaycommerce-license-text-control-input[type="text"] { |
| 141 |
font-size: 13px; |
| 142 |
line-height: normal; |
| 143 |
} |
| 144 |
} |
| 145 |
/* CSS Notification */ |
| 146 |
.yaycommerce-license-notification { |
| 147 |
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, |
| 148 |
Ubuntu, Cantarell, Helvetica Neue, sans-serif; |
| 149 |
font-size: 13px; |
| 150 |
background-color: #32373c; |
| 151 |
border-radius: 4px; |
| 152 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); |
| 153 |
color: #fff; |
| 154 |
padding: 16px 24px; |
| 155 |
width: fit-content; |
| 156 |
max-width: 600px; |
| 157 |
box-sizing: border-box; |
| 158 |
cursor: pointer; |
| 159 |
animation: NslideUp 0.5s both linear; |
| 160 |
position: fixed; |
| 161 |
bottom: 20px; |
| 162 |
right: 20px; |
| 163 |
z-index: 20; |
| 164 |
} |
| 165 |
|
| 166 |
.yaycommerce-license-in-feature { |
| 167 |
color: #333; |
| 168 |
list-style: none; |
| 169 |
margin: 0; |
| 170 |
padding: 0; |
| 171 |
} |
| 172 |
.yaycommerce-license-in-feature li { |
| 173 |
-webkit-box-align: center; |
| 174 |
-ms-flex-align: center; |
| 175 |
align-items: center; |
| 176 |
display: -webkit-box; |
| 177 |
display: -ms-flexbox; |
| 178 |
display: flex; |
| 179 |
margin-bottom: 10px; |
| 180 |
padding-left: 24px; |
| 181 |
position: relative; |
| 182 |
} |
| 183 |
.yaycommerce-license-in-feature li:before { |
| 184 |
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 16a8 8 0 1 1 8-8 8.009 8.009 0 0 1-8 8z' fill='%234caf50'/%3E%3Cpath data-name='Path 2656' d='M7.077 12a.885.885 0 0 1-.652-.293L4.271 9.374a1.06 1.06 0 0 1 0-1.415.874.874 0 0 1 1.306 0l1.452 1.575 3.35-4.188a.876.876 0 0 1 1.3-.1 1.059 1.059 0 0 1 .094 1.411l-4 5A.9.9 0 0 1 7.11 12z' fill='%23fff'/%3E%3C/svg%3E"); |
| 185 |
background-position: 50%; |
| 186 |
background-repeat: no-repeat; |
| 187 |
background-size: contain; |
| 188 |
content: ""; |
| 189 |
height: 16px; |
| 190 |
left: 0; |
| 191 |
margin-top: -8px; |
| 192 |
position: absolute; |
| 193 |
top: 50%; |
| 194 |
width: 16px; |
| 195 |
} |
| 196 |
.yaycommerce-license-buy-now { |
| 197 |
font-weight: 700; |
| 198 |
} |
| 199 |
|
| 200 |
.yaycommerce-license-table { |
| 201 |
width: 100%; |
| 202 |
border-collapse: collapse; |
| 203 |
border: 1px solid rgb(195, 196, 199); |
| 204 |
} |
| 205 |
|
| 206 |
.yaycommerce-license-tr:nth-child(odd) { |
| 207 |
background-color: #f6f7f7; |
| 208 |
} |
| 209 |
|
| 210 |
.yaycommerce-license-tr td { |
| 211 |
padding: 8px 10px; |
| 212 |
} |
| 213 |
|
| 214 |
.yaycommerce-license-key-text { |
| 215 |
font-weight: 600; |
| 216 |
} |
| 217 |
|
| 218 |
.yaycommerce-license-text { |
| 219 |
color: #50575e; |
| 220 |
} |
| 221 |
.yaycommerce-license-text input { |
| 222 |
width: 100%; |
| 223 |
} |
| 224 |
.yaycommerce-license-expired-text { |
| 225 |
color: rgb(247, 40, 40); |
| 226 |
} |
| 227 |
|
| 228 |
p.yaycommerce_expired_text::before { |
| 229 |
content: "\f158"; |
| 230 |
} |
| 231 |
|
| 232 |
.yaycommerce_remove_license { |
| 233 |
color: #c33030; |
| 234 |
cursor: pointer; |
| 235 |
text-decoration: none; |
| 236 |
border: none; |
| 237 |
background: inherit; |
| 238 |
} |
| 239 |
.yaycommerce_remove_license:hover, |
| 240 |
.yaycommerce_remove_license:active, |
| 241 |
.yaycommerce_remove_license:visited, |
| 242 |
.yaycommerce_remove_license:focus { |
| 243 |
color: #9e2828; |
| 244 |
} |
| 245 |
|
| 246 |
.yaycommerce_update_license { |
| 247 |
color: #16619e; |
| 248 |
cursor: pointer; |
| 249 |
text-decoration: none; |
| 250 |
border: none; |
| 251 |
background: inherit; |
| 252 |
} |
| 253 |
.yaycommerce_update_license:hover, |
| 254 |
.yaycommerce_update_license:active, |
| 255 |
.yaycommerce_update_license:visited, |
| 256 |
.yaycommerce_update_license:focus { |
| 257 |
color: #135082; |
| 258 |
} |
| 259 |
|
| 260 |
.yaycommerce-select-license-plugin { |
| 261 |
margin-bottom: 24px; |
| 262 |
} |
| 263 |
.yaycommerce-select-license-plugin > label { |
| 264 |
display: block; |
| 265 |
margin-bottom: 5px; |
| 266 |
font-weight: 600; |
| 267 |
font-size: 14px; |
| 268 |
} |
| 269 |
|
| 270 |
.yaycommerce-activate-license-button { |
| 271 |
display: flex !important; |
| 272 |
align-items: center; |
| 273 |
} |
| 274 |
|
| 275 |
.activate-loading { |
| 276 |
display: none; |
| 277 |
-webkit-box-align: center; |
| 278 |
-ms-flex-align: center; |
| 279 |
-webkit-box-pack: center; |
| 280 |
-ms-flex-pack: center; |
| 281 |
align-items: center; |
| 282 |
cursor: pointer; |
| 283 |
font-size: 21px; |
| 284 |
justify-content: center; |
| 285 |
padding: 2px; |
| 286 |
} |
| 287 |
|
| 288 |
.activate-loading.sync-loading { |
| 289 |
-webkit-animation: loading-rotate 1.5s linear infinite forwards; |
| 290 |
animation: loading-rotate 1.5s linear infinite forwards; |
| 291 |
} |
| 292 |
|
| 293 |
@keyframes loading-rotate { |
| 294 |
50%{ |
| 295 |
rotate: 180deg |
| 296 |
} |
| 297 |
100%{ |
| 298 |
rotate: 360deg; |
| 299 |
} |
| 300 |
} |
| 301 |
|
| 302 |
.activate-loading svg { |
| 303 |
fill: currentColor; |
| 304 |
height: 1rem; |
| 305 |
width: 1rem; |
| 306 |
} |
| 307 |
|
| 308 |
.yaycommerce-license-message { |
| 309 |
opacity: 0; |
| 310 |
visibility: hidden; |
| 311 |
background: #d63638; |
| 312 |
color: white; |
| 313 |
transition: all .2s ease-in-out; |
| 314 |
} |
| 315 |
|
| 316 |
.yaycommerce-license-message.show{ |
| 317 |
opacity: 1; |
| 318 |
visibility: visible; |
| 319 |
padding: 8px 24px 12px; |
| 320 |
} |
| 321 |
|
| 322 |
.yaycommerce-license-badge{ |
| 323 |
padding: 3px 8px; |
| 324 |
border-radius: 30px; |
| 325 |
background: rgb(176, 176, 176); |
| 326 |
font-size: 12px; |
| 327 |
color: #fff; |
| 328 |
} |
| 329 |
.yaycommerce-license-badge.error{ |
| 330 |
background: #d63638; |
| 331 |
} |
| 332 |
.yaycommerce-license-badge.success{ |
| 333 |
background: rgb(49, 171, 102); |
| 334 |
} |
| 335 |
|
| 336 |
.yaycommerce-update-license{ |
| 337 |
margin-right: 5px !important; |
| 338 |
margin-bottom: 2.5px !important; |
| 339 |
margin-top: 2.5px !important; |
| 340 |
display: inline-flex !important; |
| 341 |
align-items: center; |
| 342 |
} |
| 343 |
.yaycommerce-remove-license{ |
| 344 |
border-color: #d63638 !important; |
| 345 |
color: #d63638 !important; |
| 346 |
display: inline-flex !important; |
| 347 |
align-items: center; |
| 348 |
margin-bottom: 2.5px !important; |
| 349 |
margin-top: 2.5px !important; |
| 350 |
} |
| 351 |
|