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
ef162c3d
Commit
ef162c3d
authored
Aug 26, 2017
by
Alexander Zobnin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ace: minor css refactor
parent
a0cb7447
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
public/sass/components/_code_editor.scss
+20
-8
No files found.
public/sass/components/_code_editor.scss
View file @
ef162c3d
...
...
@@ -5,13 +5,16 @@
margin-right
:
0
.25rem
;
&
.ace_editor
{
min-height
:
2
.60rem
;
font-family
:
monospace
;
@include
font-family-monospace
();
font-size
:
1rem
;
min-height
:
2
.60rem
;
}
}
.ace_editor.ace_autocomplete
{
@include
font-family-monospace
();
font-size
:
1rem
;
// Ace editor adds <style> tag at the end of <head>, after grafana.css, so !important
// is used for overriding styles with the same CSS specificity.
background-color
:
$dropdownBackground
!
important
;
...
...
@@ -19,9 +22,6 @@
border
:
1px
solid
$dropdownBorder
!
important
;
width
:
320px
!
important
;
font-family
:
monospace
;
font-size
:
1rem
;
.ace_scroller
{
.ace_selected
,
.ace_active-line
,
.ace_line-hover
{
color
:
$dropdownLinkColorHover
;
...
...
@@ -43,16 +43,28 @@
}
}
$doc-font-size
:
0
.8rem
;
$doc-text-padding
:
$doc-font-size
*
0
.5
;
.ace_tooltip.ace_doc-tooltip
{
@include
font-family-monospace
();
font-size
:
$doc-font-size
;
background-color
:
$dropdownBackground
;
background-image
:
none
;
color
:
$dropdownLinkColor
;
border
:
1px
solid
$dropdownBorder
;
font-family
:
monospace
;
font-size
:
1rem
;
padding-top
:
$doc-text-padding
;
padding-bottom
:
0px
;
hr
{
background-color
:
$dropdownDividerBottom
;
margin-top
:
$doc-text-padding
;
margin-bottom
:
$doc-text-padding
;
}
code
{
padding
:
0px
1px
;
margin
:
0px
;
}
}
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