From 8698c1c696508777446a29d04b5313633c86abbc Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Thu, 2 Feb 2023 19:36:44 +0100 Subject: [PATCH] photo imports --- app/assets/stylesheets/admin/appstack/style.sass | 5 +++++ .../admin/communication/photo_imports/_selector.html.erb | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/admin/appstack/style.sass b/app/assets/stylesheets/admin/appstack/style.sass index 4c310a33d..185307991 100644 --- a/app/assets/stylesheets/admin/appstack/style.sass +++ b/app/assets/stylesheets/admin/appstack/style.sass @@ -125,6 +125,11 @@ p * color: white +// Photo imports +.photo_import + &__unsplash + border-right: 1px solid rgba(0, 0, 0, 0.3) + // Bloc datatable .fake-table border: 1px solid $border-color diff --git a/app/views/admin/communication/photo_imports/_selector.html.erb b/app/views/admin/communication/photo_imports/_selector.html.erb index 22dc08c26..5672edce0 100644 --- a/app/views/admin/communication/photo_imports/_selector.html.erb +++ b/app/views/admin/communication/photo_imports/_selector.html.erb @@ -66,7 +66,7 @@ pexels_path = admin_communication_pexels_path(website_id: nil, format: :json) <div class="modal-body"> <div class="row"> <div class="col-md-6"> - <div class="row pure__row--small" ref="results"> + <div class="photo_import__unsplash photo_import__unsplash__results row pure__row--small" ref="results"> <p v-if="unsplash.data.results.length === 0 || !unsplash.data" > <%= t 'photo_import.nothing' %> </p> @@ -79,7 +79,7 @@ pexels_path = admin_communication_pexels_path(website_id: nil, format: :json) </div> </div> <div class="col-md-6"> - <div class="row pure__row--small" ref="results"> + <div class="photo_import__pexels photo_import__pexels__results row pure__row--small" ref="results"> <p v-if="pexels.data.results.length === 0 || !pexels.data" > <%= t 'photo_import.nothing' %> </p> @@ -96,7 +96,7 @@ pexels_path = admin_communication_pexels_path(website_id: nil, format: :json) <div class="modal-footer d-block"> <div class="row"> <div class="col-md-6"> - <div class="row"> + <div class="row photo_import__unsplash photo_import__unsplash__nav"> <div class="col-lg-5"> <a href="#" v-if="unsplash.page > 1" @@ -118,7 +118,7 @@ pexels_path = admin_communication_pexels_path(website_id: nil, format: :json) </div> </div> <div class="col-md-6"> - <div class="row"> + <div class="row photo_import__pexels photo_import__pexels__nav"> <div class="col-lg-5"> <a href="#" v-if="pexels.page > 1" -- GitLab