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
ec1b1588
Commit
ec1b1588
authored
Jul 01, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved header font
parent
caf5b9e5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
app/assets/stylesheets/header.scss
app/assets/stylesheets/header.scss
+3
-3
app/assets/stylesheets/nav.scss
app/assets/stylesheets/nav.scss
+1
-1
config/initializers/1_settings.rb
config/initializers/1_settings.rb
+7
-7
No files found.
app/assets/stylesheets/header.scss
View file @
ec1b1588
...
@@ -71,10 +71,10 @@ header {
...
@@ -71,10 +71,10 @@ header {
float
:left
;
float
:left
;
margin
:
0
;
margin
:
0
;
margin-right
:
30px
;
margin-right
:
30px
;
font-size
:
2
0
px
;
font-size
:
2
4
px
;
line-height
:
36px
;
line-height
:
36px
;
font-weight
:
bold
;
font-weight
:
500
;
color
:
$style_color
;
color
:
#567
;
text-shadow
:
0
1px
1px
#FFF
;
text-shadow
:
0
1px
1px
#FFF
;
}
}
...
...
app/assets/stylesheets/nav.scss
View file @
ec1b1588
...
@@ -70,7 +70,7 @@ nav.main_menu {
...
@@ -70,7 +70,7 @@ nav.main_menu {
}
}
&
.current
{
&
.current
{
background-color
:
#D5D5D5
;
background-color
:
#D5D5D5
;
border-bottom
:
2px
solid
#474D5
7
;
border-bottom
:
1px
solid
#56
7
;
border-right
:
1px
solid
#BBB
;
border-right
:
1px
solid
#BBB
;
border-left
:
1px
solid
#BBB
;
border-left
:
1px
solid
#BBB
;
border-radius
:
0
0
1px
1px
;
border-radius
:
0
0
1px
1px
;
...
...
config/initializers/1_settings.rb
View file @
ec1b1588
...
@@ -11,7 +11,7 @@ class Settings < Settingslogic
...
@@ -11,7 +11,7 @@ class Settings < Settingslogic
end
end
def
email_from
def
email_from
self
.
email
[
'from'
]
||=
"notify@"
+
web_host
self
.
email
[
'from'
]
||=
(
"notify@"
+
web_host
)
end
end
def
url
def
url
...
@@ -49,18 +49,18 @@ class Settings < Settingslogic
...
@@ -49,18 +49,18 @@ class Settings < Settingslogic
end
end
def
git_upload_pack
def
git_upload_pack
if
git_host
[
'upload_pack'
]
==
false
if
git_host
[
'upload_pack'
]
!=
false
false
else
true
true
else
false
end
end
end
end
def
git_receive_pack
def
git_receive_pack
if
git_host
[
'receive_pack'
]
==
false
if
git_host
[
'receive_pack'
]
!=
false
false
else
true
true
else
false
end
end
end
end
...
...
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