aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/borsetshire/layout.scss
blob: 66d1bb692b8b088aad92fe74045427086458676f (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
@import "_colours";
@import "../sass/layout";
@import "_council-header";

@import url('https://fonts.googleapis.com/css?family=Cabin:400,400i,700,700i');

#site-logo {
    background-position: 0 0;
    background-size: 180px 48px;
    height: 48px;
    width: 180px;
    @include svg-background-image('images/site-logo');
}

#site-header {
    background-color: darken($color-borsetshire-blue, 5%);
}

// Postcode form is left-aligned, and given a background image
// and a bit more padding than normal.
#front-main {
    padding: 4em 1em;
    text-align: inherit;
    color: inherit;
    background: mix(#fff, $color-borsetshire-light-yellow, 50%) url('images/street.jpg') 50% 55% no-repeat;
    background-size: cover;

    #postcodeForm div {
        margin: 0;
    }
}

// Nav menu items have a bit more padding than normal.
.nav-menu {
    a, span {
        padding: 0.5em 0.75em;
        border-radius: 0.2em;
    }

    span {
        color: $color-borsetshire-light-yellow;
    }

    a.report-a-problem-btn {
        padding: 0.5em 0.75em;
        margin: 0 0.5em 0 0;
    }
}

.homepage-login-hint {
    .container {
        &:before {
            right: 16.4em;
        }
    }
}

body.authpage {
    .content {
        width: auto;
        max-width: 30em;
    }

    input {
        max-width: none;
    }
}

#demo-user-list {
    li {
        @include clearfix();
    }

    button {
        float: left;
        width: 40%;
    }

    span {
        float: right;
        width: 55%;
        margin-top: 0;
    }
}

.fms-pro-promo {
  margin: 1em 0 3em 0;
  padding: 2em;

  p {
    font-size: 1.2em;
    max-width: 26em;
  }

  h2 {
    font-family: inherit;
    font-weight: bold;
    font-size: 2em;
  }

  @media (min-width: 60em) {
    padding: 3em;
  }
}