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
8030b56b
Commit
8030b56b
authored
Jan 02, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(panel): fixed panel help text for panels that set background color, fixes #7085
parent
9855ea8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
24 deletions
+21
-24
public/sass/pages/_dashboard.scss
+21
-24
No files found.
public/sass/pages/_dashboard.scss
View file @
8030b56b
...
...
@@ -68,16 +68,6 @@ div.flot-text {
display
:
block
;
}
.panel-links-btn
{
margin-left
:
10px
;
display
:
none
;
}
.panel-help-text
{
margin-left
:
10px
;
display
:
none
;
}
.panel-loading
{
position
:absolute
;
top
:
-3px
;
...
...
@@ -89,6 +79,23 @@ div.flot-text {
text-align
:
center
;
}
.panel-info-corner-inner
{
width
:
0
;
height
:
0
;
position
:
absolute
;
left
:
0
;
bottom
:
0
;
}
@mixin
panel-corner-color
(
$corner-bg
)
{
.panel-info-corner-inner
{
border-left
:
27px
solid
$corner-bg
;
border-right
:
none
;
border-bottom
:
27px
solid
transparent
;
}
}
.panel-info-corner
{
color
:
$text-muted
;
cursor
:
pointer
;
...
...
@@ -105,11 +112,12 @@ div.flot-text {
top
:
-4px
;
left
:
-6px
;
font-size
:
75%
;
z-index
:
1000
;
}
&
--info
{
display
:
block
;
background
:
lighten
(
$panel-bg
,
4%
);
@include
panel-corner-color
(
lighten
(
$panel-bg
,
4%
)
);
.fa
:before
{
content
:
"\f129"
;
}
...
...
@@ -117,7 +125,7 @@ div.flot-text {
&
--links
{
display
:
block
;
background
:
lighten
(
$panel-bg
,
4%
);
@include
panel-corner-color
(
lighten
(
$panel-bg
,
4%
)
);
.fa
{
left
:
-5px
;
}
...
...
@@ -129,24 +137,13 @@ div.flot-text {
&
--error
{
display
:
block
;
color
:
$text-color
;
background
:
$errorBackground
!
important
;
@include
panel-corner-color
(
$errorBackground
)
;
.fa
:before
{
content
:
"\f12a"
;
}
}
}
.panel-info-corner-inner
{
width
:
0
;
height
:
0
;
position
:
absolute
;
border-left
:
27px
solid
transparent
;
border-right
:
0px
solid
transparent
;
border-bottom
:
26px
solid
$panel-bg
;
left
:
0
;
bottom
:
0
;
}
.panel-full-edit
{
margin-top
:
20px
;
margin-bottom
:
20px
;
...
...
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