Commit 512a9ca1f32265d67ec7c1eb46ee722fcd496d10
1 parent
af23f011
Exists in
master
and in
7 other branches
Improve updated-at style
Showing
2 changed files
with
11 additions
and
8 deletions
Show diff stats
index.html
@@ -293,8 +293,14 @@ | @@ -293,8 +293,14 @@ | ||
293 | <script id="results" type="text/x-handlebars-template"> | 293 | <script id="results" type="text/x-handlebars-template"> |
294 | <div class="loading">Carregando...</div> | 294 | <div class="loading">Carregando...</div> |
295 | <div class="results-content hide"> | 295 | <div class="results-content hide"> |
296 | - <span class="total">Total de propostas: <span class="value">{{pagination.total}}</span></span> | ||
297 | - <a href="#" class="vote-result">Fechar</a> | 296 | + <div class="clearfix"> |
297 | + <span class="total">Total de propostas: <span class="value">{{pagination.total}}</span></span> | ||
298 | + <a href="#" class="vote-result">Fechar</a> | ||
299 | + </div> | ||
300 | + <div class="updated-at"> | ||
301 | + <span>Última atualização </span> | ||
302 | + <span class="timeago" title="{{updated_at}}"></span> | ||
303 | + </div> | ||
298 | <table> | 304 | <table> |
299 | <tr class="header"> | 305 | <tr class="header"> |
300 | <td class="abstract-text">Propostas</td> | 306 | <td class="abstract-text">Propostas</td> |
@@ -314,10 +320,6 @@ | @@ -314,10 +320,6 @@ | ||
314 | {{/each}} | 320 | {{/each}} |
315 | </table> | 321 | </table> |
316 | <div class="paging"></div> | 322 | <div class="paging"></div> |
317 | - <div class="updated-at"> | ||
318 | - <span>Última atualização </span> | ||
319 | - <span class="timeago" title="{{updated_at}}"></span> | ||
320 | - </div> | ||
321 | </div> | 323 | </div> |
322 | </script> | 324 | </script> |
323 | 325 |
sass/_proposal_detail.scss
@@ -125,7 +125,7 @@ | @@ -125,7 +125,7 @@ | ||
125 | text-transform: uppercase; | 125 | text-transform: uppercase; |
126 | color: gray; | 126 | color: gray; |
127 | border: none; | 127 | border: none; |
128 | - margin: 10px; | 128 | + margin: 10px 0 0 10px; |
129 | -webkit-border-radius: 6px; | 129 | -webkit-border-radius: 6px; |
130 | -moz-border-radius: 6px; | 130 | -moz-border-radius: 6px; |
131 | border-radius: 6px; | 131 | border-radius: 6px; |
@@ -136,9 +136,10 @@ | @@ -136,9 +136,10 @@ | ||
136 | float: right; | 136 | float: right; |
137 | } | 137 | } |
138 | .updated-at { | 138 | .updated-at { |
139 | - font-size: 12px; | 139 | + font-size: 14px; |
140 | color: gray; | 140 | color: gray; |
141 | float: right; | 141 | float: right; |
142 | + margin-right: 8px; | ||
142 | } | 143 | } |
143 | .total { | 144 | .total { |
144 | padding: 10px; | 145 | padding: 10px; |