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
.explorer-code-panel table
td:first-child
{
40 #bootstrap-theme.api4-explorer-page
.explorer-params-panel
> .panel-body
> div
.api4-input
{
44 #bootstrap-theme.api4-explorer-page
.api4-input
.form-inline
> label
{
48 #bootstrap-theme.api4-explorer-page
.explorer-help-panel
.panel-body
{
49 word-break: break-word
;
52 /* because each help p is in a div, this undoes bootstrap removing margin from last-child */
53 #bootstrap-theme.api4-explorer-page
.explorer-help-panel
.panel-body p
{
57 #bootstrap-theme.api4-explorer-page form label
{
58 text-transform: capitalize
;
61 #bootstrap-theme.api4-explorer-page fieldset
{
63 border: 1px solid lightgrey
;
68 #bootstrap-theme.api4-explorer-page fieldset legend
{
69 background-color: white
;
75 text-transform: capitalize
;
77 #bootstrap-theme.api4-explorer-page fieldset
> .btn-group
{
82 #bootstrap-theme.api4-explorer-page fieldset
> .btn-group
.btn
{
86 #bootstrap-theme.api4-explorer-page fieldset div
.api4-input
{
90 #bootstrap-theme.api4-explorer-page fieldset div
.api4-input
.ui-sortable-helper
{
91 background-color: rgba
(255, 255, 255, .9);
94 #bootstrap-theme.api4-explorer-page fieldset div
.api4-input
.ui-sortable-helper
{
95 background-color: rgba
(255, 255, 255, .9);
98 #bootstrap-theme.api4-explorer-page div
.api4-input
.form-inline
.form-control
{
102 #bootstrap-theme.api4-explorer-page div
.api4-input
.form-inline
.form-control:not
(.api4-option-selected
) {
105 -webkit-box-shadow: none
;
106 -moz-box-shadow: none
;
109 #bootstrap-theme.api4-explorer-page div
.api4-input
.form-inline
.form-control label
{
115 #bootstrap-theme.api4-explorer-page
.api4-where-fieldset fieldset
{
117 width: calc
(100% - 58px);
121 #bootstrap-theme.api4-explorer-page
.api4-where-fieldset
.api4-sorting fieldset
.api4-where-group-sortable
{
125 #bootstrap-theme.api4-explorer-page
.api4-input-group
{
126 display: inline-block
;
129 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
{
131 display: inline-block
;
134 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.badge
{
138 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.caret
{
141 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.crm-i
{
145 #bootstrap-theme.api4-explorer-page
.ui-sortable-helper
.api4-clause-badge
.badge span
{
148 #bootstrap-theme.api4-explorer-page
.ui-sortable-helper
.api4-clause-badge
.crm-i
{
149 display: inline-block
;
152 #bootstrap-theme.api4-explorer-page
.api4-operator
,
153 #bootstrap-theme.api4-explorer-page
.api4-chain-index
,
154 #bootstrap-theme.api4-explorer-page
.api4-chain-action
{
157 #bootstrap-theme.api4-explorer-page
.api4-chain-params
{
158 width: calc
(100% - 390px);
161 #bootstrap-theme.api4-explorer-page
.api4-add-where-group-menu
{
163 background-color: rgba
(186, 225, 251, 0.94);
165 #bootstrap-theme.api4-explorer-page
.api4-add-where-group-menu a
{
169 /* Collapsible optgroups for select2 */
170 div
.select2-drop
.collapsible-optgroups-enabled
.select2-result-with-children:not
(.optgroup-expanded
) > .select2-result-sub
> li
.select2-result
{
173 div
.select2-drop
.collapsible-optgroups-enabled
.select2-result-with-children
> .select2-result-label:before
{
174 font-family: FontAwesome
;
176 display: inline-block
;
178 vertical-align: middle
;
181 div
.select2-drop
.collapsible-optgroups-enabled
.select2-result-with-children
.optgroup-expanded
> .select2-result-label:before
{
186 * Shims so the UI isn't completely broken when a Bootstrap theme is not installed
188 #bootstrap-theme.api4-explorer-page
* {
189 box-sizing: border-box
;
191 .api4-explorer-page.panel {
192 border: 1px solid grey
;
193 background-color: white
;
195 .api4-explorer-page.panel-heading {
198 background-color: #f3f6f7;