Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
whats-open-web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicholas J Anderson
whats-open-web
Commits
1d25dc37
Commit
1d25dc37
authored
Dec 23, 2017
by
Mattias J Duffy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
turning off scroll bar
parent
a9412df8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
22 deletions
+9
-22
src/styles/components/sidebar.scss
src/styles/components/sidebar.scss
+5
-0
src/styles/containers/layout.scss
src/styles/containers/layout.scss
+4
-22
No files found.
src/styles/components/sidebar.scss
View file @
1d25dc37
...
...
@@ -34,6 +34,11 @@
@include
transition
(
300ms
cubic-bezier
(
0
.820
,
0
.165
,
0
.340
,
0
.930
));
}
.
sidebar-root
:
:-
webkit-scrollbar
{
display
:
none
;
}
.card-container-offset-open
{
flex
:
1
0
400px
;
...
...
src/styles/containers/layout.scss
View file @
1d25dc37
...
...
@@ -56,32 +56,14 @@
overflow-y
:
auto
;
overflow-x
:
hidden
;
}
/* Turn on custom 8px wide scrollbar */
.
layout-card-container
:
:-
webkit-scrollbar
{
width
:
8px
;
/* 1px wider than Lion. */
/* This is more usable for users trying to click it. */
background-color
:
rgba
(
0
,
0
,
0
,
0
);
-webkit-border-radius
:
100px
;
}
/* hover effect for both scrollbar area, and scrollbar 'thumb' */
.
layout-card-container
:
:-
webkit-scrollbar
:
hover
{
background-color
:
rgba
(
0
,
0
,
0
,
0
.09
);
}
/* The scrollbar 'thumb' ...that marque oval shape in a scrollbar */
.
layout-card-container
:
:-
webkit-scrollbar-thumb
:
vertical
{
/* This is the EXACT color of Mac OS scrollbars.
Yes, I pulled out digital color meter */
background
:
rgba
(
0
,
0
,
0
,
0
.5
);
-webkit-border-radius
:
100px
;
}
.
layout-card-container
:
:-
webkit-scrollbar-thumb
:
vertical
:
active
{
background
:
rgba
(
0
,
0
,
0
,
0
.61
);
/* Some darker color when you click it */
-webkit-border-radius
:
100px
;
}
display
:
none
;
}
@media
screen
and
(
max-width
:
map-get
(
$breakpoints
,
lg
)
-
1px
)
{
.layout-sidebar-toggle-container
{
display
:
none
;
}
}
\ No newline at end of file
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