| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411 |
- .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 {
- @include clearfix();
- margin: 0 $spacer;
- text-align: center;
- width: calc(100% - $spacer);
- padding-top: 6px;
- .popover-content {
- padding: 0;
- }
- }
- .graph-legend-icon {
- position: relative;
- padding-right: 4px;
- top: 1px;
- }
- .graph-legend-icon,
- .graph-legend-alias,
- .graph-legend-value {
- cursor: pointer;
- float: left;
- white-space: nowrap;
- font-size: 85%;
- text-align: left;
- &.current::before {
- content: "Current: "
- }
- &.max::before {
- content: "Max: "
- }
- &.min::before {
- content: "Min: "
- }
- &.total::before {
- content: "Total: "
- }
- &.avg::before {
- content: "Avg: "
- }
- }
- .graph-legend-icon .fa {
- font-size: 135%;
- position: relative;
- top: 1px;
- }
- .graph-legend-series {
- float: left;
- white-space: nowrap;
- padding-left: 10px;
- &--right-y {
- float: right;
- }
- }
- .graph-legend-value {
- padding-left: 6px;
- }
- .graph-legend-table {
- overflow-y: auto;
- overflow-x: hidden;
- display: table;
- .graph-legend-series {
- display: table-row;
- float: none;
- padding-left: 0;
- &--right-y {
- float: none;
- .graph-legend-alias::after {
- content: '(right-y)';
- padding: 0 5px;
- color: $text-color-weak;
- }
- }
- }
- 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 {
- &::before {
- 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 {
- .graph-legend-value,
- .graph-legend-alias {
- color: $link-color-disabled;
- }
- }
- .graph-legend-popover {
- width: 200px;
- label {
- display: inline-block;
- }
- .btn {
- padding: 1px 3px;
- margin-right: 0px;
- line-height: initial;
- }
- .close {
- margin-right: 5px;
- color: $link-color;
- 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;
- font-size: $font-size-sm;
- background-color: $graph-tooltip-bg;
- color: $text-color;
- .graph-tooltip-time {
- text-align: center;
- position: relative;
- top: -3px;
- padding: 0.2rem;
- font-weight: bold;
- color: $text-color;
- }
- .graph-tooltip-list-item {
- display: table-row;
- &--highlight {
- color: $text-color-emphasis;
- font-weight: bold;
- }
- }
- .graph-tooltip-series-name {
- display: table-cell;
- padding: 0.15rem;
- }
- .graph-tooltip-value {
- display: table-cell;
- font-weight: bold;
- padding-left: 15px;
- text-align: right;
- }
- }
- .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;
- }
- }
- .left-yaxis-label {
- top: 50%;
- left: 0;
- transform: translateX(-50%) translateY(-50%) rotate(-90deg);
- // this is needed for phantomsjs 2.1
- -webkit-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
- }
- .right-yaxis-label {
- top: 50%;
- right: 0;
- transform: translateX(50%) translateY(-50%) rotate(90deg);
- // this is needed for phantomsjs 2.1
- -webkit-transform: translateX(50%) translateY(-50%) rotate(90deg);
- }
- .axisLabel {
- color: $text-color;
- font-size: $font-size-sm;
- position: absolute;
- text-align: center;
- font-size: 12px;
- }
- .alert-handle-wrapper {
- position: absolute;
- user-select: none;
- .alert-handle {
- z-index: 10;
- position: relative;
- float: right;
- box-shadow: $card-shadow;
- background: $card-background;
- cursor: move;
- width: 100px;
- font-size: $font-size-sm;
- border-radius: 4px;
- text-align: left;
- color: $text-muted;
- &:hover {
- background-color: $btn-inverse-bg-hl;
- }
- .icon-gf {
- font-size: 14px;
- position: relative;
- top: 0px;
- float: left;
- border-right: 1px solid $btn-divider-left;
- padding: 0.5rem 0.3rem 0.4rem 0.4rem;
- }
- }
- .alert-handle-value {
- border-left: 1px solid $btn-divider-right;
- padding: 0.5rem;
- line-height: 2rem;
- .alert-handle-grip {
- background: url($btn-drag-image) no-repeat 50% 50%;
- background-size: 8px;
- float: right;
- width: 1rem;
- height: 2rem;
- margin-right: 2px;
- }
- }
- &--T1 {
- right: -222px;
- width: 245px;
- .alert-handle-line {
- width: 145px;
- }
- }
- &--T0{
- right: -104px;
- width: 129px;
- .alert-handle-line {
- width: 28px;
- }
- }
- &--no-value {
- .alert-handle-line {
- display: none;
- }
- }
- .alert-handle-line {
- float: left;
- height: 2px;
- margin-top: 13px;
- z-index: 0;
- position: relative;
- &--critical {
- background-color: rgba(237, 46, 24, 0.60);
- }
- &--warning {
- background-color: rgba(247, 149, 32, 0.60);
- }
- }
- }
- .thresholds-form-disabled {
- filter: blur(3px);
- }
|