Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
.block-account-navigation ul li a {
display: inline-flex;
align-items: center;
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: .25rem;
margin: 0 0 5px 0;
}
.block-account-navigation ul li a.active, .block-account-navigation ul li a:hover {
color: #17a2b8;
border-color: #17a2b8;
}
.block-account-navigation ul li svg,
.block-account-navigation ul li .b-icon {
font-size: 28px;
margin: 0 10px 0 0;
}
.block-account-navigation ul li span {
font-size: 16px;
}
/* status */
/* Bootstrap's .badge sets a white foreground, which was unreadable on these pale
tints - white on #d4edda is about 1.2:1. The subtle/emphasis variable pairs carry
their own accessible foreground and flip with data-bs-theme, so the separate dark
override this used to need is gone.
The class comes from the order status *name*, which is editable in admin, so the
base rule has to stand on its own for a renamed or custom status. */
table .status.badge {
font-size: 16px;
padding: 6px 8px;
color: var(--bs-secondary-color);
background-color: var(--bs-secondary-bg);
}
table .status.pending {
color: var(--bs-info-text-emphasis);
background-color: var(--bs-info-bg-subtle);
}
table .status.processing {
color: var(--bs-warning-text-emphasis);
background-color: var(--bs-warning-bg-subtle);
}
table .status.complete {
color: var(--bs-success-text-emphasis);
background-color: var(--bs-success-bg-subtle);
}
table .status.cancelled {
color: var(--bs-danger-text-emphasis);
background-color: var(--bs-danger-bg-subtle);
}
/* merchandise table */
.merchandise-table {
display: flex;
flex-direction: column;
padding: 0 0 25px 0;
position: relative;
}
.merchandise-table thead {
}
.merchandise-table thead tr {
display: flex;
width: 100%;
padding: 0 0 0 50px;
border: 0;
}
.merchandise-table thead th {
flex-basis: 0;
flex-grow: 1;
max-width: 100%;
min-width: 125px;
display: flex;
align-items: center;
border-bottom: 0;
border-top: 0;
}
.merchandise-table thead th:first-child {
display: flex;
align-items: center;
}
.merchandise-table tbody {
display: inline-flex;
flex-direction: row;
flex-wrap: nowrap;
width: 100%;
min-width: 100%;
}
.merchandise-table tbody tr:nth-child(1) {
display: flex;
flex-direction: column;
/*min-width: 50px;*/
}
.merchandise-table tbody tr:nth-child(1) td {
height: 100%;
padding: 0;
border: 0;
}
.merchandise-table tbody tr:nth-child(1) td > div {
height: 100%;
min-height: 100%;
display: flex;
flex-direction: column;
}
.merchandise-table tbody tr:nth-child(1) td > div > div {
min-height: 110px;
display: flex;
justify-content: center;
align-items: center;
}
.merchandise-table tbody tr:nth-child(2) {
width: calc(100% - 50px);
}
.merchandise-table tbody tr:nth-child(2) td {
display: inline-flex;
width: 100%;
padding: .75rem 0;
height: 110px;
}
.merchandise-table tbody tr:nth-child(2) td > div {
flex-basis: 0;
flex-grow: 1;
max-width: 100%;
padding: 0 0.75rem;
display: flex;
flex-direction: column;
justify-content: center;
min-width: 125px;
}
.merchandise-table .product a {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.merchandise-table .field-validation-error {
position: absolute;
bottom: 0;
left: 0;
right: 0;
margin: 0;
}
/* pagination */
.pagination .current-page.page-item .page-link {
color: #fff;
background-color: #0E606C;
border-color: #0E606C;
}
@media (max-width: 768px) {
.merchandise-table tbody tr:nth-child(2) td > div {
max-width: 125px;
}
.merchandise-table {
padding: 0 0 45px 0;
}
.merchandise-table .field-validation-error {
font-size: 14px;
}
}
/* dark customer */
[dark-theme="true"] .block-account-navigation ul li a.active, [dark-theme="true"] .block-account-navigation ul li a:hover {
color: #fff;
border-color: #1fb0c7;
background-color: #2d3133;
}