Skip to content

Commit

Permalink
Improves styles for management UI
Browse files Browse the repository at this point in the history
  • Loading branch information
decabeza committed Oct 14, 2015
1 parent 9a62122 commit c163d63
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 29 deletions.
Binary file modified app/assets/fonts/icons.eot
Binary file not shown.
3 changes: 1 addition & 2 deletions app/assets/fonts/icons.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/fonts/icons.ttf
Binary file not shown.
Binary file modified app/assets/fonts/icons.woff
Binary file not shown.
58 changes: 33 additions & 25 deletions app/assets/stylesheets/print.css
Expand Up @@ -2,16 +2,31 @@

/* Print proposals */

.top-links, .tags a, .supports, .label-proposal,
#print_link, .admin-sidebar, img.left, .proposal-info a,
.icon-comments, .menu-icon, .icon-proposals, li.name span,
p.proposal-info span:nth-child(3) {
display: none !important;
}
.tags a { display: none !important; }

.top-links {
display: none !important;
}
.supports { display: none !important; }

.label-proposal { display: none !important; }

#print_link { display: none !important; }

.admin-sidebar { display: none !important; }

img.left { display: none !important; }

.proposal-info a { display: none !important; }

.icon-comments { display: none !important; }

.menu-icon { display: none !important; }

.icon-proposals { display: none !important; }

li.name span { display: none !important; }

p.proposal-info span:nth-child(3) { display: none !important; }

.top-links { display: none !important; }

.select-order {
border: 0;
Expand All @@ -20,26 +35,19 @@ p.proposal-info span:nth-child(3) {
margin-left: -6px;
}

p.proposal-info {
margin-left: -6px;
}
p.proposal-info { margin-left: -6px; }

a {
text-decoration: none !important;
}
a { text-decoration: none !important; }

a:after {
content: none !important;
}
a:after { content: none !important; }

.proposal .panel, .proposal .panel .proposal-content,
.proposal .panel h3 {
min-height: auto !important;
}
.proposal .panel { min-height: auto !important; }

.proposal .panel .proposal-description {
height: auto;
}
.proposal .panel .proposal-content { min-height: auto !important; }

.proposal .panel h3 { min-height: auto !important; }

.proposal .panel .proposal-description { height: auto; }

.proposal .panel {
border-left: 0 !important;
Expand Down
4 changes: 2 additions & 2 deletions app/views/management/_menu.html.erb
@@ -1,4 +1,4 @@
<nav class="admin-sidebar">
<div class="admin-sidebar">
<ul id="admin_menu">
<li>
<%= link_to t("management.menu.title"), management_root_path %>
Expand Down Expand Up @@ -34,4 +34,4 @@
<% end %>
</li>
</ul>
</nav>
</div>

0 comments on commit c163d63

Please sign in to comment.