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
{
46 #bootstrap-theme.api4-explorer-page
.explorer-params-panel
> .panel-body
> div
.api4-input
{
50 #bootstrap-theme.api4-explorer-page
.api4-input
.form-inline
> label
{
54 #bootstrap-theme.api4-explorer-page
.explorer-help-panel
.panel-body
{
55 word-break: break-word
;
58 /* because each help p is in a div, this undoes bootstrap removing margin from last-child */
59 #bootstrap-theme.api4-explorer-page
.explorer-help-panel
.panel-body p
{
63 #bootstrap-theme.api4-explorer-page form label
{
64 text-transform: capitalize
;
67 #bootstrap-theme.api4-explorer-page fieldset
{
69 border: 1px solid lightgrey
;
74 #bootstrap-theme.api4-explorer-page fieldset legend
{
75 background-color: white
;
81 text-transform: capitalize
;
83 #bootstrap-theme.api4-explorer-page fieldset
> .btn-group
{
88 #bootstrap-theme.api4-explorer-page fieldset
> .btn-group
.btn
{
92 #bootstrap-theme.api4-explorer-page fieldset div
.api4-input
{
96 #bootstrap-theme.api4-explorer-page fieldset div
.api4-input
.ui-sortable-helper
{
97 background-color: rgba
(255, 255, 255, .9);
100 #bootstrap-theme.api4-explorer-page fieldset div
.api4-input
.ui-sortable-helper
{
101 background-color: rgba
(255, 255, 255, .9);
104 #bootstrap-theme.api4-explorer-page div
.api4-input
.form-inline
.form-control
{
108 #bootstrap-theme.api4-explorer-page div
.api4-input
.form-inline
.form-control:not
(.api4-option-selected
) {
111 -webkit-box-shadow: none
;
112 -moz-box-shadow: none
;
115 #bootstrap-theme.api4-explorer-page div
.api4-input
.form-inline
.form-control label
{
121 #bootstrap-theme.api4-explorer-page
.api4-where-fieldset fieldset
{
123 width: calc
(100% - 58px);
127 #bootstrap-theme.api4-explorer-page
.api4-where-fieldset
.api4-sorting fieldset
.api4-where-group-sortable
{
131 #bootstrap-theme.api4-explorer-page
.api4-input-group
{
132 display: inline-block
;
135 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
{
137 display: inline-block
;
140 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.badge
{
144 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.caret
{
147 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.crm-i
{
151 #bootstrap-theme.api4-explorer-page
.ui-sortable-helper
.api4-clause-badge
.badge span
{
154 #bootstrap-theme.api4-explorer-page
.ui-sortable-helper
.api4-clause-badge
.crm-i
{
155 display: inline-block
;
158 #bootstrap-theme.api4-explorer-page
.api4-operator
,
159 #bootstrap-theme.api4-explorer-page
.api4-chain-index
,
160 #bootstrap-theme.api4-explorer-page
.api4-chain-action
{
163 #bootstrap-theme.api4-explorer-page
.api4-chain-params
{
164 width: calc
(100% - 390px);
167 #bootstrap-theme.api4-explorer-page
.api4-add-where-group-menu
{
169 background-color: rgba
(186, 225, 251, 0.94);
171 #bootstrap-theme.api4-explorer-page
.api4-add-where-group-menu a
{
175 /* Collapsible optgroups for select2 */
176 div
.select2-drop
.collapsible-optgroups-enabled
.select2-result-with-children:not
(.optgroup-expanded
) > .select2-result-sub
> li
.select2-result
{
179 div
.select2-drop
.collapsible-optgroups-enabled
.select2-result-with-children
> .select2-result-label:before
{
180 font-family: FontAwesome
;
182 display: inline-block
;
184 vertical-align: middle
;
187 div
.select2-drop
.collapsible-optgroups-enabled
.select2-result-with-children
.optgroup-expanded
> .select2-result-label:before
{
192 * Shims so the UI isn't completely broken when a Bootstrap theme is not installed
194 #bootstrap-theme.api4-explorer-page
* {
195 box-sizing: border-box
;
197 .api4-explorer-page.panel {
198 border: 1px solid grey
;
199 background-color: white
;
201 .api4-explorer-page.panel-heading {
204 background-color: #f3f6f7;