Skip to content

Commit

Permalink
Fix background color on inline image attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Apr 24, 2016
1 parent f5b2b29 commit 5cbc44a
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions scss/modules/messaging/_attachments.scss
Original file line number Diff line number Diff line change
Expand Up @@ -202,19 +202,25 @@
}
}

&.image_container .preview_actions {
.btn {
background-color: rgba($color-shade-lightest, 0.9);
&.image_container {
.image_body {
background-color: $color-base;
}

&:focus,
&:hover {
background-color: $color-shade-dark;
.preview_actions {
.btn {
background-color: rgba($color-shade-lightest, 0.9);

&:focus,
&:hover {
background-color: $color-shade-dark;
}
}
}

&.overflow_preview_actions {
background: rgba($color-shade-lightest, 0.9);
border: 1px solid rgba($color-shade-darkest, 0.1);
&.overflow_preview_actions {
background: rgba($color-shade-lightest, 0.9);
border: 1px solid rgba($color-shade-darkest, 0.1);
}
}
}

Expand Down

0 comments on commit 5cbc44a

Please sign in to comment.