alertmanager/ui/app/css/main.css

167 lines
2.4 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
}
#top-nav a {
color: #fff;
text-decoration: none
}
#top-nav .selected a {
color: #aaa;
}
#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
}
#silence-create {
background: #fff;
2015-11-02 17:51:54 +00:00
width: 100%;
min-width: 400px;
2015-10-15 14:24:02 +00:00
}
.silence .delete-button {
opacity: 0.2;
}
.silence:hover .delete-button {
opacity: 1.0;
}
2015-11-06 16:26:06 +00:00
.silence .labels, .alert-item .labels {
background: #bfbfbf;
padding: .8em;
}
2015-11-06 16:26:06 +00:00
.silence .detail, .alert-item .detail {
background: #fff;
padding: .8em;
2015-11-06 16:07:55 +00:00
display: none;
}
2015-11-06 16:26:06 +00:00
.silence:hover .detail, .alert-item:hover .detail {
2015-11-06 16:07:55 +00:00
display: block;
}
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;
}
.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;
2015-10-22 07:49:16 +00:00
font-family: Menlo, Monaco, Consolas, Courier, monospace;
border: 1px solid #ccc;
border-radius: 3px;
background: #555;
color: #fff;
2015-10-22 07:49:16 +00:00
}
.lbl-highlight {
background: #e6522c;
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-10-15 14:24:02 +00:00
.route {
2015-10-22 07:49:16 +00:00
border-left: 1px dotted #c0c0c0;
background: #fff;
}
2015-10-22 07:49:16 +00:00
.route .route {
margin: 0 0 0 1.5em;
}
.route-header {
border-bottom: 1px solid #fff;
padding: .5em .6em;
background: #f0f0f0;
}
.alert-group-header {
border-bottom: 1px solid #fff;
background: rgba(47, 119, 209, .4);
padding: .5em .6em;
}
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);
}