start-page.less 3.83 KB
Newer Older
1 2 3
.mg-panel {
    @media(max-width: @screen-sm) {
        width: 100%;
4
    }
5 6
    @media(min-width: @screen-sm) {
        width: @screen-sm;
7
    }
8 9 10 11 12 13 14
}

.search-bar {
    display: flex;
    align-items: stretch;
    font-size: 16px;
    .search-focus-selector {
15
        background-color: transparent;
16 17
        border: 1px solid #aaa;
        border-radius: 5px 0px 0px 5px;
Karl Hasselbring's avatar
Karl Hasselbring committed
18 19
        select {
            width: 100%;
20 21 22 23 24 25
            color: #777;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-color: transparent;
            padding-right: 35px;
Karl Hasselbring's avatar
Karl Hasselbring committed
26
        }
27 28 29 30 31
    }
    .search-input-submit {
        flex-grow: 1;
        border-left: none;
        border: 1px solid #aaa;
32
        border-left: none;
33 34 35 36 37
        border-radius: 0px 5px 5px 0px;
        display: flex;
    }
    .search-input {
        flex-grow: 1;
Karl Hasselbring's avatar
Karl Hasselbring committed
38
        input {
39
            border: none;
Karl Hasselbring's avatar
Karl Hasselbring committed
40
            height: 40px;
41 42 43 44 45 46 47
            &:focus {
                outline-color: rgb(255, 128, 0);
                -webkit-box-shadow: 0px 0px 2px 2px rgba(255, 128, 0, 1);
                -moz-box-shadow: 0px 0px 2px 2px rgba(255, 128, 0, 1);
                box-shadow: 0px 0px 2px 2px rgba(255, 128, 0, 1);
                border-color: rgba(255, 128, 0, 1);
            }
Karl Hasselbring's avatar
Karl Hasselbring committed
48
        }
49 50 51
    }
    .search-submit {
        border-left: 1px solid #aaa;
Karl Hasselbring's avatar
Karl Hasselbring committed
52
        button {
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
            width: 50px;
            line-height: 100%;
            border: 0;
            background-color: transparent;
            padding: 0;
            height: 100%;
        }
    }
    .search-hidden {
        display: none;
    }
    @media (max-width: @screen-xs-max) {
        flex-direction: column-reverse;
        .search-focus-selector {
            border: 1px solid #aaa;
            border-top: none;
            border-radius: 5px;
        }
        .search-input-submit {
            border: 1px solid #aaa;
            border-radius: 5px;
Karl Hasselbring's avatar
Karl Hasselbring committed
74 75
        }
    }
76 77
}

78
.search-focus-selector {
79 80
    background-color: white;
    position: relative;
81
    text-overflow: ellipsis;
82 83
    &:after {
        content: "\f078";
84
        font: 15px "FontAwesome", sans-serif; //text-align: center;
85 86 87 88 89 90 91 92 93 94 95 96
        line-height: 30px;
        color: #aaa;
        background-color: transparent;
        right: 8px;
        top: 2px;
        padding: 2px 2px 2px 5px;
        border-left: 1px solid #aaa;
        position: absolute;
        pointer-events: none;
    }
}

97 98 99 100
.searchform-bonus {
    li {
        margin: 5px;
    }
Dominik Hebeler's avatar
Dominik Hebeler committed
101 102
}

103 104 105 106 107
.settings-modal-buttons {
    padding: 5px;
    button {
        margin: 5px
    }
108 109
}

110 111
.startpage-foki,
.foki {
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    input {
        visibility: hidden;
        &+.custom-focus-label {
            border-radius: @foki-edge-rounding 0px 0px @foki-edge-rounding;
        }
        &+.custom-focus-label+.custom-focus-edit {
            margin-left: 5px;
            display: inline-block;
            border-radius: 0px @foki-edge-rounding @foki-edge-rounding 0px;
        }
    }
    label {
127
        & span:not(.badge) {
128 129 130
            background-color: transparent;
        }
    }
131 132
}

Karl's avatar
Karl committed
133
.focus {
134
    margin: 0px;
135 136 137 138 139 140 141
    &~.focus {
        margin-left: 10px;
    }
    &:hover {
        .focus-label,
        .focus-edit {
            cursor: pointer;
142
            background-color: @focus-hover-focus-edit-background-color;
143 144
        }
    }
145 146 147
}

.focus-radio:checked {
148 149
    &+.focus-label,
    &+.focus-label+.focus-edit {
150
        background-color: @focus-radio-checked-focus-label-focus-edit-background-color;
151 152 153
    }
}

154 155 156
.focus-label,
.focus-edit {
    margin: 0px;
157 158 159 160 161
    border-radius: 7px;
    padding: 7px;
    font-weight: normal;
}

162 163 164 165 166 167 168 169
#about-us a:visited {
    color: @link-color;
}

#anpassen-label a {
    color: @anpassen-label-color;
}

170
#addFocusBtnDiv {
171
    margin-left: 10px;
172 173
}

174 175
#settingsBtnDiv {
    margin-left: 10px;
176 177 178 179
    &>* {
        vertical-align: middle;
    }
}