From 92389ddf04cf6b7e3dd01b7f1d5f00c1d55d0ef9 Mon Sep 17 00:00:00 2001 From: GoOz Date: Wed, 28 Nov 2018 18:13:51 +0100 Subject: [PATCH] fix: Wizard styles --- stylus/components/wizard.styl | 16 +++++----------- stylus/cozy-ui/build.styl | 2 -- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/stylus/components/wizard.styl b/stylus/components/wizard.styl index 037f651e4d..25e2a17cbf 100644 --- a/stylus/components/wizard.styl +++ b/stylus/components/wizard.styl @@ -35,7 +35,6 @@ $wizard-wrapper--welcome $wizard-errors order 1 - color pomegranate $wizard-header display flex @@ -49,6 +48,7 @@ $wizard-main $wizard-footer display flex + order 2 flex-wrap wrap flex 0 0 auto padding-bottom env(safe-area-inset-bottom) @@ -56,13 +56,7 @@ $wizard-footer & > button // @stylint ignore & > a:link // @stylint ignore flex 1 1 100% - - -$wizard-footer--welcome - & > button // @stylint ignore - & > a:link // @stylint ignore - flex 1 0 40% - margin 0 rem(4) rem(8) + margin 0 0 rem(8) // Wizard elements $wizard-logo @@ -99,9 +93,10 @@ $wizard-header-help $wizard-previous position fixed - top rem(10) - left rem(16) + top rem(7) + left 0 margin 0 + padding rem(10) rem(16) color coolGrey $wizard-next @@ -138,7 +133,6 @@ $wizard-subtitle text-align center font-size rem(16) line-height 1.5 - color coolGrey margin 0 0 rem(8) +small-screen() font-size rem(14) diff --git a/stylus/cozy-ui/build.styl b/stylus/cozy-ui/build.styl index 7ca3747d85..b34c91d0ed 100644 --- a/stylus/cozy-ui/build.styl +++ b/stylus/cozy-ui/build.styl @@ -886,8 +886,6 @@ Display an chip that represents complex identity .wizard--welcome .wizard-wrapper @extend $wizard-wrapper--welcome - .wizard-footer - @extend $wizard-footer--welcome .wizard-title @extend $wizard-title--welcome