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
iv
gitlab-ce
Commits
39f46046
Commit
39f46046
authored
Apr 06, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor scss, refove unused classes
parent
07c82cf7
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
59 additions
and
182 deletions
+59
-182
app/assets/javascripts/merge_requests.js.coffee
app/assets/javascripts/merge_requests.js.coffee
+0
-1
app/assets/stylesheets/application.scss
app/assets/stylesheets/application.scss
+1
-0
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+0
-135
app/assets/stylesheets/gitlab_bootstrap/avatar.scss
app/assets/stylesheets/gitlab_bootstrap/avatar.scss
+22
-6
app/assets/stylesheets/gitlab_bootstrap/common.scss
app/assets/stylesheets/gitlab_bootstrap/common.scss
+8
-5
app/assets/stylesheets/sections/admin.scss
app/assets/stylesheets/sections/admin.scss
+18
-0
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+0
-35
app/assets/stylesheets/selects.scss
app/assets/stylesheets/selects.scss
+10
-0
No files found.
app/assets/javascripts/merge_requests.js.coffee
View file @
39f46046
...
...
@@ -76,7 +76,6 @@ class MergeRequest
$
(
'.ci_widget.ci-'
+
state
).
show
()
loadDiff
:
(
event
)
->
$
(
'.dashboard-loader'
).
show
()
$
.
ajax
type
:
'GET'
url
:
this
.
$
(
'.nav-tabs .diffs-tab a'
).
attr
(
'href'
)
...
...
app/assets/stylesheets/application.scss
View file @
39f46046
...
...
@@ -36,6 +36,7 @@
@import
"sections/admin.scss"
;
@import
"sections/wiki.scss"
;
@import
"sections/wall.scss"
;
@import
"sections/dashboard.scss"
;
@import
"highlight/white.scss"
;
@import
"highlight/dark.scss"
;
...
...
app/assets/stylesheets/common.scss
View file @
39f46046
...
...
@@ -17,7 +17,6 @@ body {
margin
:
0
0
;
}
.visible_link
,
.author_link
{
color
:
$link_color
;
}
...
...
@@ -32,30 +31,12 @@ body {
padding-bottom
:
0
;
}
.info_link
{
margin-right
:
5px
;
float
:
left
;
img
{
width
:
20px
;
}
}
.download_repo_link
{
background
:
url("images.png")
no-repeat
0
-48px
;
padding-left
:
20px
;
}
table
a
code
{
position
:
relative
;
top
:
-2px
;
margin-right
:
3px
;
}
.span12
hr
{
margin-top
:
5px
;
}
.loading
{
margin
:
20px
auto
;
background
:
url(ajax_loader.gif)
no-repeat
center
center
;
...
...
@@ -81,10 +62,6 @@ table a code {
}
}
.git_url_wrapper
{
margin-right
:
50px
}
span
.update-author
{
display
:
block
;
color
:
#999
;
...
...
@@ -96,20 +73,11 @@ span.update-author {
}
}
.dashboard-loader
{
float
:
left
;
margin
:
10px
;
display
:
none
;
}
.user-mention
{
color
:
#2FA0BB
;
font-weight
:
bold
;
}
.neib
{
margin-right
:
10px
;
}
.label
{
padding
:
1px
4px
;
font-size
:
12px
;
...
...
@@ -170,27 +138,6 @@ input[type=text] {
}
}
.merge-request-form-holder
{
select
{
width
:
300px
;
}
}
/** Issues **/
#issue_assignee_id
{
width
:
300px
;
}
#new_issue_dialog
textarea
{
height
:
100px
;
}
.project_list_url
{
width
:
250px
;
background
:
#fff
!
important
;
}
.line_holder
{
&
:hover
{
td
{
...
...
@@ -222,24 +169,6 @@ p.time {
margin
:
30px
3px
3px
2px
;
}
.styled_image
{
border
:
2px
solid
#ddd
;
}
/* Fix for readme code (stopped it from being yellow) */
.readme
{
pre
{
background
:
white
!
important
;
code
{
background
:
none
!
important
;
}
}
}
.search-holder
{
label
,
input
{
height
:
30px
;
...
...
@@ -333,25 +262,6 @@ li.note {
}
/**
* Admin area
*
*/
.admin_dash
{
.data
{
a
{
h1
{
line-height
:
48px
;
font-size
:
48px
;
padding
:
20px
;
text-align
:
center
;
font-weight
:
normal
;
}
}
}
}
.rss-icon
{
img
{
width
:
24px
;
...
...
@@ -364,18 +274,6 @@ li.note {
}
/* CHZN reset few styles */
.chzn-container-single
.chzn-single
{
background
:
#FFF
;
border
:
1px
solid
#bbb
;
box-shadow
:
none
;
}
.chzn-container-active
.chzn-single
{
background
:
#fff
;
}
.supp_diff_link
,
.show-all-commits
{
cursor
:
pointer
;
...
...
@@ -481,27 +379,6 @@ pre {
}
}
.float-link
{
float
:
left
;
margin-right
:
15px
;
.s16
{
margin-right
:
5px
;
}
}
.dashboard-search-filter
{
padding
:
5px
;
.search-text-input
{
float
:left
;
@extend
.span2
;
}
.btn
{
margin-left
:
5px
;
float
:left
;
}
}
h1
.http_status_code
{
font-size
:
56px
;
line-height
:
100px
;
...
...
@@ -532,18 +409,6 @@ img.emoji {
display
:
none
;
}
.label-branch
{
@include
border-radius
(
4px
);
padding
:
2px
4px
;
border
:
none
;
font-size
:
14px
;
background
:
#474D57
;
color
:
#fff
;
font-family
:
$monospace_font
;
text-shadow
:
0
1px
1px
#111
;
font-weight
:
normal
;
}
.chart
{
overflow
:
hidden
;
height
:
220px
;
...
...
app/assets/stylesheets/gitlab_bootstrap/avatar.scss
View file @
39f46046
/** AVATARS **/
img
.avatar
{
float
:
left
;
margin-right
:
12px
;
width
:
40px
;
border
:
1px
solid
#ddd
;
padding
:
1px
;
}
img
.avatar.s16
{
width
:
16px
;
height
:
16px
;
margin-right
:
6px
;
}
img
.avatar.s24
{
width
:
24px
;
height
:
24px
;
margin-right
:
8px
;
}
img
.avatar.s32
{
width
:
32px
;
height
:
32px
;
margin-right
:
10px
;
}
img
.avatar.s90
{
width
:
90px
;
height
:
90px
;
margin-right
:
15px
;
}
.avatar
{
float
:
left
;
margin-right
:
12px
;
width
:
40px
;
border
:
1px
solid
#ddd
;
padding
:
1px
;
&
.avatar-inline
{
float
:
none
;
margin-left
:
3px
;
&
.s16
{
margin-right
:
2px
;
}
&
.s24
{
margin-right
:
2px
;
}
}
&
.s16
{
width
:
16px
;
height
:
16px
;
margin-right
:
6px
;
}
&
.s24
{
width
:
24px
;
height
:
24px
;
margin-right
:
8px
;
}
&
.s32
{
width
:
32px
;
height
:
32px
;
margin-right
:
10px
;
}
&
.s90
{
width
:
90px
;
height
:
90px
;
margin-right
:
15px
;
}
}
img
.lil_av
{
padding-left
:
4px
;
padding-right
:
3px
;
}
img
.small
{
width
:
80px
;
}
app/assets/stylesheets/gitlab_bootstrap/common.scss
View file @
39f46046
...
...
@@ -10,11 +10,16 @@
/** COMMON CLASSES **/
.left
{
float
:left
}
.append-bottom-10
{
margin-bottom
:
10px
}
.append-bottom-20
{
margin-bottom
:
20px
}
.prepend-top-10
{
margin-top
:
10px
}
.prepend-top-20
{
margin-top
:
20px
}
.prepend-left
{
margin-left
:
20px
}
.prepend-left-10
{
margin-left
:
10px
}
.prepend-left-20
{
margin-left
:
20px
}
.append-right-10
{
margin-right
:
10px
}
.append-right-20
{
margin-right
:
20px
}
.append-bottom-10
{
margin-bottom
:
10px
}
.append-bottom-20
{
margin-bottom
:
20px
}
.padded
{
padding
:
20px
}
.ipadded
{
padding
:
20px
!
important
}
.lborder
{
border-left
:
1px
solid
#eee
}
...
...
@@ -32,8 +37,6 @@
border-color
:
#DDD
;
}
.well
{
padding
:
15px
;
}
/** HELPERS **/
.nothing_here_message
{
text-align
:
center
;
...
...
app/assets/stylesheets/sections/admin.scss
View file @
39f46046
/**
* Admin area
*
*/
.admin_dash
{
.data
{
a
{
h1
{
line-height
:
48px
;
font-size
:
48px
;
padding
:
20px
;
text-align
:
center
;
font-weight
:
normal
;
}
}
}
}
.admin-filter
form
{
label
{
width
:
110px
;
}
.controls
{
margin-left
:
130px
;
}
...
...
app/assets/stylesheets/sections/projects.scss
View file @
39f46046
.projects
{
@extend
.row
;
.activities
{
}
.side
{
@extend
.pull-right
;
.ui-box
{
margin
:
3px
;
>
.title
{
padding
:
2px
15px
;
}
.nav-projects-tabs
li
{
padding
:
0
;
}
.well-list
{
li
{
padding
:
15px
;
}
.arrow
{
float
:
right
;
padding
:
10px
;
margin
:
0
;
}
.last_activity
{
padding-top
:
5px
;
display
:
block
;
span
,
strong
{
font-size
:
12px
;
color
:
#666
;
}
}
}
@extend
.ui-box
;
}
}
}
.new_project
,
.edit_project
{
.project_name_holder
{
...
...
app/assets/stylesheets/selects.scss
View file @
39f46046
/* CHZN reset few styles */
.chzn-container-single
.chzn-single
{
background
:
#FFF
;
border
:
1px
solid
#bbb
;
box-shadow
:
none
;
}
.chzn-container-active
.chzn-single
{
background
:
#fff
;
}
.ajax-users-select
{
width
:
400px
;
}
...
...
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