ln.skyscanner/templates/static/css/style.css

536 lines
7.6 KiB
CSS

body {
padding: 0px;
margin: 0px;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
display: block;
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
}
div {
margin: 0px;
padding: 0px;
flex-grow: 0;
}
div#body {
display: flex;
height: 100%;
width: 100%;
flex-direction: column;
}
h1,h2,h3,h4,h5,h6 {
margin: 0px;
padding:2px;
}
h1 > div {
display: inline;
}
h1 {
font-size: 18px;
border-bottom: 1px solid black;
}
h2 {
font-size: 14px;
}
.h1 {
display: block;
width: 100%;
border-bottom: 2px solid black;
margin-bottom: 4px;
font-size: 18px;
}
a {
text-decoration: none;
color: inherit;
}
table {
border-collapse: collapse;
}
table > thead {
font-style: italic;
background-color: #A0D0FF;
transition: background-color 1000ms;
}
table > tbody {
}
table td {
vertical-align: top;
padding: 4px;
padding-left: 8px;
padding-right: 8px;
margin: 0px;
border-bottom: 1px solid #A0D0FF;
}
table td:first-child {
border-left: 1px solid #A0D0FF;
}
table td:last-child {
border-right: 1px solid #A0D0FF;
}
table > tbody tr {
transition: background-color 250ms;
}
table > tbody tr:hover {
background-color: #D0FFFF;
color: black;
transition: background-color 250ms;
}
#header {
top: 0px;
left: 0px;
right: 0px;
border-bottom: 1px solid black;
background-color: #c7def5;
padding: 4px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
#header > div {
margin: 4px;
}
#footer {
height: 20px;
padding: 6px;
padding-left: 24px;
background-color: #c7def5;
border-top: 1px solid black;
flex-grow: 0;
flex-shrink: 0;
}
#page {
display: flex;
top: 56px;
bottom: 32px;
left: 0px;
right: 0px;
flex-grow: 1;
flex-direction: row;
}
#nav {
display: flex;
left: 0px;
top: 0px;
bottom: 0px;
padding: 6px;
flex-grow: 0;
}
#content {
padding: 8px;
padding-top: 16px;
overflow: auto;
flex-grow: 1;
}
.scroll {
position: absolute;
top: 0;
bottom: 0;
overflow: scroll;
}
.scroll-y {
overflow-y: scroll;
}
.scroll-x {
overflow-x: scroll;
}
.align-right {
text-align: right;
}
.fill {
flex-grow: 1;
flex-shrink: 1;
}
.right {
float: right;
right: 0px;
}
.flex {
display: flex;
position: relative;
}
.wrap {
flex-wrap: wrap;
}
.flex.row {
flex-direction: row;
}
.flex.column {
flex-direction: column;
}
.flex > div {
margin: 4px;
display: inline-block;
}
.flex > div.flex {
display: flex;
}
.skylogo {
display: inline-block;
border: 1px solid black;
font-size: 18px;
font-weight: 800;
flex-grow: 0;
flex-shrink: 0;
}
.skylogo > div {
display: inline-block;
padding: 4px;
}
.indicator {
margin-left: 4px;
margin-right: 4px;
padding-top: 5px;
padding-left: 5px;
display: inline-block;
font-size: 12px;
width: 140px;
height: 18px;
border-radius: 8px;
color: #C0C0C0;
background-color: #009ee3;
}
.indicator > div {
border-radius: 50%;
background-color: #404040;
display: inline-block;
width: 11px;
height: 11px;
margin-bottom: -1px;
margin-right: 4px;
}
.indicator[state="STOPPING"] > div {
background-color: #C0C000;
}
.indicator[state="STARTED"] > div {
background-color: #00D000;
}
.indicator[state="FAILED"] > div {
background-color: #D00000;
}
.indicator[state="INITIALIZED"] > div {
background-color: #00D0D0;
}
.group {
min-width: 240px;
}
.group.right {
width: 24%;
border-left: 1px solid black;
padding-left: 8px;
top: 0px;
bottom: 0px;
}
#navigation h1 {
font-size: 14px;
border: none;
}
#navigation > div {
display: block;
margin-right: 16px;
}
#navigation > div > h1 {
margin-top: 8px;
margin-bottom: 4px;
}
#navigation > div > div {
margin-left: 8px;
}
#content > div {
margin: 6px;
}
fieldset {
display: inline-block;
min-width: 280px;
max-width: 500px;
}
fieldset > label {
display: inline-block;
min-width: 140px;
}
.popup {
border: 2px solid rgba(0,0,0,0);
position: relative;
display: inline-block;
padding: 4px;
z-index: 1;
font-size: 16px;
transition: background-color 250ms;
}
.popup:hover {
border: 1px solid black;
border-bottom: 3px solid white;
border-radius: 6px 6px 0px 0px;
background-color: #dbe7f3;
transition: background-color 250ms;
}
.popup > div {
visibility: hidden;
opacity: 0;
transition: opacity 250ms;
display: block;
position: absolute;
z-index: -1;
left: -1px;
top: 26px;
min-width: 140px;
max-width: 240px;
background-color: white;
border: 1px solid black;
border-radius: 0px 6px 6px 6px;
padding: 8px;
}
.popup:hover > div {
visibility: visible;
opacity: 1;
transition: opacity 250ms;
}
.popup > div > div {
position: relative;
display: block;
padding: 4px;
white-space: nowrap;
}
.popup > div > div:hover {
background-color: #dbe7f3;
}
.ui-icon {
background-image: url(images/ui-icons_6495ED_256x240.png);
}
.viewport {
position: relative;
display: block;
border: 1px dotted black;
max-height: 100%;
}
#issue-frame {
}
.issue-box {
display: block;
border-radius: 6px 6px 0px 0px;
border: 3px solid silver;
}
.issue-box > h2 {
font-size: 18px;
}
.issue-box > div {
background-color: white;
color: black;
font-size: 14px;
padding: 4px;
}
.issue-box #History {
max-height: 80px;
overflow-x: hidden;
overflow-y: auto;
}
.issue-OK {
border-color: white;
background-color: inherit;
color: green;
}
.issue-WARN {
border-color: #C0C000;
background-color: #C0C000;
color: black;
}
.issue-CRITICAL {
border-color: red;
background-color: red;
color: white;
}
#CheckState {
font-size: 20px;
}
#CheckState.OK, span#nOK {
color: #00C000;
}
#CheckState.WARN, span#nWARN {
color: #C0C000;
}
#CheckState.CRITICAL, span#nCRITICAL{
color: RED;
margin-right: 12px;
}
#PerfValues > span, #History > span {
display: inline-block;
width: 100%;
}
#History > span {
color: green;
margin-right: 24px;
}
#PerfValues > .WARN, #History > .WARN {
color: #C0C000;
}
#PerfValues > .CRITICAL, #History > .CRITICAL {
color: white;
background-color: red;
}
span#nWARN, span#nCRITICAL, span#nOK {
font-size: 24px;
}
.performance-value > div {
display: inline-block;
margin-right: 8px;
white-space: nowrap;
}
.performance-value > div:last {
margin-right: 0px;
}
.performance-value {
border-bottom: 1px solid black;
}
.issue-box .performance-value > #chartBox {
position: relative;
width: 100%;
height: 100%;
}
.issue-box .performance-value {
position: relative;
height: 100px;
}
.issue-box:hover .performance-value {
height: 250px;
}
[bool=true] {
border: 1px solid white;
background-color: green;
}
[bool=false] {
border: 1px solid white;
background-color: red;
}
.protolink {
position: relative;
display: table-cell;
width: 64px;
height: 64px;
border: 3px solid white;
border-radius: 28px;
text-align: center;
vertical-align: middle;
background-color: #009ee3;
color: white;
}
.protolink > div {
font-family: 'Courier New', Courier, monospace;
font-size: 14px;
font-weight: bold;
font-style: normal;
text-decoration: underline;
}