forked from crudo/macao-pos
171 lines
2.8 KiB
CSS
171 lines
2.8 KiB
CSS
html {
|
|
width: 100%;
|
|
height: 100%;
|
|
font-size: 16px;
|
|
}
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
color: black;
|
|
}
|
|
|
|
|
|
main {
|
|
margin: 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: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
h3 {
|
|
margin-bottom: 0.2rem;
|
|
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: 4rem auto;
|
|
max-width: 50%;
|
|
}
|
|
|
|
#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;
|
|
}
|
|
|
|
#basket {
|
|
display: inline-block;
|
|
float: right;
|
|
margin: 4rem auto;
|
|
min-width: 30%;
|
|
}
|
|
|
|
#basket > button {
|
|
display: block;
|
|
width: 15rem;
|
|
height: 3rem;
|
|
margin-bottom: 0.3rem;
|
|
padding: 0.2rem 0.5rem;
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
#sell {
|
|
display: inline-block;
|
|
float: right;
|
|
margin: auto;
|
|
min-width: 30%;
|
|
}
|
|
|
|
#sell > button {
|
|
display: block;
|
|
width: 15rem;
|
|
height: 3rem;
|
|
padding: 0.2rem 0.5rem;
|
|
font-size: 1.3rem;
|
|
}
|