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
51f55cf6
Commit
51f55cf6
authored
Oct 28, 2016
by
Matt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Beginnings of changes to row edits
parent
e170e47e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
10 deletions
+62
-10
public/app/features/dashboard/row/options.html
+2
-2
public/sass/pages/_dashboard.scss
+60
-8
No files found.
public/app/features/dashboard/row/options.html
View file @
51f55cf6
<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 @
51f55cf6
...
...
@@ -216,6 +216,11 @@ div.flot-text {
margin-right
:
$panel-margin
;
margin-left
:
0
;
&
:hover
{
.dash-row-header-actions
{
display
:
block
;
}
}
.h1
{
font-size
:
2
.7rem
;
font-style
:
normal
;
line-height
:
4rem
}
.h2
{
font-size
:
2
.4rem
;
line-height
:
3
.5rem
;
}
...
...
@@ -267,6 +272,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 +284,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 +313,55 @@ div.flot-text {
.dash-edit-mode
{
.dash-row-header
{
display
:
flex
;
&
:hover
{
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 +384,24 @@ 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
;
padding
:
$panel-margin
*
2
;
box-shadow
:
0px
3px
7px
-3px
$black
;
}
.dash-row-add-panel
{
border-left
:
$panel-border
;
border-bottom
:
$panel-border
;
border-right
:
$panel-border
;
margin
:
0
;
padding
:
$panel-margin
*
2
;
// display: flex;
// align-items: flex-start;
// position: relative;
box-shadow
:
0px
3px
7px
-3px
$black
;
}
.add-panel-panels-scroll
{
...
...
@@ -383,8 +434,9 @@ 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
;
}
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