Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
e0172564
Commit
e0172564
authored
Dec 07, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix transitions
parent
ee85ca73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
app/assets/stylesheets/framework/contextual-sidebar.scss
app/assets/stylesheets/framework/contextual-sidebar.scss
+9
-12
No files found.
app/assets/stylesheets/framework/contextual-sidebar.scss
View file @
e0172564
.page-with-contextual-sidebar
{
transition
:
padding-left
,
$sidebar-transition-duration
;
transition
:
padding-left
$sidebar-transition-duration
;
@media
(
min-width
:
$screen-md-min
)
{
padding-left
:
$contextual-sidebar-collapsed-width
;
...
...
@@ -32,7 +32,7 @@
width
:
$contextual-sidebar-width
;
a
{
transition
:
padding
,
$sidebar-transition-duration
;
transition
:
padding
$sidebar-transition-duration
;
font-weight
:
$gl-font-weight-bold
;
display
:
flex
;
align-items
:
center
;
...
...
@@ -67,7 +67,7 @@
}
.nav-sidebar
{
transition
:
width
,
$sidebar-transition-duration
;
transition
:
width
$sidebar-transition-duration
,
left
$sidebar-transition-duration
;
position
:
fixed
;
z-index
:
400
;
width
:
$contextual-sidebar-width
;
...
...
@@ -128,10 +128,10 @@
white-space
:
nowrap
;
a
{
transition
:
padding
,
$sidebar-transition-duration
;
transition
:
padding
$sidebar-transition-duration
;
display
:
flex
;
align-items
:
center
;
padding
:
12px
1
6
px
;
padding
:
12px
1
5
px
;
color
:
$gl-text-color-secondary
;
}
...
...
@@ -291,7 +291,8 @@
>
a
{
margin-left
:
4px
;
padding-left
:
12px
;
// Subtract width of left border on active element
padding-left
:
11px
;
}
.badge
{
...
...
@@ -316,7 +317,7 @@
.toggle-sidebar-button
,
.close-nav-button
{
width
:
$contextual-sidebar-width
-
2px
;
transition
:
width
,
$sidebar-transition-duration
;
transition
:
width
$sidebar-transition-duration
;
position
:
fixed
;
bottom
:
0
;
padding
:
16px
;
...
...
@@ -354,7 +355,7 @@
.sidebar-collapsed-desktop
{
.context-header
{
height
:
6
1
px
;
height
:
6
0
px
;
width
:
$contextual-sidebar-collapsed-width
;
a
{
...
...
@@ -362,10 +363,6 @@
}
}
li
a
{
padding
:
12px
15px
;
}
.sidebar-top-level-items
>
li
{
&
.active
a
{
padding-left
:
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