commit | author | age
|
58aa3b
|
1 |
/* aus App-Vorlage */ |
48a649
|
2 |
|
58aa3b
|
3 |
html, body { |
U |
4 |
margin: 0; |
|
5 |
padding: 0; |
|
6 |
height: 100%; /* Anmerkung 2 */ |
|
7 |
font-size: larger; |
|
8 |
font-family: 'Roboto Condensed'; |
|
9 |
-webkit-text-size-adjust: none; |
|
10 |
/* touch-action: manipulation;*/ |
|
11 |
} |
|
12 |
body { |
|
13 |
min-height: 0; /* Anmerkung 1 */ |
|
14 |
display: flex; |
|
15 |
flex-flow: column; |
|
16 |
} |
|
17 |
.inhalt { |
|
18 |
display: flex; |
|
19 |
flex-flow: row; |
|
20 |
height: 100%; /* Anmerkung 2 */ |
|
21 |
min-height: 0; /* Anmerkung 1 */ |
|
22 |
/* background-color: #ededed; */ |
|
23 |
overflow: hidden; |
|
24 |
} |
|
25 |
.nord { |
|
26 |
background-color: #eee; |
|
27 |
display: flex; |
|
28 |
flex-flow: row; |
|
29 |
height: 2em; |
|
30 |
align-items: center; |
|
31 |
justify-content: space-between; |
|
32 |
} |
|
33 |
.sued { |
|
34 |
height: 1.5em; |
|
35 |
overflow: hidden; |
|
36 |
transition: all 0.3s ease-in; |
|
37 |
background-color: lightgray; |
|
38 |
} |
|
39 |
.west { |
|
40 |
flex-grow: 0; |
|
41 |
flex-shrink: 0; |
|
42 |
flex-basis: 4em; |
|
43 |
background-color: white; |
|
44 |
transition: all 0.3s ease-in; |
|
45 |
overflow: hidden; |
|
46 |
white-space: nowrap; |
|
47 |
} |
|
48 |
.ost { |
|
49 |
flex-grow: 0; |
|
50 |
flex-shrink: 0; |
|
51 |
flex-basis: 6em; |
|
52 |
transition: all 0.3s ease-in; |
|
53 |
background-color: antiquewhite; |
|
54 |
overflow: hidden; |
|
55 |
} |
|
56 |
.zentrum-behaelter { |
|
57 |
display: flex; |
|
58 |
flex-flow: column; |
|
59 |
/* background-color: #eaeaea; */ |
|
60 |
height: 100%; |
|
61 |
width: 100%; |
|
62 |
padding: 0 0.4em 0 0.4em; |
48a649
|
63 |
} |
U |
64 |
|
58aa3b
|
65 |
.zentrum { |
U |
66 |
width: 100%; |
|
67 |
height: 100%; |
|
68 |
overflow-x: hidden; |
|
69 |
overflow-y: auto; |
|
70 |
-webkit-overflow-scrolling: touch; |
48a649
|
71 |
} |
U |
72 |
|
58aa3b
|
73 |
.zentraler-inhalt { |
U |
74 |
padding: 0.5em; |
|
75 |
overflow-x: hidden; |
|
76 |
overflow-y: auto; |
48a649
|
77 |
} |
U |
78 |
|
58aa3b
|
79 |
.zentrum-liste { |
U |
80 |
overflow-x: hidden; |
|
81 |
overflow-y: auto; |
|
82 |
} |
|
83 |
/* |
|
84 |
Anmerkungen: |
|
85 |
1.) min.height: 0 fuer body und inhalt ist gegen einen Bug, vgl. |
|
86 |
http://stackoverflow.com/questions/33859811/understanding-flexbox-and-overflowauto |
|
87 |
2.) height 100% fuer html, body und inhalt sorgt dafuer, dass sich alles |
|
88 |
immer ueber das gesamte Browserfenster ausdehnt. |
|
89 |
*/ |
|
90 |
|
|
91 |
/* Kopfleiste */ |
|
92 |
|
|
93 |
.app-titel { |
|
94 |
margin-left: 0.1em; |
|
95 |
color: black; |
48a649
|
96 |
} |
U |
97 |
|
58aa3b
|
98 |
.zurueck-btn, .zurueck-btn:focus { |
U |
99 |
border: 0; |
|
100 |
margin: 0 1.2em 0 0.6em; |
|
101 |
padding: 0; |
|
102 |
color: black; |
48a649
|
103 |
} |
U |
104 |
|
58aa3b
|
105 |
.zurueck-btn:hover { |
U |
106 |
color: #888; |
48a649
|
107 |
} |
U |
108 |
|
58aa3b
|
109 |
.top-btn-area { |
U |
110 |
display: flex; |
|
111 |
flex-flow: row; |
|
112 |
justify-content: flex-end; |
|
113 |
padding: 0 0.3em 0 0; |
|
114 |
width: 4em; |
48a649
|
115 |
} |
U |
116 |
|
58aa3b
|
117 |
.top-btn { |
U |
118 |
margin: 0; |
|
119 |
padding: 0 0.2em 0 0.2em; |
|
120 |
height: 28px; |
|
121 |
line-height: 24px; |
|
122 |
text-align: center; |
|
123 |
font-size: large; |
|
124 |
background-color: white; |
|
125 |
/* width: 1em; */ |
48a649
|
126 |
} |
U |
127 |
|
58aa3b
|
128 |
.del-user-btn { |
U |
129 |
margin: 0 1.5em 0 1em; |
|
130 |
height: 28px; |
|
131 |
line-height: 24px; |
|
132 |
text-align: center; |
|
133 |
} |
|
134 |
|
|
135 |
.danger-btn { |
|
136 |
background-color: lightcoral; |
|
137 |
} |
|
138 |
|
|
139 |
#user-form { |
|
140 |
display: flex; |
|
141 |
flex-flow: column; |
|
142 |
} |
|
143 |
|
|
144 |
.profil-angabe { |
|
145 |
margin: 0.8em 0 0 0; |
|
146 |
} |
|
147 |
|
|
148 |
.user-save-btn { |
|
149 |
margin: 2.5em 0 0 0; |
|
150 |
width: 16em; |
|
151 |
} |
|
152 |
|
|
153 |
@media (min-width: 800px) { |
|
154 |
.zentrum-behaelter { |
|
155 |
padding: 0 1em 0 1em; |
|
156 |
} |
|
157 |
.zentrum-behaelter, .nord { |
|
158 |
margin: 0 10% 0 10%; |
|
159 |
} |
|
160 |
.profil-angabe { |
|
161 |
width: 70%; |
|
162 |
} |
|
163 |
.user-save-btn { |
|
164 |
width: 16em; |
|
165 |
} |
|
166 |
} |
|
167 |
@media (min-width: 1200px) { |
|
168 |
.zentrum-behaelter { |
|
169 |
padding: 0 1.5em 0 1.5em; |
|
170 |
} |
|
171 |
.zentrum-behaelter, .nord { |
|
172 |
margin: 0 15% 0 15%; |
|
173 |
} |
|
174 |
.profil-angabe { |
|
175 |
width: 70%; |
|
176 |
} |
|
177 |
.user-save-btn { |
|
178 |
width: 16em; |
|
179 |
} |
|
180 |
} |
|
181 |
|
|
182 |
@font-face { |
|
183 |
font-family: 'Roboto Condensed'; |
|
184 |
src: url('/lib/fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf') format('truetype'); |
|
185 |
font-weight: normal; |
|
186 |
font-style: normal; |
|
187 |
} |
|
188 |
|
|
189 |
|
|
190 |
/* Font für Piktogramme mit Fontello aus FontAwesome erzeugt */ |
|
191 |
|
|
192 |
@font-face { |
|
193 |
font-family: 'picto'; |
|
194 |
src: url('../font/picto.eot?52325148'); |
|
195 |
src: url('../font/picto.eot?52325148#iefix') format('embedded-opentype'), |
|
196 |
url('../font/picto.woff2?52325148') format('woff2'), |
|
197 |
url('../font/picto.woff?52325148') format('woff'), |
|
198 |
url('../font/picto.ttf?52325148') format('truetype'), |
|
199 |
url('../font/picto.svg?52325148#picto') format('svg'); |
|
200 |
font-weight: normal; |
|
201 |
font-style: normal; |
|
202 |
} |
|
203 |
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ |
|
204 |
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ |
|
205 |
/* |
|
206 |
@media screen and (-webkit-min-device-pixel-ratio:0) { |
|
207 |
@font-face { |
|
208 |
font-family: 'picto'; |
|
209 |
src: url('../font/picto.svg?52325148#picto') format('svg'); |
|
210 |
} |
|
211 |
} |
|
212 |
*/ |
|
213 |
|
|
214 |
[class^="icon-"]:before, [class*=" icon-"]:before { |
|
215 |
font-family: "picto"; |
|
216 |
font-style: normal; |
|
217 |
font-weight: normal; |
|
218 |
speak: none; |
|
219 |
|
|
220 |
display: inline-block; |
|
221 |
text-decoration: inherit; |
|
222 |
width: 1em; |
|
223 |
margin-right: .2em; |
|
224 |
text-align: center; |
|
225 |
/* opacity: .8; */ |
|
226 |
|
|
227 |
/* For safety - reset parent styles, that can break glyph codes*/ |
|
228 |
font-variant: normal; |
|
229 |
text-transform: none; |
|
230 |
|
|
231 |
/* fix buttons height, for twitter bootstrap */ |
|
232 |
line-height: 1em; |
|
233 |
|
|
234 |
/* Animation center compensation - margins should be symmetric */ |
|
235 |
/* remove if not needed */ |
|
236 |
margin-left: .2em; |
|
237 |
|
|
238 |
/* you can be more comfortable with increased icons size */ |
|
239 |
/* font-size: 120%; */ |
|
240 |
|
|
241 |
/* Font smoothing. That was taken from TWBS */ |
|
242 |
-webkit-font-smoothing: antialiased; |
|
243 |
-moz-osx-font-smoothing: grayscale; |
|
244 |
|
|
245 |
/* Uncomment for 3D effect */ |
|
246 |
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ |
|
247 |
} |
|
248 |
|
|
249 |
.icon-user:before { content: '\e800'; } /* '' */ |
|
250 |
.icon-cog:before { content: '\e801'; } /* '' */ |
|
251 |
.icon-off:before { content: '\e802'; } /* '' */ |
|
252 |
.icon-user-plus:before { content: '\f234'; } /* '' */ |
|
253 |
.icon-user-times:before { content: '\f235'; } /* '' */ |
|
254 |
|
|
255 |
|
|
256 |
|
|
257 |
/* von Skeleton */ |
|
258 |
|
|
259 |
/* Buttons |
|
260 |
–––––––––––––––––––––––––––––––––––––––––––––––––– */ |
|
261 |
.button, |
|
262 |
button, |
|
263 |
input[type="submit"], |
|
264 |
input[type="reset"], |
|
265 |
input[type="button"] { |
|
266 |
display: inline-block; |
|
267 |
height: 38px; |
|
268 |
padding: 0 30px; |
|
269 |
color: #555; |
|
270 |
text-align: center; |
|
271 |
font-size: 11px; |
|
272 |
font-weight: 600; |
|
273 |
line-height: 38px; |
|
274 |
letter-spacing: .1rem; |
|
275 |
text-transform: uppercase; |
|
276 |
text-decoration: none; |
|
277 |
white-space: nowrap; |
|
278 |
background-color: transparent; |
|
279 |
border-radius: 4px; |
|
280 |
border: 1px solid #bbb; |
|
281 |
cursor: pointer; |
|
282 |
box-sizing: border-box; } |
|
283 |
.button:hover, |
|
284 |
button:hover, |
|
285 |
input[type="submit"]:hover, |
|
286 |
input[type="reset"]:hover, |
|
287 |
input[type="button"]:hover, |
|
288 |
.button:focus, |
|
289 |
button:focus, |
|
290 |
input[type="submit"]:focus, |
|
291 |
input[type="reset"]:focus, |
|
292 |
input[type="button"]:focus { |
|
293 |
color: #333; |
|
294 |
border-color: #888; |
|
295 |
outline: 0; } |
|
296 |
.button.button-primary, |
|
297 |
button.button-primary, |
|
298 |
input[type="submit"].button-primary, |
|
299 |
input[type="reset"].button-primary, |
|
300 |
input[type="button"].button-primary { |
|
301 |
color: #FFF; |
|
302 |
background-color: #33C3F0; |
|
303 |
border-color: #33C3F0; } |
|
304 |
.button.button-primary:hover, |
|
305 |
button.button-primary:hover, |
|
306 |
input[type="submit"].button-primary:hover, |
|
307 |
input[type="reset"].button-primary:hover, |
|
308 |
input[type="button"].button-primary:hover, |
|
309 |
.button.button-primary:focus, |
|
310 |
button.button-primary:focus, |
|
311 |
input[type="submit"].button-primary:focus, |
|
312 |
input[type="reset"].button-primary:focus, |
|
313 |
input[type="button"].button-primary:focus { |
|
314 |
color: #FFF; |
|
315 |
background-color: #1EAEDB; |
|
316 |
border-color: #1EAEDB; } |
|
317 |
|
|
318 |
|
|
319 |
/* Forms |
|
320 |
–––––––––––––––––––––––––––––––––––––––––––––––––– */ |
|
321 |
input[type="email"], |
|
322 |
input[type="number"], |
|
323 |
input[type="search"], |
|
324 |
input[type="text"], |
|
325 |
input[type="tel"], |
|
326 |
input[type="url"], |
|
327 |
input[type="password"], |
|
328 |
textarea, |
|
329 |
select { |
|
330 |
height: 38px; |
|
331 |
padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */ |
|
332 |
background-color: #fff; |
|
333 |
border: 1px solid #D1D1D1; |
|
334 |
border-radius: 4px; |
|
335 |
box-shadow: none; |
|
336 |
box-sizing: border-box; } |
|
337 |
/* Removes awkward default styles on some inputs for iOS */ |
|
338 |
input[type="email"], |
|
339 |
input[type="number"], |
|
340 |
input[type="search"], |
|
341 |
input[type="text"], |
|
342 |
input[type="tel"], |
|
343 |
input[type="url"], |
|
344 |
input[type="password"], |
|
345 |
textarea { |
|
346 |
-webkit-appearance: none; |
|
347 |
-moz-appearance: none; |
|
348 |
appearance: none; } |
|
349 |
textarea { |
|
350 |
min-height: 65px; |
|
351 |
padding-top: 6px; |
|
352 |
padding-bottom: 6px; } |
|
353 |
input[type="email"]:focus, |
|
354 |
input[type="number"]:focus, |
|
355 |
input[type="search"]:focus, |
|
356 |
input[type="text"]:focus, |
|
357 |
input[type="tel"]:focus, |
|
358 |
input[type="url"]:focus, |
|
359 |
input[type="password"]:focus, |
|
360 |
textarea:focus, |
|
361 |
select:focus { |
|
362 |
border: 1px solid #33C3F0; |
|
363 |
outline: 0; } |
|
364 |
label, |
|
365 |
legend { |
|
366 |
display: block; |
|
367 |
margin-bottom: .5rem; |
|
368 |
font-weight: 600; } |
|
369 |
fieldset { |
|
370 |
padding: 0; |
|
371 |
border-width: 0; } |
|
372 |
input[type="checkbox"], |
|
373 |
input[type="radio"] { |
|
374 |
display: inline; } |
|
375 |
label > .label-body { |
|
376 |
display: inline-block; |
|
377 |
margin-left: .5rem; |
|
378 |
font-weight: normal; } |