status/style.css
2024-01-26 14:32:42 +01:00

316 lines
4.5 KiB
CSS

@charset "utf-8";
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font: 76%/1.6 Verdana, Arial, Helvetica, sans-serif;
}
#container {
margin-left: auto;
margin-right: auto;
max-width: 994px;
min-height: 100%;
padding-bottom: 60px;
}
#top-links, #header {
background-color: #002e5f;
color: white;
}
#header {
height: 109px;
margin-top: -1px;
}
#header-su-responsive {
float: left;
margin-top: 16px;
padding-left: 2%;
}
#header-su-responsive > img {
width: 94%;
}
#sec-logo-text {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 1.4em;
line-height: 1.2;
margin-top: -3px;
padding-left: 3%;
padding-right: 3%;
}
#header-dsv {
float: left;
margin-left: 24px;
}
#header-su {
float: right;
margin-right: 24px;
}
/*
* Content styling
* ---------------
*/
#contents {
font-family: "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
margin-left: auto;
margin-right: auto;
margin-bottom: 40px;
padding-top: 12px;
}
/*
* Footer styling
* --------------
*/
#footer {
border-top: 1px solid #d2d7dc;
font-size: 10px;
margin-bottom: 17px;
margin-top: 60px;
}
#footer b {
font-size: 12px;
}
#footer a:link {
color: #005b7f;
}
#footer a:hover {
color: #000;
}
#footer-left {
display: inline-block;
float: left;
padding-top: 11px;
padding-left: 11px;
}
#footer-right {
display: inline-block;
float: right;
padding-top: 11px;
padding-right: 11px;
}
/*
* Media queries
* -------------
*/
/* Small devices (only used for provider block sizing) */
@media screen and (max-width: 480px) {
#header-dsv {
display: none;
}
#header-su {
display: none;
}
#contents {
width: 90%;
}
}
/* Small devices (phones and small tablets) */
@media screen and (min-width: 481px) {
#header-dsv {
display: none;
}
#header-su {
display: none;
}
#contents {
width: 95%;
}
#contents .selection-box {
/*display: table-cell;*/
margin-top: 14px;
margin-bottom: 24px;
width: 32%;
vertical-align: top;
padding-left: 5px;
padding-right: 5px;
}
}
/* Fix for footer right links on cramped screens */
@media screen and (max-width: 600px;) {
#footer-left,
#footer-right {
display: block;
}
#contents {
width: 95%;
}
}
/* Small tablets */
@media screen and (min-width: 600px) {
#header-su-responsive {
display: none;
}
#sec-logo-text {
display: none;
}
#header-dsv {
display: inline-block;
width: 40%;
}
#header-dsv > img {
width: 100%;
}
#header-su {
display: none;
}
#contents {
width: 95%;
}
}
/* Tablets */
@media (min-width: 767px) {
#header {
height: 150px;
}
#header-dsv {
width: auto;
}
#contents {
width: 90%;
}
#button {
display: block;
}
}
/* Large tablets (landscape) and small desktops */
@media screen and (min-width: 820px) {
#header-su {
display: inline-block;
}
}
/* Large desktop */
@media screen and (min-width: 940px) {
#container {
background-image: url(images/container-repeater.gif);
background-position: left top;
background-repeat: repeat-y;
padding-left: 3px;
padding-right: 3px;
}
}
/* Local styles */
.alert {
padding: 8px 35px 8px 14px;
margin-bottom: 20px;
color: #836636;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
background-color: #FEEFB3;
border: 1px solid #dfdfdf;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
font-size: 16px;
text-align: center;
}
.room {
margin-top: 15pt;
margin-bottom: 10pt;
border: 1px solid #dfdfdf;
border-radius: 4pt;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
overflow: hidden;
}
.roomname {
background-repeat: no-repeat;
background-position: 4pt center;
background-size: 32px 32px;
padding-top: 4pt;
padding-bottom: 4pt;
font-size: 160%;
font-weight: 300;
text-align: center;
cursor: pointer;
}
.safe {
background-color: #dff0d8;
background-image: url(images/ok.svg);
color: #468847;
}
.warning {
background-color: #f2dede;
background-image: url(images/high_priority.svg);
color: #b94a48;
}
.safe:hover,
.safe:active {
background-color: #a0cd8e;
}
.warning:hover,
.warning:active {
background-color: #dca7a7;
}
.collapsed > .roomdata {
display: none;
}
.roomdata {
padding-top: 10px;
padding-bottom: 10px;
}
.roomdata > * {
width: 90%;
margin: auto;
font-size: 140%;
}
.roomdata li p {
white-space: nowrap;
display: inline;
}