Show hidden screenshots in a dark-grayish style
This commit is contained in:
parent
cc76ebcc28
commit
33240846b2
2 changed files with 5 additions and 0 deletions
|
|
@ -604,6 +604,10 @@ a.black
|
|||
border: 5px solid red;
|
||||
}
|
||||
|
||||
.pkgcard.hidden {
|
||||
background-color: gray;
|
||||
}
|
||||
|
||||
.button {
|
||||
box-shadow: 0.1rem 0.1rem 0.2rem 0 rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
- @divclasses = %W(cell pkgcard)
|
||||
- @divclasses << (screenshot.approved ? "approved" : "unapproved")
|
||||
- @divclasses << 'highlight' if screenshot.id == @highlight_id
|
||||
- @divclasses << 'hidden' if screenshot.hidden
|
||||
div class=(@divclasses.join(' ')) data-equalizer-watch=true
|
||||
/ TODO: try to alight the buttons to the bottom
|
||||
= render(partial: 'admin_buttons', locals: {screenshot: screenshot})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue