prometheus/web/ui/static/css/graph.css

205 lines
3.1 KiB
CSS
Raw Normal View History

body {
margin: 0;
}
.eval_stats {
font-size: 11px;
}
div.query-history {
font-size: 0.8em;
padding-top: 1em;
}
div.query-history:hover {
cursor: pointer;
}
div.query-history button {
background-color: transparent;
border: none;
outline: none;
padding: 0;
Update to Bootstrap 4.1.3 (#5192) * web: updated bootstrap3-typeahead file to work with bootstrap 4.0.0 Signed-off-by: Andrew Chiu <[email protected]> * web: Replaced bootstrap-3.3.1 with bootstrap 4.0.0 Signed-off-by: Andrew Chiu <[email protected]> * web: Added bootstrap4-glyphicons as 4.0.0 doesnt include bootstrap3 glyphicons Signed-off-by: Andrew Chiu <[email protected]> * web: updated js jquery to 3.3.1 Signed-off-by: Andrew Chiu <[email protected]> * web: updated _base.html to import new bootstrap 4.0.0, jquery3.3.1 and bootstrap class tags to be 4.0 compatible Signed-off-by: Andrew Chiu <[email protected]> * web: _base.html missed word out in title tag (Server). Signed-off-by: Andrew Chiu <[email protected]> * web: updated alerts.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated config.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated flags.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated service-discovery.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated status.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated targets.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated graph_template.handlebar class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: alerts.css fix for button color inheritance on alerts page. Signed-off-by: Andrew Chiu <[email protected]> * web: graph.css fix for color inheritance. Signed-off-by: Andrew Chiu <[email protected]> * web: prometheus.css updated to fix nav bar. Signed-off-by: Andrew Chiu <[email protected]> * web: previous merge conflict not fixed correctly on _base.html Signed-off-by: Andrew Chiu <[email protected]> * menu.lib and prom.lib imports updated Signed-off-by: ksherryBAE <[email protected]> * bootstrap 4.1.3 imported Signed-off-by: ksherryBAE <[email protected]> * Bootstrap 4.1.3 imported into _base.html Signed-off-by: ksherryBAE <[email protected]> * bootstrap 4.1.3 imported into prom.lib Signed-off-by: ksherryBAE <[email protected]> * menu.lib style adjusted to view sidebar Signed-off-by: ksherryBAE <[email protected]> * Alert colour uplifted to bootstrap 4.1.3 Signed-off-by: ksherryBAE <[email protected]> * Alerts display code reformatted similarly to config Signed-off-by: ksherryBAE <[email protected]> * Consoles pages adjusted to account for new navbar Signed-off-by: ksherryBAE <[email protected]> * LHS Menu fixed in console pages Signed-off-by: ksherryBAE <[email protected]> * Minor changes to prom_console to adjust lhs nav Signed-off-by: ksherryBAE <[email protected]> * Prom.lib and some css updated to fix console graph controls Signed-off-by: ksherryBAE <[email protected]> * Bootstrap 4.0.0 files removed Signed-off-by: ksherryBAE <[email protected]> * Consoles configured so that the graph fits with the new side bar, css files also adjusted Signed-off-by: ksherryBAE <[email protected]> * Import popper.min.js for dropdowns Signed-off-by: ksherryBAE <[email protected]> * Popper.min.js imported locally Signed-off-by: ksherryBAE <[email protected]> * Re-added #4764 and fixed css Signed-off-by: ksherryBAE <[email protected]> * Removed .DS_Store Signed-off-by: ksherryBAE <[email protected]> * Rebuilt assets Signed-off-by: ksherryBAE <[email protected]> * Spaces between buttons and inputs on graph page removed Signed-off-by: ksherryBAE <[email protected]> * fixed spacing in buttons on /targets Signed-off-by: Pritam Bhudia <[email protected]> * Updated vfsdata.go Signed-off-by: Pritam Bhudia <[email protected]> * fixed typeahead issue Signed-off-by: James Ritchie <[email protected]> * added css for dropdown Signed-off-by: James Ritchie <[email protected]> * changed order of css imports Signed-off-by: James Ritchie <[email protected]> * tinkered with CSS changes to make keyboard select and mouseover match Signed-off-by: James Ritchie <[email protected]>
2019-02-07 13:18:09 -08:00
color: inherit;
}
div.query-history.is-checked {
color: #286090;
}
div.page-options {
display: flex;
}
.graph_wrapper {
2015-01-19 05:27:07 -08:00
margin-top: 12px;
}
.graph {
position: relative;
2013-07-01 05:47:43 -07:00
left: 40px;
min-height: 400px;
}
#add_graph {
margin-top: 10px;
}
.nav-tabs {
2015-01-19 05:27:07 -08:00
margin-top: 10px;
}
.nav-tabs > li > a {
padding: 5px 10px;
}
.tab-pane {
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
padding: 5px;
}
2013-07-01 05:47:43 -07:00
.graph svg {
border-top: 1px solid #aaa;
border-right: 1px solid #aaa;
border-bottom: 1px solid #aaa;
}
.legend {
display: inline-block;
vertical-align: top;
margin: 0 0 0 60px;
2013-07-01 05:47:43 -07:00
}
.graph_area {
position: relative;
font-family: Arial, Helvetica, sans-serif;
margin: 5px 0 5px 20px;
2013-07-01 05:47:43 -07:00
}
.y_axis {
overflow: visible;
2013-07-01 05:47:43 -07:00
position: absolute;
top: 1px;
bottom: 0;
width: 40px;
}
.y_axis svg {
overflow: visible;
}
.graph .detail .item.active {
line-height: 1.4em;
padding: 0.5em;
}
.labels {
font-size: 11px;
line-height: 11px;
}
.graph .detail .item .detail_swatch {
float: right;
display: inline-block;
width: 10px;
height: 10px;
margin: 2px 2px 0 8px;
}
input[title]:hover:after {
content: attr(title);
}
2013-04-26 07:50:59 -07:00
.config input, .config select {
height: 12px;
margin-bottom: 0;
}
.config label {
display: inline;
}
.console_table {
margin: 5px 0px;
2013-04-26 07:50:59 -07:00
font-size: 0.8em;
}
select[name="insert_metric"] {
margin-bottom: 0px;
}
.datepicker {
font-size: 10pt;
}
2013-07-24 03:37:51 -07:00
input[name="end_input"], input[name="range_input"] {
margin-left: -1px;
margin-right: -1px;
2013-07-24 03:37:51 -07:00
}
.error, .warning {
padding: 5px;
margin: 2px;
}
2015-01-09 04:55:01 -08:00
.btn, .form-control, .nav-tabs > li > a {
2015-01-09 04:55:01 -08:00
border-radius: 0;
}
.prometheus_input_group {
display: inline-block;
margin: 10px 5px;
2015-01-09 04:55:01 -08:00
overflow: auto;
}
2015-01-20 07:43:23 -08:00
.prometheus_input_group.range_input {
margin-left: 59px;
2015-01-20 07:43:23 -08:00
}
.prometheus_input_group .btn {
font-size: 0.8em;
Update to Bootstrap 4.1.3 (#5192) * web: updated bootstrap3-typeahead file to work with bootstrap 4.0.0 Signed-off-by: Andrew Chiu <[email protected]> * web: Replaced bootstrap-3.3.1 with bootstrap 4.0.0 Signed-off-by: Andrew Chiu <[email protected]> * web: Added bootstrap4-glyphicons as 4.0.0 doesnt include bootstrap3 glyphicons Signed-off-by: Andrew Chiu <[email protected]> * web: updated js jquery to 3.3.1 Signed-off-by: Andrew Chiu <[email protected]> * web: updated _base.html to import new bootstrap 4.0.0, jquery3.3.1 and bootstrap class tags to be 4.0 compatible Signed-off-by: Andrew Chiu <[email protected]> * web: _base.html missed word out in title tag (Server). Signed-off-by: Andrew Chiu <[email protected]> * web: updated alerts.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated config.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated flags.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated service-discovery.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated status.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated targets.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated graph_template.handlebar class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: alerts.css fix for button color inheritance on alerts page. Signed-off-by: Andrew Chiu <[email protected]> * web: graph.css fix for color inheritance. Signed-off-by: Andrew Chiu <[email protected]> * web: prometheus.css updated to fix nav bar. Signed-off-by: Andrew Chiu <[email protected]> * web: previous merge conflict not fixed correctly on _base.html Signed-off-by: Andrew Chiu <[email protected]> * menu.lib and prom.lib imports updated Signed-off-by: ksherryBAE <[email protected]> * bootstrap 4.1.3 imported Signed-off-by: ksherryBAE <[email protected]> * Bootstrap 4.1.3 imported into _base.html Signed-off-by: ksherryBAE <[email protected]> * bootstrap 4.1.3 imported into prom.lib Signed-off-by: ksherryBAE <[email protected]> * menu.lib style adjusted to view sidebar Signed-off-by: ksherryBAE <[email protected]> * Alert colour uplifted to bootstrap 4.1.3 Signed-off-by: ksherryBAE <[email protected]> * Alerts display code reformatted similarly to config Signed-off-by: ksherryBAE <[email protected]> * Consoles pages adjusted to account for new navbar Signed-off-by: ksherryBAE <[email protected]> * LHS Menu fixed in console pages Signed-off-by: ksherryBAE <[email protected]> * Minor changes to prom_console to adjust lhs nav Signed-off-by: ksherryBAE <[email protected]> * Prom.lib and some css updated to fix console graph controls Signed-off-by: ksherryBAE <[email protected]> * Bootstrap 4.0.0 files removed Signed-off-by: ksherryBAE <[email protected]> * Consoles configured so that the graph fits with the new side bar, css files also adjusted Signed-off-by: ksherryBAE <[email protected]> * Import popper.min.js for dropdowns Signed-off-by: ksherryBAE <[email protected]> * Popper.min.js imported locally Signed-off-by: ksherryBAE <[email protected]> * Re-added #4764 and fixed css Signed-off-by: ksherryBAE <[email protected]> * Removed .DS_Store Signed-off-by: ksherryBAE <[email protected]> * Rebuilt assets Signed-off-by: ksherryBAE <[email protected]> * Spaces between buttons and inputs on graph page removed Signed-off-by: ksherryBAE <[email protected]> * fixed spacing in buttons on /targets Signed-off-by: Pritam Bhudia <[email protected]> * Updated vfsdata.go Signed-off-by: Pritam Bhudia <[email protected]> * fixed typeahead issue Signed-off-by: James Ritchie <[email protected]> * added css for dropdown Signed-off-by: James Ritchie <[email protected]> * changed order of css imports Signed-off-by: James Ritchie <[email protected]> * tinkered with CSS changes to make keyboard select and mouseover match Signed-off-by: James Ritchie <[email protected]>
2019-02-07 13:18:09 -08:00
border-color: #ccc;
2015-01-09 04:55:01 -08:00
}
.prometheus_input_group .input {
width: 100px;
Update to Bootstrap 4.1.3 (#5192) * web: updated bootstrap3-typeahead file to work with bootstrap 4.0.0 Signed-off-by: Andrew Chiu <[email protected]> * web: Replaced bootstrap-3.3.1 with bootstrap 4.0.0 Signed-off-by: Andrew Chiu <[email protected]> * web: Added bootstrap4-glyphicons as 4.0.0 doesnt include bootstrap3 glyphicons Signed-off-by: Andrew Chiu <[email protected]> * web: updated js jquery to 3.3.1 Signed-off-by: Andrew Chiu <[email protected]> * web: updated _base.html to import new bootstrap 4.0.0, jquery3.3.1 and bootstrap class tags to be 4.0 compatible Signed-off-by: Andrew Chiu <[email protected]> * web: _base.html missed word out in title tag (Server). Signed-off-by: Andrew Chiu <[email protected]> * web: updated alerts.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated config.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated flags.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated service-discovery.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated status.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated targets.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated graph_template.handlebar class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: alerts.css fix for button color inheritance on alerts page. Signed-off-by: Andrew Chiu <[email protected]> * web: graph.css fix for color inheritance. Signed-off-by: Andrew Chiu <[email protected]> * web: prometheus.css updated to fix nav bar. Signed-off-by: Andrew Chiu <[email protected]> * web: previous merge conflict not fixed correctly on _base.html Signed-off-by: Andrew Chiu <[email protected]> * menu.lib and prom.lib imports updated Signed-off-by: ksherryBAE <[email protected]> * bootstrap 4.1.3 imported Signed-off-by: ksherryBAE <[email protected]> * Bootstrap 4.1.3 imported into _base.html Signed-off-by: ksherryBAE <[email protected]> * bootstrap 4.1.3 imported into prom.lib Signed-off-by: ksherryBAE <[email protected]> * menu.lib style adjusted to view sidebar Signed-off-by: ksherryBAE <[email protected]> * Alert colour uplifted to bootstrap 4.1.3 Signed-off-by: ksherryBAE <[email protected]> * Alerts display code reformatted similarly to config Signed-off-by: ksherryBAE <[email protected]> * Consoles pages adjusted to account for new navbar Signed-off-by: ksherryBAE <[email protected]> * LHS Menu fixed in console pages Signed-off-by: ksherryBAE <[email protected]> * Minor changes to prom_console to adjust lhs nav Signed-off-by: ksherryBAE <[email protected]> * Prom.lib and some css updated to fix console graph controls Signed-off-by: ksherryBAE <[email protected]> * Bootstrap 4.0.0 files removed Signed-off-by: ksherryBAE <[email protected]> * Consoles configured so that the graph fits with the new side bar, css files also adjusted Signed-off-by: ksherryBAE <[email protected]> * Import popper.min.js for dropdowns Signed-off-by: ksherryBAE <[email protected]> * Popper.min.js imported locally Signed-off-by: ksherryBAE <[email protected]> * Re-added #4764 and fixed css Signed-off-by: ksherryBAE <[email protected]> * Removed .DS_Store Signed-off-by: ksherryBAE <[email protected]> * Rebuilt assets Signed-off-by: ksherryBAE <[email protected]> * Spaces between buttons and inputs on graph page removed Signed-off-by: ksherryBAE <[email protected]> * fixed spacing in buttons on /targets Signed-off-by: Pritam Bhudia <[email protected]> * Updated vfsdata.go Signed-off-by: Pritam Bhudia <[email protected]> * fixed typeahead issue Signed-off-by: James Ritchie <[email protected]> * added css for dropdown Signed-off-by: James Ritchie <[email protected]> * changed order of css imports Signed-off-by: James Ritchie <[email protected]> * tinkered with CSS changes to make keyboard select and mouseover match Signed-off-by: James Ritchie <[email protected]>
2019-02-07 13:18:09 -08:00
padding: 5px 12px 6px 12px;
2015-01-09 04:55:01 -08:00
font-size: 14px;
line-height: 1.42857143;
color: #555;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.prometheus_input_group .date_input {
width: 200px;
}
2015-01-09 05:12:52 -08:00
.expression_input {
width: 100% !important;
margin-bottom: 10px;
2015-01-09 05:12:52 -08:00
}
.expression_select {
width: 210px !important;
2015-01-19 05:27:07 -08:00
margin-left: 7px;
2015-01-09 05:12:52 -08:00
}
2015-01-09 05:27:58 -08:00
.graph_container .rickshaw_legend {
background-color: #222222;
border-radius: 0;
}
Update to Bootstrap 4.1.3 (#5192) * web: updated bootstrap3-typeahead file to work with bootstrap 4.0.0 Signed-off-by: Andrew Chiu <[email protected]> * web: Replaced bootstrap-3.3.1 with bootstrap 4.0.0 Signed-off-by: Andrew Chiu <[email protected]> * web: Added bootstrap4-glyphicons as 4.0.0 doesnt include bootstrap3 glyphicons Signed-off-by: Andrew Chiu <[email protected]> * web: updated js jquery to 3.3.1 Signed-off-by: Andrew Chiu <[email protected]> * web: updated _base.html to import new bootstrap 4.0.0, jquery3.3.1 and bootstrap class tags to be 4.0 compatible Signed-off-by: Andrew Chiu <[email protected]> * web: _base.html missed word out in title tag (Server). Signed-off-by: Andrew Chiu <[email protected]> * web: updated alerts.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated config.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated flags.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated service-discovery.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated status.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated targets.html class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: updated graph_template.handlebar class names and tags to be bootstrap 4 compatible. Signed-off-by: Andrew Chiu <[email protected]> * web: alerts.css fix for button color inheritance on alerts page. Signed-off-by: Andrew Chiu <[email protected]> * web: graph.css fix for color inheritance. Signed-off-by: Andrew Chiu <[email protected]> * web: prometheus.css updated to fix nav bar. Signed-off-by: Andrew Chiu <[email protected]> * web: previous merge conflict not fixed correctly on _base.html Signed-off-by: Andrew Chiu <[email protected]> * menu.lib and prom.lib imports updated Signed-off-by: ksherryBAE <[email protected]> * bootstrap 4.1.3 imported Signed-off-by: ksherryBAE <[email protected]> * Bootstrap 4.1.3 imported into _base.html Signed-off-by: ksherryBAE <[email protected]> * bootstrap 4.1.3 imported into prom.lib Signed-off-by: ksherryBAE <[email protected]> * menu.lib style adjusted to view sidebar Signed-off-by: ksherryBAE <[email protected]> * Alert colour uplifted to bootstrap 4.1.3 Signed-off-by: ksherryBAE <[email protected]> * Alerts display code reformatted similarly to config Signed-off-by: ksherryBAE <[email protected]> * Consoles pages adjusted to account for new navbar Signed-off-by: ksherryBAE <[email protected]> * LHS Menu fixed in console pages Signed-off-by: ksherryBAE <[email protected]> * Minor changes to prom_console to adjust lhs nav Signed-off-by: ksherryBAE <[email protected]> * Prom.lib and some css updated to fix console graph controls Signed-off-by: ksherryBAE <[email protected]> * Bootstrap 4.0.0 files removed Signed-off-by: ksherryBAE <[email protected]> * Consoles configured so that the graph fits with the new side bar, css files also adjusted Signed-off-by: ksherryBAE <[email protected]> * Import popper.min.js for dropdowns Signed-off-by: ksherryBAE <[email protected]> * Popper.min.js imported locally Signed-off-by: ksherryBAE <[email protected]> * Re-added #4764 and fixed css Signed-off-by: ksherryBAE <[email protected]> * Removed .DS_Store Signed-off-by: ksherryBAE <[email protected]> * Rebuilt assets Signed-off-by: ksherryBAE <[email protected]> * Spaces between buttons and inputs on graph page removed Signed-off-by: ksherryBAE <[email protected]> * fixed spacing in buttons on /targets Signed-off-by: Pritam Bhudia <[email protected]> * Updated vfsdata.go Signed-off-by: Pritam Bhudia <[email protected]> * fixed typeahead issue Signed-off-by: James Ritchie <[email protected]> * added css for dropdown Signed-off-by: James Ritchie <[email protected]> * changed order of css imports Signed-off-by: James Ritchie <[email protected]> * tinkered with CSS changes to make keyboard select and mouseover match Signed-off-by: James Ritchie <[email protected]>
2019-02-07 13:18:09 -08:00
li.active, .dropdown-item:focus, .dropdown-item:hover {
background-color: steelblue;
}