summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_files.scss
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-07-22 17:18:33 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-07-29 09:48:34 -0400
commiteddb79d97d72a63fc3af6741567077e3e59b2871 (patch)
tree87d6b218d9ed82171fe2e75110d441da25a66741 /web/sass-files/sass/partials/_files.scss
parent1af7cbe7fe5d015ba46b003f61afc3f606ba896a (diff)
downloadchat-eddb79d97d72a63fc3af6741567077e3e59b2871.tar.gz
chat-eddb79d97d72a63fc3af6741567077e3e59b2871.tar.bz2
chat-eddb79d97d72a63fc3af6741567077e3e59b2871.zip
Add an info box next to image thumbnails which provides the name, type, and size of a file.
Diffstat (limited to 'web/sass-files/sass/partials/_files.scss')
-rw-r--r--web/sass-files/sass/partials/_files.scss32
1 files changed, 27 insertions, 5 deletions
diff --git a/web/sass-files/sass/partials/_files.scss b/web/sass-files/sass/partials/_files.scss
index 56d03e171..2a4b21d01 100644
--- a/web/sass-files/sass/partials/_files.scss
+++ b/web/sass-files/sass/partials/_files.scss
@@ -117,13 +117,14 @@
}
.post-image__column {
position: relative;
- width: 120px;
+ width: 240px;
height: 100px;
float: left;
margin: 5px 10px 5px 0;
+ display: flex;
+ border: 1px solid lightgrey;
&.custom-file {
- width: 85px;
- height: 100px;
+ // TODO remove this class if it doesn't end up getting used any more
}
.post__load {
height: 100%;
@@ -133,13 +134,34 @@
background-position: center;
}
.post__image {
- height: 100%;
width: 100%;
- border: 1px solid #E2E2E2;
+ height: 100%;
background-color: #FFF;
background-repeat: no-repeat;
background-position: top left;
}
+ .post-image__thumbnail {
+ width: 50%;
+ height: 100%;
+ }
+ .post-image__details {
+ width: 50%;
+ height: 100%;
+ background: white;
+ border-left: 1px solid lightgrey;
+ font-size: small;
+ padding: 5px 5px;
+ .post-image__name {
+ font-weight: 600;
+ }
+ .post-image__type {
+ color: grey;
+ }
+ .post-image__size {
+ border-left: 2px;
+ color: grey;
+ }
+ }
a {
text-decoration: none;
color: grey;