| 1 |
.wrap.wpgetapi *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} |
| 2 |
.wrap.wpgetapi *:before, .wrap.wpgetapi *:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} |
| 3 |
#toplevel_page_wpgetapi_setup div.wp-menu-image { |
| 4 |
background-image: url(../img/icon.png); |
| 5 |
background-size: 20px 20px; |
| 6 |
background-repeat: no-repeat; |
| 7 |
background-position: center center; |
| 8 |
} |
| 9 |
#toplevel_page_wpgetapi_setup a:hover div.wp-menu-image { |
| 10 |
background-image: url(../img/icon-blue.png); |
| 11 |
} |
| 12 |
#toplevel_page_wpgetapi_setup .wp-has-current-submenu div.wp-menu-image { |
| 13 |
background-image: url(../img/icon-white.png); |
| 14 |
} |
| 15 |
|
| 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 { |
| 17 |
justify-content: center; |
| 18 |
align-self: center; |
| 19 |
max-width: 400px; |
| 20 |
flex-direction: row !important; |
| 21 |
} |
| 22 |
.wpgetapi-gutenberg-endpoint-selector-wrap img { |
| 23 |
margin: 0 auto; |
| 24 |
text-align: center; |
| 25 |
width: 70px; |
| 26 |
} |
| 27 |
.wpgetapi-gutenberg-endpoint-selector-wrap h3 { |
| 28 |
margin: 10px auto; |
| 29 |
text-align: center; |
| 30 |
display: block; |
| 31 |
width: 100%; |
| 32 |
} |
| 33 |
.wpgetapi-gutenberg-endpoint-selector-wrap .components-base-control { |
| 34 |
margin: 0 2px; |
| 35 |
} |
| 36 |
.wrap.wpgetapi { |
| 37 |
padding: 10px 0px 10px 0; |
| 38 |
margin: 0; |
| 39 |
display: table; |
| 40 |
width: 100%; |
| 41 |
table-layout: fixed; |
| 42 |
} |
| 43 |
.wrap.wpgetapi .nav-tab-wrapper { |
| 44 |
margin-top: 15px; |
| 45 |
background: #fff; |
| 46 |
border: 1px solid #ddd; |
| 47 |
border-bottom: none; |
| 48 |
padding: 0; |
| 49 |
} |
| 50 |
.wrap.wpgetapi .nav-tab-wrapper .nav-tab { |
| 51 |
border: none; |
| 52 |
margin-left: 0; |
| 53 |
padding: 15px 15px; |
| 54 |
font-size: 13px; |
| 55 |
font-weight: 400; |
| 56 |
background: none; |
| 57 |
color: #000; |
| 58 |
white-space: nowrap; |
| 59 |
} |
| 60 |
.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 { |
| 61 |
border-bottom: 2px solid #007cba; |
| 62 |
color: #000; |
| 63 |
font-weight: 600; |
| 64 |
} |
| 65 |
.wrap.wpgetapi .main_content_cell { |
| 66 |
display: table-cell; |
| 67 |
height: 500px; |
| 68 |
margin: 0; |
| 69 |
padding: 0; |
| 70 |
vertical-align: top; |
| 71 |
width: 100%; |
| 72 |
} |
| 73 |
.wrap.wpgetapi .cmb-form.group { |
| 74 |
background: #fdfdfd; |
| 75 |
border: 1px solid #ddd; |
| 76 |
padding: 0 20px; |
| 77 |
} |
| 78 |
#wpbody-content .wpgetapi .metabox-holder { |
| 79 |
padding-top: 0; |
| 80 |
padding-bottom: 30px; |
| 81 |
} |
| 82 |
#wpbody-content .wpgetapi .metabox-holder h3.title { |
| 83 |
color: #1d2327; |
| 84 |
font-size: 1.3em; |
| 85 |
margin: 1em 0; |
| 86 |
} |
| 87 |
.wrap.wpgetapi .sidebar_cell { |
| 88 |
display: table-cell; |
| 89 |
height: 500px; |
| 90 |
margin: 0; |
| 91 |
padding: 0; |
| 92 |
vertical-align: top; |
| 93 |
width: 330px; |
| 94 |
padding: 58px 15px 0 20px; |
| 95 |
} |
| 96 |
.wrap.wpgetapi .sidebar_cell .box { |
| 97 |
background: #fff; |
| 98 |
padding: 15px 20px; |
| 99 |
border: 1px solid #ddd; |
| 100 |
} |
| 101 |
.wrap.wpgetapi .sidebar_cell .box h3 { |
| 102 |
margin-top: 0; |
| 103 |
} |
| 104 |
.wrap.wpgetapi .sidebar_cell .box a { |
| 105 |
text-decoration: none; |
| 106 |
} |
| 107 |
.wrap.wpgetapi .cmb2-metabox { |
| 108 |
margin-bottom: 20px; |
| 109 |
} |
| 110 |
.wrap.wpgetapi .cmb-th { |
| 111 |
padding: 10px 10px 10px 0; |
| 112 |
} |
| 113 |
.wrap.wpgetapi .cmb-td { |
| 114 |
padding: 5px 10px 8px; |
| 115 |
} |
| 116 |
.wrap.wpgetapi .cmb-type-title .cmb-td { |
| 117 |
padding-left: 0; |
| 118 |
} |
| 119 |
|
| 120 |
.wrap.wpgetapi .cmb-td input.regular-text::placeholder, |
| 121 |
.wrap.wpgetapi .cmb-td textarea::placeholder { |
| 122 |
color: #bbb; |
| 123 |
font-weight: 300; |
| 124 |
} |
| 125 |
.wrap.wpgetapi .cmb-td input.regular-text, |
| 126 |
.wrap.wpgetapi .cmb-td select { |
| 127 |
width: 450px; |
| 128 |
max-width: 95%; |
| 129 |
} |
| 130 |
.cmb-repeatable-group .cmb-group-title { |
| 131 |
background-color: #dedede; |
| 132 |
} |
| 133 |
.wrap.wpgetapi .cmb-type-group .cmb-th { |
| 134 |
padding: 0; |
| 135 |
} |
| 136 |
.wrap.wpgetapi .cmb-type-group .cmb-td { |
| 137 |
padding: 0; |
| 138 |
} |
| 139 |
.wrap.wpgetapi .cmb-type-group .cmb-row .cmbhandle { |
| 140 |
right: 0; |
| 141 |
top: 7px; |
| 142 |
} |
| 143 |
.wrap.wpgetapi p.cmb2-metabox-description { |
| 144 |
font-style: normal; |
| 145 |
margin: 5px 0 0 0; |
| 146 |
padding-top: 0 !important; |
| 147 |
padding-bottom: 0 !important; |
| 148 |
font-weight: 300; |
| 149 |
} |
| 150 |
.wrap.wpgetapi p.cmb2-metabox-description a, |
| 151 |
.wrap.wpgetapi p.cmb2-metabox-description a .dashicons{ |
| 152 |
text-decoration: none; |
| 153 |
font-weight: inherit; |
| 154 |
font-size: inherit; |
| 155 |
} |
| 156 |
.wrap.wpgetapi p.cmb2-metabox-description a .dashicons { |
| 157 |
font-size: 0.8rem; |
| 158 |
line-height: 1.2rem; |
| 159 |
width: 12px; |
| 160 |
} |
| 161 |
.wrap.wpgetapi .desc { |
| 162 |
font-style: normal; |
| 163 |
margin: 0 0 15px; |
| 164 |
padding-top: 0 !important; |
| 165 |
padding-bottom: 0 !important; |
| 166 |
font-weight: 300; |
| 167 |
word-break: break-word; |
| 168 |
} |
| 169 |
.wrap.wpgetapi .cmb-type-group .cmb-group-name { |
| 170 |
font-size: 1.1em; |
| 171 |
} |
| 172 |
|
| 173 |
.wrap.wpgetapi .cmb-type-group .cmb-remove-field-row, |
| 174 |
.wrap.wpgetapi .cmb-type-group .cmb-repeat-group-field, |
| 175 |
.wrap.wpgetapi .cmb2-postbox .cmb-remove-field-row, |
| 176 |
.wrap.wpgetapi .cmb2-postbox .cmb-repeat-group-field { |
| 177 |
padding-top: 5px !important; |
| 178 |
} |
| 179 |
.wrap.wpgetapi .cmb-type-group .cmb-repeatable-grouping { |
| 180 |
padding: 0 !important; |
| 181 |
margin: 0 0 30px; |
| 182 |
background: #fff; |
| 183 |
border: 1px solid #ddd; |
| 184 |
} |
| 185 |
.wrap.wpgetapi .cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]) { |
| 186 |
cursor: pointer; |
| 187 |
color: #bf4242; |
| 188 |
opacity: 1; |
| 189 |
top: 14px; |
| 190 |
} |
| 191 |
.wrap.wpgetapi .cmb2-metabox .button-primary { |
| 192 |
background: #fff; |
| 193 |
border-color: #2271b1; |
| 194 |
color: #2271b1; |
| 195 |
text-decoration: none; |
| 196 |
text-shadow: none; |
| 197 |
} |
| 198 |
.wrap.wpgetapi .cmb-type-group .cmb-repeat-group-field { |
| 199 |
padding: 0 20px 8px !important; |
| 200 |
} |
| 201 |
.wrap.wpgetapi .cmb-repeatable-group .cmb-group-title { |
| 202 |
padding: 15px 12px 15px 2.2em !important; |
| 203 |
background: #f8f8f8; |
| 204 |
border-bottom: 1px solid #ddd; |
| 205 |
} |
| 206 |
.wrap.wpgetapi .cmb-repeat-table .cmb-td .input-wrap { |
| 207 |
width: 50%; |
| 208 |
float: left; |
| 209 |
} |
| 210 |
.wrap.wpgetapi .cmb-repeat-table label { |
| 211 |
font-size:13px; |
| 212 |
display: block; |
| 213 |
} |
| 214 |
.wrap.wpgetapi .cmb-repeat-table.cmb-nested { |
| 215 |
margin-top: 8px; |
| 216 |
} |
| 217 |
.wrap.wpgetapi .cmb-remove-field-row { |
| 218 |
padding: 0 20px !important; |
| 219 |
} |
| 220 |
|
| 221 |
.wrap.wpgetapi .cmb-type-parameter .cmb-repeat-table .cmb-row.cmb-repeat-row { |
| 222 |
padding: 5px 10px 5px 50px; |
| 223 |
} |
| 224 |
.wrap.wpgetapi .cmb-type-parameter .cmb-add-row .button-secondary { |
| 225 |
font-size: 12px; |
| 226 |
line-height: 2; |
| 227 |
min-height: 24px; |
| 228 |
} |
| 229 |
.wrap.wpgetapi .cmb-type-parameter .cmb-add-row:before { |
| 230 |
height: 1em; |
| 231 |
} |
| 232 |
|
| 233 |
.wrap.wpgetapi pre { |
| 234 |
display: inline-block; |
| 235 |
background: #f4f7f9; |
| 236 |
padding: 12px 20px; |
| 237 |
margin: 10px 0 10px; |
| 238 |
border-radius: 2px; |
| 239 |
color: #222; |
| 240 |
white-space: pre-line; |
| 241 |
line-height: 0.9; |
| 242 |
font-size: 13px; |
| 243 |
font-weight: 300; |
| 244 |
word-break: break-all; |
| 245 |
} |
| 246 |
.wrap.wpgetapi pre.url { |
| 247 |
margin: 0 0 20px; |
| 248 |
} |
| 249 |
.wrap.wpgetapi pre.url span, .wrap.wpgetapi pre.functions span { |
| 250 |
color: #5e9929; |
| 251 |
} |
| 252 |
.wrap.wpgetapi pre.functions { |
| 253 |
display: block; |
| 254 |
margin: 15px 20px 20px 20px; |
| 255 |
} |
| 256 |
|
| 257 |
|
| 258 |
.wrap.wpgetapi .sidebar_cell hr { |
| 259 |
margin: 20px 0; |
| 260 |
} |
| 261 |
.wrap.wpgetapi .sidebar_cell ol { |
| 262 |
margin: 15px 0 0 15px; |
| 263 |
} |
| 264 |
|
| 265 |
.wpgetapi_page_wpgetapi_oauth .wrap.wpgetapi .cmb-type-parameter > .cmb-td { |
| 266 |
width: calc( 100% - 200px); |
| 267 |
} |
| 268 |
.wpgetapi_page_wpgetapi_oauth .wrap.wpgetapi .cmb-type-parameter > .cmb-td .name, |
| 269 |
.wpgetapi_page_wpgetapi_oauth .wrap.wpgetapi .cmb-type-parameter > .cmb-td .value { |
| 270 |
width: 50%; |
| 271 |
float: left; |
| 272 |
} |
| 273 |
|
| 274 |
.wrap.wpgetapi .cmb2-metabox .section-wrapper { |
| 275 |
padding: 14px 27px; |
| 276 |
background: #fff; |
| 277 |
border: 1px solid #ddd; |
| 278 |
margin: 0 0 20px; |
| 279 |
} |
| 280 |
.wrap.wpgetapi .cmb2-metabox .section-wrapper .cmb2-metabox-title { |
| 281 |
font-size: 1.1em; |
| 282 |
padding-bottom: 0; |
| 283 |
margin-bottom: 0; |
| 284 |
} |
| 285 |
.wrap.wpgetapi .cmb2-metabox .section-wrapper .cmb-type-title .cmb2-metabox-description { |
| 286 |
margin: 5px 0 15px; |
| 287 |
} |
| 288 |
.wrap.wpgetapi .cmb2-metabox .importer-creator { |
| 289 |
display: inline-block; |
| 290 |
width: 100%; |
| 291 |
border: 1px solid #ddd; |
| 292 |
background: #fff; |
| 293 |
padding: 14px 0 0; |
| 294 |
margin-bottom: 15px; |
| 295 |
} |
| 296 |
.wrap.wpgetapi .cmb2-metabox .importer-creator .box.half { |
| 297 |
float: left; |
| 298 |
width: 50%; |
| 299 |
margin-bottom: 20px; |
| 300 |
padding: 0 28px; |
| 301 |
} |
| 302 |
.wrap.wpgetapi .cmb2-metabox .importer-creator .box h4 { |
| 303 |
margin-top: 0; |
| 304 |
} |
| 305 |
.wrap.wpgetapi .cmb2-metabox .side-notice { |
| 306 |
border-left: 3px solid #dba617; |
| 307 |
background: #fff; |
| 308 |
padding: 5px 15px; |
| 309 |
box-shadow: 0 0 1px #aaa; |
| 310 |
margin: 10px 0; |
| 311 |
} |
| 312 |
.wrap.wpgetapi .cmb2-metabox .side-notice p { |
| 313 |
margin: 5px 0; |
| 314 |
} |
| 315 |
|
| 316 |
.wrap.wpgetapi .wpgetapi-test-area { |
| 317 |
margin: 0 20px 15px; |
| 318 |
} |
| 319 |
.wrap.wpgetapi .wpgetapi-test-area .wpgetapi-result .wpgetapi-debug { |
| 320 |
margin: 20px 0 20px; |
| 321 |
} |
| 322 |
.wrap.wpgetapi .wpgetapi-test-area .handle { |
| 323 |
margin: 0 0 0 15px; |
| 324 |
border-bottom: 1px dotted #ccc; |
| 325 |
padding: 0 0 4px; |
| 326 |
cursor: pointer; |
| 327 |
} |
| 328 |
.wrap.wpgetapi .wpgetapi-test-area pre { |
| 329 |
box-shadow: none; |
| 330 |
border: none; |
| 331 |
width: auto !important; |
| 332 |
max-width: 100%; |
| 333 |
word-break: break-all; |
| 334 |
} |
| 335 |
.wrap.wpgetapi .wpgetapi-test-area .side-notice { |
| 336 |
margin-top: 20px; |
| 337 |
} |
| 338 |
.wrap.wpgetapi .section-wrapper .cmb-row.cmb-type-title { |
| 339 |
border-bottom: 1px solid #ddd; |
| 340 |
margin: 0 -27px 15px; |
| 341 |
padding: 0 27px; |
| 342 |
} |
| 343 |
@media screen and (max-width: 1024px) { |
| 344 |
.wrap.wpgetapi .main_content_cell { |
| 345 |
width: auto; |
| 346 |
display: block; |
| 347 |
height: auto; |
| 348 |
} |
| 349 |
.wrap.wpgetapi .sidebar_cell { |
| 350 |
width: auto; |
| 351 |
padding: 40px 0 0 0; |
| 352 |
display: block; |
| 353 |
height: auto; |
| 354 |
} |
| 355 |
} |
| 356 |
|