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
6ebd360c
Commit
6ebd360c
authored
Aug 13, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modern theme restyled. Better Profile -> Ui page
parent
463644c8
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
272 additions
and
181 deletions
+272
-181
app/assets/images/gitlab_classic.png
app/assets/images/gitlab_classic.png
+0
-0
app/assets/images/gitlab_default.png
app/assets/images/gitlab_default.png
+0
-0
app/assets/images/gitlab_modern.png
app/assets/images/gitlab_modern.png
+0
-0
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+131
-111
app/assets/stylesheets/themes/ui_modern.scss
app/assets/stylesheets/themes/ui_modern.scss
+115
-48
app/views/events/_commit.html.haml
app/views/events/_commit.html.haml
+2
-2
app/views/profile/design.html.haml
app/views/profile/design.html.haml
+24
-20
No files found.
app/assets/images/gitlab_classic.png
0 → 100644
View file @
6ebd360c
2.98 KB
app/assets/images/gitlab_default.png
0 → 100644
View file @
6ebd360c
6.28 KB
app/assets/images/gitlab_modern.png
0 → 100644
View file @
6ebd360c
3.8 KB
app/assets/stylesheets/common.scss
View file @
6ebd360c
...
@@ -342,6 +342,7 @@ p.time {
...
@@ -342,6 +342,7 @@ p.time {
margin-top
:
5px
;
margin-top
:
5px
;
li
.commit
{
li
.commit
{
background
:
transparent
;
padding
:
5px
;
padding
:
5px
;
border
:none
;
border
:none
;
}
}
...
@@ -709,3 +710,22 @@ li.note {
...
@@ -709,3 +710,22 @@ li.note {
}
}
}
}
}
}
.themes_opts
{
padding-left
:
20px
;
label
{
width
:
175px
;
margin-right
:
40px
;
.prev
{
@extend
.borders
;
height
:
120px
;
width
:
175px
;
margin-bottom
:
10px
;
img
{
width
:
180px
;
}
}
}
}
app/assets/stylesheets/themes/ui_modern.scss
View file @
6ebd360c
...
@@ -9,61 +9,128 @@
...
@@ -9,61 +9,128 @@
*
*
*/
*/
.ui_modern
{
.ui_modern
{
ul
.main_menu
{
/*
background
:none
;
* Application Header
box-shadow
:none
;
*
@include
border-radius
(
0px
);
*/
border
:none
;
header
{
border-bottom
:
2px
solid
#456
;
height
:
40px
;
background-image
:
-moz-linear-gradient
(
top
,
#333
,
#222
);
background-image
:
-ms-linear-gradient
(
top
,
#333
,
#222
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#333
)
,
to
(
#222
));
background-image
:
-webkit-linear-gradient
(
top
,
#333
,
#222
);
background-image
:
-o-linear-gradient
(
top
,
#333
,
#222
);
background-image
:
linear-gradient
(
top
,
#333
,
#222
);
background-repeat
:
repeat-x
;
background-repeat
:
repeat-x
;
filter
:
progid
:
dximagetransform
.
microsoft
.
gradient
(
startColorstr
=
'#333333'
,
endColorstr
=
'#222222'
,
GradientType
=
0
);
-webkit-box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0
.25
)
,
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0
.1
);
-moz-box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0
.25
)
,
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0
.1
);
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0
.25
)
,
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0
.1
);
li
{
.container
.top_panel_content
{
padding
:
5px
0
;
}
border
:none
;
&
.current
{
border-bottom
:
2px
solid
#f90
;
background-color
:
#fff
;
position
:relative
;
top
:
2px
;
}
}
}
/*
/**
* Common styles
*
* Logo holder
*
*
*/
*/
.app_logo
{
a
{
a
{
color
:
#E28934
;
h1
{
opacity
:
0
.7
;
background
:
url('images.png')
no-repeat
-3px
-6px
;
width
:
65px
;
height
:
26px
;
margin
:
6px
0
;
padding
:
0
;
float
:
left
;
text-indent
:
-1000em
;
float
:left
;
&
:hover
{
&
:hover
{
text-decoration
:none
;
opacity
:
1
.0
;
color
:
#f90
;
}
}
}
.separator
{
width
:
1px
;
height
:
40px
;
margin
:
0
9px
;
overflow
:
hidden
;
background
:
#222
;
border-left
:
1px
solid
#333
;
}
}
}
}
.fbtn
{
.btn
{
.btn
{
&
.primary
,
i
{
&
.btn-primary
{
@extend
.icon-white
;
border-color
:
#C60
;
position
:
relative
;
background
:
#D70
;
top
:
2px
;
}
background
:none
;
margin-left
:
8px
;
font-size
:
13px
;
line-height
:
19px
;
color
:
#ccc
;
&
:hover
{
&
:hover
{
background
:
#F90
;
color
:
#fff
;
}
}
border
:
none
;
box-shadow
:none
;
text-shadow
:
0
-1px
0
#000000
;
}
}
}
}
.alert-info
{
/**
border-color
:
#FDA
;
*
background
:
#FED
;
* Search box
color
:
#D70
;
*
}
*/
.search
{
float
:
right
;
margin-right
:
55px
;
.search-input
{
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.7
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.2
)
,
0
2px
2px
rgba
(
0
,
0
,
0
,
0
.4
)
inset
;
background-color
:
#D2D5DA
;
background-color
:
rgba
(
255
,
255
,
255
,
0
.5
);
&
:focus
{
background-color
:
white
;
}
}
.
search-input
:
:-
webkit-input-placeholder
{
color
:
#666
;
}
}
.progress
.bar
{
/**
background
:
#D80
;
*
* Project / Area name
*
*/
.project_name
{
line-height
:
34px
;
font-size
:
22px
;
color
:
#fff
;
text-shadow
:
0
1px
1px
#111
;
}
}
.back_link
{
/**
color
:
#D80
;
*
* Account box
*
*/
.account-box
{
top
:
6px
;
img
{
right
:
5px
;
width
:
26px
;
height
:
26px
;
}
}
}
}
}
}
app/views/events/_commit.html.haml
View file @
6ebd360c
-
commit
=
CommitDecorator
.
decorate
(
commit
)
-
commit
=
CommitDecorator
.
decorate
(
commit
)
%li
.
wll.
commit
%li
.commit
%p
%p
=
link_to
commit
.
short_id
(
8
),
project_commit_path
(
project
,
id:
commit
.
id
),
class:
"commit_short_id"
=
link_to
commit
.
short_id
(
8
),
project_commit_path
(
project
,
id:
commit
.
id
),
class:
"commit_short_id"
%strong
.cdark
=
commit
.
author_name
%strong
.cdark
=
commit
.
author_name
...
...
app/views/profile/design.html.haml
View file @
6ebd360c
=
form_for
@user
,
url:
profile_update_path
,
remote:
true
,
method: :put
do
|
f
|
=
form_for
@user
,
url:
profile_update_path
,
remote:
true
,
method: :put
do
|
f
|
%div
%div
%h3
Application theme
%h3
.page_title
Application theme
%
h
r
%
b
r
.
clearfix
.
themes_opts
=
label_tag
do
=
label_tag
do
.prev
=
image_tag
"gitlab_default.png"
=
f
.
radio_button
:theme_id
,
1
=
f
.
radio_button
:theme_id
,
1
Default
Default
=
label_tag
do
=
label_tag
do
.prev
=
image_tag
"gitlab_classic.png"
=
f
.
radio_button
:theme_id
,
2
=
f
.
radio_button
:theme_id
,
2
Classic
Classic
=
label_tag
do
=
label_tag
do
.prev
=
image_tag
"gitlab_modern.png"
=
f
.
radio_button
:theme_id
,
3
=
f
.
radio_button
:theme_id
,
3
Modern
Modern
%br
%br
%h3
Code review
.clearfix
%hr
.ro
w
%h3
.page_title
Code revie
w
%label
.span3
{
for:
"user_dark_scheme_false"
}
%br
.thumbnail
.themes_opts
=
image_tag
"white.png"
,
width:
260
,
class:
"styled_image"
=
label_tag
do
.caption
.prev
%h5
=
image_tag
"white.png"
=
f
.
radio_button
:dark_scheme
,
false
=
f
.
radio_button
:dark_scheme
,
false
White code preview
White code preview
%label
.span3
{
for:
"user_dark_scheme_true"
}
=
label_tag
do
.thumbnail
.prev
=
image_tag
"dark.png"
,
width:
260
,
class:
"styled_image"
=
image_tag
"dark.png"
.caption
%h5
=
f
.
radio_button
:dark_scheme
,
true
=
f
.
radio_button
:dark_scheme
,
true
Dark code preview
Dark code preview
...
...
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