mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-11 08:04:04 -08:00
b8f0a41745
* 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]>
191 lines
3.1 KiB
CSS
191 lines
3.1 KiB
CSS
.navbar {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
div.prom_lhs_menu {
|
|
float: left;
|
|
margin-right: 2ex;
|
|
background: #222;
|
|
min-height: 100%;
|
|
overflow: auto;
|
|
width: auto;
|
|
margin-left: -40px;
|
|
margin-top: 55px;
|
|
height: 100%;
|
|
}
|
|
.prom_lhs_menu_nav {
|
|
padding-right: 0;
|
|
}
|
|
.prom_lhs_menu ul {
|
|
list-style: none;
|
|
padding-left: .5ex;
|
|
margin-left: .5ex;
|
|
}
|
|
.prom_lhs_menu li {
|
|
padding-right: 1ex;
|
|
padding-left: 1ex;
|
|
font-size: 0.9rem;
|
|
}
|
|
.prom_lhs_menu a,
|
|
.prom_lhs_menu li {
|
|
color: #999999;
|
|
display: block;
|
|
}
|
|
.prom_lhs_menu a {
|
|
text-decoration: none;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
.prom_lhs_menu_selected a {
|
|
pointer-events: none;
|
|
cursor: default;
|
|
}
|
|
li.prom_lhs_menu_selected {
|
|
background: #555555;
|
|
background-clip: padding-box;
|
|
}
|
|
.prom_lhs_menu li:hover {
|
|
background: #666666;
|
|
}
|
|
|
|
.prom_console_rhs {
|
|
float: right;
|
|
margin-left: 1ex;
|
|
height: 100%;
|
|
padding-top: 55px;
|
|
}
|
|
.prom_console_rhs table {
|
|
margin-top: 1ex;
|
|
margin-bottom: 32px; /* Space for time control. */
|
|
}
|
|
.prom_console_rhs th {
|
|
text-align: center;
|
|
}
|
|
.prom_console_rhs td:nth-child(2) {
|
|
text-align: right;
|
|
}
|
|
|
|
.prom_console_content {
|
|
overflow: visible;
|
|
margin-bottom: 32px; /* Space for time control. */
|
|
padding-top: 70px; /* Space for navbar */
|
|
}
|
|
|
|
a.prom_query_drilldown {
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
a.prom_query_drilldown:hover, a.prom_query_drilldown:active {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#samplesGraph {
|
|
width: 100%;
|
|
}
|
|
|
|
.prom_content_div {
|
|
width: 80%;
|
|
}
|
|
|
|
.prom_graph_table {
|
|
}
|
|
.rickshaw_legend {
|
|
padding: 2px;
|
|
margin-top: 1px;
|
|
}
|
|
.rickshaw_legend li {
|
|
min-width: 0;
|
|
}
|
|
.rickshaw_legend ul li {
|
|
list-style-type: none;
|
|
display: inline-block;
|
|
}
|
|
.rickshaw_graph {
|
|
width: 100%;
|
|
padding: 0;
|
|
}
|
|
.prom_graph_hover_flipped.x_label {
|
|
right: 0;
|
|
}
|
|
.prom_graph_hover_flipped.item {
|
|
right: 10px;
|
|
}
|
|
.rickshaw_graph .detail .prom_graph_hover_flipped.item:before {
|
|
content: "\25b8";
|
|
left: auto;
|
|
right: 1px;
|
|
font-size: 0.8em;
|
|
}
|
|
.prom_graph_ytitle {
|
|
-webkit-transform: rotate(-90deg);
|
|
-moz-transform: rotate(-90deg);
|
|
font-size: 11px;
|
|
font-family: Arial;
|
|
max-width: 13px;
|
|
white-space: nowrap;
|
|
}
|
|
.prom_graph_xtitle {
|
|
text-align: center;
|
|
font-size: 11px;
|
|
font-family: Arial;
|
|
}
|
|
.prom_graph_loading {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
}
|
|
.prom_graph_error {
|
|
font-family: Arial;
|
|
text-align: center;
|
|
}
|
|
a.prom_graph_link {
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
|
|
.prom_graph_timecontrol {
|
|
background: #222;
|
|
position: fixed;
|
|
padding: 2px;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 2;
|
|
width: 100%;
|
|
}
|
|
|
|
.prom_graph_timecontrol_inner {
|
|
text-align: center;
|
|
height: 31px;
|
|
}
|
|
|
|
.prom_graph_timecontrol_group {
|
|
display: inline-block;
|
|
margin: 1px 5px;
|
|
}
|
|
.prom_graph_timecontrol_group .btn {
|
|
font-size: 0.8em;
|
|
border-radius: 0;
|
|
height: 29px;
|
|
border-color:#ccc;
|
|
}
|
|
|
|
.prom_graph_timecontrol_group .input {
|
|
height: 29px;
|
|
padding: 6px 12px;
|
|
font-size: 14px;
|
|
line-height: 1.42857143;
|
|
color: #555;
|
|
background-color: #fff;
|
|
background-image: none;
|
|
border: 1px solid #ccc;
|
|
text-align: center;
|
|
}
|
|
|
|
.prom_graph_timecontrol_group .dropdown-menu {
|
|
min-width: 90px;
|
|
}
|
|
.prom_graph_timecontrol_group .dropdown-menu li {
|
|
text-align: center;
|
|
}
|