aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/bathnes/base.scss
blob: f84323b1c02847fab15bf0816e32edf7a384c2f2 (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
@import "../sass/h5bp";
@import "./_colours";
@import "../sass/mixins";

@import "../sass/base";

a { color: $link-colour; }
a:visited { color: $link-visited-colour; }
a:active, a:hover { color: $link-hover-colour; }

@import "pattern-lib/header";
@import "pattern-lib/navigation";
@import "pattern-lib/footer";

// Header

#site-header {
    // Performs same function as #global-header-bar
    border-bottom: solid 5px $bathnes-primary;
}

.header-logo img {
    vertical-align: baseline;
}

#report-cta {
    right: 7em;
    top: 1.65em;
    transform: none;
    background-color: #f4f4f4;
    border-color: #d8d8d8 #d1d1d1 #bababa;
}

.navigation-trigger {
    // Style guide has a button, we have a link
    border-color: #d8d8d8 #d1d1d1 #bababa;
    border-style: solid;
    border-width: 1px;
    line-height: normal;
    &:visited {
        color: #000;
    }
    &:hover, &:active {
        text-decoration: none;
    }
}

.navigation-primary-list {
    // Navigation at bottom on mobile
    display: none;
}

// Footer

.footer-list {
    // Cancel out default styling
    margin-left: 0;
    margin-bottom: 0;
}

// Front page

#front-main {
    h1 {
        font-size: 1.7em;
    }
    h2 {
        margin: 0;
        font-size: 1.1em;
    }
}

#front-main #postcodeForm {
    margin-top: 1em;
    label {
        color: #fff;
    }
}

.js-roadworks-message {
  margin: 1em -1em;
  padding: 1em;
  background-color: #00aeef;
  color: #fff;
  dt {
    float: left;
    margin-right: 0.25em;
  }

  p:last-child {
    font-weight: bold;
  }
}