Commit 718165ba0aa47368fefb6ad9eb4fd8d99dcc6582
1 parent
85a0be14
Exists in
spb-stable
and in
3 other branches
Restyle visibility icon
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
6 additions
and
6 deletions
Show diff stats
app/assets/stylesheets/sections/projects.scss
... | ... | @@ -52,15 +52,16 @@ |
52 | 52 | } |
53 | 53 | |
54 | 54 | .visibility-level-label { |
55 | - font-size: 13px; | |
55 | + font-size: 17px; | |
56 | 56 | background: #f1f1f1; |
57 | - padding: 8px; | |
58 | 57 | border-radius: 4px; |
59 | - margin-left: 10px; | |
60 | 58 | color: #888; |
61 | 59 | position: absolute; |
62 | - margin-left: -80px; | |
60 | + margin-left: -55px; | |
63 | 61 | text-shadow: 0 1px 1px #FFF; |
62 | + width: 40px; | |
63 | + text-align: center; | |
64 | + padding: 6px; | |
64 | 65 | |
65 | 66 | i { |
66 | 67 | color: inherit; | ... | ... |
app/views/projects/_home_panel.html.haml
1 | 1 | - empty_repo = @project.empty_repo? |
2 | 2 | .project-home-panel{:class => ("empty-project" if empty_repo)} |
3 | - .visibility-level-label | |
3 | + .visibility-level-label.has_tooltip{'data-title' => "#{visibility_level_label(@project.visibility_level)} project" } | |
4 | 4 | = visibility_level_icon(@project.visibility_level) |
5 | - = visibility_level_label(@project.visibility_level) | |
6 | 5 | .row |
7 | 6 | .col-sm-6 |
8 | 7 | %h4.project-home-title | ... | ... |