mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-26 19:14:30 +00:00
191 lines
3.2 KiB
CSS
191 lines
3.2 KiB
CSS
#eboutic {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
align-items: flex-start;
|
|
column-gap: 20px;
|
|
margin: 0 20px 20px;
|
|
}
|
|
|
|
#eboutic-title {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
#eboutic h3 {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
#basket {
|
|
min-width: 300px;
|
|
border-radius: 8px;
|
|
box-shadow: rgb(60 64 67 / 30%) 0 1px 3px 0, rgb(60 64 67 / 15%) 0 4px 8px 3px;
|
|
padding: 10px;
|
|
}
|
|
|
|
#basket h3 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
@media screen and (max-width: 765px) {
|
|
#eboutic {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin: 10px;
|
|
row-gap: 20px;
|
|
}
|
|
#eboutic-title {
|
|
margin-bottom: 20px;
|
|
margin-top: 4px;
|
|
}
|
|
#basket {
|
|
}
|
|
}
|
|
|
|
#eboutic #basket .error-message {
|
|
margin-top: 5px;
|
|
background-color: #f8d7da;
|
|
border: #f5c6cb 1px solid;
|
|
border-radius: 4px;
|
|
padding: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
row-gap: 7px;
|
|
}
|
|
#eboutic #basket .error-message p {
|
|
margin: 0;
|
|
}
|
|
|
|
#eboutic .item-list {
|
|
margin-left: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
#eboutic .item-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 10px
|
|
}
|
|
|
|
#eboutic .item-name {
|
|
flex: 1;
|
|
}
|
|
|
|
#eboutic .item-price, #eboutic .item-quantity {
|
|
width: 65px;
|
|
}
|
|
|
|
#eboutic .item-quantity {
|
|
text-align: center;
|
|
}
|
|
|
|
#eboutic .fa-plus, #eboutic .fa-minus {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#eboutic .item-price {
|
|
text-align: right;
|
|
}
|
|
|
|
/* CSS du catalogue */
|
|
|
|
#eboutic #catalog {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
flex-direction: column;
|
|
row-gap: 30px;
|
|
}
|
|
|
|
#eboutic .category-header {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#eboutic .product-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
column-gap: 15px;
|
|
row-gap: 15px;
|
|
}
|
|
|
|
@media screen and (max-width: 765px) {
|
|
#eboutic #catalog {
|
|
row-gap: 15px;
|
|
}
|
|
|
|
#eboutic section {
|
|
text-align: center;
|
|
}
|
|
|
|
#eboutic .product-group {
|
|
justify-content: space-around;
|
|
}
|
|
}
|
|
|
|
#eboutic .product-button {
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
min-width: 120px;
|
|
max-width: 150px;
|
|
padding: 10px;
|
|
overflow: hidden;
|
|
box-shadow: rgb(60 64 67 / 30%) 0 1px 3px 0, rgb(60 64 67 / 15%) 0 4px 8px 3px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
row-gap: 5px;
|
|
}
|
|
|
|
#eboutic .product-button:active {
|
|
box-shadow: none;
|
|
}
|
|
|
|
#eboutic .product-button img, #eboutic .product-button .fa {
|
|
margin: 0;
|
|
border-radius: 4px;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
#eboutic .product-button p {
|
|
font-size: 13px;
|
|
margin: 0;
|
|
}
|
|
|
|
#eboutic .catalog-buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
column-gap: 30px;
|
|
margin: 30px 0 0;
|
|
}
|
|
|
|
#eboutic input {
|
|
all: unset;
|
|
}
|
|
|
|
#eboutic .catalog-buttons button {
|
|
font-size: 15px;
|
|
font-weight: normal;
|
|
color: white;
|
|
min-width: 60px;
|
|
padding: 5px 10px;
|
|
}
|
|
#eboutic .catalog-buttons .validate {
|
|
background-color: #354a5f;
|
|
}
|
|
#eboutic .catalog-buttons .clear {
|
|
background-color: gray;
|
|
}
|
|
#eboutic .catalog-buttons button i {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
#eboutic .catalog-buttons button.validate:hover {
|
|
background-color: #2c3646;
|
|
}
|
|
|
|
#eboutic .catalog-buttons button.clear:hover {
|
|
background-color:hsl(210,5%,30%);
|
|
}
|
|
|
|
#eboutic .catalog-buttons form {
|
|
margin: 0;
|
|
} |