_layout.scss 1.32 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
body {
  @include clearfix();
  height: 100%;
  font: 14px $body-font-family;

  > section {
    display: table;
    width: 100%;
  }

  > header {
12
    background: $dark-blue;
13 14 15
    color: #fff;
    display: block;
    float: none;
16
    padding: 8px 25px;
17 18
    width: 100%;
    @include box-sizing(border-box);
19
    -webkit-font-smoothing: antialiased;
20 21 22 23 24 25 26 27

    nav {
      @include clearfix;

      h2 {
        font-size: 14px;
        text-transform: uppercase;
        float: left;
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
        margin-right: 15px;

        a {
          color: #fff;

          &:hover {
            color: rgba(#fff, .6);
          }
        }
      }

      a {
        color: rgba(#fff, .8);

        &:hover {
          color: rgba(#fff, .6);
        }
45 46 47 48 49 50 51 52 53 54 55
      }

      ul {
        float: left;

        &.user-nav {
          float: right;
        }

        li {
          @include inline-block();
56 57 58 59 60 61 62 63 64 65

          a {
            padding: 8px 10px;
            display: block;
            margin: -8px 0;

            &:hover {
              background-color: darken($dark-blue, 15%);
            }
          }
66 67 68 69 70 71 72
        }
      }
    }
  }

  &.content {
    section.main-content {
73
      border-left: 2px solid $dark-blue;
74 75 76
      @include box-sizing(border-box);
      width: flex-grid(9);
      float: left;
77
      @include box-shadow( -2px 0 0 darken($light-blue, 3%));
78 79 80
    }
  }
}