aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/default/layout.scss
blob: 93a3f712098eba8dea4f04990851f11f1a5c0947 (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
@import "_colours";
@import "../fixmystreet/_layout";

/*
Note: The fact that the below has to override the CSS, though it is for the
default template, is a sign that the CSS is not best organised. It needs
refactoring, and making more maintainable through the use of SMACSS, OOCSS
and similar.
*/

body {
    background: #6688ff;
}

#front-main {
    color: $primary_text;
    background: $primary;
    // layout sets this because base has it slightly lighter
    h2 {
        color: $primary_text;
    }
    a#geolocate_link {
        color: $primary_text;
    }
}

.nav-wrapper {
    .nav-wrapper-2 {
        border-top: 4px solid $primary;
        @include border-image(none);
    }
}
body.mappage {
    .nav-wrapper {
        .nav-wrapper-2 {
            background: $contrast1;
        }
    }
}

#main-nav {
    ul {
        li {
            a, span {
                color: #000;
            }
        }
        &#main-menu {
            li {
                a:hover {
                    background: $primary;
                }
            }
        }
        &#mysoc-menu {
            background: $primary;
        }
    }
}