kai.infodb/view-train.css

148 lines
2.1 KiB
CSS
Raw Permalink Normal View History

2022-07-13 00:33:59 +03:00
.station {
color: black;
}
2022-07-25 04:00:59 +03:00
.rsk {
cursor: pointer;
}
2022-07-13 01:43:43 +03:00
#comp-date {
display: flex;
justify-content: space-between;
}
2022-07-13 00:33:59 +03:00
#company {
2022-07-13 01:43:43 +03:00
text-align: start;
}
#date {
text-align: end;
2022-07-13 00:33:59 +03:00
}
.stationItem {
display: grid;
2022-07-25 04:00:35 +03:00
grid-template-columns: 1fr auto 1fr;
2022-07-13 00:33:59 +03:00
grid-template-rows: auto;
grid-template-areas:
"arr name dep"
"arr km dep"
2022-08-28 04:35:42 +02:00
"arr platform dep"
"arr notes dep";
2022-07-13 00:33:59 +03:00
padding: 4px 0;
page-break-inside: avoid;
2022-07-13 00:33:59 +03:00
}
.stationItem:nth-of-type(even) {
background-color: #fafafa;
}
2023-10-24 08:53:55 +02:00
.stationItem.cancelled:nth-of-type(odd) {
background-color: #fffafa;
}
.stationItem.cancelled:nth-of-type(even) {
background-color: #ffeaea;
}
2022-07-13 00:33:59 +03:00
.stationItem .name {
text-align: center;
grid-area: name;
}
2023-10-24 08:53:55 +02:00
.stationItem.not-in-journey .name, .stationItem.not-in-journey .arrival, .stationItem.not-in-journey .departure {
color: grey;
}
.stationItem.cancelled .name {
text-decoration: line-through;
text-decoration-color: red;
color: red;
}
2022-07-13 00:33:59 +03:00
.stationItem .arrival {
text-align: start;
grid-area: arr;
align-items: flex-start;
}
.stationItem .departure {
text-align: end;
grid-area: dep;
align-items: flex-end;
}
2022-12-25 09:52:34 +02:00
.stationItem .arrival, .stationItem .departure {
2022-07-13 00:33:59 +03:00
align-self: center;
display: flex;
flex-direction: column;
}
.stationItem .arrival .original, .stationItem .departure .original {
color: #a0a0a0;
text-decoration: line-through;
}
.stationItem .arrival .not-real, .stationItem .departure .not-real {
font-style: italic;
}
.stationItem .km {
text-align: center;
grid-area: km;
}
.stationItem .platform {
text-align: center;
grid-area: platform;
}
2022-07-19 10:25:04 +03:00
2023-10-24 08:53:55 +02:00
.stationItem .platform.changed {
color: red;
}
2022-08-28 04:35:42 +02:00
.stationItem .notes {
grid-area: notes;
}
.stationItem .note {
text-align: center;
}
2023-10-24 08:53:55 +02:00
.remarkItem {
margin-top: 4px;
margin-bottom: 4px;
}
.remarkItem:nth-of-type(even) {
background-color: #fafafa;
}
2022-07-19 10:25:04 +03:00
.last-refreshed {
font-size: 12px;
text-transform: none;
}
2023-10-24 08:53:55 +02:00
.remark-status, .remark-status * {
color: red !important;
}
.remark-board, .remark-exit {
color: blue !important;
}
#actual-map {
height: 500px;
}
#actual-map a {
display: initial;
padding: initial;
color: inherit;
font-size: inherit;
font-weight: inherit;
}