auto.bus_razor/TicketOffice/wwwroot/css/TicketOrderPopup.css

171 lines
3.3 KiB
CSS

/* ~~~~~~ ticket ordering popup ~~~~~~ */
.popup-container-ticket-order {
position: fixed;
top: 0;
left: 0;
z-index: 100;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.25);
display: none;
}
.ticket {
width: 50rem;
height: 20rem;
background: #eaeef1;
position: fixed;
top: calc(50% - 10rem);
left: calc(50% - 25rem);
border-radius: 0.5rem;
box-shadow: 0 10px 15px 5px #6c6e6f;
}
.ticket-header {
border-radius: 0.5rem 0.5rem 0 0;
height: 3rem;
background: #a1b0b9;
color: white;
font-weight: 700;
font-size: 1.1rem;
text-align: center;
line-height: 3rem;
}
.ticket-body {
width: calc(100% - 2rem);
height: calc(100% - 5rem);
padding: 1rem 1rem;
}
.ticket-body-main {
height: calc(100% - 4rem);
overflow-y: auto;
overflow-x: hidden;
text-align: center;
}
form.ticket-form {
}
div.ticket-input-item {
display: inline-block;
width: 15rem;
height: 5rem;
line-height: 4.7rem;
text-align: left;
vertical-align: top;
}
input.ticket-input-firstname, input.ticket-input-lastname,
select.ticket-place-select {
display: flex;
font-size: 1.5rem;
color: #262626;
font-weight: 500;
box-sizing: border-box;
background: #dfe3e5;
border: 1px solid #b8bfc7;
box-shadow: 0 1px 0 0 #fff;
border-radius: .3rem;
padding: 0 1rem;
margin-top: 0.25rem;
text-align: left;
width: 100%;
height: 3rem;
}
input.ticket-input-firstname:read-only, input.ticket-input-lastname:read-only,
select.ticket-place-select:disabled {
background: #bcbfc0;
outline: none;
color: #7a7c7d;
}
select {
-webkit-appearance: menulist-button;
color: #262626;
}
select:invalid {
color: #7a7c7d;
}
div.ticket-validation-error {
color: #777a7e;
text-align: center;
font-size: 0.9rem;
font-weight: 700;
line-height: 1rem;;
margin: 0.25rem 0 0 0;
}
div.ticket-info div {
font-weight: 700;
font-size: 1.1rem;
text-align: justify;
line-height: 1.4rem;
}
div.ticket-info-line {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #c5c7cc;
margin-bottom: 0.4rem;
}
div.ticket-info-line-left {
display: inline-flex;
justify-content: right;
}
div.ticket-info-line-right {
width: 70%;
display: inline-flex;
justify-content: left;
}
div.ticket-info-line-right-block {
display: inline-flex;
}
.ticket-body-footer {
text-align: center;
margin-top: 1rem;
}
.popup-footer-link-button-ticket-order {
line-height: 2.5rem;
padding: 0 1rem;
margin: 0 0.5rem;
display: inline-block;
color: #1d4965;
font-weight: 500;
background: linear-gradient(0deg,#79b6db,#b3dbf2);
border: none;
border-radius: .3rem;
cursor: pointer;
text-decoration: none;
}
.popup-footer-button-ticket-order {
line-height: 2.5rem;
padding: 0 1rem;
margin: 0 0.5rem;
display: inline-block;
color: #1d4965;
font-weight: 700;
font-size: 1rem;
background: linear-gradient(0deg,#79b6db,#b3dbf2);
border: none;
border-radius: .3rem;
cursor: pointer;
text-decoration: none;
}
.popup-footer-button-ticket-order:hover,
.popup-footer-link-button-ticket-order:hover {
opacity: 0.8;
}