From 8b6870680173347db5df23529acb40a7a69fe918 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 29 Dec 2013 13:56:16 +0200 Subject: [PATCH] Compact projects list on dashboard Signed-off-by: Dmitriy Zaporozhets --- app/assets/stylesheets/common.scss | 5 ---- .../stylesheets/sections/dashboard.scss | 26 ++++++------------- app/views/dashboard/_project.html.haml | 3 --- 3 files changed, 8 insertions(+), 26 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 1cfcbcedc60..20b7463d1a4 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -327,11 +327,6 @@ img.emoji { margin-bottom: 10px; } -.group-name { - font-size: 14px; - line-height: 24px; -} - table { td.permission-x { background: #D9EDF7 !important; diff --git a/app/assets/stylesheets/sections/dashboard.scss b/app/assets/stylesheets/sections/dashboard.scss index 6b6e92eb0af..720d3a8fbd5 100644 --- a/app/assets/stylesheets/sections/dashboard.scss +++ b/app/assets/stylesheets/sections/dashboard.scss @@ -67,44 +67,36 @@ .project-row, .group-row { padding: 10px 12px !important; - - .namespace-name { - color: #666; - font-weight: bold; - } + font-size: 14px; + line-height: 24px; a { display: block; } .project-name, .group-name { - font-size: 15px; + font-weight: 500; } .arrow { float: right; - padding: 10px 5px; + padding: 0px 5px; margin: 0; font-size: 20px; color: #666; } .last-activity { + float: right; + font-size: 12px; color: #AAA; display: block; - margin-top: 5px; .date { color: #777; } } } -.group-row { - .arrow { - padding: 2px 5px; - } -} - .project-access-icon { margin-left: 10px; float: left; @@ -125,10 +117,8 @@ .dash-project-access-icon { float: left; - margin-right: 5px; - font-size: 18px; - color: #BBB; + margin-right: 3px; + color: #999; margin-bottom: 10px; - margin-top: 2px; width: 16px; } diff --git a/app/views/dashboard/_project.html.haml b/app/views/dashboard/_project.html.haml index 5792a015967..db445eed233 100644 --- a/app/views/dashboard/_project.html.haml +++ b/app/views/dashboard/_project.html.haml @@ -9,6 +9,3 @@ = truncate(project.name, length: 25) %span.arrow %i.icon-angle-right - %span.last-activity - %span Last activity: - %span.date= project_last_activity(project)