mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-11 03:37:42 +00:00
251 lines
3.8 KiB
CSS
251 lines
3.8 KiB
CSS
body {
|
|
margin: 0;
|
|
font-family: 'Muli', 'Helvetica', 'Arial', sans-serif;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.header {
|
|
background-color: #fff;
|
|
padding: 20px 20px;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.header .header-content {
|
|
margin: 0 auto;
|
|
width: 900px;
|
|
}
|
|
|
|
.header .header-right {
|
|
float: right;
|
|
}
|
|
|
|
.header .logo {
|
|
width: 280px;
|
|
}
|
|
|
|
.header span.oss-text {
|
|
color: #23103A;
|
|
display: block;
|
|
font-size: 11px;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.header a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.header .ro-logo {
|
|
height: 44px;
|
|
}
|
|
|
|
.dashboard-content {
|
|
width: 960px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.charts {
|
|
height: 405px;
|
|
}
|
|
|
|
.chart-section {
|
|
float: left;
|
|
margin: 25px 20px;
|
|
padding: 30px;
|
|
width: 300px;
|
|
height: 320px;
|
|
color: #333;
|
|
background-color: #fff;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
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: 28px;
|
|
text-align: center;
|
|
}
|
|
|
|
#clusterScoreChart {
|
|
width: 260px;
|
|
height: 260px;
|
|
}
|
|
|
|
#namespaceScoreChart {
|
|
width: 520px;
|
|
height: 260px;
|
|
}
|
|
|
|
.namespace {
|
|
margin: 25px 20px;
|
|
padding: 10px 20px;
|
|
color: #333;
|
|
background-color: #fff;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.namespace h3 {
|
|
margin: 0;
|
|
font-weight: 300;
|
|
font-size: 28px;
|
|
padding: 15px 20px 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: 15px 25px 6px;
|
|
}
|
|
|
|
.namespace-content .extra ul {
|
|
list-style-type: none;
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
margin: 5px 35px;
|
|
padding: 0;
|
|
color: #6a6a6a;
|
|
}
|
|
|
|
.namespace-content .extra ul li {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.namespace-content .extra i {
|
|
display: inline-block;
|
|
margin-right: 7px;
|
|
text-align: center;
|
|
width: 20px;
|
|
font-size: 17px;
|
|
font-weight: bold;
|
|
position: relative;
|
|
bottom: -3px;
|
|
}
|
|
|
|
.namespace-content .extra .success i {
|
|
color: #8BD2DC;
|
|
}
|
|
|
|
.namespace-content .extra .warning i {
|
|
color: #f26c21;
|
|
}
|
|
|
|
.namespace-content .extra .error i {
|
|
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;
|
|
}
|
|
|
|
.footer {
|
|
text-align: center;
|
|
padding-top: 10px;
|
|
padding-bottom: 30px;
|
|
}
|
|
|
|
.footer a {
|
|
color: #999;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer a:hover {
|
|
text-decoration: underline;
|
|
}
|