From cc7a784cbe8822d306a2937f08b7665ea82ffb54 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Wed, 6 May 2020 19:55:45 +0200 Subject: Add/mobile feed configuration (#2938) * Show subscription management button on mobile * Show aside box-shadow on Origine only when opened * Reduce padding of Origine posts on mobile * Shrink stick component with long input * Show Origine configure icons on mobile * Show the slider full width on mobile * Improve the look of forms on mobile * Fix Ansum theme * Fix BlueLagoon theme * Fix Dark theme * Fix Flat theme * Fix Mapco theme * Fix Origine-compact theme * Fix Pafat theme * Fix Screwdriver theme * Fix Swage theme * Fix Alternative-Dark theme * Apply RTL script on themes Co-authored-by: triatic <42704418+triatic@users.noreply.github.com> --- p/themes/Mapco/_mobile.scss | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) (limited to 'p/themes/Mapco/_mobile.scss') diff --git a/p/themes/Mapco/_mobile.scss b/p/themes/Mapco/_mobile.scss index d646f3469..053e3ff60 100644 --- a/p/themes/Mapco/_mobile.scss +++ b/p/themes/Mapco/_mobile.scss @@ -15,6 +15,7 @@ } a { + box-sizing: border-box; padding: 1rem 1rem 1rem 2.5rem; background: url("../../themes/icons/logout.svg") no-repeat $sid-bg-dark 3% center; @@ -35,6 +36,15 @@ } + .form-group .group-name { + text-align: left; + } + + .box .box-title .configure, + .box .box-content .item .configure { + visibility: visible; + } + .aside { @include transition(all, 0.2s, ease-in-out); @@ -49,7 +59,8 @@ } .aside .toggle_aside, - #panel .close { + #panel .close, + #close-slider.active { background: $main-first-alt; display: block; width: 100%; @@ -67,6 +78,12 @@ } &.search { + display: block; + + .stick { + display: flex; + } + input { width: 90%; height: 3.5rem; @@ -84,18 +101,16 @@ } &.configure { - width: 2.75rem; - top: 3.125rem; - - .dropdown { - .btn { - padding: 1.125rem; - } - } + display: none; } } } + .post { + padding-left: 1rem; + padding-right: 1rem; + } + .nav_menu { .btn { margin: 0; -- cgit v1.2.3