prolog-point-of-sale/style.css

79 lines
1.2 KiB
CSS
Raw Normal View History

2019-11-03 01:05:33 +00:00
body {
font-family: sans-serif;
}
main {
display: flex;
}
.products {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
grid-gap: 10px;
flex: 1;
}
.cart {
width: 300px;
}
.product {
height: 110px;
display: flex;
flex-flow: column;
border: 1px solid rgba(0, 0, 0, .2);
border-radius: 5px;
color: rgba(0, 0, 0, .87);
text-decoration: none;
2019-11-03 23:41:08 +00:00
overflow-wrap: break-word;
overflow: hidden;
text-overflow: ellipsis;
2019-11-03 01:05:33 +00:00
}
.product__name {
display: flex;
justify-content: center;
align-items: center;
flex: 1;
}
.product__price {
display: flex;
justify-content: center;
align-items: center;
background-color: #27ae60;
color: #fff;
height: 30px;
}
.cart__entry {
border-top: 1px solid rgba(0, 0, 0, .12);
display: flex;
}
.cart__entry:last-child {
border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.cart__entry > div {
margin: 12px;
}
.cart__name {
flex: 1;
}
.cart__price {
width: 65px;
}
2019-11-03 15:19:31 +00:00
.login__reason {
padding: 8px 8px;
margin: 16px 0;
border-radius: 2px;
border: 1px solid #bee5eb;
background: #d1ecf1;
color: #0c5460;
}