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
702e1b01
Commit
702e1b01
authored
Jan 09, 2019
by
Johannes Schill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: Move sass code related to custom scrollbar into @grafana/ui #14759
parent
6ac25d41
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
44 deletions
+42
-44
packages/grafana-ui/src/components/CustomScrollbar/_CustomScrollbar.scss
+41
-0
packages/grafana-ui/src/components/index.scss
+1
-0
public/sass/components/_scrollbar.scss
+0
-44
No files found.
packages/grafana-ui/src/components/CustomScrollbar/_CustomScrollbar.scss
0 → 100644
View file @
702e1b01
.custom-scrollbars
{
// Fix for Firefox. For some reason sometimes .view container gets a height of its content, but in order to
// make scroll working it should fit outer container size (scroll appears only when inner container size is
// greater than outer one).
display
:
flex
;
flex-grow
:
1
;
.view
{
display
:
flex
;
flex-grow
:
1
;
flex-direction
:
column
;
}
.track-vertical
{
border-radius
:
3px
;
width
:
6px
!
important
;
right
:
2px
;
bottom
:
2px
;
top
:
2px
;
}
.track-horizontal
{
border-radius
:
3px
;
height
:
6px
!
important
;
right
:
2px
;
bottom
:
2px
;
left
:
2px
;
}
.thumb-vertical
{
@include
gradient-vertical
(
$scrollbarBackground
,
$scrollbarBackground2
);
border-radius
:
6px
;
}
.thumb-horizontal
{
@include
gradient-horizontal
(
$scrollbarBackground
,
$scrollbarBackground2
);
border-radius
:
6px
;
}
}
\ No newline at end of file
packages/grafana-ui/src/components/index.scss
View file @
702e1b01
@import
'CustomScrollbar/CustomScrollbar'
;
@import
'DeleteButton/DeleteButton'
;
@import
'DeleteButton/DeleteButton'
;
public/sass/components/_scrollbar.scss
View file @
702e1b01
...
@@ -295,50 +295,6 @@
...
@@ -295,50 +295,6 @@
}
}
}
}
// Custom styles for 'react-custom-scrollbars'
.custom-scrollbars
{
// Fix for Firefox. For some reason sometimes .view container gets a height of its content, but in order to
// make scroll working it should fit outer container size (scroll appears only when inner container size is
// greater than outer one).
display
:
flex
;
flex-grow
:
1
;
.view
{
display
:
flex
;
flex-grow
:
1
;
flex-direction
:
column
;
}
.track-vertical
{
border-radius
:
3px
;
width
:
6px
!
important
;
right
:
2px
;
bottom
:
2px
;
top
:
2px
;
}
.track-horizontal
{
border-radius
:
3px
;
height
:
6px
!
important
;
right
:
2px
;
bottom
:
2px
;
left
:
2px
;
}
.thumb-vertical
{
@include
gradient-vertical
(
$scrollbarBackground
,
$scrollbarBackground2
);
border-radius
:
6px
;
}
.thumb-horizontal
{
@include
gradient-horizontal
(
$scrollbarBackground
,
$scrollbarBackground2
);
border-radius
:
6px
;
}
}
.scroll-margin-helper
{
.scroll-margin-helper
{
margin-right
:
12px
;
margin-right
:
12px
;
}
}
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