Use <details> and <summary> for variations

This commit is contained in:
Raphael Michel
2018-05-10 11:11:29 +02:00
parent c3a45a1584
commit bfff001752
5 changed files with 71 additions and 9 deletions

View File

@@ -65,6 +65,20 @@
line-height: inherit;
}
}
details.item-with-variations {
list-style: none;
}
details.item-with-variations > summary::-webkit-details-marker {
display: none;
}
details summary {
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
user-select: none;
}
.radio .variation-description {
padding-left: 20px;
}