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 ++++++---------- web/static/images/icons/audio.png | Bin 7432 -> 4859 bytes web/static/images/icons/code.png | Bin 7195 -> 4669 bytes web/static/images/icons/excel.png | Bin 6209 -> 3648 bytes web/static/images/icons/generic.png | Bin 8894 -> 6258 bytes web/static/images/icons/image.png | Bin 5604 -> 3995 bytes web/static/images/icons/patch.png | Bin 7865 -> 4956 bytes web/static/images/icons/pdf.png | Bin 11451 -> 5683 bytes web/static/images/icons/ppt.png | Bin 8450 -> 5588 bytes web/static/images/icons/video.png | Bin 5300 -> 3593 bytes web/static/images/icons/word.png | Bin 4543 -> 3674 bytes 11 files changed, 6 insertions(+), 10 deletions(-) (limited to 'web') 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; diff --git a/web/static/images/icons/audio.png b/web/static/images/icons/audio.png index 2b6d37f8d..bd25b7f84 100644 Binary files a/web/static/images/icons/audio.png and b/web/static/images/icons/audio.png differ diff --git a/web/static/images/icons/code.png b/web/static/images/icons/code.png index 80db302ee..c59e4b8dc 100644 Binary files a/web/static/images/icons/code.png and b/web/static/images/icons/code.png differ diff --git a/web/static/images/icons/excel.png b/web/static/images/icons/excel.png index 70ddadcbf..275c65c4d 100644 Binary files a/web/static/images/icons/excel.png and b/web/static/images/icons/excel.png differ diff --git a/web/static/images/icons/generic.png b/web/static/images/icons/generic.png index d9e82c232..0eb82c2d2 100644 Binary files a/web/static/images/icons/generic.png and b/web/static/images/icons/generic.png differ diff --git a/web/static/images/icons/image.png b/web/static/images/icons/image.png index a3acdef4c..799317731 100644 Binary files a/web/static/images/icons/image.png and b/web/static/images/icons/image.png differ diff --git a/web/static/images/icons/patch.png b/web/static/images/icons/patch.png index 18af126d4..a0affc9ee 100644 Binary files a/web/static/images/icons/patch.png and b/web/static/images/icons/patch.png differ diff --git a/web/static/images/icons/pdf.png b/web/static/images/icons/pdf.png index e4582570e..8c7507a1c 100644 Binary files a/web/static/images/icons/pdf.png and b/web/static/images/icons/pdf.png differ diff --git a/web/static/images/icons/ppt.png b/web/static/images/icons/ppt.png index 3571b4649..51553a11c 100644 Binary files a/web/static/images/icons/ppt.png and b/web/static/images/icons/ppt.png differ diff --git a/web/static/images/icons/video.png b/web/static/images/icons/video.png index e61a9e5f4..f53da93e4 100644 Binary files a/web/static/images/icons/video.png and b/web/static/images/icons/video.png differ diff --git a/web/static/images/icons/word.png b/web/static/images/icons/word.png index 20f830665..658937817 100644 Binary files a/web/static/images/icons/word.png and b/web/static/images/icons/word.png differ -- cgit v1.2.3-1-g7c22