From 0cb9f59622f893ce0878e3876e28556781dd6700 Mon Sep 17 00:00:00 2001 From: maTh Date: Sat, 6 Aug 2022 22:40:43 +0200 Subject: Fix: Mapco theme cleaning (#4491) * translated the comments FR -> EN * delete useless extra styles for login header (template.css) * * simplefy the search bar button * improve the config menu button * improve the layout of the login/register prompt * navigation bar: border radius * navigation bar: btn hover improved to darker grey, when not within .stick * header height improved * delete unused code ul.nav * delete outcommented code * translate comments FR -> EN * improve login form layout * icons: do not use it as background-image * mapco.css * fixes the nuts * more nuts * improve mobile login form * delete unused view-normal.svg * compress the svg icons --- p/themes/Mapco/_mobile.scss | 51 ++++++++++----------------------------------- 1 file changed, 11 insertions(+), 40 deletions(-) (limited to 'p/themes/Mapco/_mobile.scss') diff --git a/p/themes/Mapco/_mobile.scss b/p/themes/Mapco/_mobile.scss index 92e5d833f..769434892 100644 --- a/p/themes/Mapco/_mobile.scss +++ b/p/themes/Mapco/_mobile.scss @@ -6,40 +6,6 @@ /*===========*/ @media (max-width: 840px) { - html, body { - // font-size: 1rem; - } - - ul.nav { - .item { - width: 100%; - - img { - display: none; - } - - a { - box-sizing: border-box; - padding: 1rem 1rem 1rem 2.5rem; - - background: url("../../themes/icons/logout.svg") no-repeat variables.$sid-bg-dark 3% center; - display: inline-block; - width: 100%; - color: variables.$sid-font-color; - - @include mixins.transition(all, 0.2s, ease-in-out); - - &:hover, - &:active { - background: url("../../themes/icons/logout.svg") no-repeat variables.$alert-bg 3% center; - text-decoration: none; - } - } - - } - - } - .form-group .group-name { text-align: left; } @@ -75,6 +41,7 @@ .header { padding: 0.5rem; + height: 8rem; .item { &.search { @@ -97,16 +64,21 @@ } } - - .btn { - min-height: 49px; - padding: 0.5rem 2rem; - } } } } + #global { + height: calc(100% - 8rem); + } + + main.prompt { + max-width: 100%; + min-width: auto; + width: 75%; + } + .post { padding-left: 1rem; padding-right: 1rem; @@ -183,7 +155,6 @@ .name { padding: 0; - // font-size: 1.1rem; display: block; width: 100%; line-height: 1.5rem; -- cgit v1.2.3