Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-11-09 23:26:24 +0400
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-11-09 23:26:24 +0400
commiteb96336de1f8fa44d8c74567ce35c9f8a7069d23 (patch)
tree18c4fe71b68192dc3f94406e604f34980e3d61c4
parente608eacc4bbbaf7c2b3bd81d3ef8a24da3df03be (diff)
1. Set Helvetica as primary font; 2. removed tabs
-rwxr-xr-xapp/assets/stylesheets/style.scss10
-rw-r--r--app/helpers/issues_helper.rb20
-rw-r--r--app/helpers/tags_helper.rb21
3 files changed, 30 insertions, 21 deletions
diff --git a/app/assets/stylesheets/style.scss b/app/assets/stylesheets/style.scss
index 13f26d97d44..b6bc354e35c 100755
--- a/app/assets/stylesheets/style.scss
+++ b/app/assets/stylesheets/style.scss
@@ -670,3 +670,13 @@ body.projects-page .browse-code{margin-right: 10px}
p, h2, h3 { orphans: 3; widows: 3; }
h2, h3 { page-break-after: avoid; }
}
+
+/**
+ * author:DZ
+ * date: Nov 09
+ * fix different fonts for firefox & webkit
+ */
+body, button, input, select, textarea {
+ font-family: "Helvetica", sans-serif;
+}
+
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index bdb6c281870..d09fad5f33c 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -1,12 +1,12 @@
module IssuesHelper
- def sort_class
- if can?(current_user, :admin_issue, @project) && (!params[:f] || params[:f] == "0")
- "handle"
- end
- end
-
- def project_issues_filter_path project, params = {}
- params[:f] ||= cookies['issue_filter']
- project_issues_path project, params
- end
+ def sort_class
+ if can?(current_user, :admin_issue, @project) && (!params[:f] || params[:f] == "0")
+ "handle"
+ end
+ end
+
+ def project_issues_filter_path project, params = {}
+ params[:f] ||= cookies['issue_filter']
+ project_issues_path project, params
+ end
end
diff --git a/app/helpers/tags_helper.rb b/app/helpers/tags_helper.rb
index 5c1ecc8689b..ebed6a83746 100644
--- a/app/helpers/tags_helper.rb
+++ b/app/helpers/tags_helper.rb
@@ -1,15 +1,14 @@
module TagsHelper
- def tag_path tag
- "/tags/#{tag}"
- end
+ def tag_path tag
+ "/tags/#{tag}"
+ end
- def tag_list project
- html = ''
- project.tag_list.each do |tag|
- html += link_to tag, tag_path(tag)
- end
-
- html.html_safe
- end
+ def tag_list project
+ html = ''
+ project.tag_list.each do |tag|
+ html += link_to tag, tag_path(tag)
+ end
+ html.html_safe
+ end
end