Commit 718165ba authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Restyle visibility icon

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 85a0be14
...@@ -52,15 +52,16 @@ ...@@ -52,15 +52,16 @@
} }
.visibility-level-label { .visibility-level-label {
font-size: 13px; font-size: 17px;
background: #f1f1f1; background: #f1f1f1;
padding: 8px;
border-radius: 4px; border-radius: 4px;
margin-left: 10px;
color: #888; color: #888;
position: absolute; position: absolute;
margin-left: -80px; margin-left: -55px;
text-shadow: 0 1px 1px #FFF; text-shadow: 0 1px 1px #FFF;
width: 40px;
text-align: center;
padding: 6px;
i { i {
color: inherit; color: inherit;
......
- empty_repo = @project.empty_repo? - empty_repo = @project.empty_repo?
.project-home-panel{:class => ("empty-project" if empty_repo)} .project-home-panel{:class => ("empty-project" if empty_repo)}
.visibility-level-label .visibility-level-label.has_tooltip{'data-title' => "#{visibility_level_label(@project.visibility_level)} project" }
= visibility_level_icon(@project.visibility_level) = visibility_level_icon(@project.visibility_level)
= visibility_level_label(@project.visibility_level)
.row .row
.col-sm-6 .col-sm-6
%h4.project-home-title %h4.project-home-title
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment