aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/zurich/base.scss
blob: 9617a8e92412e9a1cbc910c6c2fd491069cd8547 (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
@import "../fixmystreet/_h5bp";
@import "./_colours";
@import "../fixmystreet/_mixins";
@import "compass";

@import "../fixmystreet/_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;
        }
    }
}

#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:44px;
    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;
}

input[type=file] {
  margin: 0;
  padding: 0;
  border: none;
}

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