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
Jérome Perrin
gitlab-ce
Commits
d3059c7d
Commit
d3059c7d
authored
Apr 21, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New colorful design of sidebar
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
76aade28
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
93 additions
and
83 deletions
+93
-83
app/assets/stylesheets/base/mixins.scss
app/assets/stylesheets/base/mixins.scss
+0
-7
app/assets/stylesheets/generic/nav_sidebar.scss
app/assets/stylesheets/generic/nav_sidebar.scss
+0
-24
app/assets/stylesheets/pages/header.scss
app/assets/stylesheets/pages/header.scss
+22
-6
app/assets/stylesheets/themes/dark-theme.scss
app/assets/stylesheets/themes/dark-theme.scss
+70
-29
app/assets/stylesheets/themes/ui_basic.scss
app/assets/stylesheets/themes/ui_basic.scss
+0
-17
app/views/layouts/_head_panel.html.haml
app/views/layouts/_head_panel.html.haml
+1
-0
No files found.
app/assets/stylesheets/base/mixins.scss
View file @
d3059c7d
...
@@ -50,13 +50,6 @@
...
@@ -50,13 +50,6 @@
@include
box-shadow
(
0
0
0
3px
#f1f1f1
);
@include
box-shadow
(
0
0
0
3px
#f1f1f1
);
}
}
@mixin
header-font
{
color
:
$style_color
;
font-size
:
16px
;
line-height
:
44px
;
font-weight
:
normal
;
}
@mixin
md-typography
{
@mixin
md-typography
{
font-size
:
15px
;
font-size
:
15px
;
line-height
:
1
.5
;
line-height
:
1
.5
;
...
...
app/assets/stylesheets/generic/nav_sidebar.scss
View file @
d3059c7d
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
height
:
100%
;
height
:
100%
;
border-right
:
1px
solid
$border-color
;
}
}
}
}
...
@@ -38,28 +37,10 @@
...
@@ -38,28 +37,10 @@
}
}
.nav-sidebar
li
{
.nav-sidebar
li
{
&
.active
a
{
color
:
$text-color
;
background
:
#FFF
!
important
;
font-weight
:
bold
;
border
:
1px
solid
#EEE
;
border-right
:
1px
solid
transparent
;
border-left
:
3px
solid
$style_color
;
&
.no-highlight
{
background
:
none
!
important
;
border
:
none
;
}
i
{
color
:
$text-color
;
}
}
}
}
.nav-sidebar
li
{
.nav-sidebar
li
{
&
.separate-item
{
&
.separate-item
{
border-top
:
1px
solid
$border-color
;
padding-top
:
10px
;
padding-top
:
10px
;
margin-top
:
10px
;
margin-top
:
10px
;
}
}
...
@@ -75,8 +56,6 @@
...
@@ -75,8 +56,6 @@
&
:hover
{
&
:hover
{
text-decoration
:
none
;
text-decoration
:
none
;
color
:
$text-color
;
background
:
$border-color
;
}
}
&
:active
,
&
:focus
{
&
:active
,
&
:focus
{
...
@@ -158,9 +137,6 @@
...
@@ -158,9 +137,6 @@
left
:
198px
;
left
:
198px
;
font-size
:
13px
;
font-size
:
13px
;
background
:
transparent
;
background
:
transparent
;
color
:
black
;
border-left
:
1px
solid
$border-color
;
border-bottom
:
1px
solid
$border-color
;
}
}
.collapse-nav
a
:hover
{
.collapse-nav
a
:hover
{
...
...
app/assets/stylesheets/pages/header.scss
View file @
d3059c7d
...
@@ -11,9 +11,23 @@ header {
...
@@ -11,9 +11,23 @@ header {
width
:
100%
;
width
:
100%
;
.navbar-inner
{
.navbar-inner
{
background
:
#FFF
;
border-bottom
:
1px
solid
#DDD
;
filter
:
none
;
filter
:
none
;
.title
{
color
:
#555
;
a
{
color
:
#555
;
&
:hover
{
text-decoration
:
underline
;
}
}
}
.nav
>
li
>
a
{
.nav
>
li
>
a
{
color
:
#666
;
font-size
:
14px
;
font-size
:
14px
;
line-height
:
32px
;
line-height
:
32px
;
padding
:
6px
10px
;
padding
:
6px
10px
;
...
@@ -100,10 +114,8 @@ header {
...
@@ -100,10 +114,8 @@ header {
a
{
a
{
float
:
left
;
float
:
left
;
padding
:
5px
0
;
height
:
46px
;
height
:
46px
;
width
:
52px
;
width
:
100%
;
text-align
:
center
;
img
{
img
{
width
:
36px
;
width
:
36px
;
...
@@ -124,8 +136,11 @@ header {
...
@@ -124,8 +136,11 @@ header {
position
:
relative
;
position
:
relative
;
float
:
left
;
float
:
left
;
margin
:
0
;
margin
:
0
;
margin-left
:
5px
;
margin-left
:
25px
;
@include
header-font
;
font-size
:
18px
;
line-height
:
44px
;
font-weight
:
normal
;
@include
str-truncated
(
37%
);
@include
str-truncated
(
37%
);
}
}
...
@@ -164,9 +179,10 @@ header {
...
@@ -164,9 +179,10 @@ header {
padding-left
:
25px
;
padding-left
:
25px
;
font-size
:
13px
;
font-size
:
13px
;
@include
border-radius
(
3px
);
@include
border-radius
(
3px
);
border
:
1px
solid
#
c6c6c6
;
border
:
1px
solid
#
DDD
;
box-shadow
:
none
;
box-shadow
:
none
;
@include
transition
(
all
0
.15s
ease-in
0s
);
@include
transition
(
all
0
.15s
ease-in
0s
);
background-color
:
#f5f5f5
;
}
}
}
}
}
}
...
...
app/assets/stylesheets/themes/dark-theme.scss
View file @
d3059c7d
...
@@ -2,60 +2,101 @@
...
@@ -2,60 +2,101 @@
header
{
header
{
&
.navbar-gitlab
{
&
.navbar-gitlab
{
.navbar-inner
{
.navbar-inner
{
background
:
$color
;
.navbar-toggle
{
.navbar-toggle
{
color
:
#FFF
;
color
:
#FFF
;
}
}
.app_logo
,
.navbar-toggle
{
.app_logo
,
.navbar-toggle
{
a
{
color
:
$color-light
;
}
background-color
:
$color-darker
;
&
:hover
{
&
:hover
{
background-color
:
$color-darker
;
background-color
:
$color-dark
;
a
{
color
:
#FFF
;
}
}
}
}
}
.app_logo
{
.app_logo
{
background-color
:
$color-dark
;
@media
(
max-width
:
$screen-md-max
)
{
}
width
:
52px
;
h3
{
.title
{
display
:
none
;
color
:
#FFF
;
}
}
border-bottom
:
1px
solid
transparent
;
margin-bottom
:
-1px
;
a
{
a
{
color
:
#FFF
;
padding
:
5px
8px
;
&
:hover
{
text-decoration
:
underline
;
img
{
float
:
left
;
}
h3
{
width
:
158px
;
float
:
left
;
margin
:
0
;
margin-left
:
20px
;
font-size
:
18px
;
line-height
:
34px
;
font-weight
:
normal
;
}
}
}
}
}
}
}
}
}
.search
{
.page-with-sidebar
{
.search-input
{
background
:
$color-darker
;
background-color
:
$color-light
;
background-color
:
rgba
(
255
,
255
,
255
,
0
.5
);
border
:
1px
solid
$color-light
;
&
:focus
{
.collapse-nav
a
{
background-color
:
white
;
color
:
#FFF
;
}
background
:
$color
;
}
}
.sidebar-wrapper
{
background
:
$color-darker
;
border-right
:
1px
solid
$color-darker
;
}
.nav-sidebar
li
{
a
{
color
:
$color-light
;
&
:hover
,
&
:focus
,
&
:active
{
background
:
$color-dark
;
}
}
.
search-input
:
:-
webkit-input-placeholder
{
i
{
color
:
#666
;
color
:
$color-light
;
}
}
.
nav
>
li
>
a
{
.
count
{
color
:
$color-light
;
color
:
$color-light
;
background
:
$color-dark
;
}
}
&
:hover
,
&
:focus
,
&
:active
{
&
.separate-item
{
background
:
none
;
border-top
:
1px
solid
$color
;
color
:
#FFF
;
}
}
&
.active
a
{
color
:
#FFF
;
font-weight
:
bold
;
&
.no-highlight
{
border
:
none
;
}
}
.search-input
{
i
{
border-color
:
$color-light
;
color
:
#FFF
}
}
}
}
}
}
...
...
app/assets/stylesheets/themes/ui_basic.scss
View file @
d3059c7d
...
@@ -7,23 +7,6 @@
...
@@ -7,23 +7,6 @@
header
{
header
{
&
.navbar-gitlab
{
&
.navbar-gitlab
{
.navbar-inner
{
.navbar-inner
{
background
:
#F1F1F1
;
border-bottom
:
1px
solid
#DDD
;
.title
{
color
:
#555
;
a
{
color
:
#555
;
&
:hover
{
text-decoration
:
underline
;
}
}
}
.nav
>
li
>
a
{
color
:
$style_color
;
}
}
}
}
}
}
}
...
...
app/views/layouts/_head_panel.html.haml
View file @
d3059c7d
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
%div
.app_logo
%div
.app_logo
=
link_to
root_path
,
class:
"home has_bottom_tooltip"
,
title:
"Dashboard"
do
=
link_to
root_path
,
class:
"home has_bottom_tooltip"
,
title:
"Dashboard"
do
=
brand_header_logo
=
brand_header_logo
%h3
GitLab
%h1
.title
=
title
%h1
.title
=
title
%button
.navbar-toggle
{
"data-target"
=>
".navbar-collapse"
,
"data-toggle"
=>
"collapse"
,
type:
"button"
}
%button
.navbar-toggle
{
"data-target"
=>
".navbar-collapse"
,
"data-toggle"
=>
"collapse"
,
type:
"button"
}
...
...
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