publik-base-theme/static/toodego/_tcl.scss

77 lines
1.4 KiB
SCSS

div.tcl {
div.tile-content {
margin-top: 0;
}
table.passings {
margin: 0;
padding: 0;
}
span.line-number {
display: inline-block;
padding: 2px 5px;
}
td.passings {
text-align: right;
}
span.line-symbol {
white-space: pre;
}
span.line-prefix, span.line-suffix {
display: inline-block;
color: white;
padding: 2px 5px;
border: 1px solid transparent;
font-weight: bold;
@media screen and (max-width: $desktop-limit) {
font-size: 80%;
}
}
span.line-prefix {
background: #ed1c24;
border: 1px solid #ed1c24;
margin-right: 1px;
border-top-left-radius: 5px 50%;
border-bottom-left-radius: 5px 50%;
}
td.line-number.busline {
span.line-suffix {
border: 1px solid #ed1c24;
color: #ed1c24;
}
}
td.line-number {
width: 5rem;
@media screen and (max-width: $desktop-limit) {
vertical-align: top;
}
}
td.line-arrow { width: 1em; }
@media screen and (max-width: $desktop-limit) {
td.line-arrow { display: none; }
}
span.passings {
border-radius: 5px;
white-space: nowrap;
font-size: 70%;
span {
margin-left: 0.5rem;
@media screen and (max-width: $desktop-limit) {
margin-left: 0;
margin-right: 0.5rem;
}
padding: 1.5ex 1ex;
display: inline-block;
text-align: center;
}
span:first-child {
border: 1px solid $red;
color: $red;
}
span:last-child {
border: 1px solid #666;
color: #666;
}
}
}