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:
@@ -107,12 +107,10 @@ export class EditorTabBody extends PureComponent<Props, State> {
|
|||||||
</div>
|
</div>
|
||||||
<div className="panel-editor__scroll">
|
<div className="panel-editor__scroll">
|
||||||
<CustomScrollbar autoHide={false}>
|
<CustomScrollbar autoHide={false}>
|
||||||
<div className="panel-editor__content">
|
|
||||||
<FadeIn in={openView !== null} duration={200}>
|
<FadeIn in={openView !== null} duration={200}>
|
||||||
{openView && this.renderOpenView(openView)}
|
<div className="panel-editor__toolbar-view">{openView && this.renderOpenView(openView)}</div>
|
||||||
</FadeIn>
|
</FadeIn>
|
||||||
{children}
|
<div className="panel-editor__content">{children}</div>
|
||||||
</div>
|
|
||||||
</CustomScrollbar>
|
</CustomScrollbar>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -49,6 +49,11 @@
|
|||||||
padding: 40px 20px;
|
padding: 40px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.panel-editor__toolbar-view {
|
||||||
|
background: $black;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.panel-in-fullscreen {
|
.panel-in-fullscreen {
|
||||||
.sidemenu {
|
.sidemenu {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -116,9 +121,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.viz-picker__item {
|
.viz-picker__item {
|
||||||
background: $card-background;
|
background: $panel-bg;
|
||||||
box-shadow: $card-shadow;
|
border: $panel-border;
|
||||||
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
height: 90px;
|
height: 90px;
|
||||||
width: 150px;
|
width: 150px;
|
||||||
@@ -210,9 +214,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ds-picker-list__item {
|
.ds-picker-list__item {
|
||||||
background: $card-background;
|
background: $panel-bg;
|
||||||
box-shadow: $card-shadow;
|
border: $panel-border;
|
||||||
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
display: flex;
|
display: flex;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@@ -42,18 +42,13 @@
|
|||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar-subview {
|
|
||||||
position: relative;
|
|
||||||
top: -23px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbar-subview__close {
|
.toolbar-subview__close {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
padding: 4px 8px 4px 9px;
|
padding: 4px 8px 4px 9px;
|
||||||
border: none;
|
border: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 15px;
|
right: 25px;
|
||||||
top: 0px;
|
top: 20px;
|
||||||
font-size: $font-size-md;
|
font-size: $font-size-md;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|||||||
Reference in New Issue
Block a user