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

78 lines
986 B
SCSS
Raw Normal View History

2022-07-06 09:55:08 +02:00
@import "colors";
@import "constants";
2023-03-22 17:33:14 +01:00
.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;
}
}
}