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
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-04 17:34:07 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-04 17:34:07 +0400
commit69d149e0d0de88e143af2e83fe8bf9a0a970ad83 (patch)
tree1797d3d27998d280cb552f8a4ad4a82a5797b03a /app
parent487f78be129d44ae3dc098c9bd17925975435097 (diff)
Fix ugly project access icons
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/sections/dashboard.scss7
-rw-r--r--app/views/explore/projects/_project.html.haml17
2 files changed, 9 insertions, 15 deletions
diff --git a/app/assets/stylesheets/sections/dashboard.scss b/app/assets/stylesheets/sections/dashboard.scss
index 327e7aaa0e9..d181d83e857 100644
--- a/app/assets/stylesheets/sections/dashboard.scss
+++ b/app/assets/stylesheets/sections/dashboard.scss
@@ -100,14 +100,9 @@
margin-right: 15px;
font-size: 20px;
margin-bottom: 15px;
- border: 1px solid #EEE;
- padding: 8px 12px;
- border-radius: 50px;
- background: #f5f5f5;
- text-align: center;
i {
- color: #BBB;
+ color: #888;
}
}
diff --git a/app/views/explore/projects/_project.html.haml b/app/views/explore/projects/_project.html.haml
index 0b4be2ef5cd..fd5aacbfdb4 100644
--- a/app/views/explore/projects/_project.html.haml
+++ b/app/views/explore/projects/_project.html.haml
@@ -1,15 +1,14 @@
%li
- .project-access-icon
- = visibility_level_icon(project.visibility_level)
+ %h4.project-title
+ .project-access-icon
+ = visibility_level_icon(project.visibility_level)
+ = link_to project.name_with_namespace, project
- .project-description
- %h4.project-title
- = link_to project.name_with_namespace, project
-
- - if current_page?(starred_explore_projects_path)
- %strong.pull-right
- = pluralize project.star_count, 'star'
+ - if current_page?(starred_explore_projects_path)
+ %strong.pull-right
+ = pluralize project.star_count, 'star'
+ .project-info
- if project.description.present?
%p.project-description.str-truncated
= project.description