mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
* WIP: intial commit * Switch: Adds tooltip * Refactor: Adds props to LogsPanelEditor * Refactor: Moves LogRowContextProvider to grafana/ui * Refactor: Moves LogRowContext and Alert to grafana/ui * Refactor: Moves LogLabelStats to grafana/ui * Refactor: Moves LogLabels and LogLabel to grafana/ui * Refactor: Moves LogMessageAnsi and ansicolor to grafana/ui * Refactor: Moves calculateFieldStats, LogsParsers and getParser to grafana/data * Refactor: Moves findHighlightChunksInText to grafana/data * Refactor: Moves LogRow to grafana/ui * Refactor: Moving ExploreGraphPanel to grafana/ui * Refactor: Copies Logs to grafana/ui * Refactor: Moves ToggleButtonGroup to grafana/ui * Refactor: Adds Logs to LogsPanel * Refactor: Moves styles to emotion * Feature: Adds LogsRows * Refactor: Introduces render limit * Styles: Moves styles to emotion * Styles: Moves styles to emotion * Styles: Moves styles to emotion * Styles: Moves styles to emotion * Refactor: Adds sorting to LogsPanelEditor * Tests: Adds tests for sorting * Refactor: Changes according to PR comments * Refactor: Changes according to PR comments * Refactor: Moves Logs and ExploreGraphPanel out of grafana/ui * Fix: Shows the Show context label again
59 lines
1010 B
SCSS
59 lines
1010 B
SCSS
$column-horizontal-spacing: 10px;
|
|
|
|
.logs-panel-options {
|
|
display: flex;
|
|
background-color: $page-bg;
|
|
padding: $space-sm $space-md $space-sm $space-md;
|
|
border-radius: $border-radius;
|
|
margin: $space-md 0 $space-sm;
|
|
border: $panel-border;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.logs-panel-controls {
|
|
display: flex;
|
|
justify-items: flex-start;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
|
|
> * {
|
|
margin-right: $spacer * 2;
|
|
}
|
|
}
|
|
|
|
.logs-panel-nodata {
|
|
> * {
|
|
margin-left: 0.5em;
|
|
}
|
|
}
|
|
|
|
.logs-panel-meta {
|
|
flex: 1;
|
|
color: $text-color-weak;
|
|
margin-bottom: $spacer;
|
|
min-width: 30%;
|
|
display: flex;
|
|
}
|
|
|
|
.logs-panel-meta__item {
|
|
margin-right: $spacer;
|
|
display: flex;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.logs-panel-meta__label {
|
|
margin-right: $spacer / 2;
|
|
font-size: $font-size-sm;
|
|
font-weight: $font-weight-semi-bold;
|
|
}
|
|
|
|
.logs-panel-meta__value {
|
|
font-family: $font-family-monospace;
|
|
}
|
|
|
|
.logs-panel-meta-item__labels {
|
|
// compensate for the labels padding
|
|
position: relative;
|
|
top: 4px;
|
|
}
|