Sha256: b57be3c404f103edce06306dc13a2eebeffb04712f84c0be99b2dcf3585152ca

Contents?: true

Size: 531 Bytes

Versions: 4

Compression:

Stored size: 531 Bytes

Contents

@use "sass:math";

.app-header {
  flex: 0 0 $header-height;
  height: $header-height;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  padding-left: $grid-gutter-width;
  padding-right: $grid-gutter-width;

  background: $header-bg;
}

@include media-breakpoint-down(md) {
  .app-header {
    margin-top: -$header-height;

    padding-left: math.div($grid-gutter-width, 2);
    padding-right: math.div($grid-gutter-width, 2);

    // Hide all elements by default
    > * {
      display: none;
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-0.10.1 frontend/css/layout/_header.scss
trestle-0.10.0 frontend/css/layout/_header.scss
trestle-0.10.0.pre2 frontend/css/layout/_header.scss
trestle-0.10.0.pre frontend/css/layout/_header.scss