mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* Theming: Updates to select styles and theme model progress * Progress * Update menu * Updated menu group * Improving button styles * Added transitions to theme * solving the hover & selected, focus issues * Updated snapshot * adding some colors from figma, but waiting to use them as not enough components use new layer colors * Updates * Updates * Progress * Renames * Improvements to theme overview * updated test * demo update * More new theme colors * Wip new card styles * Card tweaks hover is not working * Updates more colors from figma * Progress * Progress * Updated radio button styles * Progress on new colors * Progress * New page toolbar and toolbar button design * New toolbar button design * Reverted to older toolbar and button look * Updated snapshot * Updated generated files * Updated design * Updates * Added card hover * Fixed button group * Updates
140 lines
2.0 KiB
SCSS
140 lines
2.0 KiB
SCSS
.dashboard-container {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex: 1 1 0;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.dashboard-scroll {
|
|
width: 100%;
|
|
flex-grow: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
}
|
|
|
|
.dashboard-content {
|
|
padding: $dashboard-padding;
|
|
flex-basis: 100%;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
div.flot-text {
|
|
color: $text-color !important;
|
|
}
|
|
|
|
.panel {
|
|
height: 100%;
|
|
}
|
|
|
|
.dashboard-solo {
|
|
.footer,
|
|
.sidemenu {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.template-variable {
|
|
color: $variable;
|
|
}
|
|
|
|
.panel-solo {
|
|
position: fixed;
|
|
bottom: 0;
|
|
right: 0;
|
|
margin: 0;
|
|
left: 0;
|
|
top: 0;
|
|
|
|
.panel-container {
|
|
border: none;
|
|
}
|
|
|
|
.panel-menu-toggle,
|
|
.panel-menu {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.panel-height-helper {
|
|
display: block;
|
|
height: 100%;
|
|
}
|
|
|
|
.panel-container {
|
|
background-color: $panel-bg;
|
|
border: $panel-border;
|
|
position: relative;
|
|
border-radius: 3px;
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1 1 0;
|
|
box-shadow: $panel-box-shadow;
|
|
|
|
&--transparent {
|
|
background-color: transparent;
|
|
border: 1px solid transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
&:hover {
|
|
.panel-menu-toggle {
|
|
visibility: visible;
|
|
transition: opacity 0.1s ease-in 0.2s;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
&--is-editing {
|
|
height: auto;
|
|
}
|
|
|
|
&--absolute {
|
|
position: absolute;
|
|
}
|
|
}
|
|
|
|
.panel-content {
|
|
padding: $panel-padding;
|
|
width: 100%;
|
|
flex-grow: 1;
|
|
height: calc(100% - #{$panel-header-height});
|
|
|
|
&--no-padding {
|
|
padding: 0;
|
|
}
|
|
}
|
|
.dashboard-header {
|
|
font-size: $font-size-h2;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
position: relative;
|
|
top: -10px;
|
|
span {
|
|
display: inline-block;
|
|
@include brand-bottom-border();
|
|
padding: $space-sm $space-sm $space-xxs $space-sm;
|
|
}
|
|
}
|
|
|
|
.dashboard-loading {
|
|
height: 60vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.alert {
|
|
max-width: 600px;
|
|
min-width: 600px;
|
|
}
|
|
}
|
|
|
|
.dashboard-loading__text {
|
|
font-size: $font-size-lg;
|
|
}
|