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

@import "./quicktips.less";
4
@import "./result-saver.less";
5 6 7
@import "./result.less";
@import "./product.less";
//
8
body {
9 10 11 12 13
    &#resultBody {
        background-image: inherit;
    }
    &.quicktips {
        background-color: @quicktip-background-color;
14 15 16
    }
}

17 18 19 20 21 22 23 24 25 26 27 28 29 30
.navbar {
    border-bottom: 3px solid rgb(255, 128, 0);
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
    &.navbar-resultpage {
        border-bottom: 2px solid rgb(255, 128, 0);
        box-shadow: none;
    }
}

.lSPrev>span,
.lSNext>span {
    color: rgb(255, 128, 0);
}

31 32 33
#map,
#map div {
    display: flex;
Dominik Hebeler's avatar
Dominik Hebeler committed
34 35
}

36
.nav-tabs>li>a {
37 38 39
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
Phil Höfer's avatar
Phil Höfer committed
40 41
}

Phil Höfer's avatar
Phil Höfer committed
42 43 44 45
.tab-content {
    padding-top: 10px;
}

Phil Höfer's avatar
Phil Höfer committed
46 47 48 49
.hostlabel {
    display: none;
    position: relative;
    margin-top: -14px;
50 51 52 53 54
    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
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
}

.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;
}

76
.fa.fa-twitter {
Dominik Hebeler's avatar
Dominik Hebeler committed
77 78 79
    color: #6faedc
}

Phil Höfer's avatar
Phil Höfer committed
80 81 82 83
.dense-col {
    padding: 0px
}

Phil Höfer's avatar
Phil Höfer committed
84 85 86
.logo {
    height: 35px;
    padding: 5px 0;
87 88 89 90
    &>a {
        line-height: 100%;
        height: 100%;
        display: block;
Phil Höfer's avatar
Phil Höfer committed
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
    }
}

.input-group-addon {
    padding: 0;
}

input#eingabeTop {
    height: 35px;
}

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

.logo h1 {
    font-family: Liberation Sans, sans-serif;
    font-style: italic;
    margin: 0;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
}

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

#helpButton {
    color: black;
}

127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
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
144 145 146 147 148 149 150 151
}

#spenden {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

167 168 169
.saver-options {
    display: flex;
    padding-bottom: 15px;
170
    &>input {
171 172 173 174
        min-width: 35%;
        max-width: 80%;
    }
}
175

176 177 178
.ui-effects-transfer {
    border: 1px dotted black;
}
179

Karl Hasselbring's avatar
Karl Hasselbring committed
180 181
#logo-searchbar-container {
    display: flex;
182 183 184
    @media (max-width: @screen-xs-max) {
        flex-direction: column;
    }
Karl Hasselbring's avatar
Karl Hasselbring committed
185 186 187 188 189
}

.mg-logo {
    color: #ff8000;
    font-family: Liberation Sans, sans-serif;
Aria Givi's avatar
Aria Givi committed
190 191 192 193 194 195 196 197 198 199
    font-style: italic;
    margin: 0;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
}

p.mg-logo {
    font-size: 18px;
    display: inline-block;
Karl Hasselbring's avatar
Karl Hasselbring committed
200 201
}

202 203 204 205
#header-searchbar {
    flex-grow: 1;
}

Phil Höfer's avatar
Phil Höfer committed
206 207 208 209
.description-container {
    margin: 0!important;
}

210 211
.options-list>li {
    &:hover {
212
        background-color: @options-list-li-hover-background-color;
213 214
    }
    &>a {
215
        color: @options-list-li-a-color;
216 217 218 219 220 221 222 223 224 225
        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
226 227
}

228 229 230 231
.js-only {
    display: none;
}

Phil Höfer's avatar
Phil Höfer committed
232 233 234 235 236 237 238

/* Hier der Style für die Bilder */

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

239
.image-item {
Phil Höfer's avatar
Phil Höfer committed
240 241 242
    width: 150px;
    text-align: center;
    margin-bottom: 10px;
243 244 245 246
    margin: 5px;
    .img {
        box-shadow: 0px 0px 10px 2px @image-item-img-box-shadow-color;
    }
Phil Höfer's avatar
Phil Höfer committed
247 248
}

249
.image-container {
Phil Höfer's avatar
Phil Höfer committed
250
    margin: 10px auto;
251 252
    display: flex;
    flex-wrap: wrap;
Phil Höfer's avatar
Phil Höfer committed
253 254 255 256 257 258 259 260
}


/* Placeholder für ladende Tabs */

.loader {
    text-align: center;
    margin-top: 20px;
261 262 263
    &>img {
        width: 30px;
    }
Phil Höfer's avatar
Phil Höfer committed
264 265
}

266 267 268 269 270 271 272 273 274 275 276 277 278 279
.mg-pager {
    display: flex;
    justify-content: center;
    &>div {
        border: #aaa solid 1px;
        border-radius: 10px;
        padding: 5px;
        margin-left: 10px;
        &:first-child {
            margin-left: 0px;
        }
    }
}

280 281
.disabled,
.disabled * {
282 283
    color: #aaa !important;
    cursor: not-allowed !important;
Phil Höfer's avatar
Phil Höfer committed
284 285 286 287 288 289 290 291 292
}

#searchplugin {
    display: none;
    position: fixed;
    top: 50px;
    right: 10px;
    z-index: 501;
    width: 25%;
293 294 295 296 297
    &>div {
        text-align: center;
        padding-top: 5px;
    }
    &>a {
298
        color: @searchplugin-a-color;
299
    }
Phil Höfer's avatar
Phil Höfer committed
300 301 302 303 304 305 306 307 308 309 310 311
}

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

.lightslider {
    overflow: visible!important;
}

312 313 314 315
#products {
    width: 100%;
    height: 210px;
    padding-bottom: 0;
316
    transform: translate3d(0px, 0px, 0px);
317 318 319 320 321
    margin-bottom: 10px;
}

.lSPrev>i,
.lSNext>i {
322
    background-color: @lsprev-or-lsnext-i-background-color;
Phil Höfer's avatar
Phil Höfer committed
323 324 325 326 327
    padding: 5px;
}

#mark {
    font-size: 13px;
328 329 330
    a {
        margin-left: 3px;
    }
331 332
}

333 334 335 336 337 338 339 340 341
@keyframes quicktip-extender-turn {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(180deg);
    }
}

342

343 344 345 346 347 348 349
/* New result style */

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

350 351 352 353 354
#header-logo {
    z-index: 0;
    a h1 {
        margin: 0px;
    }
355 356
}

357 358
@result-width: 700px;
@quicktip-width: 500px;
359
#resultpage-container {
360 361 362 363
    width: @result-width + @quicktip-width;
    align-self: center;
    @media (max-width: (@result-width + @quicktip-width - 1px)) {
        width: @result-width;
364
        #additions-container {
365
            display: none;
366
            float: right;
367 368 369 370 371 372 373
        }
    }
    @media (max-width: @result-width) {
        width: 100%;
    }
    display: flex;
    justify-content: center;
374
    #results-container {
375 376 377
        max-width: @result-width;
        width: 100%;
    }
378
    #additions-container {
379 380 381
        padding-left: 50px;
        width: @quicktip-width;
    }
382
}
Karl Hasselbring's avatar
Karl Hasselbring committed
383 384 385 386 387 388 389 390 391

#spendenaufruf {
    margin-bottom: 10px;
    a {
        background-color: white;
        display: inline-block;
        width: 100%;
    }
}