alertmanager/ui/app/css/main.css

278 lines
4.2 KiB
CSS
Raw Normal View History

2015-10-15 14:24:02 +00:00
body {
overflow-y: scroll;
background: #fafafa;
2015-10-15 14:24:02 +00:00
}
header {
padding: 1em 2.5em 1.4em 2.5em;
2015-10-15 14:24:02 +00:00
background: #404040;
}
header #logo {
color: #fff;
float: left;
margin: 0 80px 0 0;
2015-10-15 14:24:02 +00:00
}
2015-11-16 13:47:03 +00:00
header #logo a {
color: inherit;
text-decoration: none;
}
2016-02-09 13:30:02 +00:00
a.gen-link button {
color: #fff !important;
}
2015-10-15 14:24:02 +00:00
#top-nav a {
color: #bbb;
2015-10-15 14:24:02 +00:00
text-decoration: none
}
#top-nav .selected a {
color: #fff;
}
#top-nav a:hover {
color: #fff;
2015-10-15 14:24:02 +00:00
}
#top-nav ul {
float: left;
list-style: none;
margin: 8px 0 0 0 ;
2015-10-15 14:24:02 +00:00
}
#top-nav li {
display: inline-block;
margin-right: 2.2em;
}
#content {
padding: 2.5em;
2015-10-15 14:24:02 +00:00
}
2015-11-11 12:33:33 +00:00
#silence-create, #filter-alerts {
2015-10-15 14:24:02 +00:00
background: #fff;
2015-11-02 17:51:54 +00:00
width: 100%;
min-width: 400px;
2015-10-15 14:24:02 +00:00
}
2016-04-28 02:53:44 +00:00
#alert-groups.hide-silenced .alert-item.silenced {
display: none;
}
2015-11-09 11:33:14 +00:00
.alert-group {
margin-bottom: 5px;
}
2016-02-09 13:30:02 +00:00
.alert-item .details {
float: left;
2015-11-16 13:47:03 +00:00
margin-right: 12px;
2016-02-09 13:30:02 +00:00
}
.alert-item .expand, .silence-item .expand {
2015-11-16 13:47:03 +00:00
opacity: .4;
}
.alert-item:hover .expand, .silence-item:hover .expand {
opacity: 1;
}
.silence-item .labels, .alert-item .labels {
}
.silence-item .labels, .alert-item .labels {
2015-11-09 13:41:06 +00:00
width: 65%;
}
2015-11-09 11:33:14 +00:00
.alert-group-header {
border-bottom: 1px solid #fff;
background: #bfbfbf;
padding: .8em;
}
2015-11-16 20:45:28 +00:00
.silence-item .delete-button,
.silence-item .edit-button,
.alert-item .silence-button {
opacity: 0.25;
}
.silence-item:hover .delete-button,
.silence-item:hover .edit-button,
.alert-item:hover .silence-button {
opacity: 1.0;
}
2015-11-10 10:19:04 +00:00
.active-silences, .elapsed-silences {
margin-bottom: 12px;
}
2015-11-09 11:33:14 +00:00
.alert-item .overview {
background: #f0f0f0;
padding: .8em;
}
.silence-item .overview {
background: #bfbfbf;
padding: .8em;
}
.silence-item.highlight .overview {
2015-11-09 14:30:02 +00:00
background: #dfdfdf;
border: 1px solid #2f77d1;
2015-11-09 14:30:02 +00:00
}
.silence-item .detail, .alert-item .detail {
background: #fff;
padding: .8em;
}
2015-10-15 14:24:02 +00:00
.silence-matchers {
margin-bottom: 5px;
}
.silence-matchers .is-regex {
font-family: monospace;
}
#silences-query {
margin-bottom: 24px;
}
2015-11-16 20:45:28 +00:00
.alert-item .silence-alert, .silence-item .edit-silence {
2015-11-06 16:35:37 +00:00
padding: 1em 2em;
}
2015-10-15 14:24:02 +00:00
.list-item {
background: #fff;
2015-10-22 07:49:16 +00:00
margin-bottom: 1px;
2015-10-15 14:24:02 +00:00
}
.list-item .container-left {
width: 650px;
2015-10-15 14:24:02 +00:00
padding: 1em;
float: left;
background: #777;
2015-10-15 14:24:02 +00:00
color: #eee;
}
2015-10-22 07:49:16 +00:00
.lbl {
display: inline-block;
2015-10-22 07:49:16 +00:00
font-size: 0.7em;
padding: 0 6px;
margin: 0 2px 2px 0;
font-family: Menlo, Monaco, Consolas, sans-serif;
border: 1px solid #ccc;
2015-11-09 13:41:06 +00:00
border-radius: 2px;
background: #555;
color: #fff;
2015-10-22 07:49:16 +00:00
}
.lbl-highlight {
background: #e6522c;
2015-10-15 14:24:02 +00:00
}
.lbl-outline {
color: #555 !important;
background: rgba(255, 255, 255, 0.5) !important;
border: 1px solid #555 !important;
}
2015-10-15 14:24:02 +00:00
2015-11-09 13:41:06 +00:00
.muted-lbl {
background: #ffe47a;
color: #555 !important;
}
.muted-lbl a {
color: #555 !important;
2015-11-09 13:41:06 +00:00
}
2015-11-11 16:53:18 +00:00
.annotations td {
min-width: 200px;
2015-11-09 12:32:41 +00:00
white-space: pre-wrap !important;
2015-11-11 16:53:18 +00:00
word-break: break-all;
word-wrap: break-word;
2015-11-09 12:32:41 +00:00
}
.table-normal.annotations td {
padding: .4em !important;
text-overflow: clip;
}
2015-10-15 14:24:02 +00:00
.list-item .container-right {
border-left: 650px solid #777;
2015-10-15 14:24:02 +00:00
padding: 1em;
}
2015-11-06 16:07:55 +00:00
.active-interval {
color: #aaa;
font-style: italic;
}
2015-11-09 11:03:36 +00:00
.silence-alert {
background: #f0f0f0;
2015-11-09 11:33:14 +00:00
border-top: 1px solid #fff;
2015-10-22 07:49:16 +00:00
border-bottom: 1px solid #fff;
}
2015-12-16 15:40:10 +00:00
input.ng-invalid.ng-touched {
border-color: #de2c3b;
box-shadow: 0 0 0 2px rgba(222, 44, 59, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
}
2015-10-22 08:46:52 +00:00
input.collapse[type=checkbox] {
-webkit-appearance: none;
width: 1em;
height: 1em;
border: none;
}
input.collapse[type=checkbox]:after {
2015-10-22 12:56:55 +00:00
content: '▹';
2015-10-22 08:46:52 +00:00
}
input.collapse.open[type=checkbox]:after {
2015-10-22 12:56:55 +00:00
content: '▿';
2015-10-22 08:46:52 +00:00
}
2015-10-22 09:10:59 +00:00
.label.alertname {
background: #fff !important;
}
2015-10-15 14:24:02 +00:00
/**/
input[type="datetime-local"] {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 1.4rem;
padding: 0.9rem 1rem;
line-height: 1;
height: 40px;
outline: none;
background: #ffffff;
border: 1px solid #dfdfdf;
border-radius: 2px;
margin-bottom: 0;
color: rgba(0, 0, 0, 0.85);
2016-04-11 14:20:40 +00:00
}
/* Routing Tree */
.sans-serif {
font: 12px sans-serif;
}
.node circle {
stroke: steelblue;
stroke-width: 1.5px;
}
.node text {
font: 10px sans-serif;
}
.link {
fill: none;
stroke: #ccc;
stroke-width: 1.5px;
}
.label-input {
padding: 2px 0;
width: 500px;
}
.config-yml {
border-color: #ddd;
height: 760px;
padding: 2px 0;
width: 450px;
font-family: monospace;
}
.block {
display: block;
}
.inline-block {
display: inline-block;
}