Sha256: c5b44ab37c712315fd50ea235312b31f6cc4ac523fcb0872e83422bc7623d5b2

Contents?: true

Size: 1.96 KB

Versions: 49

Compression:

Stored size: 1.96 KB

Contents

////
/// @group page-typography
////

/// Space around page text inside scroller.
$page-scroller-padding-top: 15% !default;

/// Space around page text inside scroller.
$page-scroller-mobile-padding-top: 25% !default;

/// Space around page text inside scroller.
$page-scroller-mobile-landscape-padding-top: 10% !default;

/// Space around page text inside scroller.
$page-scroller-padding-bottom: 5% !default;

/// Space around page text inside scroller.
$page-scroller-padding-left: 8% !default;

/// Space around page text inside scroller.
$page-scroller-padding-right: 8% !default;

/// Space around page text inside scroller.
$page-scroller-mobile-padding-right: 8% !default;

/// Space for logo on first page.
$page-scroller-first-page-padding-top: null !default;

/// Space for logo on first page in mobile layout.
$page-scroller-first-page-mobile-padding-top: 110px !default;

/// Space for logo on first page in mobile landscape layout.
$page-scroller-first-page-mobile-landscape-padding-top: 100px !default;

/// Space for logo on first page in phone layout.
$page-scroller-first-page-phone-padding-top: null !default;

.page {
  .scroller > div {
    padding: $page-scroller-padding-top
               $page-scroller-padding-right
               $page-scroller-padding-bottom
               $page-scroller-padding-left;

    @include mobile {
      padding-top: $page-scroller-mobile-padding-top;
      padding-right: $page-scroller-mobile-padding-right;

      @media (orientation: landscape) {
        padding-top: $page-scroller-mobile-landscape-padding-top;
      }
    }
  }
}

.first_page {
  .scroller > div {
    padding-top: $page-scroller-first-page-padding-top;

    @include mobile {
      padding-top: $page-scroller-first-page-mobile-padding-top;

      @media (orientation: landscape) {
        padding-top: $page-scroller-first-page-mobile-landscape-padding-top;
      }
    }

    @include phone {
      padding-top: $page-scroller-first-page-phone-padding-top;
    }
  }
}

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
pageflow-17.0.4 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-17.0.3 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-17.0.2 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-17.0.1 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-17.0.0 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-16.2.0 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-16.1.0 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-16.0.0 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-15.8.0 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-14.5.2 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-15.7.1 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-15.7.0 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-15.6.1 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-15.6.0 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-15.5.0 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-15.4.0 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-15.3.0 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-15.2.2 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-15.2.1 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss
pageflow-15.2.0 app/assets/stylesheets/pageflow/themes/default/page/paddings.scss