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-row
> .panel
{
23 /* Fix weird shorditch style */
24 #bootstrap-theme.api4-explorer-page
.api4-explorer-row
.panel
.panel-heading
{
25 border-bottom-right-radius: 0;
26 border-bottom-left-radius: 0;
29 #bootstrap-theme.api4-explorer-page
.panel-heading
.nav-tabs
{
30 padding: 8px 0 0 20px;
32 #bootstrap-theme .panel-heading
>li
>a
{
33 background-color: #f1f1f18c
35 #bootstrap-theme.api4-explorer-page
.explorer-code-panel pre
{
37 word-break: break-all
;
38 white-space: pre-wrap
;
40 #bootstrap-theme.api4-explorer-page
.explorer-code-panel
.panel-heading
.nav li a
{
41 text-transform: uppercase
;
44 #bootstrap-theme.api4-explorer-page
.explorer-params-panel
> .panel-body
> div
.api4-input
{
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
{
74 text-transform: capitalize
;
76 #bootstrap-theme.api4-explorer-page crm-api4-clause
> .btn-group
{
81 #bootstrap-theme.api4-explorer-page crm-api4-clause
> .btn-group
.btn
{
85 #bootstrap-theme.api4-explorer-page fieldset div
.api4-input
{
89 #bootstrap-theme.api4-explorer-page fieldset div
.api4-input
.ui-sortable-helper
{
90 background-color: rgba
(255, 255, 255, .9);
93 #bootstrap-theme.api4-explorer-page fieldset div
.api4-input
.ui-sortable-helper
{
94 background-color: rgba
(255, 255, 255, .9);
97 #bootstrap-theme.api4-explorer-page
.api4-clause-fieldset fieldset
{
99 width: calc
(100% - 58px);
103 #bootstrap-theme.api4-explorer-page
.api4-clause-fieldset
.api4-sorting fieldset
.api4-clause-group-sortable
{
107 #bootstrap-theme.api4-explorer-page
.api4-input-group
{
108 display: inline-block
;
111 #bootstrap-theme.api4-explorer-page i
.fa-arrows
{
115 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
{
117 display: inline-block
;
120 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.badge
{
124 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.caret
{
127 #bootstrap-theme.api4-explorer-page
.api4-clause-badge
.crm-i
{
131 #bootstrap-theme.api4-explorer-page
.ui-sortable-helper
.api4-clause-badge
.badge span
{
134 #bootstrap-theme.api4-explorer-page
.ui-sortable-helper
.api4-clause-badge
.crm-i
{
135 display: inline-block
;
138 #bootstrap-theme.api4-explorer-page
.api4-operator
,
139 #bootstrap-theme.api4-explorer-page
.api4-chain-index
,
140 #bootstrap-theme.api4-explorer-page
.api4-chain-action
{
143 #bootstrap-theme.api4-explorer-page
.api4-chain-params
{
144 width: calc
(100% - 390px);
147 #bootstrap-theme.api4-explorer-page
.api4-add-where-group-menu
{
149 background-color: rgba
(186, 225, 251, 0.94);
151 #bootstrap-theme.api4-explorer-page
.api4-add-where-group-menu a
{
155 #bootstrap-theme.api4-explorer-page
.form-control
.huge
{
159 #bootstrap-theme.api4-explorer-page
.form-control
.twenty
{
163 /* Another weird shoreditch fix */
164 #bootstrap-theme .form-inline div
.checkbox
{
167 #bootstrap-theme .form-inline div
.checkbox label input
[type
=checkbox
] {
172 * Shims so the UI isn't completely broken when a Bootstrap theme is not installed
174 #bootstrap-theme.api4-explorer-page
* {
175 box-sizing: border-box
;
177 .api4-explorer-page.panel {
178 border: 1px solid grey
;
179 background-color: white
;
181 .api4-explorer-page.panel-heading {
184 background-color: #f3f6f7;