demarches-normaliennes/app/assets/stylesheets/conditions_component.scss

87 lines
1.1 KiB
SCSS
Raw Normal View History

2022-07-06 09:55:08 +02:00
@import "colors";
@import "constants";
form.form > .conditionnel {
2022-07-06 09:55:08 +02:00
2022-07-04 12:26:14 +02:00
.condition-error {
background: $background-red;
margin: ($default-spacer) (-$default-spacer);
ul {
padding: $default-spacer;
}
}
2022-07-06 09:55:08 +02:00
.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;
2022-06-28 13:03:11 +02:00
button {
background: none;
border: none;
cursor: pointer;
}
2022-07-06 09:55:08 +02:00
}
}
th {
text-align: left;
padding: $default-spacer;
}
td {
padding: $default-spacer;
input,
select {
margin-bottom: 0;
}
input[type=text] {
2022-07-06 09:55:08 +02:00
display: inline-block;
margin-bottom: 0;
}
input.alert,
select.alert {
border-color: $dark-red;
}
}
2022-06-28 12:39:05 +02:00
.add-row {
background: none;
border: none;
cursor: pointer;
font-size: 16px;
line-height: 25px;
margin: 0 $default-padding $default-padding;
}
2022-07-06 09:55:08 +02:00
}