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 {
|
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;
|
2024-01-08 14:38:59 +01:00
|
|
|
scroll-margin: 1em;
|
2022-06-16 14:56:53 +02:00
|
|
|
|
2023-09-01 10:50:17 +02:00
|
|
|
.type-de-champ-container {
|
|
|
|
width: 100%;
|
2024-01-08 18:03:07 +01:00
|
|
|
border: 1px solid var(--border-default-grey);
|
2023-09-01 10:50:17 +02:00
|
|
|
border-radius: 5px;
|
|
|
|
margin-bottom: $default-padding;
|
|
|
|
box-shadow: 0px 2px 4px -4px;
|
|
|
|
}
|
|
|
|
|
2023-11-15 17:58:26 +01:00
|
|
|
.handle {
|
2022-06-16 14:56:53 +02:00
|
|
|
cursor: grab;
|
|
|
|
|
|
|
|
&:hover {
|
2023-11-28 11:01:02 +01:00
|
|
|
background-color: var(--hover-tint);
|
2022-06-16 14:56:53 +02:00
|
|
|
}
|
2019-04-03 15:35:49 +02:00
|
|
|
}
|
|
|
|
|
2024-01-08 18:13:33 +01:00
|
|
|
.right {
|
2022-06-16 14:56:53 +02:00
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
2024-01-08 18:13:33 +01:00
|
|
|
align-items: center;
|
2019-04-03 15:35:49 +02:00
|
|
|
}
|
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
|
|
|
|
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 {
|
2024-01-08 18:03:07 +01:00
|
|
|
background-color: var(--background-contrast-blue-cumulus);
|
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 {
|
2023-11-28 11:01:02 +01:00
|
|
|
&.flex-gap {
|
|
|
|
column-gap: $default-spacer * 2;
|
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
&.section {
|
|
|
|
margin-bottom: 8px;
|
2023-11-28 11:01:02 +01:00
|
|
|
padding: $default-spacer / 2 $default-spacer * 2;
|
2022-06-16 14:56:53 +02:00
|
|
|
}
|
2018-11-14 16:26:00 +01:00
|
|
|
|
2023-11-28 11:01:02 +01:00
|
|
|
&.head {
|
|
|
|
border-bottom: 1px solid var(--border-default-grey);
|
|
|
|
padding: $default-spacer / 2 $default-spacer; // due to no-outline button horizontal padding, don't add twice the padding so it's aligned with section
|
2022-06-16 14:56:53 +02:00
|
|
|
}
|
2018-11-14 16:26:00 +01:00
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.cell {
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
2024-01-04 16:20:27 +01:00
|
|
|
|
|
|
|
#summary nav ul {
|
|
|
|
height: 80vh;
|
|
|
|
overflow: auto;
|
|
|
|
}
|