Updated line endings to be in line with UNIX style
This commit is contained in:
@ -1,73 +1,73 @@
|
||||
.alert {
|
||||
position: fixed;
|
||||
bottom: 3em;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 50%);
|
||||
z-index: 1;
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
margin: 10px;
|
||||
line-height: 1.8;
|
||||
border-radius: 5px;
|
||||
cursor: hand;
|
||||
cursor: pointer;
|
||||
font-family: sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.alertCheckbox {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:checked + .alert {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.alertText {
|
||||
display: table;
|
||||
margin: 0 auto;
|
||||
padding: 0 5px 0 0;
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.alertClose {
|
||||
float: right;
|
||||
padding-top: 5px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.info {
|
||||
background-color: #EEE;
|
||||
border: 1px solid #DDD;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.success {
|
||||
background-color: #EFE;
|
||||
border: 1px solid #DED;
|
||||
color: #9A9;
|
||||
}
|
||||
|
||||
.notice {
|
||||
background-color: #EFF;
|
||||
border: 1px solid #DEE;
|
||||
color: #9AA;
|
||||
}
|
||||
|
||||
.warning {
|
||||
background-color: #FDF7DF;
|
||||
border: 1px solid #FEEC6F;
|
||||
color: #C9971C;
|
||||
}
|
||||
|
||||
.error {
|
||||
background-color: #FEE;
|
||||
border: 1px solid #EDD;
|
||||
color: #A66;
|
||||
.alert {
|
||||
position: fixed;
|
||||
bottom: 3em;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 50%);
|
||||
z-index: 1;
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
margin: 10px;
|
||||
line-height: 1.8;
|
||||
border-radius: 5px;
|
||||
cursor: hand;
|
||||
cursor: pointer;
|
||||
font-family: sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.alertCheckbox {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:checked + .alert {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.alertText {
|
||||
display: table;
|
||||
margin: 0 auto;
|
||||
padding: 0 5px 0 0;
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.alertClose {
|
||||
float: right;
|
||||
padding-top: 5px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.info {
|
||||
background-color: #EEE;
|
||||
border: 1px solid #DDD;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.success {
|
||||
background-color: #EFE;
|
||||
border: 1px solid #DED;
|
||||
color: #9A9;
|
||||
}
|
||||
|
||||
.notice {
|
||||
background-color: #EFF;
|
||||
border: 1px solid #DEE;
|
||||
color: #9AA;
|
||||
}
|
||||
|
||||
.warning {
|
||||
background-color: #FDF7DF;
|
||||
border: 1px solid #FEEC6F;
|
||||
color: #C9971C;
|
||||
}
|
||||
|
||||
.error {
|
||||
background-color: #FEE;
|
||||
border: 1px solid #EDD;
|
||||
color: #A66;
|
||||
}
|
@ -1,69 +1,69 @@
|
||||
.filter-pane {
|
||||
flex: 0 1 auto;
|
||||
width: 60%;
|
||||
padding: .5rem 2rem;
|
||||
background-color: var(--bg-grad-3);
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
.filter-items {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.product-filter {
|
||||
width: 100%;
|
||||
padding: 16px 20px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
background-color: var(--bg-grad-2);
|
||||
color: var(--fg);
|
||||
font-size: .75rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* Number Plate*/
|
||||
.number-plate {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.country-identifier {
|
||||
width: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
height: 60px;
|
||||
justify-content: center;
|
||||
}
|
||||
.country-identifier img {
|
||||
border-radius: 8px 0 0 8px;
|
||||
}
|
||||
.vrn {
|
||||
width: 10rem;
|
||||
height: 63px;
|
||||
border: 1px solid #ead809;
|
||||
background-color: #ead809;
|
||||
border-radius: 0 8px 8px 0;
|
||||
}
|
||||
.vrn .vrn-text {
|
||||
width: -webkit-fill-available;
|
||||
height: -webkit-fill-available;
|
||||
border-radius: 0;
|
||||
border: 0;
|
||||
font-family: "UKNumberPlate", sans-serif;
|
||||
font-size: 180%;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
outline: 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
.vrn .vrn-text:focus {
|
||||
outline: 0;
|
||||
.filter-pane {
|
||||
flex: 0 1 auto;
|
||||
width: 60%;
|
||||
padding: .5rem 2rem;
|
||||
background-color: var(--bg-grad-3);
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
.filter-items {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.product-filter {
|
||||
width: 100%;
|
||||
padding: 16px 20px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
background-color: var(--bg-grad-2);
|
||||
color: var(--fg);
|
||||
font-size: .75rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* Number Plate*/
|
||||
.number-plate {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.country-identifier {
|
||||
width: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
height: 60px;
|
||||
justify-content: center;
|
||||
}
|
||||
.country-identifier img {
|
||||
border-radius: 8px 0 0 8px;
|
||||
}
|
||||
.vrn {
|
||||
width: 10rem;
|
||||
height: 63px;
|
||||
border: 1px solid #ead809;
|
||||
background-color: #ead809;
|
||||
border-radius: 0 8px 8px 0;
|
||||
}
|
||||
.vrn .vrn-text {
|
||||
width: -webkit-fill-available;
|
||||
height: -webkit-fill-available;
|
||||
border-radius: 0;
|
||||
border: 0;
|
||||
font-family: "UKNumberPlate", sans-serif;
|
||||
font-size: 180%;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
outline: 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
.vrn .vrn-text:focus {
|
||||
outline: 0;
|
||||
}
|
@ -1,155 +1,155 @@
|
||||
h2 {
|
||||
font-weight:300;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#input-form-wrap {
|
||||
background-color: rgba(255, 255, 255, .15);
|
||||
backdrop-filter: blur(200px);
|
||||
width: 35%;
|
||||
text-align: center;
|
||||
padding: 1em 0 0 0;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 30px 50px 0px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.input-form {
|
||||
padding: 1em 2em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-items: center;
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
.input-form-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 1em 1em;
|
||||
}
|
||||
|
||||
.input-form input, .input-form select, .input-form option, .input-form textarea {
|
||||
width: 100%;
|
||||
padding: 0 0 0 10px;
|
||||
margin: 0;
|
||||
color: var(--fg);
|
||||
border: 1px solid var(--fg);
|
||||
box-sizing: border-box;
|
||||
outline: none;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
border-radius: 4px;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
appearance: none;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
background: none;
|
||||
&:focus {
|
||||
&:invalid {
|
||||
color: var(--red);
|
||||
border-color: var(--red);
|
||||
}
|
||||
}
|
||||
|
||||
&:valid {
|
||||
border-color: var(--green);
|
||||
}
|
||||
}
|
||||
|
||||
.input-form textarea {
|
||||
min-height: 120px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.input-form input[type="submit"] {
|
||||
border: none;
|
||||
display:block;
|
||||
background-color: rgba(255, 255, 255, .10);
|
||||
color: var(--fg);
|
||||
font-weight: bold;
|
||||
text-transform:uppercase;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
font-size: 18px;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
&:hover {
|
||||
background-color: rgba(255, 255, 255, .20);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
}
|
||||
#create-account-wrap {
|
||||
background-color: rgba(255, 255, 255, .15);
|
||||
color:#dfdfdf;
|
||||
font-size:14px;
|
||||
width:100%;
|
||||
padding:10px 0;
|
||||
border-radius: 0 0 4px 4px;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
display: block;
|
||||
position: relative;
|
||||
padding-left: 35px;
|
||||
margin-bottom: 12px;
|
||||
cursor: pointer;
|
||||
font-size: 22px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* Hide the browser's default checkbox */
|
||||
.checkbox input {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
/* Create a custom checkbox */
|
||||
.checkmark {
|
||||
position: absolute;
|
||||
height: 25px;
|
||||
width: 25px;
|
||||
background-color: #808080;
|
||||
}
|
||||
|
||||
/* On mouse-over, add a grey background color */
|
||||
.checkbox:hover input ~ .checkmark {
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
/* When the checkbox is checked, add a blue background */
|
||||
.checkbox input:checked ~ .checkmark {
|
||||
background-color: #2196F3;
|
||||
}
|
||||
|
||||
/* Create the checkmark/indicator (hidden when not checked) */
|
||||
.checkmark:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Show the checkmark when checked */
|
||||
.checkbox input:checked ~ .checkmark:after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Style the checkmark/indicator */
|
||||
.checkbox .checkmark:after {
|
||||
left: 9px;
|
||||
top: 5px;
|
||||
width: 5px;
|
||||
height: 10px;
|
||||
border: solid white;
|
||||
border-width: 0 3px 3px 0;
|
||||
-webkit-transform: rotate(45deg);
|
||||
-ms-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
h2 {
|
||||
font-weight:300;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#input-form-wrap {
|
||||
background-color: rgba(255, 255, 255, .15);
|
||||
backdrop-filter: blur(200px);
|
||||
width: 35%;
|
||||
text-align: center;
|
||||
padding: 1em 0 0 0;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 30px 50px 0px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.input-form {
|
||||
padding: 1em 2em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-items: center;
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
.input-form-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 1em 1em;
|
||||
}
|
||||
|
||||
.input-form input, .input-form select, .input-form option, .input-form textarea {
|
||||
width: 100%;
|
||||
padding: 0 0 0 10px;
|
||||
margin: 0;
|
||||
color: var(--fg);
|
||||
border: 1px solid var(--fg);
|
||||
box-sizing: border-box;
|
||||
outline: none;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
border-radius: 4px;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
appearance: none;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
background: none;
|
||||
&:focus {
|
||||
&:invalid {
|
||||
color: var(--red);
|
||||
border-color: var(--red);
|
||||
}
|
||||
}
|
||||
|
||||
&:valid {
|
||||
border-color: var(--green);
|
||||
}
|
||||
}
|
||||
|
||||
.input-form textarea {
|
||||
min-height: 120px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.input-form input[type="submit"] {
|
||||
border: none;
|
||||
display:block;
|
||||
background-color: rgba(255, 255, 255, .10);
|
||||
color: var(--fg);
|
||||
font-weight: bold;
|
||||
text-transform:uppercase;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
font-size: 18px;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
&:hover {
|
||||
background-color: rgba(255, 255, 255, .20);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
}
|
||||
#create-account-wrap {
|
||||
background-color: rgba(255, 255, 255, .15);
|
||||
color:#dfdfdf;
|
||||
font-size:14px;
|
||||
width:100%;
|
||||
padding:10px 0;
|
||||
border-radius: 0 0 4px 4px;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
display: block;
|
||||
position: relative;
|
||||
padding-left: 35px;
|
||||
margin-bottom: 12px;
|
||||
cursor: pointer;
|
||||
font-size: 22px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* Hide the browser's default checkbox */
|
||||
.checkbox input {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
/* Create a custom checkbox */
|
||||
.checkmark {
|
||||
position: absolute;
|
||||
height: 25px;
|
||||
width: 25px;
|
||||
background-color: #808080;
|
||||
}
|
||||
|
||||
/* On mouse-over, add a grey background color */
|
||||
.checkbox:hover input ~ .checkmark {
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
/* When the checkbox is checked, add a blue background */
|
||||
.checkbox input:checked ~ .checkmark {
|
||||
background-color: #2196F3;
|
||||
}
|
||||
|
||||
/* Create the checkmark/indicator (hidden when not checked) */
|
||||
.checkmark:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Show the checkmark when checked */
|
||||
.checkbox input:checked ~ .checkmark:after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Style the checkmark/indicator */
|
||||
.checkbox .checkmark:after {
|
||||
left: 9px;
|
||||
top: 5px;
|
||||
width: 5px;
|
||||
height: 10px;
|
||||
border: solid white;
|
||||
border-width: 0 3px 3px 0;
|
||||
-webkit-transform: rotate(45deg);
|
||||
-ms-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
}
|
@ -1,163 +1,163 @@
|
||||
/* Product Information*/
|
||||
|
||||
.product-link:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 15%;
|
||||
width: 0%;
|
||||
border-bottom: 2px solid var(--fg);
|
||||
transition: 0.4s;
|
||||
}
|
||||
|
||||
.product-link:hover:after {
|
||||
width: 70%;
|
||||
color: var(--hover);
|
||||
}
|
||||
|
||||
.product-link:hover {
|
||||
color: var(--hover);
|
||||
}
|
||||
|
||||
.product-link:active {
|
||||
color: var(--header);
|
||||
}
|
||||
|
||||
.product-container {
|
||||
width: 95%;
|
||||
background-color: var(--bg-grad-3);
|
||||
border-radius: 1rem 1rem 0rem 0rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
gap: 2rem 1.5rem;
|
||||
padding: 1rem;
|
||||
transition: all 0.2s;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.product {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex: 4 0 1rem;
|
||||
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-fs {
|
||||
height: 80%;
|
||||
width: 80%;
|
||||
font-size: 150%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
gap: 2em 2em;
|
||||
padding: .5rem 1rem 2rem 2rem;
|
||||
/* background: var(--bg-secondary); */
|
||||
border-radius: .5rem .5rem;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.product-content-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
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;
|
||||
padding: 5% 0;
|
||||
/* justify-content: center; */
|
||||
/* align-items: center; */
|
||||
gap: 1rem 1rem;
|
||||
}
|
||||
|
||||
.product-description {
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
.hide-overflow {
|
||||
inline-size: 200px;
|
||||
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;
|
||||
/* Product Information*/
|
||||
|
||||
.product-link:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 15%;
|
||||
width: 0%;
|
||||
border-bottom: 2px solid var(--fg);
|
||||
transition: 0.4s;
|
||||
}
|
||||
|
||||
.product-link:hover:after {
|
||||
width: 70%;
|
||||
color: var(--hover);
|
||||
}
|
||||
|
||||
.product-link:hover {
|
||||
color: var(--hover);
|
||||
}
|
||||
|
||||
.product-link:active {
|
||||
color: var(--header);
|
||||
}
|
||||
|
||||
.product-container {
|
||||
width: 95%;
|
||||
background-color: var(--bg-grad-3);
|
||||
border-radius: 1rem 1rem 0rem 0rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
gap: 2rem 1.5rem;
|
||||
padding: 1rem;
|
||||
transition: all 0.2s;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.product {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex: 4 0 1rem;
|
||||
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-fs {
|
||||
height: 80%;
|
||||
width: 80%;
|
||||
font-size: 150%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
gap: 2em 2em;
|
||||
padding: .5rem 1rem 2rem 2rem;
|
||||
/* background: var(--bg-secondary); */
|
||||
border-radius: .5rem .5rem;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.product-content-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
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;
|
||||
padding: 5% 0;
|
||||
/* justify-content: center; */
|
||||
/* align-items: center; */
|
||||
gap: 1rem 1rem;
|
||||
}
|
||||
|
||||
.product-description {
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
.hide-overflow {
|
||||
inline-size: 200px;
|
||||
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;
|
||||
}
|
@ -1,174 +1,174 @@
|
||||
:root {
|
||||
--bg: #282c34;
|
||||
--bg-secondary: #474d57;
|
||||
--bg-grad-1: #484e58;
|
||||
--bg-grad-2: #4e5560;
|
||||
--bg-grad-3: #59616d;
|
||||
--bg-grad-4: #606a7b;
|
||||
--bg-grad-5: #606978;
|
||||
--input: #4e5560;
|
||||
--fg: #ABB2BF;
|
||||
--header: #E06C75;
|
||||
--link: #FFF;
|
||||
--hover: #888;
|
||||
|
||||
--green: #98C379;
|
||||
--red: #E06C75;
|
||||
}
|
||||
|
||||
html {
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
font-size: 160%;
|
||||
font-family: 'Courier New', Courier, 'Inter';
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
flex: 0 1 auto;
|
||||
padding: 30px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
/* Navbar styling*/
|
||||
nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
nav form {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.search-bar {
|
||||
padding: .25rem;
|
||||
margin-top: .25rem;
|
||||
font-size: 1rem;
|
||||
width: 15rem;
|
||||
border: none;
|
||||
transition: width 0.4s ease-in-out;
|
||||
background-color: var(--fg);
|
||||
}
|
||||
|
||||
@media (min-width:1500px) {
|
||||
.search-bar:focus {
|
||||
width: 30rem;
|
||||
}
|
||||
}
|
||||
|
||||
.search-button {
|
||||
padding: .25rem .5rem;
|
||||
margin-top: .25rem;
|
||||
margin-right: .5rem;
|
||||
background: #ddd;
|
||||
font-size: 1rem;
|
||||
border: none;
|
||||
background-color: orange;
|
||||
}
|
||||
|
||||
.sticky {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: -2rem;
|
||||
}
|
||||
|
||||
#logo {
|
||||
width: 8rem;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar,
|
||||
*::-webkit-scrollbar-thumb {
|
||||
width: 26px;
|
||||
border-radius: 13px;
|
||||
background-clip: padding-box;
|
||||
border: 10px solid transparent;
|
||||
color: var(--fg);
|
||||
}
|
||||
*::-webkit-scrollbar-thumb:hover{
|
||||
color: var(--link);
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb {
|
||||
box-shadow: inset 0 0 0 10px;
|
||||
}
|
||||
|
||||
@media (max-width:1000px) {
|
||||
.not-required {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
position: relative;
|
||||
color: var(--link);
|
||||
white-space: nowrap;
|
||||
transition: 0.4s;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
a:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 15%;
|
||||
width: 0%;
|
||||
border-bottom: 2px solid var(--fg);
|
||||
transition: 0.4s;
|
||||
}
|
||||
|
||||
a:hover:after {
|
||||
width: 70%;
|
||||
color: var(--hover);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: var(--hover);
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: var(--header);
|
||||
}
|
||||
|
||||
.categories {
|
||||
background-color: var(--bg);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.category {
|
||||
margin: .5rem 0rem;
|
||||
padding: 0rem 1rem;
|
||||
border-left: .125rem solid var(--fg);
|
||||
}
|
||||
|
||||
.category:first-child {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
.container {
|
||||
flex: 1 1 auto;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
gap: 1rem;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
height: 1%;
|
||||
}
|
||||
:root {
|
||||
--bg: #282c34;
|
||||
--bg-secondary: #474d57;
|
||||
--bg-grad-1: #484e58;
|
||||
--bg-grad-2: #4e5560;
|
||||
--bg-grad-3: #59616d;
|
||||
--bg-grad-4: #606a7b;
|
||||
--bg-grad-5: #606978;
|
||||
--input: #4e5560;
|
||||
--fg: #ABB2BF;
|
||||
--header: #E06C75;
|
||||
--link: #FFF;
|
||||
--hover: #888;
|
||||
|
||||
--green: #98C379;
|
||||
--red: #E06C75;
|
||||
}
|
||||
|
||||
html {
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
font-size: 160%;
|
||||
font-family: 'Courier New', Courier, 'Inter';
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
flex: 0 1 auto;
|
||||
padding: 30px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
/* Navbar styling*/
|
||||
nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
nav form {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.search-bar {
|
||||
padding: .25rem;
|
||||
margin-top: .25rem;
|
||||
font-size: 1rem;
|
||||
width: 15rem;
|
||||
border: none;
|
||||
transition: width 0.4s ease-in-out;
|
||||
background-color: var(--fg);
|
||||
}
|
||||
|
||||
@media (min-width:1500px) {
|
||||
.search-bar:focus {
|
||||
width: 30rem;
|
||||
}
|
||||
}
|
||||
|
||||
.search-button {
|
||||
padding: .25rem .5rem;
|
||||
margin-top: .25rem;
|
||||
margin-right: .5rem;
|
||||
background: #ddd;
|
||||
font-size: 1rem;
|
||||
border: none;
|
||||
background-color: orange;
|
||||
}
|
||||
|
||||
.sticky {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: -2rem;
|
||||
}
|
||||
|
||||
#logo {
|
||||
width: 8rem;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar,
|
||||
*::-webkit-scrollbar-thumb {
|
||||
width: 26px;
|
||||
border-radius: 13px;
|
||||
background-clip: padding-box;
|
||||
border: 10px solid transparent;
|
||||
color: var(--fg);
|
||||
}
|
||||
*::-webkit-scrollbar-thumb:hover{
|
||||
color: var(--link);
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb {
|
||||
box-shadow: inset 0 0 0 10px;
|
||||
}
|
||||
|
||||
@media (max-width:1000px) {
|
||||
.not-required {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
position: relative;
|
||||
color: var(--link);
|
||||
white-space: nowrap;
|
||||
transition: 0.4s;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
a:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 15%;
|
||||
width: 0%;
|
||||
border-bottom: 2px solid var(--fg);
|
||||
transition: 0.4s;
|
||||
}
|
||||
|
||||
a:hover:after {
|
||||
width: 70%;
|
||||
color: var(--hover);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: var(--hover);
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: var(--header);
|
||||
}
|
||||
|
||||
.categories {
|
||||
background-color: var(--bg);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.category {
|
||||
margin: .5rem 0rem;
|
||||
padding: 0rem 1rem;
|
||||
border-left: .125rem solid var(--fg);
|
||||
}
|
||||
|
||||
.category:first-child {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
.container {
|
||||
flex: 1 1 auto;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
gap: 1rem;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
height: 1%;
|
||||
}
|
||||
|
Reference in New Issue
Block a user