From caf86dd9b7eb4ac48a8095c49a4c1b99681d061a Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 18 Apr 2018 18:51:49 +0200 Subject: [PATCH] Improve static pages UI --- customize.dist/src/less2/include/infopages.less | 17 ++++++++++++++--- .../src/less2/pages/page-register.less | 6 +----- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/customize.dist/src/less2/include/infopages.less b/customize.dist/src/less2/include/infopages.less index b07b90aa8..4282b3499 100644 --- a/customize.dist/src/less2/include/infopages.less +++ b/customize.dist/src/less2/include/infopages.less @@ -161,6 +161,7 @@ background-size: contain; height: 50px; width: 250px; + margin-right: 0; } a { border: 2px solid transparent; @@ -169,7 +170,8 @@ .nav-link { padding: 0.5em 0.7em; &:hover { - transform: scale(1.05); + font-size: 1.05em; + //transform: scale(1.05); }; } .cp-register-btn { @@ -184,9 +186,18 @@ color: #4591C4; } } -@media (max-width: 991px) { +@media (max-width: 1000px) { #menuCollapse { text-align: right; +/* @media (min-width: 576px) { + top: 100%; + background: rgba(255,255,255,0.8); + position: absolute; + right: 0px; + padding: 0 20px; + z-index: 1; + } +*/ } .navbar-nav a { text-align: right !important; @@ -194,7 +205,7 @@ .cp-register-btn { margin-right: 13px; text-align: center; - } + } } //footer general styles diff --git a/customize.dist/src/less2/pages/page-register.less b/customize.dist/src/less2/pages/page-register.less index 6336c6aa3..e8f49a850 100644 --- a/customize.dist/src/less2/pages/page-register.less +++ b/customize.dist/src/less2/pages/page-register.less @@ -23,11 +23,7 @@ } margin-top: 16px; font-size: 1.25em; - min-width: 30%; // conflict? - width: 30%; - @media (max-width: 500px) { - width: 45%; - } + min-width: 30%; } } padding-bottom: 3em;