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