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

68 lines
840 B
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
.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;
}
}
}