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

@media only screen and (min-width: 48em) {
    #site-logo,
    .ie6 #site-logo,

    body.frontpage #site-logo,
    .ie6 body.frontpage #site-logo,
    
    body.twothirdswidthpage #site-logo,
    .ie6 body.twothirdswidthpage #site-logo
    {
            position: relative;
            top: 1.2em;
            margin: 0;
            padding: 0;
            background: url("/cobrands/harrogate/HBCLogo.png") 0 0 no-repeat;
            width: 227px;
            height: 122px;
    }

    body.frontpage #site-header,
    .ie6 body.frontpage #site-header,

    body.twothirdswidthpage #site-header,
    .ie6 body.twothirdswidthpage #site-header,

    body.mappage #site-header,
    .ie6 body.mappage #site-header,
    body.mappage .nav-wrapper-2,
    .ie6 body.mappage .nav-wrapper-2
    {
        height: 10em;
    }

    #fms_pan_zoom {
        top: 10.75em!important;
    }
}

@media only screen and (min-width: 48em) {
    body.twothirdswidthpage .container .content footer .tablewrapper a:link,
    body.twothirdswidthpage .container .content footer .tablewrapper a:visited,
    body.fullwidthpage .container .content footer .tablewrapper a:link,
    body.fullwidthpage .container .content footer .tablewrapper a:visited {
        color: white;
    }

    body.mappage #user-meta+.container .content {
        padding-top: 1.5em;
    }
}

#main-nav {
    margin-top: 3.2em;
}

body.mappage #main-nav,
{
    // TODO would be better to edit containers to figure out where missing em is defined
    margin-top: 2.2em;
}

body.fullwidthpage .container .content,
body.twothirdswidthpage .container .content {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

@media only screen and (min-width: 48em) {
    body.fullwidthpage .container .content {
        margin-top: 3em; // push far enough for the sign-out link to also be visible
    }
}

body.twothirdswidthpage .content aside {
    margin-top: 2em;
}


body.twothirdswidthpage form.full-width {
    margin: 0;
}


.nav-menu--main {
    background: #ededed;
}

.nav-menu--main span {
    color: #fff;
    background: $primary;
}

.nav-menu--main a, .nav-menu--main span,
body.mappage .nav-menu--main a, body.mappage .nav-menu--main span {
    padding: 0.75em 1.02em;
}

body.mappage .nav-menu--main {
    margin-top: 1em;
}

body.mappage .nav-wrapper .nav-wrapper-2 {
    background: #fff;
    border-bottom: solid 4px $primary;
}

.nav-wrapper .nav-wrapper-2 {
    border-top: 0px;
}

#front-main {
    background: none;
    padding: 0;

    #front-main-container {
        background: $primary;
        padding: 2em 0;
        margin-bottom: 1.2em;
        @include border-radius(12px);

        #postcode-intro {
            margin: 0 2em;
        }
    }

}

body.frontpage #user-meta p {
    top: -2.4em;
}

body.mappage #user-meta {
    top: 2em;
    p {
        background: $primary;
        border-color: $primary_dark;
    }
}

body.mappage .content {
    margin-top: 4em;
}


body.twothirdswidthpage .container .content footer,
body.fullwidthpage .container .content footer
{
    .tablewrapper {
        width: 100%;
        background: $primary;
        @include border-radius(12px);
        margin-bottom: 2em;

    }
}