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

38 lines
658 B
CSS
Raw Normal View History

html {
/* https://github.com/prometheus/prometheus/issues/7434 */
/* Scroll to hash-fragment-links counting the fixed navbar 40px tall + 16px padding */
scroll-padding-top: 56px;
}
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
/* Move down content because we have a fixed navbar that is 50px tall with 20px padding */
2013-01-17 14:47:38 -08:00
body {
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-top: 70px;
2014-12-25 07:27:35 -08:00
padding-bottom: 20px;
2013-01-17 14:47:38 -08:00
}
.state_indicator {
2013-07-24 03:37:51 -07:00
padding: 0 4px 0 4px;
}
.literal_output td {
font-family: monospace;
}
.cursor-pointer {
cursor: pointer;
}
.tooltip-inner {
max-width: none;
text-align: left;
}
.label {
white-space: normal;
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
}
/* The navbar adds horizontal padding already */
.navbar .container-fluid {
padding: 0;
}