_base.scss 1.68 KB
Newer Older
1 2 3
$fg-column: 70px;
$fg-gutter: 26px;
$fg-max-columns: 12;
4
$body-font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
5 6 7 8 9 10 11 12

html {
  height: 100%;
}

body {
  @include clearfix();
  height: 100%;
13
  font: 14px $body-font-family;
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

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

  > header {
    background: #000;
    color: #fff;
    display: block;
    float: none;
    padding: 6px 20px;
    width: 100%;
    @include box-sizing(border-box);

    nav {
      @include clearfix;

      h2 {
        font-size: 14px;
        text-transform: uppercase;
35
        float: left;
36
      }
37

38 39 40 41 42 43 44 45 46 47 48
      ul {
        float: left;

        &.user-nav {
          float: right;
        }

        li {
          @include inline-block();
          margin-left: 15px;
        }
49 50 51 52 53 54 55 56 57 58 59
      }
    }
  }

  &.content {
    section.main-content {
      border-left: 2px solid #000;
      @include box-sizing(border-box);
      width: flex-grid(9);
      float: left;
      @include box-shadow( -2px 0 3px #ddd );
60 61 62 63 64 65 66 67 68
    }
  }
}

a {
  text-decoration: none;
  color: #888;
}

69 70 71 72
input {
  font-family: $body-font-family;
}

73 74 75 76 77 78
input[type="submit"], .button {
  border: 1px solid #ccc;
  background: #efefef;
  @include border-radius(3px);
  padding: 6px;
}
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110

.new-module {
  position: relative;

  a {
    padding: 6px;
    display: block;
  }

  ul.new-dropdown {
    list-style: none;
    position: absolute;

    li {
      display: none;
      padding: 6px;
    }

  }

  &:hover {
    ul.new-dropdown {
      display: block;
    }
  }
}

.draggable {
  width: 7px;
  min-height: 14px;
  background: url('../img/drag-handle.png') no-repeat center;
  text-indent: -9999px;
111 112
  display: block;
  float: right;
113
}