aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/zurich/base.scss
blob: cdbdcbfbdaa207500d5bea3dccc80b8d26761048 (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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
@import "../sass/h5bp";
@import "./_colours";
@import "../sass/mixins";
@import "compass";

@import "../sass/base";

/* Front page main box is in content now, so get rid of its margin from parent */
#front-main {
    margin: 0;
}

/* Autocomplete dropdown on front page, don't want bullets */
.ui-menu-item {
    list-style-type: none;
}

/* Simplify the problem header on a report page */
.problem-header h1 {
    font-size: 120%;
    font-weight: bold;
    margin: 0;
}
.problem-header .sub {
    color: #666;
    font-size: 85%;
}

// Simplify the banner to just be a floated box. Colours etc. still
// inherited from the base stylesheet.
.banner {
    p {
        position: static;
        float: right;
        font-weight: bold;
        padding: 1em;
        margin: 0;
        text-transform: uppercase;
        text-align: center;
        &:before {
            display: none;
        }
        &#closed {
            color: #1a1a1a;
            background: #e25436;
        }
        &#progress {
            color: #1a1a1a;
            background: #f3d74b;
        }
    }
}

#site-header {
    background: $mobile_header_blue; 
    border-top: 4px solid $mobile_menu_tab_bg_col;
    height: 48px;
}
#site-logo {
    background: url(logo_portal.jpg) 0px -24px no-repeat;
    width: 200px;
    height: 48px;
    left:0; 
    top:4px;
}
// Colour tab to match colour scheme
#nav-link {
  width: 50px;
  height: 48px;
  background: url('/cobrands/zurich/tab-white.png') 0 0 no-repeat;
}
#front-howto #front_stats,
#front-main #postcodeForm {
    background-color: $mobile_header_blue;
}

//  fix here:
//  a percentage width on input#pc breaks iPhone landscape/portrait switching
//  and the other changes make this fix pretty

#front-main #postcodeForm div {
  background: inherit;
  border-color:transparent;
  input#pc {
    max-width: 15em;
    background-color: #fff;
  }
  input#sub {
    width: 3em;
  }
}

// No grey background or other bits
// The amount of resetting here shows this needs refactoring, so that it is FMS making the changes
// Also look into why full-width pulls things out, but then it is its children
// that have to recompensate with padding.
h4.static-with-rule {
    color: black;
    font-size: 1em;
    font-weight: bold;
    text-transform: none;
    background: none;
    padding-left: 0;
    padding-right: 0;
    border-top: 0.25em solid #e5e5e5;
}
.issue-list {
    border-bottom: none;
    li {
        padding-left: 0;
        padding-right: 0;
        background: none;
    }
}

.issue-list-a {
    border-bottom: none;
    li {
        background: none;
        .text {
            .img {
                padding-right: 1em;
            }
        }
    }
}

.form-txt-submit-box input[type=submit] {
    width:auto; // 28% is too narrow
    padding-left: 0.8em;
    padding-right: 0.8em;
}

#fms_pan_zoom_panup,
#fms_pan_zoom_pandown,
#fms_pan_zoom_panleft,
#fms_pan_zoom_panright {
    display: none;
}

.admin-nav {
    background: #f4f4f4;
    @include background(linear-gradient(#fbfbfb, #efefef));
    border-bottom: 2px solid $table_border_color;
    ul {
        overflow:auto;
        margin:0 0 -2px 0;
        list-style: none;
        padding: 0;
        border-top: 1px solid $table_border_color;
        border-left: 1px solid $table_border_color;
        border-right: 1px solid $table_border_color;
        li {
            border-right: 1px solid $table_border_color;
            float:left;
            list-style: none;
            margin:0;
            padding: 0.5em 1em;
            font-weight: bold;
            color: #000;
            a {
                color: #000;
            }
        }
        li.search-box {
            float: right;
        }
        li.current {
            background-color: #fff;
            border-bottom: 2px solid #fff;
        }
        li.search-box {
            border:none;
            padding: 0.2em 0.5em 0.2em 30px;
            background-image: url('search-icon.png');
            background-position: 2px center;
            background-repeat: no-repeat;
            input {
                height: 100%;
                width: 12em;
                border: none;
                padding: 6px 0.5em;
            }
        }
    }
}