Style project visibility icons on dashboard
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
fd6fc422c6
commit
05de390fd8
3 changed files with 15 additions and 3 deletions
|
@ -66,7 +66,7 @@
|
|||
}
|
||||
|
||||
.project-row, .group-row {
|
||||
padding: 10px 15px !important;
|
||||
padding: 10px 12px !important;
|
||||
|
||||
.namespace-name {
|
||||
color: #666;
|
||||
|
@ -122,3 +122,13 @@
|
|||
color: #BBB;
|
||||
}
|
||||
}
|
||||
|
||||
.dash-project-access-icon {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
font-size: 18px;
|
||||
color: #BBB;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 2px;
|
||||
width: 16px;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
= link_to project_path(project), class: dom_class(project) do
|
||||
= visibility_level_icon(project.visibility_level)
|
||||
.dash-project-access-icon
|
||||
= visibility_level_icon(project.visibility_level)
|
||||
%span.namespace-name
|
||||
- if project.namespace
|
||||
= project.namespace.human_name
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
- projects.each do |project|
|
||||
%li.project-row
|
||||
= link_to project_path(project), class: dom_class(project) do
|
||||
= visibility_level_icon(project.visibility_level)
|
||||
.dash-project-access-icon
|
||||
= visibility_level_icon(project.visibility_level)
|
||||
%span.project-name
|
||||
= truncate(project.name, length: 25)
|
||||
%span.arrow
|
||||
|
|
Loading…
Reference in a new issue