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
399d0bdd
Commit
399d0bdd
authored
Jul 13, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use bootstrap typography for headers
parent
bea14d6c
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
33 deletions
+14
-33
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
+1
-9
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
+2
-5
app/assets/stylesheets/gitlab_bootstrap/common.scss
app/assets/stylesheets/gitlab_bootstrap/common.scss
+0
-4
app/assets/stylesheets/gitlab_bootstrap/files.scss
app/assets/stylesheets/gitlab_bootstrap/files.scss
+2
-1
app/assets/stylesheets/gitlab_bootstrap/mixins.scss
app/assets/stylesheets/gitlab_bootstrap/mixins.scss
+4
-6
app/assets/stylesheets/gitlab_bootstrap/typography.scss
app/assets/stylesheets/gitlab_bootstrap/typography.scss
+3
-7
app/assets/stylesheets/sections/header.scss
app/assets/stylesheets/sections/header.scss
+1
-0
app/views/projects/merge_requests/show/_mr_accept.html.haml
app/views/projects/merge_requests/show/_mr_accept.html.haml
+1
-1
No files found.
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
View file @
399d0bdd
...
@@ -90,6 +90,7 @@
...
@@ -90,6 +90,7 @@
line-height
:
36px
;
line-height
:
36px
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
normal
;
font-weight
:
normal
;
margin
:
0
;
>
a
{
>
a
{
text-shadow
:
0
1px
1px
#fff
;
text-shadow
:
0
1px
1px
#fff
;
...
@@ -132,15 +133,6 @@
...
@@ -132,15 +133,6 @@
margin-bottom
:
0
;
margin-bottom
:
0
;
padding
:
5px
20px
;
padding
:
5px
20px
;
}
}
.middle_title
{
background
:
#f5f5f5
;
margin
:
20px
-20px
;
padding
:
0
20px
;
border-top
:
1px
solid
#eee
;
border-bottom
:
1px
solid
#eee
;
font-size
:
14px
;
color
:
#777
;
}
}
}
.row_title
{
.row_title
{
...
...
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
View file @
399d0bdd
...
@@ -43,11 +43,8 @@
...
@@ -43,11 +43,8 @@
}
}
}
}
&
.success
{
&
.btn-success
{
@extend
.btn-success
;
&
:hover
{
&
:hover
{
@extend
.btn-success
;
background
:
#51a351
;
background
:
#51a351
;
}
}
...
@@ -59,7 +56,7 @@
...
@@ -59,7 +56,7 @@
&
.btn-create
{
&
.btn-create
{
@extend
.wide
;
@extend
.wide
;
@extend
.success
;
@extend
.
btn-
success
;
}
}
&
.btn-save
{
&
.btn-save
{
...
...
app/assets/stylesheets/gitlab_bootstrap/common.scss
View file @
399d0bdd
...
@@ -68,10 +68,6 @@ input[type='text'].danger {
...
@@ -68,10 +68,6 @@ input[type='text'].danger {
fieldset
legend
{
font-size
:
17px
;
}
fieldset
legend
{
font-size
:
17px
;
}
/** PAGINATION **/
.gitlab_pagination
{
}
.tab-content
{
.tab-content
{
overflow
:
visible
;
overflow
:
visible
;
}
}
...
...
app/assets/stylesheets/gitlab_bootstrap/files.scss
View file @
399d0bdd
...
@@ -48,7 +48,8 @@
...
@@ -48,7 +48,8 @@
&
.wiki
{
&
.wiki
{
padding
:
20px
;
padding
:
20px
;
font-size
:
13px
;
font-size
:
14px
;
line-height
:
1
.6
;
.highlight
{
.highlight
{
margin-bottom
:
9px
;
margin-bottom
:
9px
;
...
...
app/assets/stylesheets/gitlab_bootstrap/mixins.scss
View file @
399d0bdd
...
@@ -79,10 +79,8 @@
...
@@ -79,10 +79,8 @@
@mixin
md-typography
{
@mixin
md-typography
{
code
{
padding
:
0
4px
;
}
code
{
padding
:
0
4px
;
}
p
{
font-size
:
13px
;
}
p
{
font-size
:
13px
;
}
h1
{
font-size
:
26px
;
line-height
:
40px
;
margin
:
10px
0
;}
h1
{
margin-top
:
30px
;}
h2
{
font-size
:
22px
;
line-height
:
40px
;
margin
:
10px
0
;}
h2
{
margin-top
:
25px
;}
h3
{
font-size
:
18px
;
line-height
:
40px
;
margin
:
10px
0
;}
h3
{
margin-top
:
20px
;}
h4
{
font-size
:
16px
;
line-height
:
20px
;
margin
:
10px
0
;}
h4
{
margin-top
:
15px
;}
h5
{
font-size
:
14px
;
line-height
:
20px
;
margin
:
10px
0
;}
h6
{
font-size
:
12px
;
line-height
:
20px
;
margin
:
10px
0
;}
}
}
app/assets/stylesheets/gitlab_bootstrap/typography.scss
View file @
399d0bdd
...
@@ -3,15 +3,12 @@
...
@@ -3,15 +3,12 @@
*
*
*/
*/
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
margin
:
0
;
}
h3
,
h4
,
h5
,
h6
{
line-height
:
36px
;
}
h5
{
font-size
:
14px
;
}
h3
.page-title
{
h3
.page-title
{
color
:
#456
;
color
:
#456
;
font-size
:
20px
;
font-size
:
20px
;
font-weight
:
normal
;
font-weight
:
normal
;
line-height
:
28px
;
line-height
:
28px
;
margin-top
:
0px
;
margin-bottom
:
15px
;
margin-bottom
:
15px
;
}
}
...
@@ -92,11 +89,10 @@ a:focus {
...
@@ -92,11 +89,10 @@ a:focus {
*
*
*/
*/
.wiki
{
.wiki
{
font-size
:
14px
;
line-height
:
1
.6
;
@include
md-typography
;
@include
md-typography
;
font-size
:
13px
;
line-height
:
20px
;
.white
.highlight
pre
{
background
:
#f5f5f5
;
}
.white
.highlight
pre
{
background
:
#f5f5f5
;
}
ul
{
margin
:
0
0
9px
25px
!
important
;
}
ul
{
margin
:
0
0
9px
25px
!
important
;
}
}
}
...
...
app/assets/stylesheets/sections/header.scss
View file @
399d0bdd
...
@@ -45,6 +45,7 @@ header {
...
@@ -45,6 +45,7 @@ header {
margin
:
0
6px
;
margin
:
0
6px
;
h1
{
h1
{
margin
:
0
;
background
:
url('logo-black.png')
no-repeat
center
1px
;
background
:
url('logo-black.png')
no-repeat
center
1px
;
background-size
:
38px
;
background-size
:
38px
;
float
:
left
;
float
:
left
;
...
...
app/views/projects/merge_requests/show/_mr_accept.html.haml
View file @
399d0bdd
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
%strong
=
link_to
"click here"
,
"#"
,
class:
"how_to_merge_link vlink"
,
title:
"How To Merge"
%strong
=
link_to
"click here"
,
"#"
,
class:
"how_to_merge_link vlink"
,
title:
"How To Merge"
for instructions
for instructions
.accept_group
.accept_group
=
f
.
submit
"Accept Merge Request"
,
class:
"btn success accept_merge_request"
=
f
.
submit
"Accept Merge Request"
,
class:
"btn
btn-
success accept_merge_request"
-
unless
@project
.
root_ref?
@merge_request
.
source_branch
-
unless
@project
.
root_ref?
@merge_request
.
source_branch
.remove_branch_holder
.remove_branch_holder
=
label_tag
:should_remove_source_branch
,
class:
"checkbox"
do
=
label_tag
:should_remove_source_branch
,
class:
"checkbox"
do
...
...
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