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
Boxiang Sun
gitlab-ce
Commits
15b1b515
Commit
15b1b515
authored
Jan 26, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
css refactoring & utf8 meta tag
parent
b4cc04d7
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
147 additions
and
136 deletions
+147
-136
app/assets/stylesheets/buttons.scss
app/assets/stylesheets/buttons.scss
+141
-0
app/assets/stylesheets/commits.css.scss
app/assets/stylesheets/commits.css.scss
+0
-23
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+1
-0
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+0
-56
app/assets/stylesheets/style.scss
app/assets/stylesheets/style.scss
+0
-57
app/views/layouts/admin.html.haml
app/views/layouts/admin.html.haml
+1
-0
app/views/layouts/application.html.haml
app/views/layouts/application.html.haml
+1
-0
app/views/layouts/devise.html.haml
app/views/layouts/devise.html.haml
+1
-0
app/views/layouts/profile.html.haml
app/views/layouts/profile.html.haml
+1
-0
app/views/layouts/project.html.haml
app/views/layouts/project.html.haml
+1
-0
No files found.
app/assets/stylesheets/buttons.scss
0 → 100644
View file @
15b1b515
/* Buttons */
.grey-button
{
border-radius
:
5px
;
font-size
:
12px
;
font-weight
:
bold
;
padding
:
5px
17px
;
border
:
1px
solid
#999
;
color
:
#666
;
display
:
inline-block
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,.
3
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
26
,
color-stop
(
0
.192
,
#fff
)
,
to
(
#f4f4f4
));
background-image
:
-webkit-linear-gradient
(
#fff
19
.2%
,
#f4f4f4
);
background-image
:
-moz-linear-gradient
(
#fff
19
.2%
,
#f4f4f4
);
background-image
:
-o-linear-gradient
(
#fff
19
.2%
,
#f4f4f4
);
}
.red-button
{
border-radius
:
5px
;
font-size
:
12px
;
font-weight
:
bold
;
padding
:
5px
17px
;
border
:
1px
solid
#999
;
color
:
#666
;
display
:
inline-block
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,.
3
);
background
:
#D12F19
;
color
:
white
;
}
.positive-button
{
border-radius
:
5px
;
font-size
:
12px
;
font-weight
:
bold
;
padding
:
5px
17px
;
border
:
1px
solid
#999
;
color
:
#666
;
display
:
inline-block
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,.
3
);
background
:
#4A2
;
color
:
white
;
}
.lbutton
,
.lite_button
{
display
:block
;
float
:left
;
margin
:
0px
5px
0px
0px
;
padding
:
5px
10px
;
font-family
:
"Helvetica Neue"
,
Arial
,
Helvetica
,
sans-serif
;
border
:
1px
solid
#D3D3D3
;
background
:white
;
font-size
:
12px
!
important
;
line-height
:
130%
;
text-decoration
:none
;
font-weight
:bold
;
color
:
#565656
;
cursor
:pointer
;
&
:hover
{
border
:
1px
solid
#C2E1EF
;
color
:
#0099FF
;
}
&
.hm
{
margin
:
0px
0px
;
}
&
.vm
{
margin
:
5px
0px
;
}
}
a
.button
,
input
.button
{
font-weight
:
bold
;
padding
:
10px
20px
;
text-align
:
center
;
display
:
inline-block
;
border-radius
:
5px
;
color
:
#578E91
;
font-size
:
12px
;
text-transform
:
uppercase
;
border
:
1px
solid
#8CE2E6
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
34
,
color-stop
(
0
.794
,
#dbf5f6
)
,
to
(
#c5eef0
));
background-image
:
-webkit-linear-gradient
(
#dbf5f6
79
.4%
,
#c5eef0
);
background-image
:
-moz-linear-gradient
(
#dbf5f6
79
.4%
,
#c5eef0
);
background-image
:
-o-linear-gradient
(
#dbf5f6
79
.4%
,
#c5eef0
);
}
input
.button
{
margin-bottom
:
1
.5em
}
.button
:hover
{
color
:
rgba
(
0
,
0
,
0
,.
8
)}
.button.green
{
margin-right
:
0
;
}
.button.yellow
{
color
:
#908054
;
border-color
:
#DDCDA1
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
34
,
color-stop
(
0
.794
,
#FFEFC3
)
,
to
(
#F3E3B7
));
background-image
:
-webkit-linear-gradient
(
#FFEFC3
79
.4%
,
#F3E3B7
);
background-image
:
-moz-linear-gradient
(
#FFEFC3
79
.4%
,
#F3E3B7
);
background-image
:
-o-linear-gradient
(
#FFEFC3
79
.4%
,
#F3E3B7
);
}
.button.blue
{
color
:
#417E97
;
border-color
:
#b2cdec
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
34
,
color-stop
(
0
.794
,
#dbe8f6
)
,
to
(
#c7daf1
));
background-image
:
-webkit-linear-gradient
(
#dbe8f6
79
.4%
,
#c7daf1
);
background-image
:
-moz-linear-gradient
(
#dbe8f6
79
.4%
,
#c7daf1
);
background-image
:
-o-linear-gradient
(
#dbe8f6
79
.4%
,
#c7daf1
);
}
.button-small
{
text-shadow
:
none
;
padding
:
4px
10px
;
}
.button-green
{
background
:
#A6B807
;
color
:
white
}
.commit-button
{
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
26
,
color-stop
(
0
.192
,
#fff
)
,
to
(
#f4f4f4
));
background-image
:
-webkit-linear-gradient
(
#fff
19
.2%
,
#f4f4f4
);
background-image
:
-moz-linear-gradient
(
#fff
19
.2%
,
#f4f4f4
);
background-image
:
-o-linear-gradient
(
#fff
19
.2%
,
#f4f4f4
);
box-shadow
:
0
-1px
0
white
inset
;
display
:
block
;
border
:
1px
solid
#eee
;
border-radius
:
5px
;
margin-bottom
:
2px
;
position
:
relative
;
padding-right
:
20px
!
important
;
}
.commit-button
i
{
background
:
url('images.png')
no-repeat
-138px
-27px
;
width
:
6px
;
height
:
9px
;
float
:
right
;
position
:
absolute
;
top
:
6px
;
right
:
5px
;
}
app/assets/stylesheets/commits.css.scss
View file @
15b1b515
...
...
@@ -4,29 +4,6 @@ body.project-page.commits-page .commit-info data{
padding
:
4px
10px
;
font-size
:
11px
;
}
body
.project-page.commits-page
.commit-info
data
.commit-button
{
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
26
,
color-stop
(
0
.192
,
#fff
)
,
to
(
#f4f4f4
));
background-image
:
-webkit-linear-gradient
(
#fff
19
.2%
,
#f4f4f4
);
background-image
:
-moz-linear-gradient
(
#fff
19
.2%
,
#f4f4f4
);
background-image
:
-o-linear-gradient
(
#fff
19
.2%
,
#f4f4f4
);
box-shadow
:
0
-1px
0
white
inset
;
display
:
block
;
border
:
1px
solid
#eee
;
border-radius
:
5px
;
margin-bottom
:
2px
;
position
:
relative
;
padding-right
:
20px
;
}
body
.project-page.commits-page
.commit-button
i
{
background
:
url('images.png')
no-repeat
-138px
-27px
;
width
:
6px
;
height
:
9px
;
float
:
right
;
position
:
absolute
;
top
:
6px
;
right
:
5px
;
}
body
.project-page.commits-page
.commits-date
{
display
:
block
;
width
:
100%
;
margin-bottom
:
20px
}
body
.project-page.commits-page
.commits-date
.data
{
padding
:
0
}
body
.project-page.commits-page
a
.commit
{
padding
:
10px
;
border-bottom
:
1px
solid
#eee
;
overflow
:
hidden
;
display
:
block
;}
...
...
app/assets/stylesheets/common.scss
View file @
15b1b515
...
...
@@ -114,3 +114,4 @@ a {
@import
"dashboard.scss"
;
@import
"tree.scss"
;
@import
"tags.scss"
;
@import
"buttons.scss"
;
app/assets/stylesheets/projects.css.scss
View file @
15b1b515
...
...
@@ -122,37 +122,6 @@ input.ssh_project_url {
}
/** Buttons **/
.lbutton
,
.lite_button
{
display
:block
;
float
:left
;
margin
:
0px
5px
0px
0px
;
padding
:
5px
10px
;
font-family
:
"Helvetica Neue"
,
Arial
,
Helvetica
,
sans-serif
;
border
:
1px
solid
#D3D3D3
;
background
:white
;
font-size
:
12px
!
important
;
line-height
:
130%
;
text-decoration
:none
;
font-weight
:bold
;
color
:
#565656
;
cursor
:pointer
;
&
:hover
{
border
:
1px
solid
#C2E1EF
;
color
:
#0099FF
;
}
&
.hm
{
margin
:
0px
0px
;
}
&
.vm
{
margin
:
5px
0px
;
}
}
#user_projects_limit
{
width
:
60px
;
...
...
@@ -449,31 +418,6 @@ h4.dash-tabs {
}
.red-button
{
border-radius
:
5px
;
font-size
:
12px
;
font-weight
:
bold
;
padding
:
5px
17px
;
border
:
1px
solid
#999
;
color
:
#666
;
display
:
inline-block
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,.
3
);
background
:
#D12F19
;
color
:
white
;
}
.positive-button
{
border-radius
:
5px
;
font-size
:
12px
;
font-weight
:
bold
;
padding
:
5px
17px
;
border
:
1px
solid
#999
;
color
:
#666
;
display
:
inline-block
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,.
3
);
background
:
#4A2
;
color
:
white
;
}
.dark_scheme_box
{
...
...
app/assets/stylesheets/style.scss
View file @
15b1b515
...
...
@@ -130,64 +130,7 @@ table thead .image{width:100px}
.listed_items
tr
.odd
:hover
{
background-color
:
#FFFFCF
}
/* eo Tables */
/* Buttons */
.grey-button
{
border-radius
:
5px
;
font-size
:
12px
;
font-weight
:
bold
;
padding
:
5px
17px
;
border
:
1px
solid
#999
;
color
:
#666
;
display
:
inline-block
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,.
3
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
26
,
color-stop
(
0
.076
,
#f7f7f7
)
,
to
(
#d5d5d5
));
background-image
:
-webkit-linear-gradient
(
#f7f7f7
7
.6%
,
#d5d5d5
);
background-image
:
-moz-linear-gradient
(
#f7f7f7
7
.6%
,
#d5d5d5
);
background-image
:
-o-linear-gradient
(
#f7f7f7
7
.6%
,
#d5d5d5
);
}
a
.button
,
input
.button
{
font-weight
:
bold
;
padding
:
10px
20px
;
text-align
:
center
;
display
:
inline-block
;
border-radius
:
5px
;
color
:
#578E91
;
font-size
:
12px
;
text-transform
:
uppercase
;
border
:
1px
solid
#8CE2E6
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
34
,
color-stop
(
0
.794
,
#dbf5f6
)
,
to
(
#c5eef0
));
background-image
:
-webkit-linear-gradient
(
#dbf5f6
79
.4%
,
#c5eef0
);
background-image
:
-moz-linear-gradient
(
#dbf5f6
79
.4%
,
#c5eef0
);
background-image
:
-o-linear-gradient
(
#dbf5f6
79
.4%
,
#c5eef0
);
}
input
.button
{
margin-bottom
:
1
.5em
}
.button
:hover
{
color
:
rgba
(
0
,
0
,
0
,.
8
)}
.button.green
{
margin-right
:
0
;
}
.button.yellow
{
color
:
#908054
;
border-color
:
#DDCDA1
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
34
,
color-stop
(
0
.794
,
#FFEFC3
)
,
to
(
#F3E3B7
));
background-image
:
-webkit-linear-gradient
(
#FFEFC3
79
.4%
,
#F3E3B7
);
background-image
:
-moz-linear-gradient
(
#FFEFC3
79
.4%
,
#F3E3B7
);
background-image
:
-o-linear-gradient
(
#FFEFC3
79
.4%
,
#F3E3B7
);
}
.button.blue
{
color
:
#417E97
;
border-color
:
#b2cdec
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
34
,
color-stop
(
0
.794
,
#dbe8f6
)
,
to
(
#c7daf1
));
background-image
:
-webkit-linear-gradient
(
#dbe8f6
79
.4%
,
#c7daf1
);
background-image
:
-moz-linear-gradient
(
#dbe8f6
79
.4%
,
#c7daf1
);
background-image
:
-o-linear-gradient
(
#dbe8f6
79
.4%
,
#c7daf1
);
}
.button-small
{
text-shadow
:
none
;
padding
:
4px
10px
;
}
.button-green
{
background
:
#A6B807
;
color
:
white
}
/* eo Buttons */
...
...
app/views/layouts/admin.html.haml
View file @
15b1b515
!!!
%html
%head
%meta
{
:charset
=>
"utf-8"
}
%title
GitLab
#{
" - #{@project.name}"
if
@project
&&
!
@project
.
new_record?
}
=
favicon_link_tag
'favicon.ico'
...
...
app/views/layouts/application.html.haml
View file @
15b1b515
!!!
%html
%head
%meta
{
:charset
=>
"utf-8"
}
%title
GitLab
=
favicon_link_tag
'favicon.ico'
...
...
app/views/layouts/devise.html.haml
View file @
15b1b515
!!!
%html
%head
%meta
{
:charset
=>
"utf-8"
}
%title
GitLab
#{
" - #{@project.name}"
if
@project
&&
!
@project
.
new_record?
}
=
favicon_link_tag
'favicon.ico'
...
...
app/views/layouts/profile.html.haml
View file @
15b1b515
!!!
%html
%head
%meta
{
:charset
=>
"utf-8"
}
%title
GitLab
#{
" - #{@project.name}"
if
@project
&&
!
@project
.
new_record?
}
=
favicon_link_tag
'favicon.ico'
...
...
app/views/layouts/project.html.haml
View file @
15b1b515
!!!
%html
%head
%meta
{
:charset
=>
"utf-8"
}
%title
GitLab
#{
" - #{@project.name}"
if
@project
&&
!
@project
.
new_record?
}
=
favicon_link_tag
'favicon.ico'
...
...
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