From 028e5e258682c970755a71e46faa75b3a0735110 Mon Sep 17 00:00:00 2001 From: Nicolas Bastien Date: Fri, 7 Feb 2020 08:49:40 +0100 Subject: [PATCH] smartbooster/sandbox#25 : add style for vichuploader form field --- assets/styles/_image.scss | 21 +++++++++++++++++++++ assets/styles/main.scss | 1 + 2 files changed, 22 insertions(+) create mode 100644 assets/styles/_image.scss diff --git a/assets/styles/_image.scss b/assets/styles/_image.scss new file mode 100644 index 0000000..943e30b --- /dev/null +++ b/assets/styles/_image.scss @@ -0,0 +1,21 @@ +//Smart content Bundle +.vich-image { + display: flex; + flex-direction: column; + + img { + max-width: 100%; + max-height: 150px; + border: 1px solid $gray; + padding: 5px; + margin-bottom: 15px; + } + a:not(:nth-child(3n)) { + padding-left: 5px; + &::before { + font: normal normal normal 14px/1 FontAwesome; + content: "\f019"; + margin-right: 5px; + } + } +} diff --git a/assets/styles/main.scss b/assets/styles/main.scss index 7830f09..b02d578 100644 --- a/assets/styles/main.scss +++ b/assets/styles/main.scss @@ -11,3 +11,4 @@ @import "skin"; @import "login"; @import "layout"; +@import "image";