Sha256: e4d94e2eb6f6302dc6b57f0a5db55a57d9feef7bac812030f9849a22eb173628

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

$content-header-padding: 16px;

// content header
.content-header {
  @include stack($fae-nav-stack);
  width: 100%;
  padding: $content-header-padding $content-buffer;
  background: $c-content-header-bg;
  border-bottom: 1px solid $c-grey;
  position: absolute;
  left: 0;
  top: 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  &.-dashboard {
    padding-top: 26px;
    padding-bottom: 26px;
    color: $c-darkest-grey;

    strong {
      color: $c-darkest-grey;
    }
  }

  h1 {
    padding: 5px 0;
    font-weight: bold;
  }
}

.content-header-subnav {
  bottom: 0;
  width: 100%;
  margin-bottom: negate($content-header-padding);
  flex-basis: 100%;

  a {
    @include transition(all .2s);
    display: inline-block;
    vertical-align: top;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    margin: 0 12px;
    font-size: 13px;
    color: $c-darkest-grey;

    &:hover {
      color: $c-text-heavy;
      border-bottom-color: var(--highlight-color);
    }
  }

  li {
    display: inline-block;
    vertical-align: top;

    &:first-child {
      a {
        margin-left: 0;
      }
    }

    &.-active {
      a {
        color: $c-text-heavy;
        border-bottom-color: var(--highlight-color);
      }
    }
  }
}

.content-header-buttons {
  position: absolute;
  height: 100%;
  top: 0;
  display: flex;
  align-items: center;
  right: 30px;
  a {
    margin-right: 5px;

    &:last-child {
      margin-right: 0;
    }
  }

  input[type=submit].saving {
    color: darkgray;
  }
}

.content-header-select {
  display: inline-block;
  vertical-align: middle;
  margin-right: 20px;

  a {
    margin-right: 0;
  }

  .chosen-container-single .chosen-single {
    padding-top: 6px;
    padding-bottom: 5px;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fae-rails-3.0.0 app/assets/stylesheets/fae/globals/layout/_content-header.scss