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 pre
{
44 word-break: break-all
;
45 white-space: pre-wrap
;
47 #bootstrap-theme.api4-explorer-page
.explorer-code-panel
.panel-heading
.nav li a
{
48 text-transform: uppercase
;
51 #bootstrap-theme.api4-explorer-page
.explorer-params-panel
> .panel-body
> div
.api4-input
{
55 #bootstrap-theme.api4-explorer-page
.explorer-help-panel
.panel-body
{
56 word-break: break-word
;
59 /* because each help p is in a div, this undoes bootstrap removing margin from last-child */
60 #bootstrap-theme.api4-explorer-page
.explorer-help-panel
.panel-body p
{
64 #bootstrap-theme.api4-explorer-page form label
{
65 text-transform: capitalize
;
68 #bootstrap-theme.api4-explorer-page fieldset
{
70 border: 1px solid lightgrey
;
75 #bootstrap-theme.api4-explorer-page fieldset legend
{
81 text-transform: capitalize
;
83 #bootstrap-theme.api4-explorer-page crm-api4-clause
> .btn-group
{
88 #bootstrap-theme.api4-explorer-page crm-api4-clause
> .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
.api4-clause-fieldset fieldset
{
106 width: calc
(100% - 58px);
110 #bootstrap-theme.api4-explorer-page
.api4-clause-fieldset
.api4-sorting fieldset
.api4-clause-group-sortable
{
114 #bootstrap-theme.api4-explorer-page
.api4-input-group
{
115 display: inline-block
;
118 #bootstrap-theme.api4-explorer-page i
.fa-arrows
{
122 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
{
124 display: inline-block
;
127 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.badge
{
131 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.caret
{
134 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.crm-i
{
138 #bootstrap-theme.api4-explorer-page
.ui-sortable-helper
.api4-clause-badge
.badge span
{
141 #bootstrap-theme.api4-explorer-page
.ui-sortable-helper
.api4-clause-badge
.crm-i
{
142 display: inline-block
;
145 #bootstrap-theme.api4-explorer-page
.api4-operator
,
146 #bootstrap-theme.api4-explorer-page
.api4-chain-index
,
147 #bootstrap-theme.api4-explorer-page
.api4-chain-action
{
150 #bootstrap-theme.api4-explorer-page
.api4-chain-params
{
151 width: calc
(100% - 390px);
154 #bootstrap-theme.api4-explorer-page
.api4-add-where-group-menu
{
156 background-color: rgba
(186, 225, 251, 0.94);
158 #bootstrap-theme.api4-explorer-page
.api4-add-where-group-menu a
{
162 /* Collapsible optgroups for select2 */
163 div
.select2-drop
.collapsible-optgroups-enabled
.select2-result-with-children:not
(.optgroup-expanded
) > .select2-result-sub
> li
.select2-result
{
166 div
.select2-drop
.collapsible-optgroups-enabled
.select2-result-with-children
> .select2-result-label:before
{
167 font-family: FontAwesome
;
169 display: inline-block
;
171 vertical-align: middle
;
174 div
.select2-drop
.collapsible-optgroups-enabled
.select2-result-with-children
.optgroup-expanded
> .select2-result-label:before
{
178 #bootstrap-theme.api4-explorer-page
.form-control
.huge
{
182 #bootstrap-theme.api4-explorer-page
.form-control
.twenty
{
186 /* Another weird shoreditch fix */
187 #bootstrap-theme .form-inline div
.checkbox
{
190 #bootstrap-theme .form-inline div
.checkbox label input
[type
=checkbox
] {
195 * Shims so the UI isn't completely broken when a Bootstrap theme is not installed
197 #bootstrap-theme.api4-explorer-page
* {
198 box-sizing: border-box
;
200 .api4-explorer-page.panel {
201 border: 1px solid grey
;
202 background-color: white
;
204 .api4-explorer-page.panel-heading {
207 background-color: #f3f6f7;