Allow to restrict availability of variations by date, sales channel, and voucher (#2202)

This commit is contained in:
Raphael Michel
2021-09-15 12:04:17 +02:00
committed by GitHub
parent 4789d82c4e
commit 17adde99fa
20 changed files with 583 additions and 52 deletions

View File

@@ -46,7 +46,7 @@ td > .form-group > .checkbox {
@include box-shadow(none);
}
div[data-formset-body], div[data-formset-form], div[data-nested-formset-form], div[data-nested-formset-body] {
div[data-formset-body], div[data-formset-form], div[data-nested-formset-form], div[data-nested-formset-body], details[data-formset-form] {
width: 100%;
}
@@ -813,3 +813,26 @@ table td > .checkbox input[type="checkbox"] {
font-weight: normal;
}
}
details {
summary .chevron::before {
content: $fa-var-caret-right;
}
&[open] .chevron::before {
content: $fa-var-caret-down;
}
}
#item_variations {
summary small {
display: inline-block;
margin-left: 2.1em;
}
.variation-icon-hidden {
opacity: 0;
pointer-events: none;
}
.variation-disabled {
text-decoration: line-through;
}
}