2016-02-15 08:27:41 -06:00
|
|
|
.graph-canvas-wrapper {
|
|
|
|
position: relative;
|
|
|
|
cursor: crosshair;
|
|
|
|
}
|
|
|
|
|
|
|
|
.histogram-chart {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.datapoints-warning {
|
|
|
|
pointer: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
z-index: 10;
|
|
|
|
margin-top: -50px;
|
|
|
|
margin-left: -100px;
|
|
|
|
width: 200px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: auto;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend {
|
2016-03-06 05:34:47 -06:00
|
|
|
@include clearfix();
|
2016-02-22 11:46:58 -06:00
|
|
|
margin: 0 $spacer;
|
2016-02-15 08:27:41 -06:00
|
|
|
text-align: center;
|
2016-03-06 05:34:47 -06:00
|
|
|
width: calc(100% - $spacer);
|
|
|
|
padding-top: 6px;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
|
|
|
.popover-content {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-icon {
|
|
|
|
position: relative;
|
|
|
|
padding-right: 4px;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-icon,
|
|
|
|
.graph-legend-alias,
|
|
|
|
.graph-legend-value {
|
2016-03-04 04:16:15 -06:00
|
|
|
cursor: pointer;
|
2016-02-15 08:27:41 -06:00
|
|
|
float: left;
|
|
|
|
white-space: nowrap;
|
|
|
|
font-size: 85%;
|
|
|
|
text-align: left;
|
2016-06-20 03:37:47 -05:00
|
|
|
&.current::before {
|
2016-02-15 08:27:41 -06:00
|
|
|
content: "Current: "
|
|
|
|
}
|
2016-06-20 03:37:47 -05:00
|
|
|
&.max::before {
|
2016-02-15 08:27:41 -06:00
|
|
|
content: "Max: "
|
|
|
|
}
|
2016-06-20 03:37:47 -05:00
|
|
|
&.min::before {
|
2016-02-15 08:27:41 -06:00
|
|
|
content: "Min: "
|
|
|
|
}
|
2016-06-20 03:37:47 -05:00
|
|
|
&.total::before {
|
2016-02-15 08:27:41 -06:00
|
|
|
content: "Total: "
|
|
|
|
}
|
2016-06-20 03:37:47 -05:00
|
|
|
&.avg::before {
|
2016-02-15 08:27:41 -06:00
|
|
|
content: "Avg: "
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-icon .fa {
|
|
|
|
font-size: 135%;
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-series {
|
|
|
|
float: left;
|
|
|
|
white-space: nowrap;
|
|
|
|
padding-left: 10px;
|
2016-04-04 12:13:25 -05:00
|
|
|
|
|
|
|
&--right-y {
|
|
|
|
float: right;
|
|
|
|
}
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-value {
|
|
|
|
padding-left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-table {
|
2016-04-19 06:41:35 -05:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2016-04-04 12:13:25 -05:00
|
|
|
.graph-legend-series {
|
|
|
|
display: table-row;
|
2016-02-15 08:27:41 -06:00
|
|
|
float: none;
|
|
|
|
padding-left: 0;
|
2016-04-04 12:13:25 -05:00
|
|
|
&--right-y {
|
2016-02-15 08:27:41 -06:00
|
|
|
float: none;
|
2016-04-04 12:13:25 -05:00
|
|
|
|
2016-06-20 03:37:47 -05:00
|
|
|
.graph-legend-alias::after {
|
2016-04-04 12:13:25 -05:00
|
|
|
content: '(right-y)';
|
|
|
|
padding: 0 5px;
|
|
|
|
color: $text-color-weak;
|
|
|
|
}
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-04 12:13:25 -05:00
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
td, .graph-legend-alias, .graph-legend-icon, .graph-legend-value {
|
|
|
|
float: none;
|
|
|
|
display: table-cell;
|
|
|
|
white-space: nowrap;
|
|
|
|
padding: 2px 10px;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-icon {
|
|
|
|
width: 5px;
|
|
|
|
padding: 0;
|
|
|
|
top: 0;
|
|
|
|
.fa {
|
|
|
|
top: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-value {
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-alias {
|
|
|
|
padding-left: 7px;
|
|
|
|
text-align: left;
|
|
|
|
width: 95%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-series:nth-child(odd) {
|
|
|
|
background-color: $grafanaListAccent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-value {
|
|
|
|
&.current, &.max, &.min, &.total, &.avg {
|
2016-06-20 03:37:47 -05:00
|
|
|
&::before {
|
2016-02-15 08:27:41 -06:00
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
text-align: right;
|
|
|
|
padding: 0px 10px 1px 0;
|
|
|
|
font-weight: bold;
|
|
|
|
color: $blue;
|
|
|
|
font-size: 85%;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-rightside {
|
|
|
|
|
|
|
|
&.graph-wrapper {
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-canvas-wrapper {
|
|
|
|
display: table-cell;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-wrapper {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: top;
|
|
|
|
position: relative;
|
|
|
|
left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-series {
|
|
|
|
display: block;
|
|
|
|
padding-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-table .graph-legend-series {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-series-hidden {
|
2016-03-04 04:16:15 -06:00
|
|
|
.graph-legend-value,
|
|
|
|
.graph-legend-alias {
|
2016-02-16 02:42:46 -06:00
|
|
|
color: $link-color-disabled;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend-popover {
|
|
|
|
width: 200px;
|
|
|
|
label {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.btn {
|
|
|
|
padding: 1px 3px;
|
|
|
|
margin-right: 0px;
|
|
|
|
line-height: initial;
|
|
|
|
}
|
|
|
|
.close {
|
|
|
|
margin-right: 5px;
|
2016-02-16 02:42:46 -06:00
|
|
|
color: $link-color;
|
2016-02-15 08:27:41 -06:00
|
|
|
opacity: 0.7;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
.editor-row {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.annotation-tags {
|
|
|
|
color: $purple;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-series-override {
|
|
|
|
input {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
.graph-series-override-option {
|
|
|
|
float: left;
|
|
|
|
padding: 2px 6px;
|
|
|
|
}
|
|
|
|
.graph-series-override-selector {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-tooltip {
|
|
|
|
white-space: nowrap;
|
2016-04-11 19:33:58 -05:00
|
|
|
font-size: $font-size-sm;
|
|
|
|
background-color: $graph-tooltip-bg;
|
2016-04-14 07:41:54 -05:00
|
|
|
color: $text-color;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
|
|
|
.graph-tooltip-time {
|
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
|
|
|
top: -3px;
|
2016-04-09 11:45:35 -05:00
|
|
|
padding: 0.2rem;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.graph-tooltip-list-item {
|
|
|
|
display: table-row;
|
2016-04-09 11:45:35 -05:00
|
|
|
|
|
|
|
&--highlight {
|
2016-04-14 07:41:54 -05:00
|
|
|
color: $text-color-emphasis;
|
2016-04-11 20:32:18 -05:00
|
|
|
font-weight: bold;
|
2016-04-09 11:45:35 -05:00
|
|
|
}
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.graph-tooltip-series-name {
|
|
|
|
display: table-cell;
|
2016-04-09 11:45:35 -05:00
|
|
|
padding: 0.15rem;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.graph-tooltip-value {
|
|
|
|
display: table-cell;
|
|
|
|
font-weight: bold;
|
2016-04-09 11:45:35 -05:00
|
|
|
padding-left: 15px;
|
2016-02-15 08:27:41 -06:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-23 01:09:56 -06:00
|
|
|
.graph-annotation {
|
|
|
|
|
|
|
|
.label-tag {
|
|
|
|
margin-right: 4px;
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-annotation-title {
|
|
|
|
font-weight: $font-weight-semi-bold;
|
|
|
|
position: relative;
|
|
|
|
top: -0.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $blue;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph-annotation-time {
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
top: 0.6rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
.left-yaxis-label {
|
|
|
|
top: 50%;
|
|
|
|
left: -5px;
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
transform-origin: left top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right-yaxis-label {
|
|
|
|
top: 50%;
|
|
|
|
right: -5px;
|
|
|
|
transform: rotate(90deg);
|
|
|
|
transform-origin: right top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.axisLabel {
|
2016-02-16 02:42:46 -06:00
|
|
|
color: $text-color;
|
2016-02-16 03:42:06 -06:00
|
|
|
font-size: $font-size-sm;
|
2016-02-15 08:27:41 -06:00
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2016-06-11 15:33:02 -05:00
|
|
|
.alert-handle-wrapper {
|
|
|
|
position: absolute;
|
2016-06-11 16:31:49 -05:00
|
|
|
user-select: none;
|
2016-06-11 15:33:02 -05:00
|
|
|
|
|
|
|
.alert-handle {
|
|
|
|
z-index: 10;
|
|
|
|
position: relative;
|
|
|
|
float: right;
|
2016-06-11 16:31:49 -05:00
|
|
|
padding: 0.4rem 0.6rem 0.4rem 0.4rem;
|
2016-06-11 15:33:02 -05:00
|
|
|
background-color: $btn-inverse-bg;
|
|
|
|
box-shadow: $search-shadow;
|
2016-06-12 04:43:18 -05:00
|
|
|
cursor: row-resize;
|
2016-06-11 15:33:02 -05:00
|
|
|
width: 100px;
|
|
|
|
font-size: $font-size-sm;
|
|
|
|
box-shadow: 4px 4px 3px 0px $body-bg;
|
|
|
|
border-radius: 4px;
|
|
|
|
border-width: 0 1px 1px 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: $black;
|
2016-06-11 16:31:49 -05:00
|
|
|
text-align: right;
|
2016-06-12 04:43:18 -05:00
|
|
|
color: $text-muted;
|
2016-06-11 15:33:02 -05:00
|
|
|
|
|
|
|
.icon-gf {
|
|
|
|
font-size: 17px;
|
|
|
|
position: relative;
|
2016-06-11 16:31:49 -05:00
|
|
|
top: 0px;
|
|
|
|
float: left;
|
2016-06-11 15:33:02 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-12 04:43:18 -05:00
|
|
|
.alert-handle-line {
|
|
|
|
float: left;
|
|
|
|
height: 2px;
|
|
|
|
margin-top: 13px;
|
|
|
|
z-index: 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--warn {
|
|
|
|
right: -222px;
|
|
|
|
width: 238px;
|
|
|
|
|
|
|
|
.alert-handle-line {
|
|
|
|
width: 138px;
|
|
|
|
background-color: $warn;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-14 09:45:51 -05:00
|
|
|
&--crit{
|
2016-06-12 04:43:18 -05:00
|
|
|
right: -105px;
|
|
|
|
width: 123px;
|
|
|
|
|
|
|
|
.alert-handle-line {
|
|
|
|
width: 23px;
|
|
|
|
background-color: $critical;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--no-value {
|
|
|
|
.alert-handle-line {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2016-06-11 07:37:33 -05:00
|
|
|
}
|