debian-mirror-gitlab/app/assets/stylesheets/pages/prometheus.scss

115 lines
1.9 KiB
SCSS
Raw Normal View History

2019-07-31 22:56:46 +05:30
.prometheus-graphs {
2019-10-12 21:52:04 +05:30
.dropdown-buttons {
> div {
margin-left: auto;
2019-07-31 22:56:46 +05:30
}
2019-10-12 21:52:04 +05:30
}
2019-07-31 22:56:46 +05:30
2019-10-12 21:52:04 +05:30
.col-form-label {
line-height: 1;
padding-top: 0;
}
.form-group {
margin-bottom: map-get($spacing-scale, 3);
2019-07-31 22:56:46 +05:30
}
2020-05-24 23:13:21 +05:30
.variables-section {
input {
@include media-breakpoint-up(sm) {
width: 160px;
}
}
}
2020-06-23 00:09:42 +05:30
.links-section {
.gl-hover-text-blue-600-children:hover {
* {
@include gl-text-blue-600;
}
}
}
2019-07-31 22:56:46 +05:30
}
2019-12-21 20:55:43 +05:30
.draggable {
&.draggable-enabled {
.draggable-panel {
2020-07-28 23:09:34 +05:30
border: $gray-100 1px solid;
2019-12-21 20:55:43 +05:30
border-radius: $border-radius-default;
margin: -1px;
cursor: grab;
}
.prometheus-graph {
// Make dragging easier by disabling use of chart
pointer-events: none;
}
}
&.sortable-chosen .draggable-panel {
2020-04-22 19:07:51 +05:30
background: $white;
2020-10-24 23:57:45 +05:30
box-shadow: 0 0 4px $gray-300;
2019-12-21 20:55:43 +05:30
}
.draggable-remove {
z-index: 1;
.draggable-remove-link {
cursor: pointer;
2020-10-24 23:57:45 +05:30
color: $gray-400;
2020-04-22 19:07:51 +05:30
background-color: $white;
2019-12-21 20:55:43 +05:30
}
}
}
.prometheus-graphs-header {
2020-03-13 15:44:24 +05:30
.monitor-environment-dropdown-menu,
.monitor-dashboard-dropdown-menu {
&.show {
display: flex;
flex-direction: column;
overflow: hidden;
}
2019-12-21 20:55:43 +05:30
2020-03-13 15:44:24 +05:30
.no-matches-message {
padding: $gl-padding-8 $gl-padding-12;
}
2019-12-21 20:55:43 +05:30
}
2020-04-22 19:07:51 +05:30
.show-last-dropdown {
// same as in .dropdown-menu-toggle
// see app/assets/stylesheets/framework/dropdowns.scss
width: 160px;
}
2019-12-21 20:55:43 +05:30
}
2019-07-31 22:56:46 +05:30
.prometheus-panel {
margin-top: 20px;
}
.prometheus-graph-group {
display: flex;
flex-wrap: wrap;
}
.prometheus-graph {
2019-12-21 20:55:43 +05:30
padding: $gl-padding-8;
2019-07-31 22:56:46 +05:30
}
2019-12-21 20:55:43 +05:30
.alert-current-setting {
max-width: 240px;
2020-04-22 19:07:51 +05:30
.badge.badge-danger {
color: $red-500;
background-color: $red-100;
}
2019-07-31 22:56:46 +05:30
}
2020-10-24 23:57:45 +05:30
.prometheus-panel-builder {
.preview-date-time-picker {
// same as in .dropdown-menu-toggle
// see app/assets/stylesheets/framework/dropdowns.scss
width: 160px;
}
}