#6 Updated Product views to better show information
This commit is contained in:
@ -39,51 +39,60 @@
|
||||
.product {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex: 4 0 1rem;
|
||||
max-width: 30%;
|
||||
padding: .5rem .5rem .5rem .5rem;
|
||||
max-width: 40%;
|
||||
gap: .5em .5em;
|
||||
padding: .5rem 0.2rem;
|
||||
background: var(--bg-secondary);
|
||||
border-radius: .5rem .5rem;
|
||||
border: .1em solid rgba(255, 255, 255, 15%);
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.product-image {
|
||||
width: 40%;
|
||||
height: auto;
|
||||
box-shadow: 0px 30px 50px 0px rgba(0, 0, 0, 0.025);
|
||||
}
|
||||
|
||||
.product-fs {
|
||||
height: 80%;
|
||||
width: 80%;
|
||||
font-size: 150%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
gap: 2em 2em;
|
||||
padding: .5rem 1rem 2rem 2rem;
|
||||
background: var(--bg-secondary);
|
||||
/* background: var(--bg-secondary); */
|
||||
border-radius: .5rem .5rem;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.product-title {
|
||||
font-size: 130%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.product-information {
|
||||
.product-content-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 1rem 1rem;
|
||||
gap: 1em 1em;
|
||||
padding: 0rem 1rem;
|
||||
}
|
||||
|
||||
.product-image-preview {
|
||||
max-height: 150px;
|
||||
max-width: 150px;
|
||||
}
|
||||
|
||||
.product-image {
|
||||
max-height: 500px;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.product-title {
|
||||
font-size: 120%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.product-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 5% 0;
|
||||
/* justify-content: center; */
|
||||
/* align-items: center; */
|
||||
gap: 1rem 1rem;
|
||||
}
|
||||
|
||||
@ -96,4 +105,59 @@
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.product-acquisition-pane {
|
||||
font-size: 80%;
|
||||
width: 100rem;
|
||||
max-width: 20%;
|
||||
background-color: var(--bg-secondary);
|
||||
border: .3em solid rgba(255, 255, 255, 15%);
|
||||
border-radius: .5rem;
|
||||
padding: 1rem 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
gap: 1rem 1rem;
|
||||
}
|
||||
|
||||
.product-price {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.product-delivery {
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
.product-postage {
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
.product-stock {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
font-weight: bold;
|
||||
justify-content: space-around;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
.product-quantity {
|
||||
font-size: 50%;
|
||||
}
|
||||
|
||||
.product-instock {
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
.product-nostock {
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.product-add-to-cart {
|
||||
padding: .25rem .5rem;
|
||||
margin-top: .25rem;
|
||||
margin-right: .5rem;
|
||||
font-size: 1rem;
|
||||
border: none;
|
||||
background-color: gray;
|
||||
}
|
Reference in New Issue
Block a user