mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
edit mode styling
This commit is contained in:
parent
547044b65f
commit
d70dfd5fd7
@ -107,12 +107,10 @@ export class EditorTabBody extends PureComponent<Props, State> {
|
||||
</div>
|
||||
<div className="panel-editor__scroll">
|
||||
<CustomScrollbar autoHide={false}>
|
||||
<div className="panel-editor__content">
|
||||
<FadeIn in={openView !== null} duration={200}>
|
||||
{openView && this.renderOpenView(openView)}
|
||||
</FadeIn>
|
||||
{children}
|
||||
</div>
|
||||
<FadeIn in={openView !== null} duration={200}>
|
||||
<div className="panel-editor__toolbar-view">{openView && this.renderOpenView(openView)}</div>
|
||||
</FadeIn>
|
||||
<div className="panel-editor__content">{children}</div>
|
||||
</CustomScrollbar>
|
||||
</div>
|
||||
</>
|
||||
|
@ -49,6 +49,11 @@
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.panel-editor__toolbar-view {
|
||||
background: $black;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.panel-in-fullscreen {
|
||||
.sidemenu {
|
||||
display: none;
|
||||
@ -116,9 +121,8 @@
|
||||
}
|
||||
|
||||
.viz-picker__item {
|
||||
background: $card-background;
|
||||
box-shadow: $card-shadow;
|
||||
|
||||
background: $panel-bg;
|
||||
border: $panel-border;
|
||||
border-radius: 3px;
|
||||
height: 90px;
|
||||
width: 150px;
|
||||
@ -210,9 +214,8 @@
|
||||
}
|
||||
|
||||
.ds-picker-list__item {
|
||||
background: $card-background;
|
||||
box-shadow: $card-shadow;
|
||||
|
||||
background: $panel-bg;
|
||||
border: $panel-border;
|
||||
border-radius: 3px;
|
||||
display: flex;
|
||||
cursor: pointer;
|
||||
|
@ -42,18 +42,13 @@
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.toolbar-subview {
|
||||
position: relative;
|
||||
top: -23px;
|
||||
}
|
||||
|
||||
.toolbar-subview__close {
|
||||
background: transparent;
|
||||
padding: 4px 8px 4px 9px;
|
||||
border: none;
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 0px;
|
||||
right: 25px;
|
||||
top: 20px;
|
||||
font-size: $font-size-md;
|
||||
|
||||
&:hover {
|
||||
|
Loading…
Reference in New Issue
Block a user