style and/or conditions. fix reset all fields. fix bug add 2 fields

This commit is contained in:
andrewshuba
2018-10-31 14:55:33 +02:00
parent da3bf01598
commit 97b712a4d2
3 changed files with 109 additions and 64 deletions
@@ -300,9 +300,47 @@ span.um-admin-icon-clear i {font-size: 20px;vertical-align: middle;}
.um-admin-new-condition-compare-and {
margin-top: 10px !important;
margin-bottom: 10px !important;
text-align: center;
}
.um-admin-new-condition-compare-or {
display: block !important;
width: 150px;
margin-top: 20px !important;
text-align: center;
}
hr.or-devider {
border-width: 3px;
position: relative;
overflow: visible;
margin: 10px 0;
}
hr.or-devider:after {
content: 'OR';
display: block;
position: absolute;
background: #fff;
left: 50%;
margin: -11px 0 0 -13px;
top: 50%;
text-align: center;
color: #000;
width: 26px;
}
.um-admin-cur-condition {
position: relative;
}
.um-admin-cur-condition:after {
clear: both;
content: '';
display: block;
}
.um-admin-cur-condition + .um-admin-cur-condition:before {
content: 'AND';
display: block;
position: absolute;
top: -25px;
right: -7px;
}
.um-admin-cur-condition p:last-of-type('p') {
float: right;
}