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
86bb36fe
Commit
86bb36fe
authored
Dec 06, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip: explore logs styling
parent
665ac229
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
11 deletions
+45
-11
public/sass/components/_panel_logs.scss
+45
-11
No files found.
public/sass/components/_panel_logs.scss
View file @
86bb36fe
$column-horizontal-spacing
:
10px
;
.logs-panel-controls
{
display
:
flex
;
background-color
:
$page-bg
;
...
...
@@ -52,6 +54,7 @@
font-size
:
12px
;
display
:
table
;
table-layout
:
fixed
;
margin
:
0
-
(
nth
(
$panel-padding
,
2
));
}
.logs-row
{
...
...
@@ -59,8 +62,20 @@
>
div
{
display
:
table-cell
;
padding-left
:
10px
;
border
:
1px
solid
transparent
;
padding-right
:
$column-horizontal-spacing
;
vertical-align
:
middle
;
&
:first-child
{
padding-left
:
$column-horizontal-spacing
;
}
&
:last-child
{
padding-left
:
$column-horizontal-spacing
;
}
}
&
:nth-child
(
odd
)
{
background
:
$page-bg
;
}
}
...
...
@@ -93,36 +108,55 @@
}
.logs-row__level
{
background-color
:
transparent
;
position
:
relative
;
width
:
3px
;
padding
:
0
!
important
;
width
:
12px
;
&
:
:
after
{
content
:
''
;
display
:
block
;
width
:
12px
;
height
:
12px
;
background-color
:
$gray-2
;
border-radius
:
50%
;
}
&
--critical
,
&
--crit
{
background-color
:
#705da0
;
&
:
:
after
{
background-color
:
#705da0
;
}
}
&
--error
,
&
--err
{
background-color
:
#e24d42
;
&
:
:
after
{
background-color
:
#e24d42
;
}
}
&
--warning
,
&
--warn
{
background-color
:
#eab839
;
&
:
:
after
{
background-color
:
#eab839
;
}
}
&
--info
{
background-color
:
#7eb26d
;
&
:
:
after
{
background-color
:
#7eb26d
;
}
}
&
--debug
{
background-color
:
#1f78c1
;
&
:
:
after
{
background-color
:
#1f78c1
;
}
}
&
--trace
{
background-color
:
#6ed0e0
;
&
:
:
after
{
background-color
:
#6ed0e0
;
}
}
}
...
...
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