summaryrefslogtreecommitdiff
path: root/app/views/shared/snippets/_snippet.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-03-18 19:02:08 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-03-18 19:02:08 +0100
commitdaeed3fdf309771a1c6827ed5b024c2f883bbeb5 (patch)
tree18baea2183e9ff39a3d76b161f6e13c4f0ac1287 /app/views/shared/snippets/_snippet.html.haml
parent5e2728891ecc375ee51d17aad1c40898cf3e16c1 (diff)
downloadgitlab-ce-daeed3fdf309771a1c6827ed5b024c2f883bbeb5.tar.gz
Refactor colors and lists
* Introduce 2 color links: black and blue * Use black color link for UI elements like lists * Refactor lists to use .title nested under li * Make all lists (events, todos, activity, projects etc) use style * List colorschema is now 333 for links and 555 for text Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/shared/snippets/_snippet.html.haml')
-rw-r--r--app/views/shared/snippets/_snippet.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/snippets/_snippet.html.haml b/app/views/shared/snippets/_snippet.html.haml
index a316a085107..c96dfefe17f 100644
--- a/app/views/shared/snippets/_snippet.html.haml
+++ b/app/views/shared/snippets/_snippet.html.haml
@@ -1,8 +1,8 @@
%li.snippet-row
= image_tag avatar_icon(snippet.author_email), class: "avatar s40 hidden-xs", alt: ''
- .snippet-title
- = link_to reliable_snippet_path(snippet), class: 'title' do
+ .title
+ = link_to reliable_snippet_path(snippet) do
= truncate(snippet.title, length: 60)
- if snippet.private?
%span.label.label-gray