| @@ -1,22 +1,16 @@ | ||
| 1 | -body[class*="wpgetapi_"] { | |
| 2 | - background: #f6f9fc; | |
| 3 | -} | |
| 4 | 1 | .wrap.wpgetapi *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} |
| 5 | 2 | .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 { | |
| 3 | +#toplevel_page_wpgetapi_setup div.wp-menu-image { | |
| 8 | 4 | background-image: url(../img/icon.png); |
| 9 | 5 | background-size: 20px 20px; |
| 10 | 6 | background-repeat: no-repeat; |
| 11 | 7 | background-position: center center; |
| 12 | 8 | } |
| 13 | -#toplevel_page_wpgetapi_setup a:hover div.wp-menu-image, | |
| 14 | -#toplevel_page_wpgetapi_importer_dashboard a:hover div.wp-menu-image { | |
| 9 | +#toplevel_page_wpgetapi_setup a:hover div.wp-menu-image { | |
| 15 | 10 | background-image: url(../img/icon-blue.png); |
| 16 | 11 | } |
| 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 { | |
| 12 | +#toplevel_page_wpgetapi_setup .wp-has-current-submenu div.wp-menu-image { | |
| 19 | 13 | background-image: url(../img/icon-white.png); |
| 20 | 14 | } |
| 21 | 15 | |
| 22 | 16 | .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 { |
| @@ -41,9 +35,9 @@ | ||
| 41 | 35 | } |
| 42 | 36 | .wrap.wpgetapi h1.wp-heading-inline { |
| 43 | 37 | font-weight: bold; |
| 44 | 38 | vertical-align: middle; |
| 45 | - margin-bottom: 30px; | |
| 39 | + margin-bottom: 15px; | |
| 46 | 40 | } |
| 47 | 41 | .wrap.wpgetapi h1.wp-heading-inline img { |
| 48 | 42 | margin: -4px 5px 0 0; |
| 49 | 43 | display: inline-block; |
| @@ -49,9 +43,9 @@ | ||
| 49 | 43 | display: inline-block; |
| 50 | 44 | vertical-align: middle; |
| 51 | 45 | } |
| 52 | 46 | .wrap.wpgetapi h1.wp-heading-inline .vnum { |
| 53 | - background: #e6eaef; | |
| 47 | + background: #e1e1e1; | |
| 54 | 48 | padding: 5px 10px; |
| 55 | 49 | font-size: 0.7rem; |
| 56 | 50 | border-radius: 20px; |
| 57 | 51 | margin: 0 0 0 10px; |
| @@ -57,18 +51,10 @@ | ||
| 57 | 51 | margin: 0 0 0 10px; |
| 58 | 52 | display: inline-block; |
| 59 | 53 | color: #666; |
| 60 | 54 | } |
| 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 | 55 | .wrap.wpgetapi { |
| 70 | - padding: 20px 0px 10px 0; | |
| 56 | + padding: 10px 0px 10px 0; | |
| 71 | 57 | margin: 0; |
| 72 | 58 | display: table; |
| 73 | 59 | width: 100%; |
| 74 | 60 | table-layout: fixed; |
| @@ -73,13 +59,13 @@ | ||
| 73 | 59 | width: 100%; |
| 74 | 60 | table-layout: fixed; |
| 75 | 61 | } |
| 76 | 62 | .wrap.wpgetapi .nav-tab-wrapper { |
| 77 | - margin-top: 0; | |
| 63 | + margin-top: 15px; | |
| 78 | 64 | background: #fff; |
| 79 | - border-bottom: 1px solid #ddd; | |
| 65 | + border: 1px solid #ddd; | |
| 66 | + border-bottom: none; | |
| 80 | 67 | padding: 0; |
| 81 | - margin-bottom: 0; | |
| 82 | 68 | } |
| 83 | 69 | .wrap.wpgetapi .nav-tab-wrapper .nav-tab { |
| 84 | 70 | border: none; |
| 85 | 71 | margin-left: 0; |
| @@ -91,9 +77,9 @@ | ||
| 91 | 77 | white-space: nowrap; |
| 92 | 78 | border-bottom: 2px solid transparent; |
| 93 | 79 | } |
| 94 | 80 | .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; | |
| 81 | + border-bottom: 2px solid #007cba; | |
| 96 | 82 | color: #000; |
| 97 | 83 | font-weight: 600; |
| 98 | 84 | } |
| 99 | 85 | .wrap.wpgetapi .main_content_cell { |
| @@ -99,25 +85,20 @@ | ||
| 99 | 85 | .wrap.wpgetapi .main_content_cell { |
| 100 | 86 | display: table-cell; |
| 101 | 87 | height: 500px; |
| 102 | 88 | margin: 0; |
| 103 | - padding: 0 10px; | |
| 89 | + padding: 0; | |
| 104 | 90 | vertical-align: top; |
| 105 | 91 | width: 100%; |
| 106 | 92 | } |
| 107 | 93 | .wrap.wpgetapi .cmb-form.group { |
| 108 | - background: #fff; | |
| 109 | - padding: 10px 20px 0; | |
| 110 | - margin: 0 !important; | |
| 94 | + background: #fdfdfd; | |
| 95 | + border: 1px solid #ddd; | |
| 96 | + padding: 0 20px; | |
| 111 | 97 | } |
| 112 | -.wrap.wpgetapi form.cmb-form input[type="submit"] { | |
| 113 | - font-size: 15px; | |
| 114 | - padding: 3px 40px; | |
| 115 | -} | |
| 116 | 98 | #wpbody-content .wpgetapi .metabox-holder { |
| 117 | 99 | padding-top: 0; |
| 118 | 100 | padding-bottom: 30px; |
| 119 | - border: none !important; | |
| 120 | 101 | } |
| 121 | 102 | #wpbody-content .wpgetapi .metabox-holder h3.title { |
| 122 | 103 | color: #1d2327; |
| 123 | 104 | font-size: 1.3em; |
| @@ -122,18 +103,8 @@ | ||
| 122 | 103 | color: #1d2327; |
| 123 | 104 | font-size: 1.3em; |
| 124 | 105 | margin: 1em 0; |
| 125 | 106 | } |
| 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 | 107 | .wrap.wpgetapi .sidebar_cell { |
| 137 | 108 | display: table-cell; |
| 138 | 109 | height: 500px; |
| 139 | 110 | margin: 0; |
| @@ -144,42 +115,16 @@ | ||
| 144 | 115 | } |
| 145 | 116 | .wrap.wpgetapi .sidebar_cell .box { |
| 146 | 117 | background: #fff; |
| 147 | 118 | padding: 15px 20px; |
| 148 | - margin-bottom: 20px; | |
| 119 | + border: 1px solid #ddd; | |
| 149 | 120 | } |
| 150 | 121 | .wrap.wpgetapi .sidebar_cell .box h3 { |
| 151 | 122 | margin-top: 0; |
| 152 | 123 | } |
| 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 | 124 | .wrap.wpgetapi .sidebar_cell .box a { |
| 161 | 125 | text-decoration: none; |
| 162 | 126 | } |
| 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 | 127 | .wrap.wpgetapi .cmb2-metabox { |
| 183 | 128 | margin-bottom: 20px; |
| 184 | 129 | } |
| 185 | 130 | .wrap.wpgetapi .cmb-th { |
| @@ -201,12 +146,8 @@ | ||
| 201 | 146 | .wrap.wpgetapi .cmb-td select { |
| 202 | 147 | width: 450px; |
| 203 | 148 | max-width: 95%; |
| 204 | 149 | } |
| 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 | 150 | .cmb-repeatable-group .cmb-group-title { |
| 210 | 151 | background-color: #dedede; |
| 211 | 152 | } |
| 212 | 153 | .wrap.wpgetapi .cmb-type-group .cmb-th { |
| @@ -215,9 +156,9 @@ | ||
| 215 | 156 | .wrap.wpgetapi .cmb-type-group .cmb-td { |
| 216 | 157 | padding: 0; |
| 217 | 158 | } |
| 218 | 159 | .wrap.wpgetapi .cmb-type-group .cmb-row .cmbhandle { |
| 219 | - right: 10px; | |
| 160 | + right: 0; | |
| 220 | 161 | top: 7px; |
| 221 | 162 | } |
| 222 | 163 | .wrap.wpgetapi p.cmb2-metabox-description { |
| 223 | 164 | font-style: normal; |
| @@ -225,35 +166,8 @@ | ||
| 225 | 166 | padding-top: 0 !important; |
| 226 | 167 | padding-bottom: 0 !important; |
| 227 | 168 | font-weight: 300; |
| 228 | 169 | } |
| 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 | 170 | .wrap.wpgetapi p.cmb2-metabox-description a, |
| 257 | 171 | .wrap.wpgetapi p.cmb2-metabox-description a .dashicons{ |
| 258 | 172 | text-decoration: none; |
| 259 | 173 | font-weight: inherit; |
| @@ -283,19 +197,18 @@ | ||
| 283 | 197 | padding-top: 5px !important; |
| 284 | 198 | } |
| 285 | 199 | .wrap.wpgetapi .cmb-type-group .cmb-repeatable-grouping { |
| 286 | 200 | padding: 0 !important; |
| 287 | - margin: 0 0 20px; | |
| 201 | + margin: 0 0 30px; | |
| 288 | 202 | background: #fff; |
| 289 | - border: 1px solid #c2cbd8; | |
| 203 | + border: 1px solid #ddd; | |
| 290 | 204 | position: relative !important; |
| 291 | 205 | } |
| 292 | 206 | .wrap.wpgetapi .cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]) { |
| 293 | 207 | cursor: pointer; |
| 294 | - color: #b84545; | |
| 208 | + color: #bf4242; | |
| 295 | 209 | opacity: 1; |
| 296 | 210 | top: 14px; |
| 297 | - padding: 2px 16px; | |
| 298 | 211 | } |
| 299 | 212 | .wrap.wpgetapi .cmb2-metabox .button-primary { |
| 300 | 213 | background: #fff; |
| 301 | 214 | border-color: #2271b1; |
| @@ -303,96 +216,49 @@ | ||
| 303 | 216 | text-decoration: none; |
| 304 | 217 | text-shadow: none; |
| 305 | 218 | } |
| 306 | 219 | .wrap.wpgetapi .cmb-type-group .cmb-repeat-group-field { |
| 307 | - padding: 0 20px 15px !important; | |
| 308 | - border: none !important; | |
| 220 | + padding: 0 20px 8px !important; | |
| 309 | 221 | } |
| 310 | 222 | .wrap.wpgetapi .cmb-repeatable-group .cmb-group-title { |
| 311 | - padding: 15px 12px 15px 3em !important; | |
| 312 | - background: #fff; | |
| 313 | - border-bottom: 1px solid #c2cbd8; | |
| 223 | + padding: 15px 12px 15px 2.2em !important; | |
| 224 | + background: #f8f8f8; | |
| 225 | + border-bottom: 1px solid #ddd; | |
| 314 | 226 | } |
| 315 | 227 | .wrap.wpgetapi .cmb-repeat-table .cmb-td .input-wrap { |
| 316 | - width: 48%; | |
| 228 | + width: 50%; | |
| 317 | 229 | float: left; |
| 318 | 230 | } |
| 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 | 231 | .wrap.wpgetapi .cmb-repeat-table label { |
| 336 | - display: none; | |
| 232 | + font-size:13px; | |
| 233 | + display: block; | |
| 337 | 234 | } |
| 338 | 235 | .wrap.wpgetapi .cmb-repeat-table.cmb-nested { |
| 339 | - margin-top: 2px; | |
| 340 | - border-radius: 4px; | |
| 341 | - border: 1px solid #d9e2eb; | |
| 236 | + margin-top: 8px; | |
| 342 | 237 | } |
| 343 | 238 | .wrap.wpgetapi .cmb-remove-field-row { |
| 344 | 239 | padding: 0 20px !important; |
| 345 | 240 | } |
| 346 | 241 | |
| 347 | -.wrap.wpgetapi .cmb-repeat-table .cmb-row.cmb-repeat-row { | |
| 348 | - padding: 10px 10px 8px 10px; | |
| 349 | - background: #f7f9fd; | |
| 350 | - border-radius: 4px; | |
| 242 | +.wrap.wpgetapi .cmb-type-parameter .cmb-repeat-table .cmb-row.cmb-repeat-row { | |
| 243 | + padding: 5px 10px 5px 50px; | |
| 351 | 244 | } |
| 352 | -.wrap.wpgetapi .cmb-repeat-table .cmb-row.cmb-repeat-row:before { | |
| 353 | - display: none; | |
| 354 | -} | |
| 355 | - | |
| 356 | 245 | .wrap.wpgetapi .cmb-type-parameter .cmb-add-row .button-secondary { |
| 357 | 246 | font-size: 12px; |
| 358 | 247 | line-height: 2; |
| 359 | 248 | min-height: 24px; |
| 360 | - background: #fff; | |
| 361 | 249 | } |
| 362 | -.wrap.wpgetapi .button-secondary { | |
| 363 | - background: #fff; | |
| 364 | -} | |
| 365 | 250 | .wrap.wpgetapi .cmb-type-parameter .cmb-add-row:before { |
| 366 | 251 | height: 1em; |
| 367 | 252 | } |
| 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 | 253 | |
| 388 | -.wrap.wpgetapi pre, | |
| 389 | -.wpgetapi-debug .debug-item .debug-result, .wpgetapi-debug .debug-item .debug-result pre, | |
| 390 | -.wpgetapi-export .message { | |
| 254 | +.wrap.wpgetapi pre { | |
| 391 | 255 | display: inline-block; |
| 256 | + background: #f4f7f9; | |
| 392 | 257 | padding: 12px 20px; |
| 393 | 258 | margin: 10px 0 10px; |
| 394 | - border-radius: 0; | |
| 259 | + border-radius: 2px; | |
| 260 | + color: #222; | |
| 395 | 261 | white-space: pre-line; |
| 396 | 262 | line-height: 0.9; |
| 397 | 263 | font-size: 13px; |
| 398 | 264 | font-weight: 300; |
| @@ -397,109 +263,29 @@ | ||
| 397 | 263 | font-size: 13px; |
| 398 | 264 | font-weight: 300; |
| 399 | 265 | word-break: break-all; |
| 400 | 266 | } |
| 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%; | |
| 267 | +.wrap.wpgetapi pre.url { | |
| 409 | 268 | margin: 0 0 20px; |
| 410 | - height: 100px; | |
| 411 | 269 | } |
| 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 | 270 | .wrap.wpgetapi pre.url span, .wrap.wpgetapi pre.functions span { |
| 423 | - color: #5493b2; | |
| 271 | + color: #5e9929; | |
| 424 | 272 | } |
| 425 | 273 | .wrap.wpgetapi pre.functions { |
| 426 | - line-height: 1.3; | |
| 427 | 274 | display: block; |
| 428 | - border-bottom: 1px solid #c2cbd8; | |
| 429 | - margin: 0 0 20px; | |
| 430 | - padding: 0 20px 7px; | |
| 275 | + margin: 15px 20px 20px 20px; | |
| 431 | 276 | } |
| 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 | 277 | .wrap.wpgetapi pre.functions .dashicons { |
| 443 | - font-size: 15px; | |
| 444 | - color: #5493b2; | |
| 445 | - margin: 1px 0 0 -2px; | |
| 278 | + font-size: 16px; | |
| 279 | + color: #a7aaad; | |
| 280 | + margin: -2px 0 0 0; | |
| 446 | 281 | cursor: pointer; |
| 447 | 282 | } |
| 448 | 283 | .wrap.wpgetapi pre.functions .dashicons:hover { |
| 449 | - color: #5493b2; | |
| 284 | + color: #5e9929; | |
| 450 | 285 | } |
| 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 | -.wrap.wpgetapi .collapse.open a.button .dashicons { | |
| 498 | - transform: rotate(180deg); | |
| 499 | - width: 30px; | |
| 500 | -} | |
| 501 | 286 | |
| 287 | + | |
| 502 | 288 | .wrap.wpgetapi .sidebar_cell hr { |
| 503 | 289 | margin: 20px 0; |
| 504 | 290 | } |
| 505 | 291 | .wrap.wpgetapi .sidebar_cell ol { |
| @@ -510,9 +296,9 @@ | ||
| 510 | 296 | width: calc( 100% - 200px); |
| 511 | 297 | } |
| 512 | 298 | .wpgetapi_page_wpgetapi_oauth .wrap.wpgetapi .cmb-type-parameter > .cmb-td .name, |
| 513 | 299 | .wpgetapi_page_wpgetapi_oauth .wrap.wpgetapi .cmb-type-parameter > .cmb-td .value { |
| 514 | - width: 48%; | |
| 300 | + width: 50%; | |
| 515 | 301 | float: left; |
| 516 | 302 | } |
| 517 | 303 | |
| 518 | 304 | .wrap.wpgetapi .cmb2-metabox .section-wrapper { |
| @@ -517,9 +303,9 @@ | ||
| 517 | 303 | |
| 518 | 304 | .wrap.wpgetapi .cmb2-metabox .section-wrapper { |
| 519 | 305 | padding: 14px 27px; |
| 520 | 306 | background: #fff; |
| 521 | - border: 1px solid #c2cbd8; | |
| 307 | + border: 1px solid #ddd; | |
| 522 | 308 | margin: 0 0 20px; |
| 523 | 309 | } |
| 524 | 310 | .wrap.wpgetapi .cmb2-metabox .section-wrapper .cmb2-metabox-title { |
| 525 | 311 | font-size: 1.1em; |
| @@ -531,9 +317,9 @@ | ||
| 531 | 317 | } |
| 532 | 318 | .wrap.wpgetapi .cmb2-metabox .importer-creator { |
| 533 | 319 | display: inline-block; |
| 534 | 320 | width: 100%; |
| 535 | - border: 1px solid #c2cbd8; | |
| 321 | + border: 1px solid #ddd; | |
| 536 | 322 | background: #fff; |
| 537 | 323 | padding: 14px 0 0; |
| 538 | 324 | margin-bottom: 15px; |
| 539 | 325 | } |
| @@ -557,20 +343,18 @@ | ||
| 557 | 343 | margin: 5px 0; |
| 558 | 344 | } |
| 559 | 345 | |
| 560 | 346 | .wrap.wpgetapi .wpgetapi-test-area { |
| 561 | - padding: 0 20px 20px !important; | |
| 347 | + margin: 0 20px 15px; | |
| 562 | 348 | } |
| 563 | 349 | .wrap.wpgetapi .wpgetapi-test-area .wpgetapi-result .wpgetapi-debug { |
| 564 | 350 | margin: 20px 0 20px; |
| 565 | 351 | } |
| 566 | 352 | .wrap.wpgetapi .wpgetapi-test-area .handle { |
| 567 | - margin: 0; | |
| 568 | - border-bottom: 1px dotted #ddd; | |
| 569 | - padding: 0 0 2px; | |
| 353 | + margin: 0 0 0 15px; | |
| 354 | + border-bottom: 1px dotted #ccc; | |
| 355 | + padding: 0 0 4px; | |
| 570 | 356 | cursor: pointer; |
| 571 | - float: right; | |
| 572 | - font-size: 12px; | |
| 573 | 357 | } |
| 574 | 358 | .wrap.wpgetapi .wpgetapi-test-area pre { |
| 575 | 359 | box-shadow: none; |
| 576 | 360 | border: none; |
| @@ -577,165 +361,16 @@ | ||
| 577 | 361 | width: auto !important; |
| 578 | 362 | max-width: 100%; |
| 579 | 363 | word-break: break-all; |
| 580 | 364 | } |
| 581 | - | |
| 582 | -.wpgetapi-debug { | |
| 583 | - background: #fff; | |
| 584 | - padding: 20px; | |
| 585 | - box-shadow: 0 0 1px #aaa; | |
| 586 | - margin: 20px; | |
| 587 | - font-size: 15px; | |
| 588 | -} | |
| 589 | -.wpgetapi-debug | |
| 590 | -.wpgetapi-debug p | |
| 591 | -.wpgetapi-debug h5 | |
| 592 | -.wpgetapi-debug h6 { | |
| 593 | - color: #000; | |
| 594 | - line-height: 1 !important; | |
| 595 | - text-transform: none !important; | |
| 596 | - font-family: sans-serif !important; | |
| 597 | - letter-spacing: 0px !important; | |
| 598 | -} | |
| 599 | -.wpgetapi-debug p.small { | |
| 600 | - font-size: 85%; | |
| 601 | - color: #999; | |
| 602 | - margin: 0 0 12px !important; | |
| 603 | -} | |
| 604 | -.wpgetapi-debug h5 { | |
| 605 | - font-weight: bold; | |
| 606 | - font-size: 18px; | |
| 607 | - margin: 0 0 3px; | |
| 608 | - text-transform: none !important; | |
| 609 | -} | |
| 610 | -.wpgetapi-debug .debug-item { | |
| 611 | - margin: 10px 0; | |
| 612 | - background: #fff; | |
| 613 | - padding: 15px 20px; | |
| 614 | - display: inline-block !important; | |
| 615 | - width: 100% !important; | |
| 616 | - box-shadow: 0 4px 4px -2px rgb(0 0 0 / 9%); | |
| 617 | - border: 1px solid #eee; | |
| 618 | - margin-bottom: 20px !important; | |
| 619 | -} | |
| 620 | -.wpgetapi-debug .debug-item h6 { | |
| 621 | - font-weight: bold; | |
| 622 | - font-size: 14px; | |
| 623 | - margin: 0; | |
| 624 | - text-transform: none !important; | |
| 625 | -} | |
| 626 | -.wpgetapi-debug .debug-item .debug-result, | |
| 627 | -.wpgetapi-debug .debug-item .debug-result pre { | |
| 628 | - font-family: monospace !important; | |
| 629 | - font-size: 13px !important; | |
| 630 | - margin: 0 !important; | |
| 631 | - padding: 8px 12px; | |
| 632 | - background: #f4f7fa; | |
| 633 | - border-radius: 5px; | |
| 634 | - border: 1px solid #d9e2eb; | |
| 635 | -} | |
| 636 | -.wpgetapi-debug .debug-item .debug-result pre { | |
| 637 | - border: none; | |
| 638 | - padding: 5px | |
| 639 | -} | |
| 640 | -.wpgetapi-debug.testing { | |
| 641 | - background: transparent; | |
| 642 | - padding: 0; | |
| 643 | - box-shadow: none; | |
| 644 | -} | |
| 645 | -.wpgetapi-debug.testing .debug-item { | |
| 646 | - margin: 5px 0; | |
| 647 | -} | |
| 648 | -.wpgetapi-debug.testing .debug-item.status { | |
| 649 | - border: none; | |
| 650 | - box-shadow: none; | |
| 651 | - margin: 0 !important; | |
| 652 | - padding: 5px 20px 20px; | |
| 653 | -} | |
| 654 | -.wpgetapi-debug .debug-item.status h5 { | |
| 655 | - font-size: 15px; | |
| 656 | -} | |
| 657 | -.wpgetapi-debug .status .dashicons { | |
| 658 | - margin: 0 5px 3px 0; | |
| 659 | -} | |
| 660 | -.wpgetapi-debug .status .dashicons-yes-alt { | |
| 661 | - color: #5e9929; | |
| 662 | -} | |
| 663 | -.wpgetapi-debug .status .dashicons-dismiss { | |
| 664 | - color: #cc4646; | |
| 665 | -} | |
| 666 | -.wpgetapi-debug .status .dashicons-warning { | |
| 667 | - color: #dfa12e; | |
| 668 | -} | |
| 669 | -.wpgetapi-debug .status .desc { | |
| 670 | - font-size: 14px; | |
| 671 | - font-weight: 400 !important; | |
| 672 | -} | |
| 673 | 365 | .wrap.wpgetapi .wpgetapi-test-area .side-notice { |
| 674 | 366 | margin-top: 20px; |
| 675 | 367 | } |
| 676 | 368 | .wrap.wpgetapi .section-wrapper .cmb-row.cmb-type-title { |
| 677 | - border-bottom: 1px solid #c2cbd8; | |
| 369 | + border-bottom: 1px solid #ddd; | |
| 678 | 370 | margin: 0 -27px 15px; |
| 679 | 371 | padding: 0 27px; |
| 680 | 372 | } |
| 681 | - | |
| 682 | -.wrap.wpgetapi .cmb-type-group .cmb-remove-field-row { | |
| 683 | - border-top: 1px solid #c2cbd8 !important; | |
| 684 | - padding: 20px 20px 10px !important; | |
| 685 | -} | |
| 686 | -.wrap.wpgetapi .fields-wrapper { | |
| 687 | - margin: 0 !important; | |
| 688 | - padding: 0px 20px 0 !important; | |
| 689 | - border-radius: 0; | |
| 690 | -} | |
| 691 | -.wrap.wpgetapi .cmb-type-group .field-half { | |
| 692 | - width: 50%; | |
| 693 | - float: left; | |
| 694 | - padding: 0 20px 0 !important; | |
| 695 | -} | |
| 696 | - | |
| 697 | -.wrap.wpgetapi .cmb-type-group .field-half .cmb-th { | |
| 698 | - display: block; | |
| 699 | - width: auto; | |
| 700 | -} | |
| 701 | -.wrap.wpgetapi .cmb-type-group .field-half .cmb-td { | |
| 702 | - display: block; | |
| 703 | - width: 100%; | |
| 704 | -} | |
| 705 | -.wrap.wpgetapi .cmb-type-group .field-timeout, | |
| 706 | -.wrap.wpgetapi .cmb-type-group .field-cache-time { | |
| 707 | - margin-bottom: 30px; | |
| 708 | -} | |
| 709 | -.wrap.wpgetapi .field-half .cmb-td input.regular-text, .wrap.wpgetapi .field-half .cmb-td select { | |
| 710 | - max-width: 100%; | |
| 711 | -} | |
| 712 | -.wrap.wpgetapi .cmb-type-group .cmb-type-parameter { | |
| 713 | - clear: both; | |
| 714 | -} | |
| 715 | -.wrap.wpgetapi .cmb-type-group .field-query-parameters { | |
| 716 | - padding-top: 5px !important; | |
| 717 | -} | |
| 718 | - | |
| 719 | -.wrap.wpgetapi .cmb-type-group .cmb-repeat-group-field.field-actions, | |
| 720 | -.wrap.wpgetapi .cmb-type-group .cmb-repeat-group-field.field-xml-root, | |
| 721 | -.wrap.wpgetapi .cmb-type-group .cmb-repeat-group-field.field-import_api { | |
| 722 | - border-top: 1px solid #ddd !important; | |
| 723 | - padding: 20px 40px !important; | |
| 724 | -} | |
| 725 | - | |
| 726 | -.wrap.wpgetapi .cmb2-metabox h3 button.test-endpoint-button.button-primary { | |
| 727 | - margin-left: 20px !important; | |
| 728 | - font-size: 11px; | |
| 729 | - padding: 5px 8px; | |
| 730 | - min-height: auto; | |
| 731 | - line-height: 1; | |
| 732 | - background: #f7f9fc; | |
| 733 | - border: 1px solid #e8e9ec; | |
| 734 | - position: relative; | |
| 735 | - z-index: 9999; | |
| 736 | -} | |
| 737 | - | |
| 738 | 373 | @media screen and (max-width: 1024px) { |
| 739 | 374 | .wrap.wpgetapi .main_content_cell { |
| 740 | 375 | width: auto; |
| 741 | 376 | display: block; |