woocommerce/plugins/woocommerce-blocks/assets/js/blocks/order-confirmation/downloads/style.scss

58 lines
1.0 KiB
SCSS

.wc-block-order-confirmation-downloads {
margin-top: $gap-large;
margin-bottom: $gap-large * 2;
border: 0 !important; // We want styles to appear on table, not on block.
table {
width: 100%;
border: 1px solid $universal-border-light;
border-spacing: 0;
border-radius: $universal-border-radius;
th,
td {
border: 1px solid $universal-border-light;
border-right-width: 0;
border-left-width: 0;
border-top-width: 0;
padding: $gap;
margin: 0;
text-align: center;
font-weight: inherit;
}
tr {
> th:first-child,
> td:first-child {
text-align: left;
}
> th:last-child,
> td:last-child {
text-align: right;
}
}
thead {
font-weight: bold;
}
tbody tr:last-child {
td,
th {
border-bottom-width: 0;
}
}
}
table[style*="border-width"],
table[style*="border-color"] {
> *,
tr,
th,
td {
border-style: inherit;
border-width: inherit;
border-color: inherit;
border-right-width: 0;
border-left-width: 0;
border-top-width: 0;
}
}
}