Skip to content

Commit

Permalink
fix: Wizard styles
Browse files Browse the repository at this point in the history
  • Loading branch information
GoOz committed Nov 28, 2018
1 parent bdf8932 commit 92389dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
16 changes: 5 additions & 11 deletions stylus/components/wizard.styl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ $wizard-wrapper--welcome

$wizard-errors
order 1
color pomegranate

$wizard-header
display flex
Expand All @@ -49,20 +48,15 @@ $wizard-main

$wizard-footer
display flex
order 2
flex-wrap wrap
flex 0 0 auto
padding-bottom env(safe-area-inset-bottom)

& > 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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions stylus/cozy-ui/build.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 92389dd

Please sign in to comment.