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 | 293 | <script id="results" type="text/x-handlebars-template"> |
294 | 294 | <div class="loading">Carregando...</div> |
295 | 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 | 304 | <table> |
299 | 305 | <tr class="header"> |
300 | 306 | <td class="abstract-text">Propostas</td> |
... | ... | @@ -314,10 +320,6 @@ |
314 | 320 | {{/each}} |
315 | 321 | </table> |
316 | 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 | 323 | </div> |
322 | 324 | </script> |
323 | 325 | ... | ... |
sass/_proposal_detail.scss
... | ... | @@ -125,7 +125,7 @@ |
125 | 125 | text-transform: uppercase; |
126 | 126 | color: gray; |
127 | 127 | border: none; |
128 | - margin: 10px; | |
128 | + margin: 10px 0 0 10px; | |
129 | 129 | -webkit-border-radius: 6px; |
130 | 130 | -moz-border-radius: 6px; |
131 | 131 | border-radius: 6px; |
... | ... | @@ -136,9 +136,10 @@ |
136 | 136 | float: right; |
137 | 137 | } |
138 | 138 | .updated-at { |
139 | - font-size: 12px; | |
139 | + font-size: 14px; | |
140 | 140 | color: gray; |
141 | 141 | float: right; |
142 | + margin-right: 8px; | |
142 | 143 | } |
143 | 144 | .total { |
144 | 145 | padding: 10px; | ... | ... |