2019-09-11 23:53:39 +00:00
|
|
|
/*!
|
|
|
|
* jQuery QueryBuilder 2.5.2
|
|
|
|
* Copyright 2014-2018 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
|
|
|
|
* Licensed under MIT (https://opensource.org/licenses/MIT)
|
|
|
|
*/
|
2023-11-15 10:57:22 +00:00
|
|
|
.query-builder .rule-container,
|
|
|
|
.query-builder .rule-placeholder,
|
|
|
|
.query-builder .rules-group-container {
|
|
|
|
position: relative;
|
|
|
|
margin: 4px 0;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 5px;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
background: rgba(255, 255, 255, 0.9);
|
|
|
|
}
|
|
|
|
.query-builder .drag-handle,
|
|
|
|
.query-builder .error-container,
|
|
|
|
.query-builder .rule-container .rule-filter-container,
|
|
|
|
.query-builder .rule-container .rule-operator-container,
|
|
|
|
.query-builder .rule-container .rule-value-container {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 5px 0 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
.query-builder .rules-group-container {
|
|
|
|
padding: 10px;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
border: 1px solid #dcc896;
|
|
|
|
background: rgba(250, 240, 210, 0.5);
|
|
|
|
}
|
|
|
|
.query-builder .rules-group-header {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.query-builder .rules-group-header .group-conditions .btn.readonly:not(.active),
|
|
|
|
.query-builder .rules-group-header .group-conditions input[name$="_cond"] {
|
|
|
|
border: 0;
|
|
|
|
clip: rect(0 0 0 0);
|
|
|
|
height: 1px;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.query-builder .rules-group-header .group-conditions .btn.readonly {
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
.query-builder .rules-list {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0 0 0 15px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.query-builder .rule-value-container {
|
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
.query-builder .rule-value-container label {
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
.query-builder .rule-value-container label.block {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.query-builder .rule-value-container input[type="number"],
|
|
|
|
.query-builder .rule-value-container input[type="text"],
|
|
|
|
.query-builder .rule-value-container select {
|
|
|
|
padding: 1px;
|
|
|
|
}
|
|
|
|
.query-builder .error-container {
|
|
|
|
display: none;
|
|
|
|
cursor: help;
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
.query-builder .has-error {
|
|
|
|
background-color: #fdd;
|
|
|
|
border-color: #f99;
|
|
|
|
}
|
|
|
|
.query-builder .has-error .error-container {
|
|
|
|
display: inline-block !important;
|
|
|
|
}
|
|
|
|
.query-builder .rules-list > ::after,
|
|
|
|
.query-builder .rules-list > ::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: -10px;
|
|
|
|
width: 10px;
|
|
|
|
height: calc(50% + 4px);
|
|
|
|
border-color: #ccc;
|
|
|
|
border-style: solid;
|
|
|
|
}
|
|
|
|
.query-builder .rules-list > ::before {
|
|
|
|
top: -4px;
|
|
|
|
border-width: 0 0 2px 2px;
|
|
|
|
}
|
|
|
|
.query-builder .rules-list > ::after {
|
|
|
|
top: 50%;
|
|
|
|
border-width: 0 0 0 2px;
|
|
|
|
}
|
|
|
|
.query-builder .rules-list > :first-child::before {
|
|
|
|
top: -12px;
|
|
|
|
height: calc(50% + 14px);
|
|
|
|
}
|
|
|
|
.query-builder .rules-list > :last-child::before {
|
|
|
|
border-radius: 0 0 0 4px;
|
|
|
|
}
|
|
|
|
.query-builder .rules-list > :last-child::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.query-builder.bt-checkbox-glyphicons
|
|
|
|
.checkbox
|
|
|
|
input[type="checkbox"]:checked
|
|
|
|
+ label::after {
|
|
|
|
font-family: "Glyphicons Halflings";
|
|
|
|
content: "\e013";
|
|
|
|
}
|
|
|
|
.query-builder.bt-checkbox-glyphicons .checkbox label::after {
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-top: 2px;
|
|
|
|
font-size: 9px;
|
|
|
|
}
|
|
|
|
.query-builder .error-container + .tooltip .tooltip-inner {
|
|
|
|
color: #f99 !important;
|
|
|
|
}
|
|
|
|
.query-builder p.filter-description {
|
|
|
|
margin: 5px 0 0 0;
|
|
|
|
background: #d9edf7;
|
|
|
|
border: 1px solid #bce8f1;
|
|
|
|
color: #31708f;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 2.5px 5px;
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
.query-builder .rules-group-header [data-invert] {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
.query-builder .drag-handle {
|
|
|
|
cursor: move;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
.query-builder .dragging {
|
|
|
|
position: fixed;
|
|
|
|
opacity: 0.5;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
.query-builder .dragging::after,
|
|
|
|
.query-builder .dragging::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.query-builder .rule-placeholder {
|
|
|
|
border: 1px dashed #bbb;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|