diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-03-18 19:02:08 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-03-18 19:02:08 +0100 |
commit | daeed3fdf309771a1c6827ed5b024c2f883bbeb5 (patch) | |
tree | 18baea2183e9ff39a3d76b161f6e13c4f0ac1287 /app/views/shared/snippets/_snippet.html.haml | |
parent | 5e2728891ecc375ee51d17aad1c40898cf3e16c1 (diff) | |
download | gitlab-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.haml | 4 |
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 |