Sha256: b3fff6b0d585a076a324a91f5260b9732210d6a0cd33770682abbb3782de0be7

Contents?: true

Size: 1.78 KB

Versions: 1

Compression:

Stored size: 1.78 KB

Contents

/*!
 * Copyright 2015 BookingSync SAS.
 * Licensed under MIT (https://github.com/BookingSync/bootstrap-bookingsync-sass/blob/master/LICENSE)
 */

body {
  min-height: 100vh;
}

.navbar.navbar-fixed-top {
  margin-bottom: 0;

  & > .container {
    .navbar-brand {
      margin: 0 15px 0 0;
      padding: 0;
    }
  }

  .navbar-nav > li > a {
    line-height: 20px;
  }

  h1,
  .h1,
  .navbar-brand {
    font-size: 18px;
    line-height: $navbar-height;
    padding: 0;
    margin: 0;
  }

  a.h1:focus,
  a.h1:hover {
    text-decoration: none;
    color: $headings-color;
  }

  @media (max-width: $screen-xs-max) {
    .navbar-brand-container {
      padding: 0 60px;
    }

    &.navbar-bs-core .navbar-header > div {
      padding: 0 40px;
    }

    .navbar-brand {
      text-align: center;
      width: 100%;
    }
  }
}

.main-content {
  overflow: auto;
  padding-top: $navbar-height + 1; // for the navbar-fixed-top border

  & > .row {
    padding-top: $sheet-margin;
  }
}

.navbar-toggle.menu-toggle {
  float: left;
  margin-left: $navbar-padding-horizontal;
  margin-right: 0;
}

.iframe-fullscreen {
  width: 100%;
  height: 100vh;
  display: block;
}

@media (max-width: $grid-float-breakpoint) {
  body.menu-open {
    overflow: hidden;
    max-height: 100vh;
  }

  // .menu, // Already set
  .menu-submenu,
  .sided-content {
    transition: transform 0.2s cubic-bezier(.4, 0, .2, 1);
  }

  .menu,
  .menu-submenu {
    transform: translate3d(-$menu-width, 0, 0);
  }

  body.menu-open {
    .menu,
    .menu-submenu {
      transform: translate3d(0, 0, 0);
    }

    .sided-content {
      transform: translate3d($menu-width, 0, 0);
    }
  }
}

@media (min-width: $grid-float-breakpoint) {
  .sided-content {
    & > .navbar,
    & > .main-content {
      margin-left: $menu-width;
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap-bookingsync-sass-1.0.0.beta2 assets/stylesheets/bookingsync/_layout.scss