2021-11-03 11:47:10 +01:00
|
|
|
$secondary: #6c757d !default;
|
2021-11-08 14:07:31 +01:00
|
|
|
$translateX: calc(1.5rem * -.5 + 3px);
|
2021-11-04 15:19:45 +01:00
|
|
|
$rectHeight: calc(100% + 4px);
|
|
|
|
$borderRadius: 3px;
|
2021-11-03 11:47:10 +01:00
|
|
|
|
2021-11-04 15:19:45 +01:00
|
|
|
.multi-metafields-container {
|
|
|
|
position: relative;
|
2021-11-03 11:47:10 +01:00
|
|
|
|
2021-11-04 15:19:45 +01:00
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
&::before {
|
|
|
|
content: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&::before {
|
2021-11-03 11:47:10 +01:00
|
|
|
border-style: solid;
|
|
|
|
border-color: $secondary;
|
2021-11-04 15:19:45 +01:00
|
|
|
border-width: 2px 0px 2px 2px;
|
|
|
|
border-radius: 3px 0px 0px 3px;
|
|
|
|
opacity: 0.5;
|
2021-11-03 11:47:10 +01:00
|
|
|
position: absolute;
|
|
|
|
content: ' ';
|
|
|
|
width: 0.5rem;
|
2021-11-04 15:19:45 +01:00
|
|
|
height: calc(100% - 33px);
|
|
|
|
transform: translate(0px, 18px);
|
2021-11-03 11:47:10 +01:00
|
|
|
}
|
|
|
|
|
2021-11-04 15:19:45 +01:00
|
|
|
& > .multi-metafield-container {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
& > .multi-metafield-input-container::before {
|
|
|
|
content: ' ';
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
2021-11-08 14:07:31 +01:00
|
|
|
& > .multi-metafield-input-container::before {
|
2021-11-04 15:19:45 +01:00
|
|
|
background-color: $secondary;
|
|
|
|
opacity: 0.5;
|
|
|
|
position: absolute;
|
|
|
|
width: 0.25rem;
|
|
|
|
transform: translateX($translateX);
|
|
|
|
height: $rectHeight;
|
2021-11-08 14:07:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
&:not(:first-child) label.form-label {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-11-04 15:19:45 +01:00
|
|
|
}
|
|
|
|
|
2021-11-08 14:07:31 +01:00
|
|
|
|
2021-11-04 10:47:03 +01:00
|
|
|
&:first-child > .multi-metafield-input-container::before {
|
2021-11-04 15:19:45 +01:00
|
|
|
border-top-left-radius: $borderRadius;
|
|
|
|
border-top-right-radius: $borderRadius;
|
2021-11-04 10:47:03 +01:00
|
|
|
}
|
2021-11-03 11:47:10 +01:00
|
|
|
|
2021-11-04 15:19:45 +01:00
|
|
|
&:last-child > .multi-metafield-input-container::before {
|
|
|
|
border-bottom-left-radius: $borderRadius;
|
|
|
|
border-bottom-right-radius: $borderRadius;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2021-11-03 11:47:10 +01:00
|
|
|
}
|
|
|
|
}
|