Sha256: b027442d6ba9a5a2a4b6224e2cb1aa62a586b4614fa9dac4332567235bccecaf

Contents?: true

Size: 948 Bytes

Versions: 6

Compression:

Stored size: 948 Bytes

Contents

@use "../utilities/css-variables" as cv;
@use "../utilities/initial-variables" as iv;
@use "../utilities/mixins" as mx;

$section-padding: 3rem 1.5rem !default;
$section-padding-desktop: 3rem 3rem !default;
$section-padding-medium: 9rem 4.5rem !default;
$section-padding-large: 18rem 6rem !default;

.#{iv.$class-prefix}section {
  @include cv.register-vars(
    (
      "section-padding": #{$section-padding},
      "section-padding-desktop": #{$section-padding-desktop},
      "section-padding-medium": #{$section-padding-medium},
      "section-padding-large": #{$section-padding-large},
    )
  );
  padding: cv.getVar("section-padding");

  // Responsiveness
  @include mx.desktop {
    padding: cv.getVar("section-padding-desktop");

    // Sizes
    &.#{iv.$class-prefix}is-medium {
      padding: cv.getVar("section-padding-medium");
    }

    &.#{iv.$class-prefix}is-large {
      padding: cv.getVar("section-padding-large");
    }
  }
}

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
bulma-clean-theme-1.0.3 node_modules/bulma/sass/layout/section.scss
bulma-rails-1.0.1 app/assets/stylesheets/sass/layout/section.scss
bulma-clean-theme-1.0.0 node_modules/bulma/sass/layout/section.scss
bulma-clean-theme-1.0.0.beta.2 node_modules/bulma/sass/layout/section.scss
bulma-clean-theme-1.0.0.beta.1 node_modules/bulma/sass/layout/section.scss
bulma-rails-1.0.0 app/assets/stylesheets/sass/layout/section.scss