aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/bathnes/layout.scss
blob: 1efc1b0275e74218415c075c57a3b300848ba474 (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
@import "_colours";
@import "../sass/layout";

// Header

.header-search .site-search .form-control {
    // overrides from default .form-control
    @include border-radius(0);
    box-shadow: none;
    border: solid 1px #bfc1c3;
    display: inline-block;
}

.header-search .site-search .button {
    background-color: $button-colour;
    border: none;
}

// Navigation
// Style guide has navigation at top-of-HTML, not bottom

.nav-wrapper {
    display: none;
}

.navigation-primary-list {
    display: block;
}

.navigation-primary-list__item {
    margin-bottom: 0; // cancel default
    span { // display same as links
        display: block;
        padding: 0.75em 1em;
    }
    &:first-child span {
        padding-left: 0;
    }
}

// Front page

#front-main {
    background-color: $front_main_background;
    h1, h2 {
        color: #fff;
    }
    h1 {
        font-weight: bold;
        font-size: 3em;
    }
    h2 {
        font-weight: normal;
        font-size: 1.5em;
    }
    #postcodeForm {
        margin-top: 0;
        padding: 0;
    }
}

// Map page

.big-green-banner {
    text-transform: none;
}

body.mappage {
    #site-header {
        // So border bottom doesn't overlap map
        box-sizing: border-box;
    }
    .global-footer {
        display: none;
    }
}

// Help

body.twothirdswidthpage .content .sticky-sidebar aside {
    top: 12em;
}