result-page.less 7.18 KB
Newer Older
1
2
3
/* Ergebnisseite */

@import "./quicktips.less";
4
@import "./result-saver.less";
5
6
@import "./result.less";
@import "./product.less";
7
8
9
@result-width: 700px;
@quicktip-width: 500px;
@results-margin-left: @resultpage-leftbox-big-screen-margin-left;
Karl Hasselbring's avatar
Karl Hasselbring committed
10
11
12
13
14
15
16
17
18
19
20
//
@result-page-body-background-color: @background-color;
@result-page-a-hover-color: red;
@result-page-a-visited-color: @metager-orange;
@result-page-product-shop-color: green;
//
@body-background-color: @result-page-body-background-color;
@a-visited-color: @result-page-a-visited-color;
@a-hover-color: @result-page-a-hover-color;
@a-donation-hover-color: @result-page-a-hover-color;
@product-shop-color: @result-page-product-shop-color;
21
22
23
24
25
26
#header-logo {
    z-index: 0;
    padding-right: 10px;
    h1 {
        .logo;
        margin: 0px;
27
        font-size: 22px;
28
29
30
31
        display: inline-block;
    }
}

32
body {
33
34
    &#resultBody {
        background-image: inherit;
35
        background-color: #FAFAFA;
36
37
38
    }
    &.quicktips {
        background-color: @quicktip-background-color;
39
40
41
    }
}

42
.navbar {
Karl Hasselbring's avatar
Karl Hasselbring committed
43
    border-bottom: 3px solid @metager-orange;
44
45
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
    &.navbar-resultpage {
Karl Hasselbring's avatar
Karl Hasselbring committed
46
        border-bottom: 2px solid @metager-orange;
47
48
49
50
51
52
        box-shadow: none;
    }
}

.lSPrev>span,
.lSNext>span {
Karl Hasselbring's avatar
Karl Hasselbring committed
53
    color: @metager-orange;
54
55
}

56
57
58
#map,
#map div {
    display: flex;
Dominik Hebeler's avatar
Dominik Hebeler committed
59
60
}

61
.nav-tabs>li>a {
62
63
64
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
Phil Höfer's avatar
Phil Höfer committed
65
66
}

Phil Höfer's avatar
Phil Höfer committed
67
68
69
70
.tab-content {
    padding-top: 10px;
}

Phil Höfer's avatar
Phil Höfer committed
71
72
73
74
.hostlabel {
    display: none;
    position: relative;
    margin-top: -14px;
75
76
77
78
79
    background-color: @hostlabel-background-color;
    a:link,
    a:visited {
        color: @hostlabel-a-link-or-visited-color;
    }
Phil Höfer's avatar
Phil Höfer committed
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
}

.img:hover .hostlabel {
    display: block;
}

.tab-pane.active {
    padding: 10px 0;
    padding-top: 0;
}

.tab-pane .alert {
    margin: 10px 0;
    padding: 5px 15px;
}

.alert ul {
    list-style-type: none;
    padding-left: 49px;
}

101
.fa.fa-twitter {
Dominik Hebeler's avatar
Dominik Hebeler committed
102
103
104
    color: #6faedc
}

Phil Höfer's avatar
Phil Höfer committed
105
106
107
108
.dense-col {
    padding: 0px
}

Phil Höfer's avatar
Phil Höfer committed
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
.input-group-addon {
    padding: 0;
}

input#eingabeTop {
    height: 35px;
}

nav .input-group {
    height: 35px;
    padding: 5px 0;
}

#search {
    background-color: inherit;
    border: 0;
    width: 50px;
    height: 100%;
}

#helpButton {
    color: black;
}

133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
a {
    &:visited {
        color: @a-visited-color;
    }
    &:hover {
        text-decoration: none;
        color: @a-hover-color;
    }
    &#donation {
        &,
        &:visited {
            color: @a-donation-normal-or-visited-color;
        }
        &:hover {
            color: @a-donation-hover-color;
        }
    }
Phil Höfer's avatar
Phil Höfer committed
150
151
152
}

#spenden {
153
    .overflow-ellipsis;
Phil Höfer's avatar
Phil Höfer committed
154
155
}

156
157
158
159
160
#spruch {
    .author {
        font-size: 80%;
        font-weight: normal;
        font-style: italic;
161
        color: @spruch-author-color;
162
163
164
165
166
167
168
    }
    &>p {
        margin-bottom: 0;
        &+p {
            margin-top: 4px;
        }
    }
Phil Höfer's avatar
Phil Höfer committed
169
170
}

171
172
173
.saver-options {
    display: flex;
    padding-bottom: 15px;
174
    &>input {
175
176
177
178
        min-width: 35%;
        max-width: 80%;
    }
}
179

180
181
182
.ui-effects-transfer {
    border: 1px dotted black;
}
183

184
185
186
187
#header-searchbar {
    flex-grow: 1;
}

Phil Höfer's avatar
Phil Höfer committed
188
.description-container {
189
    margin: 0 !important;
Phil Höfer's avatar
Phil Höfer committed
190
191
}

192
193
.options-list>li {
    &:hover {
194
        background-color: @options-list-li-hover-background-color;
195
196
    }
    &>a {
197
        color: @options-list-li-a-color;
198
199
200
201
202
203
204
205
206
207
        white-space: nowrap;
        display: block;
        padding: 5px 14px;
    }
    input[type=submit] {
        width: 100%;
        background-color: transparent;
        border: 0;
        margin: 5px 0;
    }
Phil Höfer's avatar
Phil Höfer committed
208
209
}

