2019-01-28 05:21:04 -06:00
|
|
|
.icon-margin-right {
|
|
|
|
margin-right: 0.25em;
|
2019-10-10 14:53:02 -05:00
|
|
|
|
|
|
|
@media only screen and (max-width: 1320px) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2019-01-28 05:21:04 -06:00
|
|
|
}
|
2018-05-15 10:07:38 -05:00
|
|
|
|
2019-11-22 05:26:14 -06:00
|
|
|
.icon-brand-gradient {
|
2020-04-16 06:49:58 -05:00
|
|
|
color: linear-gradient(180deg, #f05a28 30%, #fbca0a 100%);
|
2019-11-22 05:26:14 -06:00
|
|
|
}
|
|
|
|
|
2019-01-28 05:21:04 -06:00
|
|
|
.icon-margin-left {
|
|
|
|
margin-left: 0.25em;
|
2019-10-10 14:53:02 -05:00
|
|
|
|
|
|
|
@media only screen and (max-width: 1320px) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2019-01-28 05:21:04 -06:00
|
|
|
}
|
2018-05-01 06:27:25 -05:00
|
|
|
|
2020-02-12 13:11:40 -06:00
|
|
|
.explore-active-button {
|
2019-11-22 05:26:14 -06:00
|
|
|
box-shadow: $btn-active-box-shadow;
|
2021-01-21 08:49:38 -06:00
|
|
|
border: 1px solid $orange-dark !important;
|
2020-02-12 13:11:40 -06:00
|
|
|
color: $orange-dark !important;
|
2019-11-22 05:26:14 -06:00
|
|
|
}
|
2020-04-25 15:48:20 -05:00
|
|
|
|
2019-11-06 13:19:50 -06:00
|
|
|
.explore-ds-picker {
|
|
|
|
min-width: 200px;
|
|
|
|
max-width: 300px;
|
|
|
|
}
|
2019-06-03 04:41:41 -05:00
|
|
|
|
2019-11-06 13:19:50 -06:00
|
|
|
.explore-ds-picker--small {
|
|
|
|
min-width: 60px;
|
|
|
|
max-width: 60px;
|
|
|
|
|
|
|
|
.ds-picker {
|
|
|
|
min-width: 60px;
|
|
|
|
max-width: 60px;
|
2018-11-16 12:21:13 -06:00
|
|
|
}
|
2019-01-23 08:57:24 -06:00
|
|
|
}
|
2018-11-16 12:21:13 -06:00
|
|
|
|
2019-01-28 05:21:04 -06:00
|
|
|
.explore-toolbar {
|
2019-01-23 08:57:24 -06:00
|
|
|
background: inherit;
|
2019-01-24 04:27:48 -06:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
justify-content: flex-start;
|
2019-01-23 08:57:24 -06:00
|
|
|
height: auto;
|
2019-05-20 02:38:41 -05:00
|
|
|
padding: 0 $dashboard-padding;
|
2019-01-24 02:03:26 -06:00
|
|
|
border-bottom: 1px solid #0000;
|
|
|
|
transition-duration: 0.35s;
|
|
|
|
transition-timing-function: ease-in-out;
|
|
|
|
transition-property: box-shadow, border-bottom;
|
2019-01-23 08:57:24 -06:00
|
|
|
}
|
2018-11-16 12:21:13 -06:00
|
|
|
|
2019-01-28 05:21:04 -06:00
|
|
|
.explore-toolbar-item {
|
2019-01-24 02:03:26 -06:00
|
|
|
position: relative;
|
2019-01-23 08:57:24 -06:00
|
|
|
align-self: center;
|
2019-05-20 02:38:41 -05:00
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding-left: 34px;
|
|
|
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2019-01-23 08:57:24 -06:00
|
|
|
}
|
2018-11-16 12:21:13 -06:00
|
|
|
|
2019-01-28 05:21:04 -06:00
|
|
|
.explore-toolbar.splitted {
|
|
|
|
.explore-toolbar-item {
|
2019-01-24 05:00:10 -06:00
|
|
|
flex: 1 1 100%;
|
2018-05-01 06:27:25 -05:00
|
|
|
}
|
|
|
|
|
2019-01-28 05:21:04 -06:00
|
|
|
.explore-toolbar-content-item:first-child {
|
2019-01-24 05:00:10 -06:00
|
|
|
padding-left: 0;
|
|
|
|
margin-right: auto;
|
2018-05-15 10:07:38 -05:00
|
|
|
}
|
2019-01-23 08:57:24 -06:00
|
|
|
}
|
2018-05-15 10:07:38 -05:00
|
|
|
|
2019-01-28 05:21:04 -06:00
|
|
|
.explore-toolbar-item:last-child {
|
2019-01-24 04:27:48 -06:00
|
|
|
flex: auto;
|
|
|
|
}
|
2018-05-15 10:07:38 -05:00
|
|
|
|
2019-01-28 05:21:04 -06:00
|
|
|
.explore-toolbar-header {
|
2019-01-23 08:57:24 -06:00
|
|
|
display: flex;
|
|
|
|
flex: 1 1 0;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
font-size: 18px;
|
2019-07-05 00:49:45 -05:00
|
|
|
min-height: $navbarHeight;
|
|
|
|
line-height: $navbarHeight;
|
2019-01-24 02:09:51 -06:00
|
|
|
justify-content: space-between;
|
2019-01-23 08:57:24 -06:00
|
|
|
align-items: center;
|
|
|
|
}
|
2018-11-16 12:21:13 -06:00
|
|
|
|
2019-01-28 05:21:04 -06:00
|
|
|
.explore-toolbar-header-close {
|
2019-01-24 02:09:51 -06:00
|
|
|
margin-left: auto;
|
2019-02-18 08:04:26 -06:00
|
|
|
color: $text-color-weak;
|
2019-01-23 08:57:24 -06:00
|
|
|
}
|
2018-09-24 09:35:24 -05:00
|
|
|
|
2019-01-28 05:21:04 -06:00
|
|
|
.explore-toolbar-content {
|
2019-01-23 08:57:24 -06:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
align-items: center;
|
2019-07-01 03:16:33 -05:00
|
|
|
justify-content: flex-end;
|
2019-01-23 08:57:24 -06:00
|
|
|
}
|
2018-05-15 10:07:38 -05:00
|
|
|
|
2019-01-28 05:21:04 -06:00
|
|
|
.explore-toolbar-content-item {
|
2019-07-01 03:16:33 -05:00
|
|
|
display: flex;
|
2021-01-23 01:17:50 -06:00
|
|
|
padding: 0px 2px;
|
|
|
|
position: relative;
|
2018-09-24 09:35:24 -05:00
|
|
|
|
2019-07-05 00:49:45 -05:00
|
|
|
&:first-child {
|
|
|
|
padding-left: $dashboard-padding;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2019-01-24 04:27:48 -06:00
|
|
|
}
|
|
|
|
|
2019-01-23 08:57:24 -06:00
|
|
|
@media only screen and (max-width: 1070px) {
|
2019-01-28 05:21:04 -06:00
|
|
|
.explore-toolbar-content {
|
2019-01-24 04:27:48 -06:00
|
|
|
justify-content: flex-start;
|
2018-04-26 04:58:42 -05:00
|
|
|
}
|
2018-04-30 10:25:25 -05:00
|
|
|
|
2019-01-28 05:21:04 -06:00
|
|
|
.explore-toolbar.splitted {
|
|
|
|
.explore-toolbar-content-item {
|
2019-01-24 05:00:10 -06:00
|
|
|
padding: 2px 0;
|
|
|
|
}
|
2019-01-28 06:40:41 -06:00
|
|
|
}
|
2019-01-24 04:27:48 -06:00
|
|
|
}
|
2019-01-28 06:40:41 -06:00
|
|
|
|
2019-11-06 13:19:50 -06:00
|
|
|
@media only screen and (max-width: 810px) {
|
|
|
|
.explore-toolbar {
|
|
|
|
.explore-toolbar-content-item {
|
|
|
|
&:first-child {
|
|
|
|
padding-left: 2px;
|
|
|
|
margin: 0 12px 0 16px;
|
|
|
|
}
|
|
|
|
}
|
2018-11-16 12:21:13 -06:00
|
|
|
}
|
2019-01-24 04:27:48 -06:00
|
|
|
}
|
2018-05-15 08:37:44 -05:00
|
|
|
|
2019-01-23 08:57:24 -06:00
|
|
|
.explore {
|
2019-05-20 06:28:23 -05:00
|
|
|
display: flex;
|
2019-01-23 08:57:24 -06:00
|
|
|
flex: 1 1 auto;
|
2019-05-20 06:28:23 -05:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.explore.explore-live {
|
|
|
|
flex-direction: column-reverse;
|
2019-01-23 08:57:24 -06:00
|
|
|
}
|
2018-07-13 02:09:36 -05:00
|
|
|
|
2019-01-23 08:57:24 -06:00
|
|
|
.explore + .explore {
|
|
|
|
border-left: 1px dotted $table-border;
|
|
|
|
}
|
2018-05-15 08:37:44 -05:00
|
|
|
|
2019-01-23 08:57:24 -06:00
|
|
|
.explore-container {
|
2019-05-20 06:28:23 -05:00
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
flex-direction: column;
|
2019-03-21 05:10:44 -05:00
|
|
|
padding: $dashboard-padding;
|
2019-01-23 08:57:24 -06:00
|
|
|
}
|
|
|
|
|
2019-05-20 06:28:23 -05:00
|
|
|
.explore-container.explore-live {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
|
2019-01-23 08:57:24 -06:00
|
|
|
.explore-wrapper {
|
|
|
|
display: flex;
|
2018-05-01 06:27:25 -05:00
|
|
|
|
2019-01-23 08:57:24 -06:00
|
|
|
> .explore-split {
|
|
|
|
width: 50%;
|
2018-05-01 06:27:25 -05:00
|
|
|
}
|
2019-01-23 08:57:24 -06:00
|
|
|
}
|
|
|
|
|
2020-06-01 03:52:57 -05:00
|
|
|
.explore-input-margin {
|
|
|
|
margin-right: 4px;
|
2019-12-23 04:42:31 -06:00
|
|
|
}
|
|
|
|
|
2019-01-23 08:57:24 -06:00
|
|
|
.navbar .elapsed-time {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2019-03-27 03:14:02 -05:00
|
|
|
top: 48px;
|
2019-01-23 08:57:24 -06:00
|
|
|
text-align: center;
|
2019-03-27 03:14:02 -05:00
|
|
|
font-size: 11px;
|
2019-01-23 08:57:24 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.graph-legend {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2018-04-27 08:42:35 -05:00
|
|
|
.query-row {
|
2018-05-01 06:27:25 -05:00
|
|
|
display: flex;
|
2018-10-22 10:51:42 -05:00
|
|
|
position: relative;
|
2019-01-29 01:14:07 -06:00
|
|
|
align-items: flex-start;
|
2020-06-01 03:52:57 -05:00
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2018-04-27 08:42:35 -05:00
|
|
|
|
|
|
|
& + & {
|
2019-03-27 03:14:02 -05:00
|
|
|
margin-top: $space-sm;
|
2018-04-27 08:42:35 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.query-row-tools {
|
2018-10-17 10:52:21 -05:00
|
|
|
white-space: nowrap;
|
2018-04-27 08:42:35 -05:00
|
|
|
}
|
2018-07-20 10:07:17 -05:00
|
|
|
|
2018-10-22 10:51:42 -05:00
|
|
|
.query-row-status {
|
2019-07-03 09:42:03 -05:00
|
|
|
position: relative;
|
2018-10-22 10:51:42 -05:00
|
|
|
top: 0;
|
2019-07-03 09:42:03 -05:00
|
|
|
right: 35px;
|
2018-11-09 06:56:27 -06:00
|
|
|
z-index: 1015;
|
2018-10-22 10:51:42 -05:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2019-01-29 01:14:07 -06:00
|
|
|
height: $input-height;
|
2019-07-03 09:42:03 -05:00
|
|
|
width: 0;
|
2018-10-22 10:51:42 -05:00
|
|
|
}
|
|
|
|
|
2018-08-05 16:07:05 -05:00
|
|
|
.query-row-field {
|
|
|
|
margin-right: 3px;
|
2019-01-29 01:14:07 -06:00
|
|
|
flex-grow: 1;
|
2018-08-05 16:07:05 -05:00
|
|
|
}
|
|
|
|
|
2019-12-23 04:42:31 -06:00
|
|
|
.query-row-break {
|
|
|
|
flex-basis: 100%;
|
|
|
|
}
|
|
|
|
|
2018-10-22 10:51:42 -05:00
|
|
|
.query-transactions {
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
|
|
|
.query-transaction {
|
|
|
|
display: table-row;
|
2019-08-30 08:30:24 -05:00
|
|
|
color: $text-color-weak;
|
2018-10-22 10:51:42 -05:00
|
|
|
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;
|
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-10-22 10:51:42 -05:00
|
|
|
to {
|
|
|
|
color: $blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.query-transaction__type,
|
|
|
|
.query-transaction__duration {
|
|
|
|
display: table-cell;
|
|
|
|
font-size: $font-size-xs;
|
|
|
|
text-align: right;
|
|
|
|
padding-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
2018-08-05 16:07:05 -05:00
|
|
|
// Prometheus-specifics, to be extracted to datasource soon
|
|
|
|
|
|
|
|
.explore {
|
2018-08-08 09:50:30 -05:00
|
|
|
.prom-query-field-info {
|
|
|
|
margin: 0.25em 0.5em 0.5em;
|
2018-10-26 11:16:00 -05:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
details {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2018-08-08 09:50:30 -05:00
|
|
|
}
|
2018-08-05 16:07:05 -05:00
|
|
|
}
|
2018-10-17 07:58:04 -05:00
|
|
|
|
|
|
|
// ReactTable basic overrides (does not include pivot/groups/filters)
|
|
|
|
// When integrating ReactTable as new panel plugin, move to _panel_table.scss
|
|
|
|
|
|
|
|
.ReactTable {
|
|
|
|
border: none;
|
2018-11-13 05:00:32 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.ReactTable .rt-table {
|
2018-10-18 03:42:25 -05:00
|
|
|
// Allow some space for the no-data text
|
2018-11-13 05:00:32 -06:00
|
|
|
min-height: 90px;
|
2018-10-17 07:58:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-10-17 07:58:04 -05:00
|
|
|
.ReactTable .rt-thead.-header .rt-th {
|
|
|
|
text-align: left;
|
|
|
|
color: $blue;
|
2019-08-02 05:11:08 -05:00
|
|
|
font-weight: $font-weight-semi-bold;
|
2018-10-17 07:58:04 -05:00
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-10-17 07:58:04 -05:00
|
|
|
.ReactTable .rt-thead .rt-td,
|
|
|
|
.ReactTable .rt-thead .rt-th {
|
|
|
|
padding: 0.45em 0 0.45em 1.1em;
|
|
|
|
border-right: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-10-17 07:58:04 -05:00
|
|
|
.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;
|
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-10-17 07:58:04 -05:00
|
|
|
.ReactTable .rt-tbody .rt-td:last-child {
|
|
|
|
border-right: none;
|
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-11-13 05:00:32 -06:00
|
|
|
.ReactTable .-pagination {
|
|
|
|
border-top: none;
|
|
|
|
box-shadow: none;
|
2019-03-12 02:34:55 -05:00
|
|
|
margin-top: $space-sm;
|
2018-11-13 05:00:32 -06:00
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-10-17 07:58:04 -05:00
|
|
|
.ReactTable .-pagination .-btn {
|
|
|
|
color: $blue;
|
|
|
|
background: $list-item-bg;
|
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-10-17 07:58:04 -05:00
|
|
|
.ReactTable .-pagination input,
|
|
|
|
.ReactTable .-pagination select {
|
|
|
|
color: $input-color;
|
|
|
|
background-color: $input-bg;
|
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-10-17 07:58:04 -05:00
|
|
|
.ReactTable .-loading {
|
|
|
|
background: $input-bg;
|
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-10-17 07:58:04 -05:00
|
|
|
.ReactTable .-loading.-active {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-10-17 07:58:04 -05:00
|
|
|
.ReactTable .-loading > div {
|
|
|
|
color: $input-color;
|
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-10-18 03:42:25 -05:00
|
|
|
.ReactTable .rt-tr .rt-td:last-child {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2019-10-10 14:53:02 -05:00
|
|
|
|
2018-11-13 05:00:32 -06:00
|
|
|
.ReactTable .rt-noData {
|
|
|
|
top: 60px;
|
|
|
|
z-index: inherit;
|
|
|
|
}
|
2018-10-09 12:46:31 -05:00
|
|
|
|
2019-09-12 08:33:16 -05:00
|
|
|
// React-component cascade fix: show "loading" when loading children
|
2018-10-31 11:48:36 -05:00
|
|
|
.rc-cascader-menu-item-loading:after {
|
|
|
|
position: absolute;
|
|
|
|
right: 12px;
|
|
|
|
content: 'loading';
|
|
|
|
color: #767980;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2019-09-12 08:33:16 -05:00
|
|
|
// React-component cascade fix: vertical alignment issue with Safari
|
|
|
|
.rc-cascader-menu {
|
|
|
|
vertical-align: top;
|
2020-12-09 12:01:28 -06:00
|
|
|
// To fix cascader button width issue in windows + firefox
|
|
|
|
scrollbar-width: thin;
|
2019-09-12 08:33:16 -05:00
|
|
|
}
|
|
|
|
|
2018-10-09 12:46:31 -05:00
|
|
|
// TODO Experimental
|
|
|
|
|
|
|
|
.cheat-sheet-item {
|
2019-03-12 02:34:55 -05:00
|
|
|
margin: $space-lg 0;
|
2018-10-09 12:46:31 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.cheat-sheet-item__title {
|
|
|
|
font-size: $font-size-h3;
|
|
|
|
}
|
|
|
|
|
2019-09-16 00:17:34 -05:00
|
|
|
.cheat-sheet-item__example {
|
2019-03-11 08:47:27 -05:00
|
|
|
margin: $space-xs 0;
|
2018-10-09 12:46:31 -05:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-05-16 02:52:22 -05:00
|
|
|
|
|
|
|
.query-type-toggle {
|
|
|
|
margin-left: 5px;
|
|
|
|
|
|
|
|
.btn.active {
|
|
|
|
background-color: $input-bg;
|
|
|
|
background-image: none;
|
|
|
|
background-clip: padding-box;
|
|
|
|
border: $input-border;
|
|
|
|
border-radius: $input-border-radius;
|
|
|
|
@include box-shadow($input-box-shadow);
|
|
|
|
color: $input-color;
|
|
|
|
}
|
|
|
|
}
|