mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-09 10:47:05 +00:00
221 lines
3.5 KiB
CSS
221 lines
3.5 KiB
CSS
body {
|
|
margin: 0;
|
|
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
|
|
background: #eee;
|
|
}
|
|
|
|
.header {
|
|
background-color: #fff;
|
|
padding: 10px 20px;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.header h1 {
|
|
margin: 0 auto;
|
|
width: 900px;
|
|
}
|
|
|
|
.header h1 .logo {
|
|
width: 280px;
|
|
}
|
|
|
|
.header h1 span {
|
|
font-family: 'Lobster', sans-serif;
|
|
font-size: 60px;
|
|
font-weight: normal;
|
|
display: none;
|
|
}
|
|
|
|
.dashboard-content {
|
|
width: 960px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.charts {
|
|
height: 400px;
|
|
}
|
|
|
|
.chart-section {
|
|
float: left;
|
|
margin: 20px;
|
|
padding: 30px;
|
|
width: 300px;
|
|
height: 320px;
|
|
color: #333;
|
|
background-color: #fff;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.chart-section.namespace-score {
|
|
margin-left: 0px;
|
|
width: 480px;
|
|
}
|
|
|
|
.chart-section h3 {
|
|
margin: 0 0 15px;
|
|
padding: 0 0 15px;
|
|
font-weight: 300;
|
|
font-size: 30px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
#clusterScoreChart {
|
|
width: 260px;
|
|
height: 260px;
|
|
}
|
|
|
|
#namespaceScoreChart {
|
|
width: 520px;
|
|
height: 260px;
|
|
}
|
|
|
|
.namespace {
|
|
margin: 20px;
|
|
padding: 10px 20px;
|
|
color: #333;
|
|
background-color: #fff;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.namespace h3 {
|
|
margin: 0;
|
|
font-weight: 300;
|
|
font-size: 30px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.namespace h3 strong {
|
|
margin: 0;
|
|
font-weight: bold;
|
|
font-size: 30px;
|
|
}
|
|
|
|
.cluster-score .status {
|
|
width: 400px;
|
|
height: 30px;
|
|
margin: 30px auto;
|
|
}
|
|
|
|
.namespace-content {
|
|
width: 100%;
|
|
border-spacing: 0;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.namespace-content tr {
|
|
height: 50px;
|
|
}
|
|
|
|
.namespace-content td {
|
|
padding: 15px 20px;
|
|
margin: 0;
|
|
font-size: 18px;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
.namespace-content .resource-info .name {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.namespace-content .resource-info .caret-expander {
|
|
display: inline-block;
|
|
width: 15px;
|
|
height: 15px;
|
|
margin-right: 10px;
|
|
background-image: url('../images/caret-right.svg');
|
|
background-size: 13px auto;
|
|
background-repeat: no-repeat;
|
|
background-position: 2px center;
|
|
}
|
|
|
|
.namespace-content .resource-info.expanded .caret-expander {
|
|
background-image: url('../images/caret-bottom.svg');
|
|
background-position: center 2px;
|
|
}
|
|
|
|
.namespace-content .resource-info .extra {
|
|
display: none;
|
|
color: #6a6a6a;
|
|
}
|
|
|
|
.namespace-content .resource-info.expanded .extra {
|
|
display: block;
|
|
}
|
|
|
|
.namespace-content .extra h4 {
|
|
font-weight: bold;
|
|
font-size: 15px;
|
|
margin: 12px 25px 5px;
|
|
}
|
|
|
|
.namespace-content .extra ul {
|
|
list-style-type: none;
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
margin: 5px 35px;
|
|
padding: 0;
|
|
color: #6a6a6a;
|
|
}
|
|
|
|
.namespace-content .extra span {
|
|
display: inline-block;
|
|
text-align: center;
|
|
width: 20px;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
position: relative;
|
|
bottom: -1px;
|
|
}
|
|
|
|
.namespace-content .extra .success span {
|
|
color: #8BD2DC;
|
|
}
|
|
|
|
.namespace-content .extra .warning span {
|
|
color: #f26c21;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.namespace-content .extra .failure span {
|
|
color: #a11f4c;
|
|
}
|
|
|
|
.namespace-content td.status-bar {
|
|
vertical-align: top;
|
|
padding-top: 18px;
|
|
}
|
|
|
|
.namespace-content .status {
|
|
float: right;
|
|
width: 200px;
|
|
}
|
|
|
|
.namespace-content .status div {
|
|
height: 15px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.namespace-content .status .passing {
|
|
background-color: #8BD2DC;
|
|
float: left;
|
|
}
|
|
|
|
.namespace-content .status .warning {
|
|
background-color: #f26c21;
|
|
float: left;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
0% {opacity: 0;}
|
|
100% {opacity: 1;}
|
|
}
|
|
|
|
.namespace-content .status .failing {
|
|
background-color: #a11f4c;
|
|
width: 200px;
|
|
animation: fadeIn 2s;
|
|
}
|
|
|