1 /* Style rules for Api4 Explorer */
3 #bootstrap-theme.api4-explorer-page
.panel-heading
{
6 #bootstrap-theme.api4-explorer-page
.panel-body
{
7 min-height: calc
( 100% - 50px);
9 #bootstrap-theme.api4-explorer-page
.explorer-params-panel
.panel-heading
{
12 #bootstrap-theme.api4-explorer-page
.explorer-params-panel
.panel-heading button
{
16 #bootstrap-theme .explorer-params-panel
.panel-heading
.form-inline
> .select2-container
{
17 max-width: 25% !important
;
19 #bootstrap-theme.api4-explorer-page
.api4-explorer-row
{
22 #bootstrap-theme.api4-explorer-page
> div
> .panel
{
27 #bootstrap-theme.api4-explorer-page
> div
> form
.panel
{
30 /* Fix weird shorditch style */
31 #bootstrap-theme.api4-explorer-page
.api4-explorer-row
.panel
.panel-heading
{
32 border-bottom-right-radius: 0;
33 border-bottom-left-radius: 0;
36 #bootstrap-theme.api4-explorer-page
.panel-heading
.nav-tabs
{
37 padding: 8px 0 0 20px;
39 #bootstrap-theme .panel-heading
>li
>a
{
40 background-color: #f1f1f18c
42 #bootstrap-theme.api4-explorer-page
.explorer-code-panel table
td:first-child
{
44 word-break: break-word
;
46 #bootstrap-theme.api4-explorer-page
.explorer-code-panel table td pre
{
49 #bootstrap-theme.api4-explorer-page
.explorer-code-panel
.panel-heading
.nav li a
{
50 text-transform: uppercase
;
53 #bootstrap-theme.api4-explorer-page
.explorer-params-panel
> .panel-body
> div
.api4-input
{
57 #bootstrap-theme.api4-explorer-page
.explorer-help-panel
.panel-body
{
58 word-break: break-word
;
61 /* because each help p is in a div, this undoes bootstrap removing margin from last-child */
62 #bootstrap-theme.api4-explorer-page
.explorer-help-panel
.panel-body p
{
66 #bootstrap-theme.api4-explorer-page form label
{
67 text-transform: capitalize
;
70 #bootstrap-theme.api4-explorer-page fieldset
{
72 border: 1px solid lightgrey
;
77 #bootstrap-theme.api4-explorer-page fieldset legend
{
83 text-transform: capitalize
;
85 #bootstrap-theme.api4-explorer-page crm-api4-clause
> .btn-group
{
90 #bootstrap-theme.api4-explorer-page crm-api4-clause
> .btn-group
.btn
{
94 #bootstrap-theme.api4-explorer-page fieldset div
.api4-input
{
98 #bootstrap-theme.api4-explorer-page fieldset div
.api4-input
.ui-sortable-helper
{
99 background-color: rgba
(255, 255, 255, .9);
102 #bootstrap-theme.api4-explorer-page fieldset div
.api4-input
.ui-sortable-helper
{
103 background-color: rgba
(255, 255, 255, .9);
106 #bootstrap-theme.api4-explorer-page
.api4-clause-fieldset fieldset
{
108 width: calc
(100% - 58px);
112 #bootstrap-theme.api4-explorer-page
.api4-clause-fieldset
.api4-sorting fieldset
.api4-clause-group-sortable
{
116 #bootstrap-theme.api4-explorer-page
.api4-input-group
{
117 display: inline-block
;
120 #bootstrap-theme.api4-explorer-page i
.fa-arrows
{
124 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
{
126 display: inline-block
;
129 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.badge
{
133 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.caret
{
136 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.crm-i
{
140 #bootstrap-theme.api4-explorer-page
.ui-sortable-helper
.api4-clause-badge
.badge span
{
143 #bootstrap-theme.api4-explorer-page
.ui-sortable-helper
.api4-clause-badge
.crm-i
{
144 display: inline-block
;
147 #bootstrap-theme.api4-explorer-page
.api4-operator
,
148 #bootstrap-theme.api4-explorer-page
.api4-chain-index
,
149 #bootstrap-theme.api4-explorer-page
.api4-chain-action
{
152 #bootstrap-theme.api4-explorer-page
.api4-chain-params
{
153 width: calc
(100% - 390px);
156 #bootstrap-theme.api4-explorer-page
.api4-add-where-group-menu
{
158 background-color: rgba
(186, 225, 251, 0.94);
160 #bootstrap-theme.api4-explorer-page
.api4-add-where-group-menu a
{
164 /* Collapsible optgroups for select2 */
165 div
.select2-drop
.collapsible-optgroups-enabled
.select2-result-with-children:not
(.optgroup-expanded
) > .select2-result-sub
> li
.select2-result
{
168 div
.select2-drop
.collapsible-optgroups-enabled
.select2-result-with-children
> .select2-result-label:before
{
169 font-family: FontAwesome
;
171 display: inline-block
;
173 vertical-align: middle
;
176 div
.select2-drop
.collapsible-optgroups-enabled
.select2-result-with-children
.optgroup-expanded
> .select2-result-label:before
{
180 #bootstrap-theme.api4-explorer-page
.form-control
.huge
{
184 #bootstrap-theme.api4-explorer-page
.form-control
.twenty
{
188 /* Another weird shoreditch fix */
189 #bootstrap-theme .form-inline div
.checkbox
{
192 #bootstrap-theme .form-inline div
.checkbox label input
[type
=checkbox
] {
197 * Shims so the UI isn't completely broken when a Bootstrap theme is not installed
199 #bootstrap-theme.api4-explorer-page
* {
200 box-sizing: border-box
;
202 .api4-explorer-page.panel {
203 border: 1px solid grey
;
204 background-color: white
;
206 .api4-explorer-page.panel-heading {
209 background-color: #f3f6f7;