Commit 8b6870680173347db5df23529acb40a7a69fe918

Authored by Dmitriy Zaporozhets
1 parent cf31f289

Compact projects list on dashboard

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/assets/stylesheets/common.scss
@@ -327,11 +327,6 @@ img.emoji { @@ -327,11 +327,6 @@ img.emoji {
327 margin-bottom: 10px; 327 margin-bottom: 10px;
328 } 328 }
329 329
330 -.group-name {  
331 - font-size: 14px;  
332 - line-height: 24px;  
333 -}  
334 -  
335 table { 330 table {
336 td.permission-x { 331 td.permission-x {
337 background: #D9EDF7 !important; 332 background: #D9EDF7 !important;
app/assets/stylesheets/sections/dashboard.scss
@@ -67,44 +67,36 @@ @@ -67,44 +67,36 @@
67 67
68 .project-row, .group-row { 68 .project-row, .group-row {
69 padding: 10px 12px !important; 69 padding: 10px 12px !important;
70 -  
71 - .namespace-name {  
72 - color: #666;  
73 - font-weight: bold;  
74 - } 70 + font-size: 14px;
  71 + line-height: 24px;
75 72
76 a { 73 a {
77 display: block; 74 display: block;
78 } 75 }
79 76
80 .project-name, .group-name { 77 .project-name, .group-name {
81 - font-size: 15px; 78 + font-weight: 500;
82 } 79 }
83 80
84 .arrow { 81 .arrow {
85 float: right; 82 float: right;
86 - padding: 10px 5px; 83 + padding: 0px 5px;
87 margin: 0; 84 margin: 0;
88 font-size: 20px; 85 font-size: 20px;
89 color: #666; 86 color: #666;
90 } 87 }
91 88
92 .last-activity { 89 .last-activity {
  90 + float: right;
  91 + font-size: 12px;
93 color: #AAA; 92 color: #AAA;
94 display: block; 93 display: block;
95 - margin-top: 5px;  
96 .date { 94 .date {
97 color: #777; 95 color: #777;
98 } 96 }
99 } 97 }
100 } 98 }
101 99
102 -.group-row {  
103 - .arrow {  
104 - padding: 2px 5px;  
105 - }  
106 -}  
107 -  
108 .project-access-icon { 100 .project-access-icon {
109 margin-left: 10px; 101 margin-left: 10px;
110 float: left; 102 float: left;
@@ -125,10 +117,8 @@ @@ -125,10 +117,8 @@
125 117
126 .dash-project-access-icon { 118 .dash-project-access-icon {
127 float: left; 119 float: left;
128 - margin-right: 5px;  
129 - font-size: 18px;  
130 - color: #BBB; 120 + margin-right: 3px;
  121 + color: #999;
131 margin-bottom: 10px; 122 margin-bottom: 10px;
132 - margin-top: 2px;  
133 width: 16px; 123 width: 16px;
134 } 124 }
app/views/dashboard/_project.html.haml
@@ -9,6 +9,3 @@ @@ -9,6 +9,3 @@
9 = truncate(project.name, length: 25) 9 = truncate(project.name, length: 25)
10 %span.arrow 10 %span.arrow
11 %i.icon-angle-right 11 %i.icon-angle-right
12 - %span.last-activity  
13 - %span Last activity:  
14 - %span.date= project_last_activity(project)