general.less 3.39 KB
Newer Older
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
/* Default Font */

* {
    font-family: Liberation Sans, sans-serif;
}


/* Main Containers */

html,
body,
.content-wrapper {
    width: 100%;
}

html {
    min-height: 100%;
    height: auto;
    display: flex;
}

body {
    flex-grow: 1;
    background-image: inherit;
    background-color: @body-background-color;
    background-attachment: fixed;
    min-height: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
39
40
    align-items: center;
    margin-top: 50px;
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
}


/* Logo */

.logo h1,
h1.mg-logo {
    color: rgb(255, 128, 0);
    font-weight: bold;
}

#mglogo {
    color: rgb(255, 128, 0);
    text-align: center;
    &>a {
        display: block;
        text-decoration: none;
        font-size: 1.1em;
        font-family: Liberation Sans, sans-serif;
        font-weight: bold;
        font-style: italic;
        font-size: 1.0em;
        line-height: 1;
        white-space: nowrap;
        border-radius: .25em;
        margin: 0 auto;
    }
}

.metager-logo {
71
72
73
74
75
76
    height: 18px;
    float: left;
    margin: 6px;
}

.metager-searchinput {
77
78
    height: 30px;
    float: left;
79
80
81
82
83
84
85
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857;
    color: #555;
    background-color: #FFF;
    background-image: none;
    border: 1px solid #CCC;
86
    margin: 0px;
87
88
89
90
91
92
93
94
95
96
97
}

.metager-searchbutton {
    height: 30px;
    border-left: 0px none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border: 1px solid #CCC;
    padding: 6px 12px;
98
    margin: 0px;
99
100
101
102
103
104
105
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    white-space: nowrap;
    color: #555;
    text-align: center;
    background-color: #EEE;
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
}

.logo {
    height: 30px!important;
    &>h1 {
        font-size: 30px;
    }
}


/* Links that look like text */

.mutelink {
    &,
    &:focus,
    &:active,
    &:visited {
        color: inherit;
    }
}


/* Summary Elements */

summary {
    cursor: pointer;
    &::-webkit-details-marker {
        display: none;
    }
    &::-moz-details-marker {
        display: none;
    }
    &::-ms-details-marker {
        display: none;
    }
    &::-o-details-marker {
        display: none;
    }
    &::details-marker {
        display: none;
    }
}


/* New Feature Badge */

.new-feature.badge {
    background-color: @new-feature-badge-background-color;
}


/* Box to match Image size */

.imagebox {
    display: flex;
    a {
        display: flex;
    }
}


/* Unsorted */

.bold {
    font-weight: bold;
}

@media print {
    .noprint {
        display: none!important;
    }
}

nav {
    h1 {
        margin: 0;
        height: 100%;
        padding-left: 20px;
        padding-top: 8px;
        font-family: sans-serif;
        font-style: italic;
        margin: 0;
        font-weight: bold;
        line-height: 1;
        white-space: nowrap;
    }
    .navbar-brand>div.logo {
        height: 100%;
    }
}

.modal-content {
    border-radius: 0;
    -webkit-box-shadow: 1px 1px 3px 1px @modal-content-box-shadow-color;
    -moz-box-shadow: 1px 1px 3px 1px @modal-content-box-shadow-color;
    box-shadow: 1px 1px 3px 1px @modal-content-box-shadow-color;
}

label a {
    color: inherit;
    &:hover {
        text-decoration: none;
        color: inherit;
    }
210
211
212
213
}

button {
    border: none;
214
}