_footer.scss 2.88 KB
Newer Older
1
.wrapper-footer {
2
  box-shadow: 0 -1px 5px 0 rgba(0,0,0, 0.1);
3
  border-top: 1px solid tint($m-gray,50%);
4
  padding: 25px ($baseline/2) ($baseline*1.5) ($baseline/2);
5
  background: $footer-bg;
6

7 8
  footer {
    @include clearfix();
9 10
    max-width: grid-width(12);
    min-width: 760px;
11
    width: flex-grid(12);
12 13 14 15 16 17 18
    margin: 0 auto;

    p, ol, ul {
      font-family: $sans-serif;
    }

    a {
19
      @include transition(link-color 0.15s ease-in-out 0s, border 0.15s ease-in-out 0s);
20

21 22
      &:link, &:visited, &:hover, &:active {
        border-bottom: none;
23
        color: $link-color;
24 25 26 27 28
        text-decoration: none !important;
        font-family: $sans-serif;
      }

      &:hover, &:active {
29 30
        border-bottom: 1px dotted $link-color;
        color: $link-color;
31 32 33 34 35
      }
    }

    // colophon
    .colophon {
36
      margin-right: flex-gutter();
37
      width: flex-grid(8,12);
38
      float: left;
39

40 41
      .nav-colophon {
        @include clearfix();
42
        margin: $footer_margin;
43 44

        li {
45 46 47 48 49 50 51
          float: left;
          margin-right: ($baseline*0.75);

          a {
            color: tint($black, 20%);

            &:hover, &:active {
52
              color: $link-color;
53
            }
54 55
          }

56 57
          &:last-child {
            margin-right: 0;
58 59 60 61
          }
        }
      }

62
      .colophon-about {
63
        @include clearfix();
64

65 66 67 68 69
        img {
          width: 68px;
          height: 34px;
          margin-right: 0;
          float: left;
70 71
        }

72 73
        p {
          float: left;
74
          width: flex-grid(6,8);
75 76 77 78
          margin-left: $baseline;
          padding-left: $baseline;
          font-size: em(13);
          background: transparent url(/static/images/bg-footer-divider.jpg) 0 0 no-repeat;
79 80
        }
      }
81
    }
82

83 84
    // references
    .references {
85
      margin: -10px 0 0 0;
86
      width: flex-grid(4,12);
87
      float: right;
88

89
      .nav-social {
90
        margin: 0;
91 92 93 94 95 96 97 98
        text-align: right;

        li {
          display: inline-block;

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

          a {
101
            display: block;
102

103 104
            &:hover, &:active {
              border: none;
105 106
            }
          }
107 108 109 110

          img {
            display: block;
          }
111 112 113
        }
      }

114
      .copyright {
115
        margin: -2px 0 8px 0;
116 117 118
        font-size: em(11);
        color: tint($m-gray,50%);
        text-align: right;
119 120
      }

121 122 123
      .nav-legal {
        @include clearfix();
        text-align: right;
124

125 126 127
        li {
          display: inline-block;
          font-size: em(11);
128 129

          a {
130
            display: block;
131 132 133
          }
        }

134
        .nav-legal-01 a {
135

136 137 138
          &:after {
            margin-left: 5px;
            content: "-";
139 140 141 142
          }
        }
      }
    }
143

144
  }
145 146 147 148 149 150 151 152 153 154 155 156
}

// marketing site design syncing
.view-register, .view-login {

  .wrapper-footer footer {
    width: 960px;

    .colophon-about img {
      margin-top: ($baseline*1.5);
    }
  }
157
}