This repository has been archived on 2023-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
web/styles/boards.css

366 lines
5.8 KiB
CSS

/* Hide when loading */
.hide-when-loading {
display: none;
}
/* Main Notices: */
.main-notice {
display: none;
margin-top: 150px;
}
.notices-hidden {
display: none;
}
#no_services {
width: 75%;
margin: auto;
margin-top: 110px;
margin-bottom: 30px;
font-size: 20px;
font-weight: 900;
}
/* Fixed Content: */
#header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
background-color: var(--overlay-color);
color: var(--second-text-color);
}
#station_name {
position: absolute;
max-width: 50%;
left: 7px;
top: 3px;
}
.header-large{
left: 0;
text-align: left;
font-size: 13pt;
margin-top: -2px;
overflow-wrap: anywhere;
text-transform: capitalize;
}
@media (min-width: 380px){
.header-large{
font-size: 13pt;
margin-top: 9px;
white-space: nowrap;
}
}
@media (min-width: 580px){
.header-large{
font-size: 19pt;
margin-top: 5px;
white-space: nowrap;
}
}
#refresh {
position: absolute;
right: 60px;
top: 12px;
cursor: pointer;
}
#refresh img {
width: 25px;
height: 25px;
}
#home_icon {
position: absolute;
width: 30px;
right: 10px;
top: 10px;
}
.header-small {
text-align: right;
padding-right: 5px;
margin: 3px;
}
/* NRCC Notices */
#alerts{
display: none;
position: fixed;
width: 100%;
left: 0;
top: 0;
}
#alerts_bar{
display: none;
position: absolute;
margin-top:50px;
left: 0;
width: 100%;
height: 40px;
background-color: var(--main-alert-color);
color: var(--second-text-color);
cursor: pointer;
}
#alert_icon{
position: absolute;
left: 10px;
margin-top: 5px;
width: 30px;
height: 30px;
}
#alert_bar_note {
position: relative;
text-align: center;
margin: auto;
margin-top: 8px;
font-weight: 900;
}
#alert_expand_arrow {
position: absolute;
right: 0;
top: 0;
padding: 10px;
padding-right: 15px;
padding-left: 15px;
background: none;
border: none;
font-weight: 900;
color: var(--second-text-color);
transition: transform 0.25s linear;
cursor: pointer;
}
#alerts_msg{
display: none;
position: absolute;
left: 0;
top: 40px;
width: 100%;
background-color: var(--main-alert-color);
background-image: radial-gradient(var(--second-alert-color) 10%,var(--main-alert-color) 70%); /* Undecided whether this actually looks better than plain orange? */
}
#alerts_msg p {
width: 90%;
margin-left: auto;
margin-right: auto;
font-weight: 900;
}
/* Content */
#output {
display: none;
width: 100%;
margin-top: 65px;
}
table {
color: white;
width: 100%;
margin-top: 3px;
font-size: 10.5px;
}
caption{
padding-top: 5px;
padding-bottom: 10px;
font-size: larger;
font-weight: 900;
}
.secondary-table{
margin-top: 25px;
}
.name{
width: 25%;
text-align: left;
}
.detail-name-head {
text-align: left;
}
.detail-name{
text-align: left;
}
.name-item, .name, .plat, .time {
font-size: 12px;
}
.name-item {
color: var(--board-name-color);
cursor: pointer;
}
.plat{
width: 4%;
text-align: center;
}
.time{
width: 11.5%;
text-align: center;
}
.msg{
width: 95%;
font-size: 10px;
margin: 0;
margin-left: 3px;
text-align: left;
color: var(--note-text-color);
}
.close-data {
position: absolute;
right: 19px;
top: -8px;
font-weight: 900;
cursor: pointer;
}
@media (min-width: 800px) {
.detail-name-head, .name-item, .name, .plat, .time, .close-data {
font-size: 16px;
}
.msg {
font-size: 13px
}
}
@media (min-width: 1000px) {
.detail-name-head, .name-item, .name, .plat, .time, .close-data {
font-size: 18px;
}
.msg {
font-size: 14px
}
}
@media (min-width: 1600px) {
.detail-name-head, .name-item, .name, .plat, .time, .close-data {
font-size: 20px;
}
.msg {
font-size: 15px
}
}
.call-data {
display: none;
border-radius: 20px;
width: 93%;
max-height: 75%;
position: fixed;
z-index: 10;
top: 50px;
left: 0;
margin: 2%;
padding-top: 30px;
padding-left: 5px;
padding-right: 5px;
padding-bottom: 10px;
margin-bottom: 25px;
background-color: var(--overlay-color);
overflow: auto;
}
.detail-name {
overflow: hidden;
}
.detail-name:after {
content: "";
display: inline-block;
height: 0.5em;
vertical-align: bottom;
width: 100%;
margin-right: -100%;
margin-left: 30px;
border-top: 1px solid;
}
.call-table {
margin: auto;
width: 90%;
}
.detail-name-here {
color: var(--board-name-color);
}
.detail-table-content {
font-size: 13px;
}
@media (min-width: 800px) {
.detail-table-content {
font-size: 20px;
}
}
@media (min-width: 1000px) {
.detail-table-content {
font-size: 21px;
}
}
@media (min-width: 1600px) {
.detail-table-content {
font-size: 22px;
}
}
.changed{
animation: pulse-change 1.5s linear infinite;
}
.cancelled {
animation: pulse-cancel 1.5s linear infinite;
}
/* Footer: */
#footer {
position: fixed;
bottom: -1px;
left: 0;
width: 100%;
height: 40px;
background-image: linear-gradient(to left, var(--accent-color), azure 190px);
}
#footer img {
height: 25px;
}
#nre_logo {
position: absolute;
left: 15px;
top: 6px;
}
#timeblock {
position: absolute;
top: 0;
right: 0;
color: azure;
margin-top: 0;
font-size: 13px;
}
/* Animations */
@keyframes pulse-change {
50% {
color: var(--main-warning-color);
}
}
@keyframes pulse-cancel {
50% {
color: var(--main-alert-color);
}
}