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

@import "../sass/base";

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

#site-header {
    .container {
        padding: 1em; // up from default `0 1em`
    }
}

#site-subheader,
.site-header__fake-nav {
    display: none;
}

.homepage-login-hint {
    padding: 1.5em 0;
    background-color: rgb(0, 61, 101);
    background-color: darken($color-borsetshire-blue, 20%);
    color: #fff;

    .container {
        position: relative;

        // Little arrow.
        &:before {
            content: "";
            display: block;
            width: 0;
            height: 0;
            position: absolute;
            border: 0.5em solid transparent;
            border-top-width: 0;
            border-bottom-color: darken($color-borsetshire-blue, 20%);
            top: -1.5em;
            right: 1em;
            margin-top: -0.5em;
        }
    }

    h2 {
        margin: 0;
        font-size: 1.3em;
    }

    p {
        margin: 0.5em 0 0 0;
    }

    a {
        font-weight: bold;
        color: inherit;
        text-decoration: underline;
    }
}

body.authpage {
    .content {
        max-width: 27em;
        margin-#{$left}: auto;
        margin-#{$right}: auto;
    }
}

#demo-user-list {
    @include list-reset-soft();
    border-bottom: 1px solid #eee;
    margin-bottom: 2em;

    li {
        margin: 2em 0;
    }

    button {
        width: 100%;
    }

    span {
        color: #666;
        font-size: (14em / 16);
        display: block;
        margin-top: 0.5em;
    }
}

.fms-pro-promo {
  margin: 2em -1em;
  padding: 1em;
  background: $primary;
  color: $primary_text;

  .lead {
    font-weight: bold;
  }

  & > :first-child {
    margin-top: 0;
  }

  & > :last-child {
    margin-bottom: 0;
  }
}

.btn--borsetshire {
  @include button-reset($text: #000, $hover-text: #000);
}