prometheus/web/ui/static/css/targets.css
James Turnbull c3f4f2204f Refactor/redesign Unhealthy checkbox on Targets page (#3913)
* Added only healthy to Targets

This adds a "Only heathly" button to supplement the "Only unhealthy"
button. The two are mutually exclusive.

I've also added a red/green text color to the buttons.

Arguably this could be a toggle instead if folks think this is
worthwhile... Happy to modify it.

* Moved functions above init

* Simplifed code and made prettier

* Appeased codeacy

* Made buttons square
2018-03-09 11:19:09 +01:00

43 lines
574 B
CSS

h2.job_header {
font-size: 20px;
font-weight: bold;
cursor: pointer;
}
h2.danger a {
color: rgb(242, 65, 65);
}
div#showTargets .btn {
border-radius: 0px;
}
.table-container button.targets {
padding: 0.3em;
font-size: 0.6em;
border-radius: 0;
font-weight: 400;
}
.table-container table {
width: 100%;
}
.table-container table tr td {
height: auto;
word-wrap: break-word;
word-break: break-all;
}
td.endpoint, td.labels {
width: 25%;
}
td.state, td.last-scrape {
width: 10%;
}
td.errors {
width: 30%;
}