X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=css%2Fapi4-explorer.css;h=02dd6dbadf1b426aa4ea0511b3e4adc35f876d61;hb=17bfa11c45ad7ecc9c88df3ad47cfd8be8ae47b4;hp=af5cec80a78ea944dbaa8b6b5e159f72070118d2;hpb=054faaff61e5f350bb66af4fd17d98680ec2fb40;p=civicrm-core.git diff --git a/css/api4-explorer.css b/css/api4-explorer.css index af5cec80a7..02dd6dbadf 100644 --- a/css/api4-explorer.css +++ b/css/api4-explorer.css @@ -16,17 +16,10 @@ #bootstrap-theme .explorer-params-panel .panel-heading .form-inline > .select2-container { max-width: 25% !important; } -#bootstrap-theme.api4-explorer-page .api4-explorer-row { - display: flex; -} -#bootstrap-theme.api4-explorer-page > div > .panel { - flex: 1; +#bootstrap-theme .api4-explorer-row > .panel { margin: 10px; min-height: 500px; } -#bootstrap-theme.api4-explorer-page > div > form.panel { - flex: 2; -} /* Fix weird shorditch style */ #bootstrap-theme.api4-explorer-page .api4-explorer-row .panel .panel-heading { border-bottom-right-radius: 0; @@ -39,12 +32,10 @@ #bootstrap-theme .panel-heading>li>a { background-color: #f1f1f18c } -#bootstrap-theme.api4-explorer-page .explorer-code-panel table td:first-child { - width: 6em; - word-break: break-word; -} -#bootstrap-theme.api4-explorer-page .explorer-code-panel table td pre { +#bootstrap-theme.api4-explorer-page .explorer-code-panel pre { min-height: 3.3em; + word-break: break-all; + white-space: pre-wrap; } #bootstrap-theme.api4-explorer-page .explorer-code-panel .panel-heading.nav li a { text-transform: uppercase; @@ -161,22 +152,6 @@ padding: 5px 10px; } -/* Collapsible optgroups for select2 */ -div.select2-drop.collapsible-optgroups-enabled .select2-result-with-children:not(.optgroup-expanded) > .select2-result-sub > li.select2-result { - display: none; -} -div.select2-drop.collapsible-optgroups-enabled .select2-result-with-children > .select2-result-label:before { - font-family: FontAwesome; - content: "\f0da"; - display: inline-block; - padding-right: 3px; - vertical-align: middle; - font-weight: normal; -} -div.select2-drop.collapsible-optgroups-enabled .select2-result-with-children.optgroup-expanded > .select2-result-label:before { - content: "\f0d7"; -} - #bootstrap-theme.api4-explorer-page .form-control.huge { width: 25em; }