add condition_component

This commit is contained in:
simon lehericey 2022-07-06 09:55:08 +02:00
parent 61839ef1ac
commit e2a236b73d
6 changed files with 408 additions and 1 deletions

View file

@ -0,0 +1,62 @@
@import "colors";
@import "constants";
.conditionnel {
.condition-table {
table-layout: fixed;
.far-left {
width: 100px;
}
.target {
width: 350px;
select {
width: 100%;
}
}
.operator {
width: 250px;
select {
width: 100%;
}
}
.value {
width: 200px;
}
.delete-column {
width: 50px;
}
}
th {
text-align: left;
padding: $default-spacer;
}
td {
padding: $default-spacer;
input,
select {
margin-bottom: 0;
}
input[type=number] {
display: inline-block;
margin-bottom: 0;
}
input.alert,
select.alert {
border-color: $dark-red;
}
}
}

View file

@ -93,7 +93,7 @@
.flex {
&.section {
padding: 10px 10px 0 10px;
padding: $default-spacer $default-spacer 0;
margin-bottom: 8px;
}