| 1 |
body[class*="wpgetapi_"] { |
| 2 |
background: #f6f9fc; |
| 3 |
} |
| 4 |
.wrap.wpgetapi *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} |
| 5 |
.wrap.wpgetapi *:before, .wrap.wpgetapi *:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} |
| 6 |
#toplevel_page_wpgetapi_setup div.wp-menu-image, |
| 7 |
#toplevel_page_wpgetapi_importer_dashboard div.wp-menu-image { |
| 8 |
background-image: url(../img/icon.png); |
| 9 |
background-size: 20px 20px; |
| 10 |
background-repeat: no-repeat; |
| 11 |
background-position: center center; |
| 12 |
} |
| 13 |
#toplevel_page_wpgetapi_setup a:hover div.wp-menu-image, |
| 14 |
#toplevel_page_wpgetapi_importer_dashboard a:hover div.wp-menu-image { |
| 15 |
background-image: url(../img/icon-blue.png); |
| 16 |
} |
| 17 |
#toplevel_page_wpgetapi_setup .wp-has-current-submenu div.wp-menu-image, |
| 18 |
#toplevel_page_wpgetapi_importer_dashboard .wp-has-current-submenu div.wp-menu-image { |
| 19 |
background-image: url(../img/icon-white.png); |
| 20 |
} |
| 21 |
|
| 22 |
.edit-post-visual-editor .wpgetapi-gutenberg-endpoint-selector-wrap .components-placeholder__fieldset, .edit-widgets-block-editor .wpgetapi-gutenberg-endpoint-selector-wrap .components-placeholder__fieldset, .editor-styles-wrapper .wpgetapi-gutenberg-endpoint-selector-wrap .components-placeholder__fieldset { |
| 23 |
justify-content: center; |
| 24 |
align-self: center; |
| 25 |
max-width: 400px; |
| 26 |
flex-direction: row !important; |
| 27 |
} |
| 28 |
.wpgetapi-gutenberg-endpoint-selector-wrap img { |
| 29 |
margin: 0 auto; |
| 30 |
text-align: center; |
| 31 |
width: 70px; |
| 32 |
} |
| 33 |
.wpgetapi-gutenberg-endpoint-selector-wrap h3 { |
| 34 |
margin: 10px auto; |
| 35 |
text-align: center; |
| 36 |
display: block; |
| 37 |
width: 100%; |
| 38 |
} |
| 39 |
.wpgetapi-gutenberg-endpoint-selector-wrap .components-base-control { |
| 40 |
margin: 0 2px; |
| 41 |
} |
| 42 |
.wrap.wpgetapi h1.wp-heading-inline { |
| 43 |
font-weight: bold; |
| 44 |
vertical-align: middle; |
| 45 |
margin-bottom: 30px; |
| 46 |
} |
| 47 |
.wrap.wpgetapi h1.wp-heading-inline img { |
| 48 |
margin: -4px 5px 0 0; |
| 49 |
display: inline-block; |
| 50 |
vertical-align: middle; |
| 51 |
} |
| 52 |
.wrap.wpgetapi h1.wp-heading-inline .vnum { |
| 53 |
background: #e6eaef; |
| 54 |
padding: 5px 10px; |
| 55 |
font-size: 0.7rem; |
| 56 |
border-radius: 20px; |
| 57 |
margin: 0 0 0 10px; |
| 58 |
display: inline-block; |
| 59 |
color: #666; |
| 60 |
} |
| 61 |
.wrap.wpgetapi.valid .wpgetapi-debug .debug-item h6, |
| 62 |
.wrap.wpgetapi.valid h1.wp-heading-inline .vnum { |
| 63 |
color: #435e2b; |
| 64 |
} |
| 65 |
.wrap.wpgetapi.invalid .wpgetapi-debug .debug-item h6 |
| 66 |
.wrap.wpgetapi.invalid h1.wp-heading-inline .vnum { |
| 67 |
color: #543e27; |
| 68 |
} |
| 69 |
.wrap.wpgetapi { |
| 70 |
padding: 20px 0px 10px 0; |
| 71 |
margin: 0; |
| 72 |
display: table; |
| 73 |
width: 100%; |
| 74 |
table-layout: fixed; |
| 75 |
} |
| 76 |
.wrap.wpgetapi .nav-tab-wrapper { |
| 77 |
margin-top: 0; |
| 78 |
background: #fff; |
| 79 |
border-bottom: 1px solid #ddd; |
| 80 |
padding: 0; |
| 81 |
margin-bottom: 0; |
| 82 |
} |
| 83 |
.wrap.wpgetapi .nav-tab-wrapper .nav-tab { |
| 84 |
border: none; |
| 85 |
margin-left: 0; |
| 86 |
padding: 15px 15px; |
| 87 |
font-size: 13px; |
| 88 |
font-weight: 400; |
| 89 |
background: none; |
| 90 |
color: #000; |
| 91 |
white-space: nowrap; |
| 92 |
border-bottom: 2px solid transparent; |
| 93 |
} |
| 94 |
.wrap.wpgetapi .nav-tab-wrapper .nav-tab-active, .wrap.wpgetapi .nav-tab-wrapper .nav-tab-active:focus, .nav-tab-active:focus:active, .wrap.wpgetapi .nav-tab-wrapper .nav-tab-active:hover { |
| 95 |
border-bottom: 2px solid #5493b2; |
| 96 |
color: #000; |
| 97 |
font-weight: 600; |
| 98 |
} |
| 99 |
.wrap.wpgetapi .main_content_cell { |
| 100 |
display: table-cell; |
| 101 |
height: 500px; |
| 102 |
margin: 0; |
| 103 |
padding: 0 10px; |
| 104 |
vertical-align: top; |
| 105 |
width: 100%; |
| 106 |
} |
| 107 |
.wrap.wpgetapi .cmb-form.group { |
| 108 |
background: #fff; |
| 109 |
padding: 10px 20px 0; |
| 110 |
margin: 0 !important; |
| 111 |
} |
| 112 |
.wrap.wpgetapi form.cmb-form input[type="submit"] { |
| 113 |
font-size: 15px; |
| 114 |
padding: 3px 40px; |
| 115 |
} |
| 116 |
#wpbody-content .wpgetapi .metabox-holder { |
| 117 |
padding-top: 0; |
| 118 |
padding-bottom: 30px; |
| 119 |
border: none !important; |
| 120 |
} |
| 121 |
#wpbody-content .wpgetapi .metabox-holder h3.title { |
| 122 |
color: #1d2327; |
| 123 |
font-size: 1.3em; |
| 124 |
margin: 1em 0; |
| 125 |
} |
| 126 |
|
| 127 |
.wrap.wpgetapi .cmb-type-group .cmb-repeat-group-field.api-name { |
| 128 |
padding-top:10px !important; |
| 129 |
} |
| 130 |
.wrap.wpgetapi .sidebar_cell .box, |
| 131 |
.wrap.wpgetapi .main_content_cell .outer-box { |
| 132 |
box-shadow: 0 1px 4px rgba(18,25,97,.078); |
| 133 |
border: 1px solid #e3e6ef; |
| 134 |
} |
| 135 |
|
| 136 |
.wrap.wpgetapi .sidebar_cell { |
| 137 |
display: table-cell; |
| 138 |
height: 500px; |
| 139 |
margin: 0; |
| 140 |
padding: 0; |
| 141 |
vertical-align: top; |
| 142 |
width: 330px; |
| 143 |
padding: 74px 15px 0 20px; |
| 144 |
} |
| 145 |
.wrap.wpgetapi .sidebar_cell .box { |
| 146 |
background: #fff; |
| 147 |
padding: 15px 20px; |
| 148 |
margin-bottom: 20px; |
| 149 |
} |
| 150 |
.wrap.wpgetapi .sidebar_cell .box h3 { |
| 151 |
margin-top: 0; |
| 152 |
} |
| 153 |
.wrap.wpgetapi .sidebar_cell .box h4 { |
| 154 |
margin: 0 -20px; |
| 155 |
padding: 2px 20px 15px; |
| 156 |
border-bottom: 1px solid #ddd; |
| 157 |
font-size: 0.9rem; |
| 158 |
background: #fff; |
| 159 |
} |
| 160 |
.wrap.wpgetapi .sidebar_cell .box a { |
| 161 |
text-decoration: none; |
| 162 |
} |
| 163 |
.wrap.wpgetapi .sidebar_cell .box.help-box { |
| 164 |
display: block; |
| 165 |
position: relative; |
| 166 |
} |
| 167 |
|
| 168 |
.wrap.wpgetapi .sidebar_cell .box.help-box .button { |
| 169 |
background: #74bc35; |
| 170 |
color: #fff; |
| 171 |
padding: 8px 20px; |
| 172 |
border-radius: 3px; |
| 173 |
font-size: 0.85rem; |
| 174 |
font-weight: 600; |
| 175 |
border: 2px solid #74bc35; |
| 176 |
box-shadow: 0 6px 9px -4px rgba(0 0 0 / 12%); |
| 177 |
margin: 25px 0 0; |
| 178 |
width: 100%; |
| 179 |
display: block; |
| 180 |
text-align: center; |
| 181 |
} |
| 182 |
.wrap.wpgetapi .cmb2-metabox { |
| 183 |
margin-bottom: 20px; |
| 184 |
} |
| 185 |
.wrap.wpgetapi .cmb-th { |
| 186 |
padding: 10px 10px 10px 0; |
| 187 |
} |
| 188 |
.wrap.wpgetapi .cmb-td { |
| 189 |
padding: 5px 10px 8px; |
| 190 |
} |
| 191 |
.wrap.wpgetapi .cmb-type-title .cmb-td { |
| 192 |
padding-left: 0; |
| 193 |
} |
| 194 |
|
| 195 |
.wrap.wpgetapi .cmb-td input.regular-text::placeholder, |
| 196 |
.wrap.wpgetapi .cmb-td textarea::placeholder { |
| 197 |
color: #bbb; |
| 198 |
font-weight: 300; |
| 199 |
} |
| 200 |
.wrap.wpgetapi .cmb-td input.regular-text, |
| 201 |
.wrap.wpgetapi .cmb-td select { |
| 202 |
width: 450px; |
| 203 |
max-width: 95%; |
| 204 |
} |
| 205 |
.wrap.wpgetapi .cmb-td input.regular-text, .wrap.wpgetapi .cmb-td select, .wrap.wpgetapi .cmb-td textarea { |
| 206 |
border-color: #c2cbd8; |
| 207 |
padding: 3px 12px; |
| 208 |
} |
| 209 |
.cmb-repeatable-group .cmb-group-title { |
| 210 |
background-color: #dedede; |
| 211 |
} |
| 212 |
.wrap.wpgetapi .cmb-type-group .cmb-th { |
| 213 |
padding: 0; |
| 214 |
} |
| 215 |
.wrap.wpgetapi .cmb-type-group .cmb-td { |
| 216 |
padding: 0; |
| 217 |
} |
| 218 |
.wrap.wpgetapi .cmb-type-group .cmb-row .cmbhandle { |
| 219 |
right: 10px; |
| 220 |
top: 7px; |
| 221 |
} |
| 222 |
.wrap.wpgetapi p.cmb2-metabox-description { |
| 223 |
font-style: normal; |
| 224 |
margin: 5px 0 0 0; |
| 225 |
padding-top: 0 !important; |
| 226 |
padding-bottom: 0 !important; |
| 227 |
font-weight: 300; |
| 228 |
} |
| 229 |
.wrap.wpgetapi span.dashicons.dashicons-editor-help { |
| 230 |
color: #cacfd3; |
| 231 |
display: inline-block; |
| 232 |
margin: -1px 0 0 5px; |
| 233 |
padding: 0; |
| 234 |
} |
| 235 |
.wpgetapi-tooltip { |
| 236 |
position: absolute; |
| 237 |
top: 0; |
| 238 |
padding: 10px 15px; |
| 239 |
background: #1d2327; |
| 240 |
border-radius: 5px; |
| 241 |
max-width: 260px; |
| 242 |
color: #fff; |
| 243 |
z-index: 99999; |
| 244 |
} |
| 245 |
.wpgetapi-tooltip a { |
| 246 |
display: inline-block; |
| 247 |
background: #fff; |
| 248 |
padding: 4px 10px; |
| 249 |
color: #2271b1; |
| 250 |
border: 1px solid #2271b1; |
| 251 |
border-radius: 4px; |
| 252 |
text-decoration: none; |
| 253 |
font-size: 12px; |
| 254 |
margin: 10px 0 5px; |
| 255 |
} |
| 256 |
.wrap.wpgetapi p.cmb2-metabox-description a, |
| 257 |
.wrap.wpgetapi p.cmb2-metabox-description a .dashicons{ |
| 258 |
text-decoration: none; |
| 259 |
font-weight: inherit; |
| 260 |
font-size: inherit; |
| 261 |
} |
| 262 |
.wrap.wpgetapi p.cmb2-metabox-description a .dashicons { |
| 263 |
font-size: 0.8rem; |
| 264 |
line-height: 1.2rem; |
| 265 |
width: 12px; |
| 266 |
} |
| 267 |
.wrap.wpgetapi .desc { |
| 268 |
font-style: normal; |
| 269 |
margin: 0 0 15px; |
| 270 |
padding-top: 0 !important; |
| 271 |
padding-bottom: 0 !important; |
| 272 |
font-weight: 300; |
| 273 |
word-break: break-word; |
| 274 |
} |
| 275 |
.wrap.wpgetapi .cmb-type-group .cmb-group-name { |
| 276 |
font-size: 1.1em; |
| 277 |
} |
| 278 |
|
| 279 |
.wrap.wpgetapi .cmb-type-group .cmb-remove-field-row, |
| 280 |
.wrap.wpgetapi .cmb-type-group .cmb-repeat-group-field, |
| 281 |
.wrap.wpgetapi .cmb2-postbox .cmb-remove-field-row, |
| 282 |
.wrap.wpgetapi .cmb2-postbox .cmb-repeat-group-field { |
| 283 |
padding-top: 5px !important; |
| 284 |
} |
| 285 |
.wrap.wpgetapi .cmb-type-group .cmb-repeatable-grouping { |
| 286 |
padding: 0 !important; |
| 287 |
margin: 0 0 20px; |
| 288 |
background: #fff; |
| 289 |
border: 1px solid #c2cbd8; |
| 290 |
position: relative !important; |
| 291 |
} |
| 292 |
.wrap.wpgetapi .cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]) { |
| 293 |
cursor: pointer; |
| 294 |
color: #b84545; |
| 295 |
opacity: 1; |
| 296 |
top: 14px; |
| 297 |
padding: 2px 16px; |
| 298 |
} |
| 299 |
.wrap.wpgetapi .cmb2-metabox .button-primary { |
| 300 |
background: #fff; |
| 301 |
border-color: #2271b1; |
| 302 |
color: #2271b1; |
| 303 |
text-decoration: none; |
| 304 |
text-shadow: none; |
| 305 |
} |
| 306 |
.wrap.wpgetapi .cmb-type-group .cmb-repeat-group-field { |
| 307 |
padding: 0 20px 15px !important; |
| 308 |
border: none !important; |
| 309 |
} |
| 310 |
.wrap.wpgetapi .cmb-repeatable-group .cmb-group-title { |
| 311 |
padding: 15px 12px 15px 3em !important; |
| 312 |
background: #fff; |
| 313 |
border-bottom: 1px solid #c2cbd8; |
| 314 |
} |
| 315 |
.wrap.wpgetapi .cmb-repeat-table .cmb-td .input-wrap { |
| 316 |
width: 48%; |
| 317 |
float: left; |
| 318 |
} |
| 319 |
.wrap.wpgetapi .cmb-repeat-table .cmb-td .input-wrap input, |
| 320 |
.wrap.wpgetapi .cmb-repeat-table .cmb-td .input-wrap textarea { |
| 321 |
max-width: 100%; |
| 322 |
} |
| 323 |
.wrap.wpgetapi .cmb-repeat-table .cmb-td .input-wrap textarea { |
| 324 |
padding: 8px 15px 8px; |
| 325 |
} |
| 326 |
.wrap.wpgetapi .cmb-repeat-table .cmb-row.cmb-repeat-row span.colon { |
| 327 |
width: 4%; |
| 328 |
display: inline-block; |
| 329 |
float: left; |
| 330 |
text-align: center; |
| 331 |
vertical-align: middle; |
| 332 |
line-height: 1.8rem; |
| 333 |
font-weight: bold; |
| 334 |
} |
| 335 |
.wrap.wpgetapi .cmb-repeat-table label { |
| 336 |
display: none; |
| 337 |
} |
| 338 |
.wrap.wpgetapi .cmb-repeat-table.cmb-nested { |
| 339 |
margin-top: 2px; |
| 340 |
border-radius: 4px; |
| 341 |
border: 1px solid #d9e2eb; |
| 342 |
} |
| 343 |
.wrap.wpgetapi .cmb-remove-field-row { |
| 344 |
padding: 0 20px !important; |
| 345 |
} |
| 346 |
|
| 347 |
.wrap.wpgetapi .cmb-repeat-table .cmb-row.cmb-repeat-row { |
| 348 |
padding: 10px 10px 8px 10px; |
| 349 |
background: #f7f9fd; |
| 350 |
border-radius: 4px; |
| 351 |
} |
| 352 |
.wrap.wpgetapi .cmb-repeat-table .cmb-row.cmb-repeat-row:before { |
| 353 |
display: none; |
| 354 |
} |
| 355 |
|
| 356 |
.wrap.wpgetapi .cmb-type-parameter .cmb-add-row .button-secondary { |
| 357 |
font-size: 12px; |
| 358 |
line-height: 2; |
| 359 |
min-height: 24px; |
| 360 |
background: #fff; |
| 361 |
} |
| 362 |
.wrap.wpgetapi .button-secondary { |
| 363 |
background: #fff; |
| 364 |
} |
| 365 |
.wrap.wpgetapi .cmb-type-parameter .cmb-add-row:before { |
| 366 |
height: 1em; |
| 367 |
} |
| 368 |
.wpgetapi-export, |
| 369 |
.wpgetapi-import { |
| 370 |
padding: 0 20px; |
| 371 |
} |
| 372 |
.wpgetapi-export { |
| 373 |
margin-top: 30px; |
| 374 |
margin-bottom: 30px; |
| 375 |
border-bottom: 2px dashed #c2cbd8; |
| 376 |
padding-bottom: 30px; |
| 377 |
} |
| 378 |
.wpgetapi-export h3, .wpgetapi-import h3 { |
| 379 |
margin-bottom: 0; |
| 380 |
} |
| 381 |
.wpgetapi-export p, .wpgetapi-import p { |
| 382 |
margin: 5px 0 15px; |
| 383 |
} |
| 384 |
.wpgetapi-export p, .wpgetapi-import .message { |
| 385 |
margin: 10px 0 15px; |
| 386 |
} |
| 387 |
|
| 388 |
.wrap.wpgetapi pre, |
| 389 |
.wpgetapi-debug .debug-item .debug-result, .wpgetapi-debug .debug-item .debug-result pre, |
| 390 |
.wpgetapi-export .message { |
| 391 |
display: inline-block; |
| 392 |
padding: 12px 20px; |
| 393 |
margin: 10px 0 10px; |
| 394 |
border-radius: 0; |
| 395 |
white-space: pre-line; |
| 396 |
line-height: 0.9; |
| 397 |
font-size: 13px; |
| 398 |
font-weight: 300; |
| 399 |
word-break: break-all; |
| 400 |
} |
| 401 |
.wpgetapi-export .message { |
| 402 |
display: none; |
| 403 |
width: 92%; |
| 404 |
line-height: 1rem; |
| 405 |
} |
| 406 |
.wpgetapi-import textarea { |
| 407 |
display: block; |
| 408 |
width: 100%; |
| 409 |
margin: 0 0 20px; |
| 410 |
height: 100px; |
| 411 |
} |
| 412 |
.wpgetapi-debug .debug-item .debug-result, .wpgetapi-debug .debug-item .debug-result pre { |
| 413 |
display: block; |
| 414 |
} |
| 415 |
.wrap.wpgetapi pre img { |
| 416 |
max-width: 100%; |
| 417 |
} |
| 418 |
.wrap.wpgetapi pre.url { |
| 419 |
margin: 8px 0 40px; |
| 420 |
padding: 0; |
| 421 |
} |
| 422 |
.wrap.wpgetapi pre.url span, .wrap.wpgetapi pre.functions span { |
| 423 |
color: #5493b2; |
| 424 |
} |
| 425 |
.wrap.wpgetapi pre.functions { |
| 426 |
line-height: 1.3; |
| 427 |
display: block; |
| 428 |
border-bottom: 1px solid #c2cbd8; |
| 429 |
margin: 0 0 20px; |
| 430 |
padding: 0 20px 7px; |
| 431 |
} |
| 432 |
.wrap.wpgetapi pre.url div, |
| 433 |
.wrap.wpgetapi pre.functions div { |
| 434 |
display: inline-block |
| 435 |
} |
| 436 |
.wrap.wpgetapi pre.url div, .wrap.wpgetapi pre.url div, .wrap.wpgetapi pre.functions div.wrapper > div { |
| 437 |
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; |
| 438 |
font-weight: 500; |
| 439 |
color: #4e4d4d; |
| 440 |
font-size: 12px; |
| 441 |
} |
| 442 |
.wrap.wpgetapi pre.functions .dashicons { |
| 443 |
font-size: 15px; |
| 444 |
color: #5493b2; |
| 445 |
margin: 1px 0 0 -2px; |
| 446 |
cursor: pointer; |
| 447 |
} |
| 448 |
.wrap.wpgetapi pre.functions .dashicons:hover { |
| 449 |
color: #5493b2; |
| 450 |
} |
| 451 |
.wrap.wpgetapi .collapse, |
| 452 |
.wrap.wpgetapi .import-export { |
| 453 |
float: right; |
| 454 |
} |
| 455 |
.wrap.wpgetapi .collapse a.button, |
| 456 |
.wrap.wpgetapi .import-export a.button, |
| 457 |
.wrap.wpgetapi .cmb2-metabox .test-endpoint-button { |
| 458 |
color: #3c434a; |
| 459 |
border: 1px solid #aec1cf; |
| 460 |
font-weight: 500; |
| 461 |
background: #fff; |
| 462 |
margin-left:10px; |
| 463 |
-webkit-transition : border 200ms ease-out; |
| 464 |
-moz-transition : border 200ms ease-out; |
| 465 |
-o-transition : border 200ms ease-out; |
| 466 |
transition : border 200ms ease-out; |
| 467 |
} |
| 468 |
.wrap.wpgetapi .cmb2-metabox .test-endpoint-button { |
| 469 |
margin-left: 0; |
| 470 |
} |
| 471 |
.wrap.wpgetapi .collapse a.button:hover, |
| 472 |
.wrap.wpgetapi .import-export a.button:hover, |
| 473 |
.wrap.wpgetapi .cmb2-metabox .test-endpoint-button:hover { |
| 474 |
border: 1px solid #3c434a; |
| 475 |
} |
| 476 |
.wrap.wpgetapi .collapse a.button { |
| 477 |
padding-left: 0; |
| 478 |
padding-right: 0; |
| 479 |
width: 30px; |
| 480 |
text-align: center; |
| 481 |
alignment-baseline: middle; |
| 482 |
position: relative; |
| 483 |
} |
| 484 |
.wrap.wpgetapi .collapse a.button .dashicons:before, .wrap.wpgetapi .collapse a.button .dashicons { |
| 485 |
vertical-align: middle; |
| 486 |
display: inline-block; |
| 487 |
position: absolute; |
| 488 |
top: 0; |
| 489 |
bottom: 0; |
| 490 |
right: 0; |
| 491 |
left: 0; |
| 492 |
text-align: center; |
| 493 |
width: 28px; |
| 494 |
height: 30px; |
| 495 |
line-height: 1.5; |
| 496 |
} |
| 497 |
|
| 498 |
.wrap.wpgetapi .collapse.open a.button .dashicons { |
| 499 |
transform: translate(-50%, -50%) rotate(180deg); |
| 500 |
width: 30px; |
| 501 |
} |
| 502 |
|
| 503 |
.wrap.wpgetapi .collapse a.button .dashicons { |
| 504 |
top: 50%; |
| 505 |
left: 50%; |
| 506 |
transform: translate(-50%, -50%); |
| 507 |
} |
| 508 |
|
| 509 |
.wrap.wpgetapi .sidebar_cell hr { |
| 510 |
margin: 20px 0; |
| 511 |
} |
| 512 |
.wrap.wpgetapi .sidebar_cell ol { |
| 513 |
margin: 15px 0 0 15px; |
| 514 |
} |
| 515 |
|
| 516 |
.wpgetapi_page_wpgetapi_oauth .wrap.wpgetapi .cmb-type-parameter > .cmb-td { |
| 517 |
width: calc( 100% - 200px); |
| 518 |
} |
| 519 |
.wpgetapi_page_wpgetapi_oauth .wrap.wpgetapi .cmb-type-parameter > .cmb-td .name, |
| 520 |
.wpgetapi_page_wpgetapi_oauth .wrap.wpgetapi .cmb-type-parameter > .cmb-td .value { |
| 521 |
width: 48%; |
| 522 |
float: left; |
| 523 |
} |
| 524 |
|
| 525 |
.wrap.wpgetapi .cmb2-metabox .section-wrapper { |
| 526 |
padding: 14px 27px; |
| 527 |
background: #fff; |
| 528 |
border: 1px solid #c2cbd8; |
| 529 |
margin: 0 0 20px; |
| 530 |
} |
| 531 |
.wrap.wpgetapi .cmb2-metabox .section-wrapper .cmb2-metabox-title { |
| 532 |
font-size: 1.1em; |
| 533 |
padding-bottom: 0; |
| 534 |
margin-bottom: 0; |
| 535 |
} |
| 536 |
.wrap.wpgetapi .cmb2-metabox .section-wrapper .cmb-type-title .cmb2-metabox-description { |
| 537 |
margin: 5px 0 15px; |
| 538 |
} |
| 539 |
.wrap.wpgetapi .cmb2-metabox .importer-creator { |
| 540 |
display: inline-block; |
| 541 |
width: 100%; |
| 542 |
border: 1px solid #c2cbd8; |
| 543 |
background: #fff; |
| 544 |
padding: 14px 0 0; |
| 545 |
margin-bottom: 15px; |
| 546 |
} |
| 547 |
.wrap.wpgetapi .cmb2-metabox .importer-creator .box.half { |
| 548 |
float: left; |
| 549 |
width: 50%; |
| 550 |
margin-bottom: 20px; |
| 551 |
padding: 0 28px; |
| 552 |
} |
| 553 |
.wrap.wpgetapi .cmb2-metabox .importer-creator .box h4 { |
| 554 |
margin-top: 0; |
| 555 |
} |
| 556 |
.wrap.wpgetapi .cmb2-metabox .side-notice { |
| 557 |
border-left: 3px solid #dba617; |
| 558 |
background: #fff; |
| 559 |
padding: 5px 15px; |
| 560 |
box-shadow: 0 0 1px #aaa; |
| 561 |
margin: 10px 0; |
| 562 |
} |
| 563 |
.wrap.wpgetapi .cmb2-metabox .side-notice p { |
| 564 |
margin: 5px 0; |
| 565 |
} |
| 566 |
|
| 567 |
.wrap.wpgetapi .wpgetapi-test-area { |
| 568 |
padding: 0 20px 20px !important; |
| 569 |
} |
| 570 |
.wrap.wpgetapi .wpgetapi-test-area .wpgetapi-result .wpgetapi-debug { |
| 571 |
margin: 20px 0 20px; |
| 572 |
} |
| 573 |
.wrap.wpgetapi .wpgetapi-test-area .handle { |
| 574 |
float: right; |
| 575 |
margin-bottom: 4px; |
| 576 |
font-size: 12px; |
| 577 |
line-height: 2; |
| 578 |
min-height: 24px; |
| 579 |
background: #fff; |
| 580 |
} |
| 581 |
.wrap.wpgetapi .wpgetapi-test-area pre { |
| 582 |
box-shadow: none; |
| 583 |
border: none; |
| 584 |
width: auto !important; |
| 585 |
max-width: 100%; |
| 586 |
word-break: break-all; |
| 587 |
} |
| 588 |
|
| 589 |
.wpgetapi-debug { |
| 590 |
background: #fff; |
| 591 |
padding: 20px; |
| 592 |
box-shadow: 0 0 1px #aaa; |
| 593 |
margin: 20px; |
| 594 |
font-size: 15px; |
| 595 |
} |
| 596 |
.wpgetapi-debug |
| 597 |
.wpgetapi-debug p |
| 598 |
.wpgetapi-debug h5 |
| 599 |
.wpgetapi-debug h6 { |
| 600 |
color: #000; |
| 601 |
line-height: 1 !important; |
| 602 |
text-transform: none !important; |
| 603 |
font-family: sans-serif !important; |
| 604 |
letter-spacing: 0px !important; |
| 605 |
} |
| 606 |
.wpgetapi-debug p.small { |
| 607 |
font-size: 85%; |
| 608 |
color: #999; |
| 609 |
margin: 0 0 12px !important; |
| 610 |
} |
| 611 |
.wpgetapi-debug h5 { |
| 612 |
font-weight: bold; |
| 613 |
font-size: 18px; |
| 614 |
margin: 0 0 3px; |
| 615 |
text-transform: none !important; |
| 616 |
} |
| 617 |
.wpgetapi-debug .debug-item { |
| 618 |
margin: 10px 0; |
| 619 |
background: #fff; |
| 620 |
padding: 15px 20px; |
| 621 |
display: inline-block !important; |
| 622 |
width: 100% !important; |
| 623 |
box-shadow: 0 4px 4px -2px rgb(0 0 0 / 9%); |
| 624 |
border: 1px solid #eee; |
| 625 |
margin-bottom: 20px !important; |
| 626 |
} |
| 627 |
.wpgetapi-debug .debug-item h6 { |
| 628 |
font-weight: bold; |
| 629 |
font-size: 14px; |
| 630 |
margin: 0; |
| 631 |
text-transform: none !important; |
| 632 |
} |
| 633 |
.wpgetapi-debug .debug-item .debug-result, |
| 634 |
.wpgetapi-debug .debug-item .debug-result pre { |
| 635 |
font-family: monospace !important; |
| 636 |
font-size: 13px !important; |
| 637 |
margin: 0 !important; |
| 638 |
padding: 8px 12px; |
| 639 |
background: #f4f7fa; |
| 640 |
border-radius: 5px; |
| 641 |
border: 1px solid #d9e2eb; |
| 642 |
} |
| 643 |
.wpgetapi-debug .debug-item .debug-result pre { |
| 644 |
border: none; |
| 645 |
padding: 5px |
| 646 |
} |
| 647 |
.wpgetapi-debug.testing { |
| 648 |
background: transparent; |
| 649 |
padding: 0; |
| 650 |
box-shadow: none; |
| 651 |
} |
| 652 |
.wpgetapi-debug.testing .debug-item { |
| 653 |
margin: 5px 0; |
| 654 |
} |
| 655 |
.wpgetapi-debug.testing .debug-item.status { |
| 656 |
border: none; |
| 657 |
box-shadow: none; |
| 658 |
margin: 0 !important; |
| 659 |
padding: 5px 20px 20px; |
| 660 |
} |
| 661 |
.wpgetapi-debug .debug-item.status h5 { |
| 662 |
font-size: 15px; |
| 663 |
} |
| 664 |
.wpgetapi-debug .status .dashicons { |
| 665 |
margin: 0 5px 3px 0; |
| 666 |
} |
| 667 |
.wpgetapi-debug .status .dashicons-yes-alt { |
| 668 |
color: #5e9929; |
| 669 |
} |
| 670 |
.wpgetapi-debug .status .dashicons-dismiss { |
| 671 |
color: #cc4646; |
| 672 |
} |
| 673 |
.wpgetapi-debug .status .dashicons-warning { |
| 674 |
color: #dfa12e; |
| 675 |
} |
| 676 |
.wpgetapi-debug .status .desc { |
| 677 |
font-size: 14px; |
| 678 |
font-weight: 400 !important; |
| 679 |
} |
| 680 |
.wrap.wpgetapi .wpgetapi-test-area .side-notice { |
| 681 |
margin-top: 20px; |
| 682 |
} |
| 683 |
.wrap.wpgetapi .section-wrapper .cmb-row.cmb-type-title { |
| 684 |
border-bottom: 1px solid #c2cbd8; |
| 685 |
margin: 0 -27px 15px; |
| 686 |
padding: 0 27px; |
| 687 |
} |
| 688 |
|
| 689 |
.wrap.wpgetapi .cmb-type-group .cmb-remove-field-row { |
| 690 |
border-top: 1px solid #c2cbd8 !important; |
| 691 |
padding: 20px 20px 10px !important; |
| 692 |
} |
| 693 |
.wrap.wpgetapi .fields-wrapper { |
| 694 |
margin: 0 !important; |
| 695 |
padding: 0px 20px 0 !important; |
| 696 |
border-radius: 0; |
| 697 |
} |
| 698 |
.wrap.wpgetapi .cmb-type-group .field-half { |
| 699 |
width: 50%; |
| 700 |
float: left; |
| 701 |
padding: 0 20px 0 !important; |
| 702 |
} |
| 703 |
|
| 704 |
.wrap.wpgetapi .cmb-type-group .field-half .cmb-th { |
| 705 |
display: block; |
| 706 |
width: auto; |
| 707 |
} |
| 708 |
.wrap.wpgetapi .cmb-type-group .field-half .cmb-td { |
| 709 |
display: block; |
| 710 |
width: 100%; |
| 711 |
} |
| 712 |
.wrap.wpgetapi .cmb-type-group .field-timeout, |
| 713 |
.wrap.wpgetapi .cmb-type-group .field-cache-time { |
| 714 |
margin-bottom: 30px; |
| 715 |
} |
| 716 |
.wrap.wpgetapi .field-half .cmb-td input.regular-text, .wrap.wpgetapi .field-half .cmb-td select { |
| 717 |
max-width: 100%; |
| 718 |
} |
| 719 |
.wrap.wpgetapi .cmb-type-group .cmb-type-parameter { |
| 720 |
clear: both; |
| 721 |
} |
| 722 |
.wrap.wpgetapi .cmb-type-group .field-query-parameters { |
| 723 |
padding-top: 5px !important; |
| 724 |
} |
| 725 |
|
| 726 |
.wrap.wpgetapi .cmb-type-group .cmb-repeat-group-field.field-actions, |
| 727 |
.wrap.wpgetapi .cmb-type-group .cmb-repeat-group-field.field-xml-root, |
| 728 |
.wrap.wpgetapi .cmb-type-group .cmb-repeat-group-field.field-import_api { |
| 729 |
border-top: 1px solid #ddd !important; |
| 730 |
padding: 20px 40px !important; |
| 731 |
} |
| 732 |
|
| 733 |
.wrap.wpgetapi .cmb2-metabox h3 button.test-endpoint-button.button-primary { |
| 734 |
margin-left: 20px !important; |
| 735 |
font-size: 11px; |
| 736 |
padding: 5px 8px; |
| 737 |
min-height: auto; |
| 738 |
line-height: 1; |
| 739 |
background: #f7f9fc; |
| 740 |
border: 1px solid #e8e9ec; |
| 741 |
position: relative; |
| 742 |
z-index: 9999; |
| 743 |
} |
| 744 |
.wrap.wpgetapi .cmb2-metabox h3 button.duplicate-endpoint-button.button-primary { |
| 745 |
margin-right: 30px !important; |
| 746 |
font-size: 11px; |
| 747 |
padding: 5px 8px; |
| 748 |
min-height: auto; |
| 749 |
line-height: 1; |
| 750 |
background: #f7f9fc; |
| 751 |
border: 1px solid #e8e9ec; |
| 752 |
color: #3c434a; |
| 753 |
position: relative; |
| 754 |
z-index: 9999; |
| 755 |
float: right; |
| 756 |
} |
| 757 |
|
| 758 |
.wrap.wpgetapi .cmb-repeatable-group .cmb-shift-rows { |
| 759 |
display: inline-flex; |
| 760 |
align-items: center; |
| 761 |
justify-content: center; |
| 762 |
} |
| 763 |
|
| 764 |
.wrap.wpgetapi .cmb-repeatable-group .cmb-shift-rows span.dashicons { |
| 765 |
margin-top: 0px; |
| 766 |
line-height: 1; |
| 767 |
} |
| 768 |
|
| 769 |
.wrap.wpgetapi .cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button { |
| 770 |
min-height: unset; |
| 771 |
} |
| 772 |
|
| 773 |
.wrap.wpgetapi .cmb-form input[type=checkbox]:checked, |
| 774 |
.wrap.wpgetapi .cmb-form input[type=radio]:checked { |
| 775 |
background-color: var(--wp-admin-theme-color, #3858e9); |
| 776 |
border-color: var(--wp-admin-theme-color, #3858e9); |
| 777 |
} |
| 778 |
|
| 779 |
.wrap.wpgetapi .cmb-form input[type=checkbox]:checked::before { |
| 780 |
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23ffffff%27%2F%3E%3C%2Fsvg%3E"); |
| 781 |
} |
| 782 |
|
| 783 |
.wrap.wpgetapi .cmb-form input[type=radio]:checked::before { |
| 784 |
background: #ffffff; |
| 785 |
} |
| 786 |
|
| 787 |
@media screen and (max-width: 1024px) { |
| 788 |
.wrap.wpgetapi .main_content_cell { |
| 789 |
width: auto; |
| 790 |
display: block; |
| 791 |
height: auto; |
| 792 |
} |
| 793 |
.wrap.wpgetapi .sidebar_cell { |
| 794 |
width: auto; |
| 795 |
padding: 40px 0 0 0; |
| 796 |
display: block; |
| 797 |
height: auto; |
| 798 |
} |
| 799 |
} |
| 800 |
|