summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-29 13:56:16 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-29 13:56:16 +0200
commit8b6870680173347db5df23529acb40a7a69fe918 (patch)
treef2f39250a5548f04d23d30fcd8669f3996028cd2
parentcf31f289d7bf073e8d8d91b6ee8df1225596e4dd (diff)
downloadgitlab-ce-8b6870680173347db5df23529acb40a7a69fe918.tar.gz
Compact projects list on dashboard
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/assets/stylesheets/common.scss5
-rw-r--r--app/assets/stylesheets/sections/dashboard.scss26
-rw-r--r--app/views/dashboard/_project.html.haml3
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)