Skip to content

Commit

Permalink
refactor: Remove stylus
Browse files Browse the repository at this point in the history
  • Loading branch information
Crash-- committed Jan 15, 2024
1 parent f91b805 commit 03b1dff
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 129 deletions.
65 changes: 0 additions & 65 deletions src/styles/app.styl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@require 'tools/mixins.styl'
@require 'settings/breakpoints.styl'
@require 'settings/palette.styl'
@require 'settings/spaces.styl'

// overriding the general layout to allow a sticky footer
Expand Down Expand Up @@ -65,70 +64,6 @@ body
.background-container
transform scale(1.1)

.KonnectorErrors
p
margin: spacing_values.xs 0

.main-loader
display flex
justify-content center
align-items center
flex-grow 1

.col-content
margin 0 auto
width 60rem

@media (max-width: 60rem)
width auto

.col-initial-error,
.col-initial-loading
display flex
width 100vw
align-items center
justify-content center

.col-top-bar
display flex
flex-direction row
justify-content space-between
align-items center

+small-screen()
margin-top .5rem

button
width 100%

[role=banner] .col-view-title
padding 0
margin 0
display flex
align-self center

.col-button
@extend $button
@extend $button--regular


.col-account-connection-header
@media (max-width: rem(930))
width 100%

svg
max-height rem(48)

.col-account-connection-back
height 2em
display block
float left
margin-right 1em
padding-top .25em

svg
height 1.5em
width 1.5em

.flagship-app .main-view
bottom var(--flagship-bottom-height)
Expand Down
52 changes: 0 additions & 52 deletions src/styles/error.styl

This file was deleted.

1 change: 0 additions & 1 deletion src/styles/hero-header.styl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@require 'settings/breakpoints.styl'
@require 'settings/palette.styl'

.hero-header
padding 3rem 4rem
Expand Down
7 changes: 0 additions & 7 deletions src/styles/index.styl
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
@require 'cozy-ui'
@require 'utilities/*'
@require 'objects/layouts.styl'
@require 'components/*'

:global

@require './app.styl'
@require './hero-header.styl'
@require './lists.styl'
@require './error.styl'
@require './backgroundContainer.styl'
2 changes: 0 additions & 2 deletions src/styles/lists.styl
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@require 'settings/breakpoints.styl'
@require 'settings/palette.styl'
@require 'settings/spaces.styl'


.app-list, .services-list, .shortcuts-list
Expand Down
2 changes: 0 additions & 2 deletions src/styles/placeholder.styl
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@require 'settings/palette.styl'

@keyframes placeHolderShimmer
0%
background-position -20rem 0
Expand Down

0 comments on commit 03b1dff

Please sign in to comment.