2023-05-25 13:32:53 +02:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2023-05-15 13:53:34 +02:00
|
|
|
body {
|
|
|
|
margin: 0;
|
2023-05-17 18:33:43 +02:00
|
|
|
padding: 1em;
|
2023-05-15 13:53:34 +02:00
|
|
|
font-family: sans-serif;
|
|
|
|
}
|
|
|
|
|
2023-05-19 14:47:40 +02:00
|
|
|
.column {
|
2023-05-15 13:53:34 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2023-05-15 14:41:02 +02:00
|
|
|
margin: 0 auto;
|
2023-05-23 20:07:26 +02:00
|
|
|
width: 100%;
|
2023-05-15 13:53:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.search {
|
|
|
|
margin: 20px 0;
|
2023-05-23 11:21:48 +02:00
|
|
|
width: 100%;
|
|
|
|
max-width: 30em;
|
2023-05-17 16:55:46 +02:00
|
|
|
font-size: 1em;
|
2023-05-15 13:53:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.filters {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2023-05-15 22:35:36 +02:00
|
|
|
input[type="number"] {
|
|
|
|
max-width: 3em;
|
|
|
|
}
|
|
|
|
|
2023-05-15 13:53:34 +02:00
|
|
|
table {
|
2023-05-15 22:35:36 +02:00
|
|
|
border-collapse: collapse;
|
|
|
|
border: 1px solid;
|
2023-05-22 16:02:01 +02:00
|
|
|
margin-top: 1em;
|
2023-05-15 22:35:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
border: 1px solid;
|
|
|
|
padding: 0.2em;
|
2023-05-17 16:55:46 +02:00
|
|
|
background: #aaa;
|
2023-05-15 22:35:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
border-collapse: collapse;
|
2023-05-17 16:55:46 +02:00
|
|
|
border: 1px solid #ddd;
|
2023-05-15 22:35:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 0.2em;
|
2023-05-15 14:41:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
text-align: left;
|
2023-05-24 16:59:43 +02:00
|
|
|
}
|
|
|
|
|
2023-05-25 13:32:53 +02:00
|
|
|
.itemname {
|
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
2023-05-24 16:59:43 +02:00
|
|
|
.priceinfo {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2023-05-25 13:32:53 +02:00
|
|
|
.increase {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.decrease {
|
|
|
|
color: green;
|
|
|
|
}
|
|
|
|
|
2023-05-24 16:59:43 +02:00
|
|
|
.hide {
|
|
|
|
display: none;
|
2023-05-26 14:09:15 +02:00
|
|
|
}
|
|
|
|
|
2023-05-26 16:13:15 +02:00
|
|
|
.cart {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2023-05-26 14:09:15 +02:00
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
table {
|
|
|
|
border: 0;
|
|
|
|
}
|
2023-05-26 16:13:15 +02:00
|
|
|
|
2023-05-26 14:09:15 +02:00
|
|
|
table thead {
|
|
|
|
border: none;
|
|
|
|
clip: rect(0 0 0 0);
|
|
|
|
height: 1px;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
}
|
2023-05-26 16:13:15 +02:00
|
|
|
|
2023-05-26 14:09:15 +02:00
|
|
|
table tr {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: .625em;
|
|
|
|
}
|
2023-05-26 16:13:15 +02:00
|
|
|
|
2023-05-26 14:09:15 +02:00
|
|
|
table td {
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
padding-left: calc(65px + 1.2em);
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
}
|
2023-05-26 16:13:15 +02:00
|
|
|
|
2023-05-26 14:09:15 +02:00
|
|
|
table td::before {
|
|
|
|
/*
|
|
|
|
* aria-label has no advantage, it won't be read inside a table
|
|
|
|
content: attr(aria-label);
|
|
|
|
*/
|
|
|
|
content: attr(data-label);
|
|
|
|
background-color: #aaa;
|
|
|
|
border: 1px solid;
|
|
|
|
position: absolute;
|
|
|
|
padding: .2em .4em;
|
|
|
|
width: 65px;
|
|
|
|
height: calc(100% - .4em);
|
|
|
|
left: -1px;
|
|
|
|
top: -1px;
|
|
|
|
text-align: right;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-05-26 16:13:15 +02:00
|
|
|
|
2023-05-26 14:09:15 +02:00
|
|
|
table td:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|