diff --git a/src/styles/app.styl b/src/styles/app.styl index 432a680215..8fbee4cb3d 100644 --- a/src/styles/app.styl +++ b/src/styles/app.styl @@ -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 @@ -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) diff --git a/src/styles/error.styl b/src/styles/error.styl deleted file mode 100644 index 5c18e456ce..0000000000 --- a/src/styles/error.styl +++ /dev/null @@ -1,52 +0,0 @@ -@require 'settings/breakpoints' -@require 'components/empty' - -.col-error - @extend $empty - - &:before - background embedurl('../assets/icons/color/default.svg') center center / contain no-repeat - - button - margin 2em auto - -.col-empty-list - display flex - align-items center - justify-content space-between - flex-wrap nowrap - max-width rem(BP-small) - margin 2rem auto - - +mobile() - flex-direction column - - &--text - text-align left - - +mobile() - text-align center - - .col-button - margin rem(16) 0 0 - - h2 - p - margin rem(8) 0 - - &--img - flex 1 0 50% - max-height rem(240) - - img - width 100% - - +mobile() - flex 1 1 100% - width 100% - h2 - font-size rem(20) - line-height 1.2 - - @media (max-width: rem(466)) - display none diff --git a/src/styles/hero-header.styl b/src/styles/hero-header.styl index 2fafa2a489..5b9b656312 100644 --- a/src/styles/hero-header.styl +++ b/src/styles/hero-header.styl @@ -1,5 +1,4 @@ @require 'settings/breakpoints.styl' -@require 'settings/palette.styl' .hero-header padding 3rem 4rem diff --git a/src/styles/index.styl b/src/styles/index.styl index 522c488417..497c50087c 100644 --- a/src/styles/index.styl +++ b/src/styles/index.styl @@ -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' diff --git a/src/styles/lists.styl b/src/styles/lists.styl index e206ac86a0..f7532fea4e 100644 --- a/src/styles/lists.styl +++ b/src/styles/lists.styl @@ -1,6 +1,4 @@ @require 'settings/breakpoints.styl' -@require 'settings/palette.styl' -@require 'settings/spaces.styl' .app-list, .services-list, .shortcuts-list diff --git a/src/styles/placeholder.styl b/src/styles/placeholder.styl index 41a8d46ecc..587ada2cf8 100644 --- a/src/styles/placeholder.styl +++ b/src/styles/placeholder.styl @@ -1,5 +1,3 @@ -@require 'settings/palette.styl' - @keyframes placeHolderShimmer 0% background-position -20rem 0