From f502fdef5061cdd10777beeb785716b9a3a1acfd Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Sat, 25 Jul 2015 01:26:04 +0500 Subject: UI update for files --- web/sass-files/sass/partials/_files.scss | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'web/sass-files/sass/partials') diff --git a/web/sass-files/sass/partials/_files.scss b/web/sass-files/sass/partials/_files.scss index 2da4afefc..e8ea8817d 100644 --- a/web/sass-files/sass/partials/_files.scss +++ b/web/sass-files/sass/partials/_files.scss @@ -14,10 +14,6 @@ position: relative; border: 1px solid #DDD; @include clearfix; - &.custom-file { - width: 85px; - height: 100px; - } &:hover .remove-preview:after { @include opacity(1); } @@ -73,10 +69,10 @@ } @mixin file-icon($path) { - background: url($path); + background: #fff url($path); background-position: center; background-repeat: no-repeat; - @include background-size(auto 100%); + @include background-size(60px auto); } .file-icon { width: 100%; @@ -142,11 +138,11 @@ width: 50%; height: 100%; background: white; - border-left: 1px solid lightgrey; - font-size: small; - padding: 5px 5px; + border-left: 1px solid #ddd; + font-size: 13px; + padding: 7px; .post-image__name { - font-weight: 600; + margin-bottom: 3px; } .post-image__type { color: grey; -- cgit v1.2.3-1-g7c22