result.less 4.63 KB
Newer Older
1 2
/* Ergebnis */

3 4 5
@result-font-large: 18px;
@result-font-medium: 16px;
@result-font-small: 14px;
6
.result {
7
    .card;
Karl Hasselbring's avatar
Karl Hasselbring committed
8
    margin: @resultpage-leftbox-min-dist-top-bottom 0px @resultpage-leftbox-min-dist-top-bottom 0px;
9
    padding: 15px;
10 11
    width: 100%;
    .result-header {
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
        .result-headline {
            display: flex;
            justify-content: space-between;
            .result-title {
                margin: 0px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                font-size: @result-font-large;
                a {
                    &,
                    &:active,
                    &:hover,
                    &:focus,
                    &:visited {
                        color: black;
                        text-decoration: none;
                    }
30 31
                }
            }
32
            .result-hoster {
33
                font-size: @result-font-small;
34 35
                margin-left: 20px;
                color: #808080;
Karl Hasselbring's avatar
Karl Hasselbring committed
36
                white-space: nowrap;
37
            }
38 39
        }
        .result-link {
40
            display: block;
41 42 43 44
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: @result-font-small;
45 46
            width: fit-content;
            max-width: 100%;
47 48 49 50 51
            &,
            &:active,
            &:hover,
            &:focus,
            &:visited {
52 53
                color: #333;
                text-decoration: none;
54
            }
55 56
        }
    }
57
    .result-body {
58
        margin-top: 20px;
59 60
        .result-description {
            margin-bottom: 3px;
61
            word-break: break-word;
62
            color: @result-description-color;
63
            font-size: @result-font-medium;
64 65 66 67
            line-height: 1.3;
            clear: both;
            .date {
                font-weight: bold;
68
            }
69 70 71
            p {
                margin: 0;
                margin-bottom: 4px;
72
            }
73 74 75 76 77 78 79 80 81
            img {
                margin: 5px;
                margin-left: 0px;
                margin-right: 15px;
                height: auto;
                width: auto;
                max-width: 120px;
                max-height: 200px;
                border: solid 1px @result-description-img-border-color;
82 83
            }
        }
84 85 86 87
        .result-image>img {
            height: 100px;
            padding: 10px;
            max-width: 100%;
88 89
        }
    }
90 91 92 93
    .result-footer {
        margin-top: 25px;
        display: flex;
        flex-wrap: wrap;
94
        overflow: auto;
95 96
        &>*:not(:first-child) {
            margin-left: 20px;
97
        }
98 99 100 101 102 103 104 105
        .result-open {
            &,
            &:active,
            &:hover,
            &:focus,
            &:visited {
                color: #ff8000;
            }
106
        }
107
        .result-open-newtab {
108 109 110 111 112 113 114 115 116
            &,
            &:active,
            &:hover,
            &:focus,
            &:visited {
                color: black;
                font-size: @result-font-small;
                text-decoration: none;
            }
117 118 119 120 121 122
            margin-left: 25px;
        }
        @media (max-width: 499px) {
            .result-open-newtab {
                display: none;
            }
123
        }
124
        .result-open-proxy {
125 126 127 128 129 130 131 132 133 134
            &,
            &:active,
            &:hover,
            &:focus,
            &:visited {
                color: black;
                font-size: @result-font-small;
                text-decoration: none;
            }
            white-space: nowrap;
135
            margin-left: 25px;
136 137 138 139 140
            img {
                margin-bottom: 0px;
                margin-right: 2px
            }
        }
141 142 143 144
        .open-result-options {
            font-weight: normal;
            flex-grow: 1;
            text-align: right;
145 146
        }
    }
147
    &.ad .ad-label {
148 149 150 151 152 153 154
        &,
        & a,
        & a:active,
        & a:hover,
        & a:focus,
        & a:visited {
            font-size: @result-font-small;
155
            color: #808080;
156
        }
157
    }
158 159 160 161
    &>.remover {
        cursor: pointer;
        text-align: right;
        color: #777;
162
    }
163 164 165 166 167 168
    &>.result-options {
        &>.options {
            width: 100%;
            text-align: right;
            overflow: hidden;
            max-height: 0px;
169 170 171
            transition: all 1.0s;
            -webkit-transition: all 1.0s;
            opacity: 0;
172
        }
173
        &>.result-toggle:checked+.options {
174
            max-height: 150px;
175
            overflow: initial;
176
            opacity: 1;
177 178 179 180 181 182
        }
        li {
            font-size: 14px;
            text-transform: uppercase;
            margin: 10px 0;
        }
183
        li>a {
184 185 186
            color: black;
        }
    }
187
}