2022-12-08 18:25:49 -05:00

1111 lines
18 KiB
CSS

#root {
min-height: 100vh;
}
body {
background-image: url('/public/images/blured_wool_carpet.png');
background-color: gray;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
min-height: 100%;
}
html {
height: 100%;
}
a {
color: white;
text-decoration: none;
}
.Payment-btn-container {
display: flex;
}
.Payment-btn {
margin: auto;
width: 20%;
}
.FormGroup {
margin: 20px 15px 20px;
padding: 0;
border-style: none;
color: beige !important;
background-color: purple;
will-change: opacity, transform;
border-radius: 4px;
}
#cardholder-name {
background-color: transparent;
border:none;
color:white;
margin: auto;
width: 90%;
margin-left: 15px;
margin-top:10px;
}
#cardholder-name::placeholder{
color: lightgray;
}
.FormRow {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
margin-left: 15px;
}
.StripeElement--webkit-autofill {
background: transparent !important;
}
.StripeElement {
width: 100%;
padding: 11px 15px 11px 0;
}
.Contact {
background-color: beige;
text-align: center;
}
.Error_color span {
color: red;
}
.contactUs {
height: 100vh;
}
.home-text {
/* border: black 1px solid; */
text-align: center;
background-color: beige;
box-shadow: 2px 3px rgba(11, 11, 11, 0.5);
padding: 1% 2% 1% 2%;
margin: 1% 2% 1% 2%;
}
.home-title {
margin: 10px 10% 0% 10%;
padding: 0px 0px 0px 0px;
border-radius: 5px 25px;
color: plum;
background-color: rgba(0, 0, 0, .75);
}
.home-subtitle {
text-shadow: 3px 2px 5px rgba(0, 0, 0, .5);
}
.home-img {
width: 20%;
height: auto;
}
.home-description {
margin-top: 2%;
/* border-top: 1px black solid; */
}
.topbar-container {
background-color: beige;
margin-bottom: 2%;
border-bottom: rgb(82, 4, 82) solid 1px;
box-shadow: 0px 3px rgba(82, 4, 82, .5);
}
.research-container {
/* border: black solid 1px; */
padding: 4px 6px 4px 6px;
background-color: purple;
box-shadow: 2px 3px rgba(0, 0, 0, .25);
border-radius: 5px;
height: 40px;
margin: auto;
margin-bottom: 2%;
width: 90%;
}
.research-input {
height: 100%;
width: 89%;
}
.research-btn {
margin-left: 1%;
border-radius: 5px;
width: 10%;
height: 90%;
}
.featured-lst {
width: 100%;
}
.featured-itm {
background-color: beige;
border-radius: 10px;
height: 500px;
}
.featured-img {
border: 5px purple double;
border-radius: 10px;
height: 100%;
margin-bottom: 75%;
width: auto;
max-width: 50%;
}
.featured-info {
border: 1px black solid;
color: black;
text-align: right;
left: 55%;
right: 12%;
bottom: 25%;
top: 25%;
padding-right: 2%;
box-shadow: 5px 10px rgba(0, 0, 0, .5);
}
.featured-prc {
margin-left: 50%;
padding-right: 10px;
background-color: plum;
}
.contact-form-container {
padding: 3% 5% 3% 5%;
color: black;
background-color: beige;
}
.form-input {
border: 3px solid rgba(0, 0, 0, .25);
/* box-shadow: 1px 2px rgba(0, 0, 0, .25); */
}
.contact-form-btn {
margin-top: 3%;
color: beige;
background-color: purple !important;
}
.contact-form-btn:hover {
background-color: plum !important;
}
.about-us-container {
padding: 3% 2% 3% 2%;
border-top: 3px solid rgba(123, 9, 102, 0.5);
background-color: rgba(0, 0, 0, .25);
}
.border-quetaine {
border: 3px dotted purple;
padding: 3px;
}
.employee-text {
color: whitesmoke;
background-color: rgba(0, 0, 0, .25);
}
.contact-info-container {
color: white;
background-color: rgb(12, 13, 13);
padding: 2% 5% 2% 5%;
}
.contact-info-list {
list-style-type: none;
}
.socials {
margin-top: 5%;
width: 50%;
left: 10px;
display: flex;
}
.socials-icon {
margin: auto;
}
.footer-container {
color: black;
margin-top: 5%;
padding: 2% 3% 2% 3%;
background-color: white;
}
.footer-links {
display: flex;
}
.footer-link {
color: purple;
text-shadow: 5px 5px 10px rgba(0, 0, 0, .75);
margin: auto;
}
.footer-link:hover {
color: plum;
}
.footer-partners {
display: flex;
}
.partner-img {
margin: auto;
height: 50px;
}
/* items */
.item-list {
text-align: center;
}
.item:hover {
box-shadow: 10px 10px;
top: -5px;
left: -5px;
background-color: beige;
}
.item {
border: purple double 3px;
margin-left: 1.25%;
margin-right: 1.25%;
margin-bottom: 10px;
background-color: rgba(245, 245, 220, 0.75);
display: inline-block;
height: 375px;
width: 30%;
}
.item-img {
border-radius: 2px;
margin-top: 15px;
display: block;
margin-right: auto;
margin-left: auto;
height: 50%;
width: auto;
max-width: 95%;
}
.item-info {
height: 50%;
padding-top: 10px;
padding-bottom: 10px;
}
.item-name-container {
height: 45%;
display: flex;
justify-content: center;
align-items: center;
vertical-align: middle;
}
.item-name {
margin: auto;
height: auto;
}
.item-status-container {
height: 40px;
display: flex;
justify-content: center;
align-items: center;
vertical-align: middle;
}
.item-status {
font-weight: normal;
font-family: 'Courier New', Courier, monospace;
width: fit-content;
height: fit-content;
margin-left: auto;
margin-right: auto;
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 2px;
display: block;
border-radius: 10px;
font-size: small;
}
.item-status-available {
color: green;
}
.item-status-backorder {
color: yellow;
background-color: black;
}
.item-status-unavailable {
color: red;
background-color: black;
}
.item-status-clearence {
color: blue;
background-color: aliceblue;
font-size: large;
border: yellow 2px groove;
}
.item-status-promotion {
color: purple;
font-size: medium;
background-color: aliceblue;
border: yellow 2px groove;
}
.item-status-discontinued {
color: white;
background-color: black;
}
.item-price-container {
height: fit-content;
width: auto;
margin: auto;
}
.item-price {
color: green;
font-weight: bold;
font-size: large;
height: auto;
margin: auto;
}
.item-old-price {
position: relative;
color: black;
text-decoration: line-through;
font-weight: normal;
font-size: small;
height: auto;
width: fit-content;
}
.item-new-price {
font-size: large;
margin-left: 10px;
font-weight: bolder;
background-color: aliceblue;
color: purple;
}
.item-link,
.item-link:hover {
color: black;
text-decoration: none;
}
.btn-primary {
background-color: purple;
color: white;
border-color: darkslateblue;
}
.btn-primary:hover {
background-color: plum !important;
border-color: purple !important;
color: darkslateblue !important;
}
.btn-load-more {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
margin-bottom: 10px;
width: 30%;
}
.sorting-dropdown {
width: fit-content;
margin: auto;
float: right;
width: 85%;
}
.status-dropdown {
width: fit-content;
margin-bottom: 20px;
width: 85%;
}
.privacy {
height: 100vh;
}
.morceaux {
height: 100%;
}
.inventaire {
height: 100%;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin: 1.25%;
padding: 1.25%;
color: purple;
background-color: beige;
border: purple solid 3px;
;
}
.inventaire-form-container {
padding: 3% 5% 3% 5%;
color: black;
background-color: beige;
margin: 1.25%;
}
.inventaire-item {
border: purple double 3px;
margin-left: 1.25%;
margin-right: 1.25%;
margin-bottom: 10px;
background-color: rgba(245, 245, 220, 0.75);
display: inline-block;
height: auto;
width: 97.5%;
padding: 1.25%;
}
.inventaire-item>h3 {
display: flex;
align-items: center;
justify-content: space-between;
}
.dropdown-gestion,
.dropdown-gestion:hover {
margin: 0px;
padding: auto;
color: grey;
background-color: transparent !important;
border-color: transparent !important;
padding-left: 10%;
}
.dropdown-gestion-container button:hover {
color: rgb(102, 102, 102) !important;
}
.dropdown-gestion-menu {
border: purple solid 2px;
background-color: beige;
}
.morceaux-options-container {
display: flex;
width: 100%;
height: fit-content;
margin-bottom: 16px;
}
/* width */
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: beige;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: plum;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: purple;
}
.morceaux-container {
padding-top: 10px;
height: 620px;
overflow-y: scroll;
border: purple 2px solid;
border-radius: 5px;
background-color: rgba(245, 245, 220, 0.25);
}
.filters-btn-container {
width: 100%;
display: flex;
}
.filters-btn {
margin: auto;
width: 90% !important;
}
.filters-dropdown button {
width: 100%;
}
.filters-menu {
width: fit-content;
display: flex;
margin: 5px 15px 10px 15px;
}
.filters-container {
width: fit-content;
margin-left: 25px;
}
.filters-price-container {
white-space: nowrap;
padding: 0px 10px 0px 10px;
}
.filters-state-container {
white-space: nowrap;
padding: 0px 10px 0px 10px;
}
.filters-info {
width: fit-content;
height: fit-content;
background-color: beige;
margin-top: 5px;
padding: 5px 10px 5px 10px;
border-radius: 5px;
}
.img-preview-container {
margin-top: 15px;
display: flex;
}
.img-preview {
margin: auto;
max-width: 90%;
max-height: 200px;
}
.sorting-container {
width: 20%;
height: fit-content;
margin: auto;
margin-right: 25px;
}
.sorting-dropdown {
width: fit-content;
}
.cat-load {
display: block;
margin: auto;
width: auto;
background-image: url("/public/images/cat-yarn.gif");
background-repeat: no-repeat;
background-color: white;
background-size: contain;
background-position: center;
mix-blend-mode: multiply;
height: 200px;
}
.detail-status-container {
margin-top: 25px;
}
.detail-status-available {}
.detail-status-backorder {}
.detail-status-unavailable {}
.detail-status-clearence {}
.detail-status-promotion {}
.detail-status-discontinued {}
.detail-container {
display: flex;
background-color: white;
padding: 16px;
}
.detail-container-image {
margin: auto;
margin-top: 25px;
width: 35%;
height: 100%;
}
.detail-container-info {
margin: auto;
width: 35%;
height: 100%;
}
.detail-container-controls {
margin: auto;
display: inline-flex;
width: 20%;
height: 100%;
}
.qty-select {
width: fit-content;
height: fit-content;
margin: auto;
}
.add-to-cart {
width: auto;
margin-left: 10px;
}
.detail-image {
width: 100%;
height: auto;
}
.detail-price {
font-weight: bold;
}
.detail-new-price {
font-weight: bold;
}
.detail-old-price {
font-weight: lighter;
text-decoration: line-through;
}
.total {
margin: 5%;
color: green;
font-weight: bold;
}
.payer {
display: flex;
margin: 5%;
margin-left: auto;
}
.carosse {
border-color: purple;
border-width: 2%;
}
.btn-fermer {
background-color: red !important;
color: white !important;
}
.btn-ajouter-morceau {
background-color: purple !important;
color: white !important;
}
.form-group {
margin-bottom: 10px;
}
.form-group input {
width: 100%;
}
.simple-item-top-container {
display: flex;
}
.simple-item-title {
text-align: left;
margin: auto;
margin-left: 0px;
max-width: 80%;
}
.simple-item-buttons {
width: fit-content;
margin-right: 5px;
}
#cart-button {
background-color: transparent;
border: none;
color: purple;
}
#cart-count {
color: green;
}
.form-container {
padding: 3% 5% 3% 5%;
color: black;
background-color: beige;
margin: 1.25%;
}
.invoice-list-container {
display: block;
}
.invoice-item-container {
margin: 0px 20px 10px 20px;
background-color: purple;
border-radius: 5px;
padding: 10px;
box-shadow: rgba(0, 0, 0, 0.5) 5px 5px;
display: flex;
}
.invoice-item-info {
background-color: beige;
border-radius: 5px;
padding: 10px;
width: 50%;
margin: auto;
margin-top: 10px;
margin-right: 10px;
}
.invoice-item-products {
color: white;
width: 75%;
margin: auto;
align-content: center;
}
.invoice-item-products h3 {
text-align: center !important;
color: purple;
font-weight: bold;
background-color: beige;
width: auto;
border: 3px solid purple;
margin-top: 5px;
}
.invoice-item-products li {
padding: 5px;
background-color: black;
border-radius: 3px;
margin-bottom: 2px;
}
.invoice-item-product {
padding: 5px;
background-color: black;
border-radius: 3px;
margin-bottom: 2px;
}
.invoice-product-delete {
display: flex;
}
.invoice-item-expedition {}
.invoice-item-product-list {}
.invoice-item-price {}
.formulaire-address {
border: gray 1px solid;
padding: 10px;
margin-bottom: 10px;
border-radius: 2px;
}
.review-invoice-info {
border: black 5px solid;
margin: 5px;
padding: 2%;
border-radius: 10px;
background-color: purple;
color: white;
}
.review-invoice-address-container {
border: purple 5px solid;
margin: 5px;
padding: 2%;
border-radius: 10px;
background-color: beige;
}
.bold {
font-weight: bold;
}
.invoice-buttons {
display: flex;
margin: 5%;
}
.invoice-button {
margin: 2%;
width: 100%;
align-content: center;
}
.confirmer {
background-color: green;
}
.modifier {
background-color: firebrick;
}
.confirmer-infos {
text-align: center;
color: white;
font-weight: bold;
}
/* -------------------------------------------------------- */
/* specification pour les moyennes écrans
/* -------------------------------------------------------- */
@media(max-width:900px) {
.Payment-btn {
margin-top: 10px;
height: 70px;
width: 80%;
}
.invoice-item-container {
display: block;
}
.invoice-item-info {
width: 90%;
}
.invoice-item-products {
margin-top: 10px;
margin-bottom: 10px;
width: 90%;
}
.btn-ajouter-morceau {
display: block;
margin: auto;
margin-top: 20px;
height: 50px !important;
width: 90% !important;
font-size: larger;
}
.dropdown-gestion,
.dropdown-gestion:hover {
padding-left: 0;
}
.detail-container {
display: inline-block;
}
.detail-container-image {
width: 95%;
}
.detail-container-info {
width: 95%;
}
.item {
width: 45%;
}
.btn-load-more {
width: 45%;
}
.status-dropdown {
float: none;
width: 100%;
}
.status-dropdown button {
height: 60px !important;
width: 100% !important;
font-size: larger;
}
.sorting-dropdown {
width: 100%;
float: none;
}
.sorting-dropdown button {
height: 60px !important;
width: 100% !important;
font-size: larger;
}
.sorting-container {
margin: auto;
width: 90%;
float: none;
}
.sorting-menu {
width: 100%;
}
.sorting-menu a {
font-size: larger;
height: 50px;
background-color: beige;
border: 2px white solid;
}
.filters-dropdown button {
height: 60px;
}
.filters-container {
width: 90%;
margin: auto;
margin-bottom: 16px;
background-color: rgba(0, 0, 0, 0.25);
border-radius: 10px;
padding-bottom: 16px;
}
.filters-info {
margin: auto;
margin-top: 16px;
}
.filters-menu {
padding: 0px;
margin: 10px;
}
.filters-menu .form-check-label {
margin-left: 5px;
}
.filters-menu .form-check {
margin-bottom: 20px;
}
.filters-menu input[type='radio'] {
transform: scale(2);
}
.morceaux-options-container {
display: block;
}
}
/* -------------------------------------------------------- */
/* specification pour les écrans plus petits / cells */
/* -------------------------------------------------------- */
@media (max-width:450px) {
.morceaux-container {
height: 450px;
}
.item {
width: 85%;
}
.btn-load-more {
width: 85%;
}
.featured-img {
border: 5px purple double;
width: 100%;
max-width: 100%;
height: auto;
margin: auto;
}
.featured-info {
left: 12%;
top: auto;
bottom: 10%;
padding-right: 20px;
background-color: rgba(255, 255, 255, .75);
}
.contact-form-container {
margin-bottom: 35px;
margin-top: 35px;
}
.contact-form-input {
min-height: 50px;
}
.contact-form-btn {
margin-left: 10%;
margin-right: 10%;
height: 75px;
width: 80%;
}
.contact-info-container {
padding-top: 5%;
}
.employee-text {
margin: 5px;
padding: 10px;
}
}