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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
|
//
// LAYOUT
//
// This is a trick to be able to use bootstrap fluid layout and also have a max-width.
// It is like having your cake and eating it too.
// not needed in bootstrap 3
#main, #masthead-text {
*zoom: 1;
margin-left: auto;
margin-right: auto;
width: 1000px;
max-width: 100%;
}
//
// UTILITY
//
//.debug {
// outline: 1px solid red;
//}
.full-width {
width: 100%;
}
.slim {
margin: 0;
}
.first {
margin-top: 0;
padding-top: 0;
}
.last {
margin-bottom: 0;
padding-bottom: 0;
}
.hidden {
display: none;
}
.admin-area {
background-color: #fff6ef;
background-image: url(/leap-img/caution.png);
border: 1px dotted #eea;
border-radius: 4px;
padding: 4px 6px;
}
//
// ICONS
//
[class*="-icon-"] {
display: inline-block;
@include ie7-restore-right-whitespace();
vertical-align: middle;
background-repeat: no-repeat;
margin-top: 1px;
}
[class^="big-icon-"],
[class*=" big-icon-"] {
width: 64px;
height: 64px;
line-height: 64px;
}
[class^="huge-icon-"],
[class*=" huge-icon-"] {
width: 128px;
height: 128px;
line-height: 128px;
}
.big-icon-download {
height: 42px;
background: url(/leap-img/64/download.png) 50% 50%;
}
.huge-icon-mask {
height: 64px;
background-image: url(/leap-img/128/mask.png);
}
//
// TYPOGRAPHY
//
input.large {
font-size: $baseFontSize * 1.25;
line-height: $baseLineHeight * 1.5;
}
.p {
@extend p;
}
//
// BOOTSTRAP TWEAKS
//
//
// Sometimes we really want full width controls, but this flies in the face of
// what bootstrap does for control sizes, so we have to step on bootstrap's
// toes a bit to make this work.
//
input, textarea {
&.full-width {
height: inherit;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
}
// like a label, but with no background
.label-clear {
background-color: $white;
text-shadow: none;
color: $black;
}
// force a black icon, even if bootstrap thinks differently
.icon-black {
background-image: url(/assets/glyphicons-halflings.png) !important;
}
// override stupid bootstrap behavior of making the active tab appear non-clickable
// and links not being underline
.nav-tabs > li > a:hover, .sidenav > li > a:hover {
text-decoration: underline;
}
.nav-tabs > .active > a:hover {
cursor: pointer;
}
//
// TICKETS
//
.ticket {
td.user {
white-space: nowrap;
}
td.comment {
width: 100%;
}
}
//
// IDENTITIES
//
// Color code for the identity labels
.identity{
&.main_email .label {
@extend .label-info
}
&.alias .label {
@extend .label-success
}
&.forward .label {
@extend .label-warning
}
&.disabled .label {
}
}
//
// BORING DEFAULT MASTHEAD
//
#masthead {
background: #eee;
margin-bottom: 10px;
border-bottom: 1px solid #e6e6e6;
.title {
padding: 20px;
font-size: 1.25em;
}
.sitename {
font-weight: bold;
}
a {
color: $textColor;
}
}
.home-buttons {
text-align: center;
.first {
margin: 20px 0;
}
.download {
a.btn {
width: 15em;
font-weight: bold;
small {
font-weight: normal;
}
}
}
a.btn {
width: 11em;
margin: 10px auto;
display: block;
}
}
//
// SIDE NAVIGATION
//
.user_heading {
margin: 1em 0;
font-weight: bold;
}
.sidenav {
@extend .nav-tabs;
@extend .nav-stacked;
box-shadow: 0 2px 4px rgba(0,0,0,.1);
li.active {
a, a:hover {
background-color: $linkColor;
color: $white;
border-color: darken($linkColor, 0%);
cursor: pointer;
}
}
}
//
// USERS
//
.overview li {
padding: 6px 0;
}
//
// STICKY FOOTER for BOOSTRAP 2
// http://getbootstrap.com/2.3.2/examples/sticky-footer.html
// when upgrading to bootstrap 3, use this instead:
// http://getbootstrap.com/examples/sticky-footer/
//
$footer-height: 100px;
$footer-border-width: 1px;
$footer-gutter: 20px; // vertical gap above footer
$footer-combined: $footer-height + $footer-border-width + $footer-gutter;
$footer-color: $grayLighter !default;
html, body {
height: 100%;
padding: 0;
margin: 0;
}
#wrap {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -1 * ($footer-height + $footer-border-width + $footer-gutter);
}
#push {
height: $footer-height + $footer-gutter - $footer-border-width;
}
#footer {
padding-top: $footer-gutter;
height: $footer-height - $footer-border-width;
display: table;
width: 100%;
.row {
height: $footer-height/2;
display: table-row;
.wrap-text {
vertical-align: middle;
text-align: center;
display: table-cell;
}
}
.locales {
a {
padding: 4px;
&.active {
font-weight: bold;
background-color: #333;
color: white;
border-radius: 4px;
}
}
}
.links {
// border-top: $footer-border-width solid darken($footer-color, 10%);
background-color: $footer-color;
a {
color: $black;
margin: 0 5px;
}
}
}
@media (max-width: 767px) {
#footer a {
font-size: 80%;
margin: 0 2px;
}
}
.modal-footer form{
margin: 0;
}
|