mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-18 11:34:05 -08:00
4486ef013b
After removing the checkbox in #3913 the only remaining element that looked like it was the new Show Annotations checkbox on the Alerts page. Which in turn didn't look like the Enable query history checkout on the graph page. So: 1. This takes the Enable query history button as canonical. 2. Updates the show annotations button code to match it. 3. Simplifies the JS for the checkbox.
30 lines
383 B
CSS
30 lines
383 B
CSS
.alert_header {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.alert_details {
|
|
display: none;
|
|
}
|
|
|
|
div.show-annotations {
|
|
font-size: 0.8em;
|
|
padding-top: 1em;
|
|
padding-bottom: 1em;
|
|
}
|
|
|
|
div.show-annotations:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
div.show-annotations button {
|
|
background-color: transparent;
|
|
border: none;
|
|
outline: none;
|
|
padding: 0;
|
|
}
|
|
|
|
div.show-annotations.is-checked {
|
|
color: #286090;
|
|
}
|
|
|