aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/buckinghamshire/layout.scss
blob: bea2fadc0e4c915a20ab5f9d13a55502c80c3e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
@import "_colours";
@import "_fonts";

$header-top-border: false; // There is, but we want to do it ourselves

@import "../sass/layout";

#site-header {
  border-top-width: 10px;
  border-bottom: none;
  margin-bottom: 4em; // Push content past abs. positioned nav
}

// Don't want larger logo on mappage.
body.frontpage, body.twothirdswidthpage, body.fullwidthpage, body.authpage {
  // Display the BCC logo and header correctly

  .nav-wrapper {
      margin-top: 69px;
      background-color: #6D6D6C;
  }
  #main-nav {
    float: left;
    min-height: 3em;

    .ie9 & > * {
      position: static;
      -ms-transform: none;
    }
  }

  .nav-menu {
    margin-left: 160px;
    a, span {
      display: inline-block; // So the chevrons appear correctly
      padding: 0.5em 0.75em;
      margin: 0;
    }
  }
}

#nav-link {
  color: #fff;
}

// Stop the 'report a problem' button being red on non-map pages
.nav-menu--main a.report-a-problem-btn {
    color: #fff;
    background-color: transparent;
}
.nav-menu--main a.report-a-problem-btn:hover {
    color: #fff !important;
    background-color: transparent;
}

.nav-menu {
    background-color: transparent;
    span {
        font-size: 1em;
        color: #fff;
        &:hover,
        &:active,
        &:focus {
          color: #fff;
        }
    }
    a {
        font-size: 1em;
        text-decoration: none;
        color: #fff;
        &:hover,
        &:active,
        &:focus {
            text-decoration: underline;
            background-color: transparent;
            color: #fff;
        }
        &:visited {
          color: #fff;
        }
    }
}

// Put FAQ side nav at correct vertical position
body.twothirdswidthpage .content .sticky-sidebar aside {
    top: 14.5em;
}

#front-main {
    background-color: white;
    text-align: left;
    padding-top: 40px;
    padding-bottom: 0;

    #postcodeForm {
      div {
        margin: 0;
      }
    }

    h1 {
      font-size: 2.5em;
    }

    h1 + p {
      font-size: 1.5em;
      line-height: 1.25em;
      max-width: 640px;
    }

    .form-hint {
      color: $g1;
    }
}

body.mappage {
  // Mappage header is 10px top border, 50px logo (7px 37px 6px), 4px bottom border
  #site-logo {
     padding-top: 6px;
  }

  #main-nav {
      margin-top: 10px;
      min-height: 50px;
  }

  .nav-menu {
    z-index: 10; // Clickable

    a, span {
      padding: 0.5em;
    }
    a.report-a-problem-btn {
      color: white;
      @include bucks-button();
      margin: 0.15em 0.25em 0;
      padding: 0.5em 1em;
      position: relative;
      top: -5px;
      &:hover,
      &:active, 
      &:focus {
        color: $bucks_charcoal !important;
        text-decoration: none;
      }
    }
  }

  .big-green-banner {
    display: block;
    background-color: $bucks_grass_green;
    text-transform: none;
  }
}

.bucks_footer {
    background: url(/cobrands/buckinghamshire/img/footer-bg.png) right bottom no-repeat;
    background-size: contain;
    min-height: 160px;
}

// Set the default font colour everywhere
body, .content {
  color: $g1;
}