auto.bus_razor/TicketOffice/wwwroot/css/Popup.css

138 lines
2.4 KiB
CSS

.popup-container {
position: fixed;
top: 0;
left: 0;
z-index: 100;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.25);
display: none;
}
.popup {
width: 40rem;
height: 30rem;
background: #eaeef1;
position: fixed;
top: calc(50% - 15rem);
left: calc(50% - 20rem);
border-radius: 0.5rem;
box-shadow: 0 10px 15px 5px #6c6e6f;
}
.popup-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;
}
.popup-body {
width: calc(100% - 2rem);
height: calc(100% - 5rem);
padding: 1rem 1rem;
}
.popup-body-main {
height: calc(100% - 4rem);
overflow-y: auto;
overflow-x: hidden;
}
tr.tr-intermediate {
font-weight: 500;
}
th.th-route, td.td-route {
height: 4rem;
line-height: 1.25rem;
text-align: center;
padding: 0 0.5rem;
}
td.address {
font-size: 0.8rem;
text-align: justify;
line-height: 1rem;
}
tr.tr-departure, tr.tr-arrival {
font-weight: 700;
}
.popup-body-footer {
text-align: center;
margin-top: 1rem;
}
.popup-footer-link-button {
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 {
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:hover, .popup-footer-link-button:hover {
opacity: 0.8;
}
/* table */
table {
width: 100%;
border-collapse: collapse;
border: 1px solid #d7dce1;
}
th {
height: 6rem;
line-height: 1.6rem;
background: #e6e9ed;
border: 1px solid #d7dce1;
padding: 0 1rem;
font-size: 1rem;
text-align: start;
font-weight: 700;
color: #777a7e;
}
tr {
line-height: 5rem;
background-color: white;
}
tr:hover {
background-color: #dee9f4;
}
td {
padding: 0 1rem;
border: 1px solid #d7dce1;
text-align: center;
}