forked from crudo/macao-pos
168 lines
2.7 KiB
CSS
168 lines
2.7 KiB
CSS
html {
|
|
font-size: 14px;
|
|
}
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
color: black;
|
|
}
|
|
|
|
|
|
main {
|
|
margin: 1rem 2rem;
|
|
}
|
|
|
|
.alert {
|
|
max-width: 20rem;
|
|
margin: 1rem auto;
|
|
border: 1px solid;
|
|
border-radius: 0.2rem;
|
|
padding: 0.7rem 1.5rem;
|
|
}
|
|
|
|
.alert.success {
|
|
background-color: #60B044;
|
|
border-color: #5CA941;
|
|
}
|
|
|
|
.alert.error {
|
|
background-color: #E74C3C;
|
|
border-color: #C0392B;
|
|
}
|
|
|
|
|
|
h1 {
|
|
margin-bottom: 1rem;
|
|
font-size: 2.5em;
|
|
text-align: center;
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 0.5rem;
|
|
font-size: 1.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
form#login {
|
|
max-width: 16rem;
|
|
margin: 5rem auto;
|
|
border-radius: 0.2rem;
|
|
border: 1px solid #CCC;
|
|
padding: 2rem 2.5rem 1.5rem 2.5rem;
|
|
}
|
|
|
|
form#login > label {
|
|
display: block;
|
|
margin: 1rem 0 0.25rem 0;
|
|
color: #666;
|
|
font-size: 0.9rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
form#login > input {
|
|
display: block;
|
|
width: 100%;
|
|
border: 1px solid #CCC;
|
|
border-radius: 0.2rem;
|
|
padding: 0.4rem 0.6rem;
|
|
vertical-align: middle;
|
|
background-color: #FAFAFA;
|
|
box-shadow: inset 0 1px 3px #DDD;
|
|
box-sizing: border-box;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
form#login > input:focus {
|
|
border-color: #51A7E8;
|
|
background-color: #FFF;
|
|
outline: 0;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset,
|
|
0 0 5px rgba(81, 167, 232, 0.5);
|
|
}
|
|
|
|
form#login > button {
|
|
display: block;
|
|
margin: 2rem 0 0.5rem 0;
|
|
border: 1px solid #5CA941;
|
|
border-radius: 0.2rem;
|
|
padding: 0.5rem 0.7rem;
|
|
vertical-align: middle;
|
|
background-color: #60B044;
|
|
background-image: linear-gradient(#8ADD6D, #60B044);
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
white-space: nowrap;
|
|
color: #fff;
|
|
font-size: 0.9rem;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
form#login > button:focus,
|
|
form#login > button:hover {
|
|
border-color: #4A993E;
|
|
background-color: #569E3D;
|
|
background-image: linear-gradient(#79D858, #569E3D);
|
|
}
|
|
|
|
|
|
#products {
|
|
display: inline-block;
|
|
margin: 0.5rem auto;
|
|
width: 60%;
|
|
}
|
|
|
|
#products > button {
|
|
display: inline-block;
|
|
width: 15rem;
|
|
height: 7rem;
|
|
margin: 0 1rem 1rem 0;
|
|
padding: 0.5rem 0.7rem;
|
|
white-space: nowrap;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
#products > button > span {
|
|
display: block;
|
|
}
|
|
|
|
#summary {
|
|
display: inline-block;
|
|
float: right;
|
|
margin: 0.5rem auto;
|
|
}
|
|
|
|
#basket {
|
|
margin: 2rem auto;
|
|
}
|
|
|
|
#basket > button {
|
|
display: block;
|
|
width: 20rem;
|
|
height: 4rem;
|
|
margin-bottom: 0.3rem;
|
|
padding: 0.2rem 0.5rem;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
#sell {
|
|
margin: 1rem auto;
|
|
}
|
|
|
|
#sell > button {
|
|
display: block;
|
|
width: 20rem;
|
|
height: 5rem;
|
|
padding: 0.2rem 0.5rem;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
#sell > p {
|
|
font-size: 2rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|