src/components/Receipt/ReceiptView/ReceiptView.scss
@import "../../../assets/sass/main";
.receipt-modal-area {
display: flex;
flex-wrap: wrap;
position: relative;
}
.area-buttons{
display: flex;
flex-flow: column;
align-items: center;
&__change-buttons{
display: flex;
flex-flow: column;
justify-content: space-around;
}
}
.option-menu {
position: absolute;
width: 3rem;
height: 3rem;
border-radius: 1rem;
background-color: $color-light-blue;
left: calc(100% - 4rem);
top: 1rem;
}
.receipt-container {
height: 100%;
display: flex;
flex-flow: column wrap;
justify-content: space-between;
}
.receipt-area{
display: flex;
flex-flow: column;
justify-content: space-around;
&__content{
display: flex;
justify-content: space-between;
&__label{
padding-bottom: 1em;
color: $color-black;
}
}
}
.receipt-font-input-disable{
width: 8em;
height: 1em;
text-align: end;
resize: none;
border: none;
background-color: $color-yellow;
font-size: 1em;
color: $color-black;
}
textarea {
height: 3em !important;
}
.receipt-font-input{
width: 8em;
height: 1.4em;
text-align: end;
resize: none;
border: none;
border-radius: .2em .2em 0 0;
border-bottom: .07em solid $color-black;
background-color: rgb(253, 252, 229);
font-size: 1em;
color: $color-black;
}
@media (min-width:320px) {
/* smartphones, Android phones, landscape iPhone */
.receipt-modal-area {
width: 26em;
height: 49em;
overflow: scroll;
justify-content: center;
}
.area-buttons{
margin-left: 0rem;
margin-right: 0rem;
justify-content: space-around;
height: 15rem;
&__change-buttons {
height: 10rem;
}
}
.receipt-area {
font-size: 2rem;
width: 80%;
font-size: 1.7rem;
margin-top: 3rem;
margin-left: 2.2rem;
justify-content: flex-start;
}
.receipt-container {
margin-top: 1rem;
height: 90%;
}
.receipt-area__content {
font-size: 1.5rem;
margin: .2rem 0;
}
}
@media (min-width:645px) {
.receipt-modal-area {
width: 55em;
height: 51rem;
overflow: hidden;
justify-content: space-around;
}
.area-buttons{
height: 45rem;
margin-left: 0;
margin-right: 0;
margin-top: 2em;
justify-content: space-between;
&__change-buttons {
height: 18em;
}
}
.receipt-area {
font-size: 2rem;
width: 80%;
font-size: 1.7rem;
margin-top: 4rem;
margin-left: 2.2rem;
}
}