achille-press/sass/plugins/woocommerce/_tables.scss
gribse 582e4491c0
Some checks failed
CSS Code Linting / Lint CSS (push) Has been cancelled
JS Code Linting / Lint JS (push) Has been cancelled
PHP Code Linting / Parallel lint (push) Has been cancelled
PHP Code Linting / PHPCS check (push) Has been cancelled
clause agent mode "make it look like papermod"
2025-07-26 16:24:01 +02:00

87 lines
865 B
SCSS
Executable file

table.shop_table_responsive {
thead {
display: none;
}
tbody {
th {
display: none;
}
}
tr {
td {
display: block;
text-align: right;
clear: both;
&::before {
content: attr(data-title) ": ";
float: left;
}
&.product-remove {
a {
text-align: left;
}
&::before {
display: none;
}
}
&.actions,
&.download-actions {
&::before {
display: none;
}
}
&.download-actions {
.button {
display: block;
text-align: center;
}
}
}
}
}
@media screen and (min-width: 48em) {
table.shop_table_responsive {
thead {
display: table-header-group;
}
tbody {
th {
display: table-cell;
}
}
tr {
th,
td {
text-align: left;
}
td {
display: table-cell;
&::before {
display: none;
}
}
}
}
}