210
211
212
213
.js-only {
    display: none;
}

Phil Höfer's avatar
Phil Höfer committed
214
215
216
217
218
219
/* Hier der Style für die Bilder */

#fit-width .masonry {
    margin: 0 auto;
}

220
.image-item {
Phil Höfer's avatar
Phil Höfer committed
221
222
223
    width: 150px;
    text-align: center;
    margin-bottom: 10px;
224
225
226
227
    margin: 5px;
    .img {
        box-shadow: 0px 0px 10px 2px @image-item-img-box-shadow-color;
    }
Phil Höfer's avatar
Phil Höfer committed
228
229
}

230
.image-container {
Phil Höfer's avatar
Phil Höfer committed
231
    margin: 10px auto;
232
233
    display: flex;
    flex-wrap: wrap;
Phil Höfer's avatar
Phil Höfer committed
234
235
236
237
238
239
240
}

/* Placeholder für ladende Tabs */

.loader {
    text-align: center;
    margin-top: 20px;
241
242
243
    &>img {
        width: 30px;
    }
Phil Höfer's avatar
Phil Höfer committed
244
245
}

246
247
248
249
250
251
252
253
.mg-pager {
    display: flex;
    justify-content: center;
    &>div {
        border: #aaa solid 1px;
        border-radius: 10px;
        padding: 5px;
        margin-left: 10px;
254
255
        background-color: white;
        box-shadow: 0px 1px 1.5px 0px rgba(0, 0, 0, 0.12), 1px 0px 1px 0px rgba(0, 0, 0, 0.24);
256
257
258
259
260
261
        &:first-child {
            margin-left: 0px;
        }
    }
}

Phil Höfer's avatar
Phil Höfer committed
262
263
264
265
266
267
268
#searchplugin {
    display: none;
    position: fixed;
    top: 50px;
    right: 10px;
    z-index: 501;
    width: 25%;
269
270
271
272
273
    &>div {
        text-align: center;
        padding-top: 5px;
    }
    &>a {
274
        color: @searchplugin-a-color;
275
    }
Phil Höfer's avatar
Phil Höfer committed
276
277
278
279
280
281
282
283
284
}

@media(min-width: 768px) {
    #searchplugin {
        display: initial;
    }
}

.lightslider {
285
    overflow: visible !important;
Phil Höfer's avatar
Phil Höfer committed
286
287
}

288
289
290
291
#products {
    width: 100%;
    height: 210px;
    padding-bottom: 0;
292
    transform: translate3d(0px, 0px, 0px);
293
294
295
296
297
    margin-bottom: 10px;
}

.lSPrev>i,
.lSNext>i {
298
    background-color: @lsprev-or-lsnext-i-background-color;
Phil Höfer's avatar
Phil Höfer committed
299
300
301
302
303
    padding: 5px;
}

#mark {
    font-size: 13px;
304
305
306
    a {
        margin-left: 3px;
    }
307
308
}

309
310
311
312
313
314
315
316
317
@keyframes quicktip-extender-turn {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(180deg);
    }
}

318
319
320
321
322
323
324
/* New result style */

.content-wrapper {
    display: flex;
    flex-direction: column;
}

325
326
@results-width-min: 500px;
@quicktip-width-min: 400px;
327
#resultpage-container {
328
    width: @result-width + @quicktip-width;
329
330
331
332
333
    align-self: left;
    display: flex;
    justify-content: left;
    margin-left: @results-margin-left;
    background-color: #FAFAFA;
334
    #results-container {
335
336
        max-width: @result-width;
        width: 100%;
337
338
339
        .alert {
            margin: 8px 0px;
        }
340
    }
341
    #additions-container {
342
343
        padding-left: 50px;
        width: @quicktip-width;
344
345
346
        #search-settings {
            display: none;
        }
347
    }
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
    @media (max-width: (4 * @padding-small-default + @result-width + @quicktip-width - 1px)) {
        width: 100%;
        margin-left: 0px;
        padding-left: @padding-small-default;
        padding-right: @padding-small-default;
        justify-content: center;
        #results-container {
            min-width: @results-width-min;
        }
        #additions-container {
            width: 100%;
            max-width: 500px;
            min-width: @quicktip-width-min;
            padding-left: 2 * @padding-small-default;
        }
    }
    @media (max-width: (@results-width-min + @quicktip-width-min - 1px)) {
        #results-container {
            width: 100%;
            max-width: auto;
            min-width: auto;
        }
        #additions-container {
            display: none;
        }
        width: 100%;
        justify-content: center;
        margin: 0px;
        padding: 0px @resultpage-leftbox-min-dist-left-right; // Verhindert, dass Text bei kleinen Bildschirmen an den Rand ragt
    }
378
}
Karl Hasselbring's avatar
Karl Hasselbring committed
379
380
381
382
383
384
385
386

#spendenaufruf {
    margin-bottom: 10px;
    a {
        background-color: white;
        display: inline-block;
        width: 100%;
    }
387
388
389
390
391
392
393
394
395
}

footer.resultPageFooter {
    max-width: 700px;
    margin-left: 50px;
    margin-top: 20px;
    @media (max-width: (2 * @results-margin-left + @result-width - 1px)) {
        margin: 20px 0 0 0;
    }
Karl Hasselbring's avatar
Karl Hasselbring committed
396
}