Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
3be9e8e0
Commit
3be9e8e0
authored
Oct 29, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dash-edit-mode' of github.com:grafana/grafana into dash-edit-mode
parents
2fbe8cde
d9f99eb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
14 deletions
+90
-14
public/app/features/dashboard/row/options.html
+2
-2
public/sass/pages/_dashboard.scss
+88
-12
No files found.
public/app/features/dashboard/row/options.html
View file @
3be9e8e0
<div
class=
"dash-row-options"
>
<div
class=
"gf-form
-group
section"
>
<div
class=
"gf-form section"
>
<!-- <h5 class="section-heading">Options</h5> -->
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form"
>
...
...
@@ -23,7 +23,7 @@
</div>
</div>
<div
class=
"gf-form
-group
section"
>
<div
class=
"gf-form section"
>
<!-- <h5 class="section-heading">Row Templating</h5> -->
<div
class=
"gf-form"
>
...
...
public/sass/pages/_dashboard.scss
View file @
3be9e8e0
...
...
@@ -216,6 +216,13 @@ div.flot-text {
margin-right
:
$panel-margin
;
margin-left
:
0
;
&
:hover
{
.dash-row-header-actions
{
display
:
block
;
opacity
:
0
;
animation
:
fadeIn
150ms
linear
100ms
forwards
;
}
}
.h1
{
font-size
:
2
.7rem
;
font-style
:
normal
;
line-height
:
4rem
}
.h2
{
font-size
:
2
.4rem
;
line-height
:
3
.5rem
;
}
...
...
@@ -267,6 +274,9 @@ div.flot-text {
.dash-row-header-action-show-options
{
color
:
$link-color
;
}
.dash-row-header
{
border-bottom
:
none
;
}
}
.dash-row-show-add-panel
{
...
...
@@ -276,6 +286,9 @@ div.flot-text {
.dash-row-header-action--add-panel
{
color
:
$link-color
;
}
.dash-row-header
{
border-bottom
:
none
;
}
}
.dash-row-show-title
{
...
...
@@ -302,21 +315,55 @@ div.flot-text {
.dash-edit-mode
{
.dash-row-header
{
display
:
flex
;
&
:hover
{
.dash-row-header-actions
{
display
:
block
;
}
border-bottom
:
1px
solid
$dark-4
;
border-right
:
1px
solid
$dark-4
;
margin-right
:
0
;
.dash-row-header-actions
{
display
:
block
;
}
}
.dash-row-show-add-panel
{
.dash-row-header
{
border-bottom
:
none
;
}
}
.dash-row-show-options
{
.dash-row-header
{
border-bottom
:
none
;
}
}
.
dash-row-header
:
:
after
{
content
:
' '
;
border-top
:
1px
solid
$dark-4
;
width
:
15px
;
position
:
relative
;
}
.dash-row
{
border-left
:
1px
solid
$dark-4
;
margin-bottom
:
$spacer
*
2
;
}
.dash-row-header-title
{
border-left
:
1px
solid
$dark-4
;
}
.
dash-row-header-title
:
:
before
{
content
:
' '
;
border-top
:
1px
solid
$dark-4
;
width
:
15px
;
position
:
absolute
;
margin
:
-9px
0
0
-9px
;
}
.panels-wrapper
{
margin-left
:
$panel-margin
;
padding
:
$panel-margin
*
2
$panel-margin
0
$panel-margin
*
2
;
border-left
:
1px
solid
$dark-4
;
border-right
:
1px
solid
$dark-4
;
}
.
panels-wrapper
:
:
after
{
content
:
' '
;
border-bottom
:
1px
solid
$dark-4
;
width
:
15px
;
position
:
absolute
;
margin
:
0
0
0
-12px
;
}
.add-row-panel-hint
{
display
:
block
;
}
...
...
@@ -339,18 +386,33 @@ div.flot-text {
}
.dash-row-options
{
background
:
$panel-bg
;
border
:
$panel-border
;
margin
:
0
0
$panel-margin
*
2
$panel-margin
*
2
;
padding
:
$spacer
*
1
.5
;
border-left
:
$panel-border
;
border-bottom
:
$panel-border
;
border-right
:
$panel-border
;
margin
:
0
0
$panel-margin
*
2
0
;
padding
:
$panel-margin
*
2
;
box-shadow
:
0px
3px
7px
-3px
$black
;
}
.dash-row-add-panel
{
margin
:
0
;
border-left
:
$panel-border
;
border-bottom
:
$panel-border
;
border-right
:
$panel-border
;
margin
:
0
0
$panel-margin
*
2
0
;
padding
:
$panel-margin
*
2
;
// display: flex;
// align-items: flex-start;
// position: relative;
box-shadow
:
0px
3px
7px
-3px
$black
;
}
.dash-edit-mode
{
.dash-row-options
{
margin-bottom
:
0
;
}
.dash-row-add-panel
{
margin-bottom
:
0
;
}
}
.add-panel-panels-scroll
{
...
...
@@ -383,8 +445,22 @@ div.flot-text {
text-overflow
:
ellipsis
;
overflow
:
hidden
;
white-space
:
nowrap
;
font-size
:
$font-size-sm
;
}
.add-panel-item-img
{
width
:
3
rem
;
width
:
2
rem
;
}
// Animations
@keyframes
fadeIn
{
from
{
opacity
:
0
;
}
to
{
opacity
:
1
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment