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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
85c0ce2e
Commit
85c0ce2e
authored
Jan 18, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce sidebar width by 10px
parent
31cddc15
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
app/assets/stylesheets/main/variables.scss
app/assets/stylesheets/main/variables.scss
+5
-0
app/assets/stylesheets/sections/nav_sidebar.scss
app/assets/stylesheets/sections/nav_sidebar.scss
+5
-3
No files found.
app/assets/stylesheets/main/variables.scss
View file @
85c0ce2e
...
@@ -52,3 +52,8 @@ $nprogress-color: #c0392b;
...
@@ -52,3 +52,8 @@ $nprogress-color: #c0392b;
* Font sizes
* Font sizes
*/
*/
$list-font-size
:
15px
;
$list-font-size
:
15px
;
/**
* Sidebar navigation width
*/
$sidebar_width
:
240px
;
app/assets/stylesheets/sections/nav_sidebar.scss
View file @
85c0ce2e
.page-with-sidebar
{
.page-with-sidebar
{
background
:
#F5F5F5
;
background
:
#F5F5F5
;
...
@@ -100,17 +102,17 @@
...
@@ -100,17 +102,17 @@
@mixin
expanded-sidebar
{
@mixin
expanded-sidebar
{
.page-with-sidebar
{
.page-with-sidebar
{
padding-left
:
250px
;
padding-left
:
$sidebar_width
;
}
}
.sidebar-wrapper
{
.sidebar-wrapper
{
width
:
250px
;
width
:
$sidebar_width
;
.nav-sidebar
{
.nav-sidebar
{
margin-top
:
20px
;
margin-top
:
20px
;
position
:
fixed
;
position
:
fixed
;
top
:
45px
;
top
:
45px
;
width
:
250px
;
width
:
$sidebar_width
;
}
}
}
}
...
...
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