| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462 |
- .icon-margin-right {
- margin-right: 0.25em;
- }
- .icon-margin-left {
- margin-left: 0.25em;
- }
- .run-icon {
- transform: rotate(90deg);
- }
- .timepicker {
- display: flex;
- }
- .timepicker-rangestring {
- margin-left: 0.5em;
- }
- .datasource-picker {
- .ds-picker {
- min-width: 200px;
- max-width: 200px;
- }
- }
- .sidemenu-open {
- .explore-toolbar-header {
- padding: 0;
- margin-left: 0;
- }
- }
- .explore-toolbar {
- background: inherit;
- display: flex;
- flex-flow: row wrap;
- justify-content: flex-start;
- height: auto;
- padding: 0px $dashboard-padding 0 25px;
- border-bottom: 1px solid #0000;
- transition-duration: 0.35s;
- transition-timing-function: ease-in-out;
- transition-property: box-shadow, border-bottom;
- }
- .explore-toolbar-item {
- position: relative;
- align-self: center;
- }
- .explore-toolbar.splitted {
- .explore-toolbar-item {
- flex: 1 1 100%;
- }
- .explore-toolbar-content-item:first-child {
- padding-left: 0;
- margin-right: auto;
- }
- }
- .explore-toolbar-item:last-child {
- flex: auto;
- }
- .explore-toolbar-header {
- display: flex;
- flex: 1 1 0;
- flex-flow: row nowrap;
- font-size: 18px;
- min-height: 55px;
- line-height: 55px;
- justify-content: space-between;
- margin-left: $space-xl;
- }
- .explore-toolbar-header {
- justify-content: space-between;
- align-items: center;
- }
- .explore-toolbar-header-close {
- margin-left: auto;
- color: $text-color-weak;
- }
- .explore-toolbar-content {
- display: flex;
- flex-flow: row wrap;
- align-items: center;
- justify-content: space-between;
- }
- .explore-toolbar-content-item {
- padding: 10px 2px;
- }
- .explore-toolbar-content-item:first-child {
- padding-left: $dashboard-padding;
- margin-right: auto;
- }
- @media only screen and (max-width: 1545px) {
- .explore-toolbar.splitted {
- .timepicker-rangestring {
- display: none;
- }
- }
- }
- @media only screen and (max-width: 1070px) {
- .timepicker {
- .timepicker-rangestring {
- display: none;
- }
- }
- .explore-toolbar-content {
- justify-content: flex-start;
- }
- .explore-toolbar.splitted {
- .explore-toolbar-content-item {
- padding: 2px 0;
- margin: 0;
- }
- }
- .explore-toolbar-content-item {
- padding: 2px 2px;
- }
- }
- @media only screen and (max-width: 803px) {
- .sidemenu-open {
- .explore-toolbar-header-title {
- .navbar-page-btn {
- margin-left: 0;
- }
- }
- }
- .explore-toolbar-header-title {
- .navbar-page-btn {
- margin-left: $dashboard-padding;
- }
- }
- .btn-title {
- display: none;
- }
- }
- @media only screen and (max-width: 702px) {
- .explore-toolbar-content-item:first-child {
- padding-left: 2px;
- margin-right: 0;
- }
- }
- @media only screen and (max-width: 544px) {
- .sidemenu-open {
- .explore-toolbar-header-title {
- .navbar-page-btn {
- margin-left: $dashboard-padding;
- }
- }
- }
- .explore-toolbar-header-title {
- .navbar-page-btn {
- margin-left: $dashboard-padding;
- }
- }
- }
- .explore {
- flex: 1 1 auto;
- }
- .explore + .explore {
- border-left: 1px dotted $table-border;
- }
- .explore-container {
- padding: $dashboard-padding;
- }
- .explore-wrapper {
- display: flex;
- > .explore-split {
- width: 50%;
- }
- }
- .explore-panel {
- margin-top: $space-s;
- }
- .explore-panel__body {
- padding: $panel-padding;
- }
- .explore-panel__header {
- padding: $panel-padding;
- padding-top: 5px;
- padding-bottom: 0;
- display: flex;
- cursor: pointer;
- margin-bottom: 5px;
- transition: all 0.1s linear;
- }
- .explore-panel__header-label {
- font-weight: 500;
- margin-right: $space-s;
- font-size: $font-size-h6;
- box-shadow: $text-shadow-faint;
- }
- .explore-panel__header-buttons {
- margin-right: $space-s;
- font-size: $font-size-lg;
- line-height: $font-size-h6;
- }
- .time-series-disclaimer {
- width: 300px;
- margin: $space-s auto;
- padding: 10px 0;
- border-radius: $border-radius;
- text-align: center;
- background-color: $panel-bg;
- .disclaimer-icon {
- color: $yellow;
- margin-right: $space-xs;
- }
- .show-all-time-series {
- cursor: pointer;
- color: $external-link-color;
- }
- }
- .navbar .elapsed-time {
- position: absolute;
- left: 0;
- right: 0;
- top: 3.5rem;
- text-align: center;
- font-size: 0.8rem;
- }
- .graph-legend {
- flex-wrap: wrap;
- }
- .explore-panel__loader {
- height: 2px;
- position: relative;
- overflow: hidden;
- background: none;
- margin: $space-xs;
- }
- .explore-panel__loader--active:after {
- content: ' ';
- display: block;
- width: 25%;
- top: 0;
- top: -50%;
- height: 250%;
- position: absolute;
- animation: loader 2s cubic-bezier(0.17, 0.67, 0.83, 0.67) 500ms;
- animation-iteration-count: 100;
- left: -25%;
- background: $blue;
- }
- @keyframes loader {
- from {
- left: -25%;
- opacity: 0.1;
- }
- to {
- left: 100%;
- opacity: 1;
- }
- }
- .query-row {
- display: flex;
- position: relative;
- align-items: flex-start;
- & + & {
- margin-top: 0.5rem;
- }
- }
- .query-row-tools {
- white-space: nowrap;
- }
- .query-row-status {
- position: absolute;
- top: 0;
- right: 105px;
- z-index: 1015;
- display: flex;
- flex-direction: column;
- justify-content: center;
- height: $input-height;
- }
- .query-row-field {
- margin-right: 3px;
- flex-grow: 1;
- }
- .query-transactions {
- display: table;
- }
- .query-transaction {
- display: table-row;
- color: $text-color-faint;
- line-height: 1.44;
- }
- .query-transaction--loading {
- animation: query-loading-color-change 1s alternate 100;
- }
- @keyframes query-loading-color-change {
- from {
- color: $text-color-faint;
- }
- to {
- color: $blue;
- }
- }
- .query-transaction__type,
- .query-transaction__duration {
- display: table-cell;
- font-size: $font-size-xs;
- text-align: right;
- padding-right: 0.25em;
- }
- // Prometheus-specifics, to be extracted to datasource soon
- .explore {
- .prom-query-field-info {
- margin: 0.25em 0.5em 0.5em;
- display: flex;
- details {
- margin-left: 1em;
- }
- }
- }
- // ReactTable basic overrides (does not include pivot/groups/filters)
- // When integrating ReactTable as new panel plugin, move to _panel_table.scss
- .ReactTable {
- border: none;
- }
- .ReactTable .rt-table {
- // Allow some space for the no-data text
- min-height: 90px;
- }
- .ReactTable .rt-thead.-header {
- box-shadow: none;
- background: $list-item-bg;
- border-top: 2px solid $body-bg;
- border-bottom: 2px solid $body-bg;
- height: 2em;
- }
- .ReactTable .rt-thead.-header .rt-th {
- text-align: left;
- color: $blue;
- font-weight: 500;
- }
- .ReactTable .rt-thead .rt-td,
- .ReactTable .rt-thead .rt-th {
- padding: 0.45em 0 0.45em 1.1em;
- border-right: none;
- box-shadow: none;
- }
- .ReactTable .rt-tbody .rt-td {
- padding: 0.45em 0 0.45em 1.1em;
- border-bottom: 2px solid $body-bg;
- border-right: 2px solid $body-bg;
- }
- .ReactTable .rt-tbody .rt-td:last-child {
- border-right: none;
- }
- .ReactTable .-pagination {
- border-top: none;
- box-shadow: none;
- margin-top: $space-s;
- }
- .ReactTable .-pagination .-btn {
- color: $blue;
- background: $list-item-bg;
- }
- .ReactTable .-pagination input,
- .ReactTable .-pagination select {
- color: $input-color;
- background-color: $input-bg;
- }
- .ReactTable .-loading {
- background: $input-bg;
- }
- .ReactTable .-loading.-active {
- opacity: 0.8;
- }
- .ReactTable .-loading > div {
- color: $input-color;
- }
- .ReactTable .rt-tr .rt-td:last-child {
- text-align: right;
- }
- .ReactTable .rt-noData {
- top: 60px;
- z-index: inherit;
- }
- // React-component cascade fix: show "loading" even though item can expand
- .rc-cascader-menu-item-loading:after {
- position: absolute;
- right: 12px;
- content: 'loading';
- color: #767980;
- font-style: italic;
- }
- // TODO Experimental
- .cheat-sheet-item {
- margin: $space-l 0;
- width: 50%;
- }
- .cheat-sheet-item__title {
- font-size: $font-size-h3;
- }
- .cheat-sheet-item__expression {
- margin: $space-xs 0;
- cursor: pointer;
- }
|