2018-11-14 16:26:00 +01:00
|
|
|
@import "colors";
|
2019-02-12 15:50:49 +01:00
|
|
|
@import "constants";
|
2022-06-16 14:56:53 +02:00
|
|
|
@import "placeholders";
|
2018-11-14 16:26:00 +01:00
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.types-de-champ-editor {
|
|
|
|
> .types-de-champ-block {
|
|
|
|
padding-bottom: 50px;
|
2023-09-28 17:30:01 +02:00
|
|
|
padding-left: 0;
|
2023-04-05 11:02:28 +02:00
|
|
|
|
|
|
|
.types-de-champ-errors {
|
|
|
|
background-color: $background-red;
|
|
|
|
padding: $default-padding;
|
|
|
|
}
|
2018-11-14 16:26:00 +01:00
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.type-de-champ {
|
|
|
|
width: 100%;
|
2023-09-01 10:50:17 +02:00
|
|
|
margin-bottom: $default-padding;
|
2022-06-16 14:56:53 +02:00
|
|
|
overflow: hidden;
|
|
|
|
|
2023-09-01 10:50:17 +02:00
|
|
|
.type-de-champ-container {
|
|
|
|
width: 100%;
|
|
|
|
border: 1px solid $border-grey;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin-bottom: $default-padding;
|
|
|
|
box-shadow: 0px 2px 4px -4px;
|
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.handle.icon {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
background-size: 32px;
|
|
|
|
margin-left: 7px;
|
|
|
|
margin-right: 16px;
|
|
|
|
align-self: center;
|
|
|
|
cursor: grab;
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
2019-04-03 15:35:49 +02:00
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.delete {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
2019-04-03 15:35:49 +02:00
|
|
|
}
|
2019-04-03 16:18:31 +02:00
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.move-up,
|
|
|
|
.move-down {
|
|
|
|
@extend %outline;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
width: 30px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
border: 1px solid $border-grey;
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
color: $black;
|
|
|
|
text-align: center;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
|
|
|
&:hover:not(:disabled) {
|
|
|
|
cursor: pointer;
|
|
|
|
background: $light-grey;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2019-04-03 16:18:31 +02:00
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
&.first .move-up {
|
|
|
|
display: none;
|
2019-04-03 16:18:31 +02:00
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
&.last .move-down {
|
|
|
|
display: none;
|
2019-04-03 16:18:31 +02:00
|
|
|
}
|
2018-11-14 16:26:00 +01:00
|
|
|
|
2023-09-01 10:50:17 +02:00
|
|
|
&.last .type-de-champ-add-button.root {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.head {
|
|
|
|
select {
|
|
|
|
margin-bottom: 0px;
|
|
|
|
}
|
2018-11-14 16:26:00 +01:00
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
&.type-header-section {
|
2023-04-04 10:33:02 +02:00
|
|
|
.head {
|
|
|
|
background-color: $blue-cumulus-950;
|
2022-08-23 09:10:33 +02:00
|
|
|
}
|
2018-11-14 16:26:00 +01:00
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.flex {
|
|
|
|
&.section {
|
2022-07-06 09:55:08 +02:00
|
|
|
padding: $default-spacer $default-spacer 0;
|
2022-06-16 14:56:53 +02:00
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
2018-11-14 16:26:00 +01:00
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
&.hr {
|
|
|
|
border-bottom: 1px solid $border-grey;
|
2018-11-14 16:26:00 +01:00
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
&.head {
|
2023-09-28 17:30:01 +02:00
|
|
|
border-bottom: 1px solid var(--border-default-grey);
|
2022-06-16 14:56:53 +02:00
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
2018-11-14 16:26:00 +01:00
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.cell {
|
|
|
|
margin-right: $default-padding;
|
2018-11-14 16:26:00 +01:00
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
label {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2018-11-14 16:26:00 +01:00
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.carte-options {
|
|
|
|
label {
|
|
|
|
font-weight: initial;
|
|
|
|
}
|
2018-11-14 16:26:00 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-28 17:30:01 +02:00
|
|
|
.bottom-container {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2019-03-20 14:29:33 +01:00
|
|
|
.buttons {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
background-color: $white;
|
|
|
|
width: 100%;
|
|
|
|
border: 1px solid $border-grey;
|
2019-04-03 16:38:33 +02:00
|
|
|
padding: 30px;
|
2019-03-20 14:29:33 +01:00
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-top-right-radius: 5px;
|
2019-04-03 16:38:33 +02:00
|
|
|
border-bottom: none;
|
|
|
|
padding-bottom: 15px;
|
|
|
|
padding-top: 15px;
|
2022-10-12 17:44:24 +02:00
|
|
|
z-index: 10; // above DSFR buttons
|
2019-03-20 14:29:33 +01:00
|
|
|
}
|
2022-05-25 16:48:32 +02:00
|
|
|
|
|
|
|
.fill-duration {
|
|
|
|
align-self: center;
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
// Remove the icon indicating an external link (for less visual noise)
|
|
|
|
&[target="_blank"]::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-11-14 16:26:00 +01:00
|
|
|
}
|