Revision 3fc38171
Von Andreas Rudin vor etwa 6 Jahren hinzugefügt
css/less/main.less | ||
---|---|---|
11 | 11 |
// - GENERAL FONT SIZES |
12 | 12 |
// - HEADING |
13 | 13 |
// - H1 |
14 |
// - .listtop (SAME AS H1 -> depraceted/obsolete) |
|
15 | 14 |
// - H2 |
16 | 15 |
// - H3 & Caption |
17 |
// - LINKS
|
|
16 |
// - LINKS
|
|
18 | 17 |
// - COMPONENTS |
19 | 18 |
// - DIVs & SPAN Dimensions |
20 | 19 |
// - SPAN: Labels & Values |
... | ... | |
22 | 21 |
// - Info-Container (DIV) |
23 | 22 |
// - Wrapper |
24 | 23 |
// - File Content (PRE) |
25 |
// - MESSAGES & WARNINGS |
|
26 |
// - Messages (Depraceted) |
|
27 |
// - Flash Messages |
|
28 | 24 |
// - CATEGORIES |
29 |
// - Plus & Minus |
|
25 |
// - Plus & Minus / Positive & Negative
|
|
30 | 26 |
// - Styled Text |
31 | 27 |
// - SPECIALIZED PROPERTIES (REDUNANT) |
32 | 28 |
// - OTHER STANDARD HTML-ELEMENTS (SELECTORS) |
... | ... | |
60 | 56 |
// -------------------------------------- |
61 | 57 |
// Headings (H1 - H6) |
62 | 58 |
// -------------------------------------- |
63 |
|
|
64 |
// -------------- |
|
65 | 59 |
// H1 |
66 | 60 |
// |
67 |
|
|
68 | 61 |
h1{ |
69 |
display: block; |
|
70 |
text-align: left; |
|
71 |
margin: 0; |
|
72 |
font-weight: normal; |
|
73 |
font-size: @font-size-h1;
|
|
74 |
line-height: @font-size-h1 ;
|
|
62 |
display: block;
|
|
63 |
text-align: left;
|
|
64 |
margin: 0;
|
|
65 |
font-weight: normal;
|
|
66 |
font-size: @h1-size;
|
|
67 |
line-height: 1.2em ;
|
|
75 | 68 |
} |
76 |
|
|
77 | 69 |
// PENDENT: mit Child-Kombinator > versehen wenn fertig |
78 |
#content h1{
|
|
79 |
z-index: @zindex-h1; //hps:12
|
|
80 |
position: fixed; |
|
81 |
top: 60px;
|
|
82 |
width: 100%;
|
|
83 |
// PENDENT: SIEHE AUCH .LISTTOP
|
|
84 |
color: @h1-text-color ;
|
|
85 |
background-color: @h1-bg-color ;
|
|
86 |
padding: 0.4em 0.5em 0.6em 0.5em ;
|
|
70 |
// PENDENT: SIEHE AUCH .LISTTOP
|
|
71 |
#content > h1 {
|
|
72 |
position: fixed;
|
|
73 |
z-index: @zindex-h1; //hps:12
|
|
74 |
top: 60px;
|
|
75 |
width: 100%;
|
|
76 |
color: @brand-h1-color ;
|
|
77 |
background-color: @brand-h1-bg;
|
|
78 |
padding: @h1-padding;
|
|
87 | 79 |
|
88 | 80 |
} |
89 |
|
|
90 |
|
|
91 |
// -------------- |
|
92 |
// .LISTTOP (SAME AS H1 -> DEPRACETED/OBSOLETE) |
|
93 |
// PENDENT: Tabellen? oder einfach nur DIV oder P? |
|
94 |
|
|
95 |
.listtop { |
|
96 |
color: @h1-text-color; |
|
97 |
background: none; |
|
98 |
text-align: left; |
|
99 |
padding: 0.8em 0.5em; |
|
100 |
font-size: @font-size-h1; |
|
101 |
font-weight: normal; |
|
81 |
#content .wrapper h1{ |
|
82 |
color: @headings-color; |
|
83 |
font-size: @h2-size; |
|
84 |
margin: @margin-from-wrapper ; |
|
85 |
} |
|
86 |
body > h1{ |
|
87 |
color: @brand-h1-color ; |
|
88 |
background-color: @brand-h1-bg ; |
|
89 |
padding: @h1-padding; |
|
102 | 90 |
} |
103 | 91 |
|
104 | 92 |
|
105 | 93 |
// -------------- |
106 | 94 |
// H2 |
107 | 95 |
// |
108 |
// See slso Captions in Tables |
|
109 |
|
|
110 |
#content h2, |
|
111 |
.admin h2{ |
|
112 |
padding: 0.6em 0.2em; |
|
113 |
margin: 0.6em 0 0 0 ; |
|
114 |
|
|
115 |
color: @headings-color; |
|
116 |
font-size: @font-size-h2 ; |
|
117 |
font-weight: normal; |
|
118 |
text-align: left; |
|
119 |
border-style: none; |
|
120 |
letter-spacing: 0.1em; |
|
96 |
h2 { |
|
97 |
color: @headings-color; |
|
98 |
font-size: @h2-size ; |
|
99 |
border-style: none; |
|
100 |
letter-spacing: 0.14em; |
|
101 |
} |
|
102 |
#content, |
|
103 |
.admin { |
|
104 |
& > h2 { |
|
105 |
padding: 0.6em 0.2em ; |
|
106 |
margin: 0.6em 0 0 0 ; |
|
107 |
} |
|
108 |
ui-tabs-panel { |
|
109 |
.wrapper > h2 { |
|
110 |
padding: 0 0.2em 0.6em 0.2em; |
|
111 |
margin: @margin-from-wrapper ; |
|
112 |
} |
|
113 |
} |
|
114 |
.wrapper > h2 { |
|
115 |
padding: 0 0.2em 0.6em 0.2em; |
|
116 |
} |
|
117 |
} // /#content /.admin |
|
118 |
h2.confirm { color: @headings-color-confirm ; } |
|
119 |
h2.error { color: @headings-color-error ; } |
|
120 |
// ------------------- |
|
121 |
// H2 RECORD-TITLE (e.g. Customer Name, Article Name) |
|
122 |
// PENDENT: an verschiedenen Orten einfuegen |
|
123 |
h2.record-title { |
|
124 |
padding: 0.6em 0 0 0 !important; |
|
125 |
font-size: @h2-size ; |
|
126 |
color: @headings-color-accent ; |
|
127 |
small{ |
|
128 |
color: @headings-color ; |
|
129 |
letter-spacing: 0 ; |
|
130 |
} |
|
121 | 131 |
} |
122 |
|
|
123 |
h2.confirm { |
|
124 |
color: blue; |
|
132 |
.wrapper > h2.record-title{ |
|
133 |
margin: 0em 1em 1em 0.2em !important; |
|
125 | 134 |
} |
126 |
|
|
127 |
h2.error {
|
|
128 |
color: red;
|
|
135 |
.ui-tabs-panel > h2.record-title{ |
|
136 |
margin: 1em 1em 0.2em @margin-left-from-content !important;
|
|
137 |
padding: 0.8em 0 0 0.1em !important;
|
|
129 | 138 |
} |
130 | 139 |
|
131 | 140 |
|
132 | 141 |
// -------------- |
133 | 142 |
// H3 |
134 | 143 |
// |
135 |
|
|
136 |
h3{ |
|
144 |
// see also caption in table.less |
|
145 |
h3 {
|
|
137 | 146 |
.mx-h3-caption ; // Mixin |
147 |
|
|
148 |
&.caption{ |
|
149 |
margin: 0.6em 0 0.4em 0 !important; |
|
150 |
} |
|
151 |
} |
|
152 |
#content h3{ |
|
138 | 153 |
color: @headings-color ; |
139 | 154 |
padding-left: 0 ; |
155 |
margin: 0.8em 0 0.4em 0 ; |
|
140 | 156 |
} |
141 |
.wrapper h3 { |
|
157 |
#content .wrapper h3 {
|
|
142 | 158 |
margin-top: 1.0em ; |
143 | 159 |
} |
160 |
#content table.tbl-horizontal > tbody > tr > th > h3, |
|
161 |
#content table.tbl-horizontal > tbody > tr > td > h3 { margin-top: 0.2em !important; } |
|
144 | 162 |
|
145 | 163 |
|
146 |
// -------------------------------------- |
|
147 |
// RECORD-TITLE (e.g. Customer Name, Article Name) |
|
148 |
// -------------------------------------- |
|
149 |
// This is just a try |
|
150 |
// PENDENT: an verschiedenen Orten einfuegen |
|
151 |
div.record-title { |
|
152 |
width: 100% ; |
|
153 |
font-size: 140% ; |
|
154 |
display: block; |
|
155 |
overflow: hidden ; |
|
156 |
font-weight: bold ; |
|
157 |
margin: 0.8em 2.0em 1.0em 0.2em ; |
|
158 |
} |
|
159 |
|
|
160 | 164 |
|
161 | 165 |
|
162 | 166 |
// -------------------------------------- |
... | ... | |
164 | 168 |
// -------------------------------------- |
165 | 169 |
|
166 | 170 |
a { |
167 |
text-decoration: none;
|
|
171 |
text-decoration: @link-decoration;
|
|
168 | 172 |
|
169 | 173 |
&:link, |
170 | 174 |
&:visited, |
171 | 175 |
&:active { |
172 |
color: #000000;
|
|
176 |
color: @link-color;
|
|
173 | 177 |
} |
174 | 178 |
&:hover { |
175 |
color: #FE5F14; |
|
179 |
color: @link-hover-color; |
|
180 |
text-decoration: @link-hover-decoration; |
|
176 | 181 |
} |
177 | 182 |
|
178 | 183 |
// Special classes |
... | ... | |
198 | 203 |
border:none; |
199 | 204 |
} |
200 | 205 |
|
201 |
// -------------- |
|
202 |
// Buttons (Link/Anchor as button outside or even inside a FORM) |
|
203 |
// |
|
204 |
&.button { |
|
205 |
.mx-button ; |
|
206 |
|
|
207 |
// PENDENT! |
|
208 |
&.inline { } |
|
209 |
&.below { clear: both !important; } |
|
210 |
|
|
211 |
// Toggle (for filter panels e.g.) |
|
212 |
&.toggle { |
|
213 |
// PENDENT: mit Bildern versehen, sieht schöner aus |
|
214 |
&.off::after{ content: " ⇨"; content: " →"; padding-right: 1.0em; } |
|
215 |
&.on::after { content: " ⇩"; content: " ↓"; padding-right: 1.0em; } |
|
216 |
&.with-panel{ |
|
217 |
margin-bottom: 0 ; |
|
218 |
border-bottom: none; |
|
219 |
border-bottom-left-radius: 0px ; |
|
220 |
border-bottom-right-radius: 0px ; |
|
221 |
} |
|
222 |
} // /.toggle |
|
223 |
|
|
224 |
|
|
225 |
|
|
226 |
// STANDARD colors |
|
227 |
&:link, |
|
228 |
&:visited { |
|
229 |
color: @btn-default-color ; |
|
230 |
background-color: @btn-default-bg ; |
|
231 |
border-color: @btn-default-color ; |
|
232 |
} |
|
233 |
&:hover, |
|
234 |
&.hover{ |
|
235 |
background-color: @btn-default-hover-bg; |
|
236 |
border-color: @btn-default-hover-border ; |
|
237 |
color: @btn-default-hover-color; |
|
238 |
} |
|
239 |
&:active, |
|
240 |
&.active{ |
|
241 |
background-color: @btn-default-active-bg; |
|
242 |
border-color: @btn-default-active-border ; |
|
243 |
color: @btn-default-active-color; |
|
244 |
} |
|
245 |
&.toggle:hover, |
|
246 |
&.toggle.hover{ |
|
247 |
background-color: @btn-neutral-bg !important; |
|
248 |
border-color: @btn-neutral-border !important ; |
|
249 |
color: #000000; |
|
250 |
} |
|
251 |
|
|
252 |
|
|
253 |
|
|
254 |
// NEUTRAL (no Submission) |
|
255 |
&.neutral { |
|
256 |
|
|
257 |
&:link, |
|
258 |
&:visited { |
|
259 |
background-color: @btn-neutral-bg; |
|
260 |
border-color: @btn-neutral-border ; |
|
261 |
color: @btn-neutral-color; |
|
262 |
} |
|
263 |
&:hover, |
|
264 |
&-hover{ |
|
265 |
background-color: @btn-neutral-hover-bg; |
|
266 |
border-color: @btn-neutral-hover-border ; |
|
267 |
color: @btn-neutral-hover-color; |
|
268 |
} |
|
269 |
&:active, |
|
270 |
&-active{ |
|
271 |
background-color: @btn-neutral-active-bg; |
|
272 |
border-color: @btn-neutral-active-border ; |
|
273 |
color: @btn-neutral-active-color; |
|
274 |
} |
|
275 |
&toggle:hover{ |
|
276 |
background-color: @btn-neutral-bg !important; |
|
277 |
border-color: @btn-neutral-border !important ; |
|
278 |
color: #000000; |
|
279 |
} |
|
280 | 206 |
|
281 |
} |
|
282 |
|
|
283 |
&.wi-tiny { |
|
284 |
width: auto ; |
|
285 |
padding: 0.16em 0.2em 0.1em 0.2em; |
|
286 |
margin: -0.3em 0 0 0.2em; |
|
287 |
display: inline-block; |
|
288 |
font-size: 84% ; |
|
289 |
} |
|
290 |
|
|
291 |
|
|
292 |
} // /.button |
|
207 |
// ------------------- |
|
208 |
// BUTTONS (.button) |
|
209 |
// see file buttons.less |
|
293 | 210 |
|
294 | 211 |
} // /a (Links) |
295 | 212 |
|
... | ... | |
299 | 216 |
// -------------------------------------- |
300 | 217 |
// COMPONENTS |
301 | 218 |
// -------------------------------------- |
302 |
|
|
303 |
|
|
304 |
|
|
305 | 219 |
// -------------- |
306 |
// DIVs & SPANs: Dimensions
|
|
220 |
// DIVs: Dimensions |
|
307 | 221 |
// |
308 |
|
|
309 | 222 |
div, |
310 |
span {
|
|
311 |
|
|
223 |
span,
|
|
224 |
div.list { |
|
312 | 225 |
&.wi-smallest { width: @div-wi-smallest ; } // 2.0em |
313 |
&.wi-verysmall { width: @div-wi-small ; } // 4.0em
|
|
226 |
&.wi-verysmall { width: @div-wi-verysmall ; } // 4.0em
|
|
314 | 227 |
&.wi-small { width: @div-wi-small ; } // 8.8em |
315 | 228 |
&.wi-mediumsmall { width: @div-wi-mediumsmall ; } // 8.8em |
316 | 229 |
&.wi-normal { width: @div-wi-normal ; } // 12.0em |
317 | 230 |
&.wi-lightwide { width: @div-wi-lightwide ; } // 12.0em |
318 |
&.wi-wide { min-width: @div-wi-wide ; } // 18.0em |
|
319 |
&.wi-wider { min-width: @div-wi-wider ; } // 24.0em |
|
320 |
&.wi-verywide { min-width: @div-wi-verywide ; } // 36.0em |
|
321 |
|
|
231 |
&.wi-wide { width: @div-wi-wide ; } // 18.0em |
|
232 |
&.wi-wider { width: @div-wi-wider ; } // 24.0em |
|
233 |
&.wi-verywide { width: @div-wi-verywide ; } // 36.0em |
|
322 | 234 |
} |
323 | 235 |
|
324 | 236 |
// -------------- |
... | ... | |
349 | 261 |
// |
350 | 262 |
|
351 | 263 |
span.label{ |
352 |
color: #666 ; |
|
353 |
margin: 0 0.3em 0 0 ; |
|
264 |
color: @brand-data-label-color ; |
|
265 |
font-size: @font-size-smaller ; |
|
266 |
font-style: normal ; |
|
267 |
margin: 0 0.3em 0 0 ; // PENDENT: gehoert nicht hierher |
|
354 | 268 |
} |
355 | 269 |
span.value{ |
356 | 270 |
color: #000 ; |
357 |
margin: 0 2.6em 0 0 ; |
|
271 |
margin: 0 2.6em 0 0 ; // PENDENT: anschauen, margin-top seltsam
|
|
358 | 272 |
} |
359 | 273 |
|
360 | 274 |
|
361 |
// -------------- |
|
362 |
// Select Functions (DIV) |
|
363 |
// for selecting a hidden Record (e.g. Contacts, Delivery Address etc.) |
|
364 |
|
|
365 |
div.select-item{ |
|
366 |
display: inline-block ; |
|
367 |
width: auto ; |
|
368 |
height: auto; |
|
369 |
padding: 0.4em 3.0em 0.4em 0.8em; |
|
370 |
border: 1px #ccc solid; |
|
371 |
border-radius: 0.2em ; |
|
372 |
background-color: #ddd; |
|
373 |
margin: 0.8em 2.0em 0 1.2em !important; |
|
374 |
|
|
375 |
input, |
|
376 |
select{ |
|
377 |
margin-left: 0.6em ; |
|
378 |
} |
|
379 |
span.label{ |
|
380 |
float: left ; |
|
381 |
font-size: @font-size-small ; |
|
382 |
} |
|
383 |
} |
|
384 |
|
|
385 |
table.jump-to { |
|
386 |
&.right { float: right; } |
|
387 |
|
|
388 |
border: 1px #ccc solid; |
|
389 |
border-radius: 0.2em ; |
|
390 |
background-color: #ddd; |
|
391 |
margin: 0.8em 2.0em 0 1.2em !important; |
|
392 |
} |
|
393 |
|
|
394 |
|
|
395 |
|
|
396 |
|
|
397 |
|
|
398 | 275 |
// -------------- |
399 | 276 |
// Info-Container (DIV) |
400 | 277 |
// |
... | ... | |
418 | 295 |
} |
419 | 296 |
|
420 | 297 |
// big info boxes for the user |
421 |
// same as pad-wrapper & cols
|
|
298 |
// same as cols |
|
422 | 299 |
// PENDENT: Mixin fuer Padding, Margin etc. anlegen |
423 | 300 |
div.instructions { |
424 | 301 |
background-color: @instructionbox-bg; |
... | ... | |
437 | 314 |
// -------------- |
438 | 315 |
// Wrapper |
439 | 316 |
// |
440 |
|
|
441 | 317 |
// Wrapper for padding & columns |
318 |
// TEST |
|
442 | 319 |
.wrapper { |
443 |
overflow: hidden; |
|
444 |
//padding: 0.8em 2.0em 0 1.4em !important; |
|
445 |
padding: 0 ; |
|
446 |
margin: @contentbox-margin; |
|
447 |
clear: both; |
|
320 |
overflow: hidden ; |
|
321 |
margin: @contentbox-margin ; |
|
322 |
padding: 0 0 1.0em 0 ; |
|
323 |
clear: both ; |
|
324 |
display: block ; |
|
325 |
border: 1px transparent solid ; // for nice alignment with folded wrapper |
|
326 |
|
|
327 |
.wrapper { margin-left: 0 !important ; } |
|
448 | 328 |
|
449 |
&.test{ background-color: #FFE67C; } |
|
329 |
&.test { background-color: #FFE67C ; } |
|
330 |
|
|
331 |
&.toggled { display: inline-block !important ; } |
|
332 |
&.bordered { border: 1px @brand-strong solid ; } |
|
333 |
|
|
334 |
|
|
335 |
// Toggle buttons |
|
336 |
// must be placed on the first position in .wrapper |
|
337 |
// PENDENT: Plazierung |
|
338 |
& > .toggles { |
|
339 |
display: inline-block ; |
|
340 |
float: right ; |
|
341 |
position: relative ; |
|
342 |
top: 0 ; |
|
343 |
margin-top: 4px ; |
|
344 |
float: right ; |
|
345 |
|
|
346 |
a.toggle { |
|
347 |
display: inline-block; |
|
348 |
width: 18px ; |
|
349 |
height: 18px ; |
|
350 |
background-repeat: no-repeat; |
|
351 |
background-position: 50% 50%; |
|
352 |
&.min { background-image: url(../image/toggle-down.png); } |
|
353 |
&.max { background-image: url(../image/toggle-left.png); } |
|
354 |
} |
|
355 |
} |
|
450 | 356 |
|
451 | 357 |
.tbl-horizontal, |
452 | 358 |
.tbl-plain { |
... | ... | |
458 | 364 |
// |
459 | 365 |
// DIV or TABLE |
460 | 366 |
.col { |
461 |
&.test{ |
|
367 |
float: left ; |
|
368 |
&.test { |
|
462 | 369 |
background-color: #FFD7BA; |
463 | 370 |
border: 1px #6CF solid; |
464 | 371 |
} |
465 |
&.wi-small { width: @div-wi-small ; } |
|
372 |
&.wi-small { width: @div-wi-small ; }
|
|
466 | 373 |
&.wi-mediumsmall { width: @div-wi-mediumsmall; } |
467 | 374 |
&.wi-normal { width: @div-wi-normal ; } |
468 | 375 |
&.wi-wide { width: @div-wi-wide ; } |
... | ... | |
476 | 383 |
clear: left ; |
477 | 384 |
} |
478 | 385 |
} |
479 |
&> p{
|
|
480 |
max-width: 36.0em ; |
|
481 |
overflow: hidden ; |
|
482 |
font-size: @font-size-smaller ; |
|
483 |
line-height: 140%; |
|
484 |
color: @gray-darker ;
|
|
485 |
padding-bottom: 1.0em ; |
|
386 |
& > p {
|
|
387 |
max-width: 36.0em ;
|
|
388 |
overflow: hidden ;
|
|
389 |
font-size: @font-size-smaller ;
|
|
390 |
line-height: 140%;
|
|
391 |
//color: @gray-darker ;
|
|
392 |
padding-bottom: 1.0em ;
|
|
486 | 393 |
} |
487 | 394 |
} |
488 | 395 |
|
489 | 396 |
// -------------- |
490 | 397 |
// Centered Elements |
491 | 398 |
// |
492 |
|
|
493 | 399 |
.center{ |
494 | 400 |
margin: auto; |
495 | 401 |
} |
496 |
|
|
402 |
// Centered blocks |
|
403 |
.center { |
|
404 |
margin: 0 auto; |
|
405 |
width: auto; |
|
406 |
} |
|
497 | 407 |
|
498 | 408 |
|
499 | 409 |
// PENDENT: Neue Loesung |
500 | 410 |
.accent{ |
501 | 411 |
div.label{ |
502 | 412 |
float: left ; |
503 |
color: gray ;
|
|
413 |
color: @brand-data-label-color ;
|
|
504 | 414 |
font-size: 80% ; |
505 | 415 |
&.wi-mediumsmall{ width: 13.6em; } // PENDENT! |
506 | 416 |
padding-top: 0.8em ; |
... | ... | |
515 | 425 |
|
516 | 426 |
|
517 | 427 |
|
518 |
// Centered blocks |
|
519 |
.center { |
|
520 |
margin: 0 auto; |
|
521 |
width: auto; |
|
522 |
} |
|
523 |
|
|
524 |
// FORM-ADDITION |
|
525 |
.form-addition{ |
|
526 |
border: 1px #999 solid; |
|
527 |
background-color: #dedede; |
|
528 |
border-radius: 0.6em; |
|
529 |
padding: @contentbox-padding ; |
|
530 |
margin: 1.6em 1.0em 1.6em 1.0em !important ; |
|
531 |
width: 96% !important ; |
|
532 |
overflow: hidden ; |
|
533 |
|
|
534 |
h3, |
|
535 |
table caption, |
|
536 |
div.list h4 { |
|
537 |
color: #666 !important; |
|
538 |
margin-top: 0.6em; |
|
539 |
} |
|
540 |
div.list h4 { |
|
541 |
padding: 1.2em 0 0.2em 0.0em !important; |
|
542 |
} |
|
543 |
div.list{ |
|
544 |
min-width: 130px ; |
|
545 |
max-width: 180px ; |
|
546 |
} |
|
547 |
|
|
548 |
} |
|
549 |
.wrapper.formaddition { |
|
550 |
margin: 1.6em 1.0em 1.6em 1.0em !important ; |
|
551 |
} |
|
552 |
|
|
553 |
|
|
554 |
// FILTER-TOGGLE-PANEL |
|
555 |
.filter-toggle-panel{ |
|
556 |
display: block; |
|
557 |
max-width: 60% ; |
|
558 |
min-width: 30% ; |
|
559 |
overflow: hidden; |
|
560 |
padding: 1.0em ; |
|
561 |
margin: 0 1.0em 2.0em 0 ; |
|
562 |
background-color: #ccc; |
|
563 |
border-color: #666 ; |
|
564 |
border-width: 1px; |
|
565 |
border-style: solid ; |
|
566 |
border-bottom-left-radius: 5px ; |
|
567 |
border-bottom-right-radius: 5px ; |
|
568 |
border-top-right-radius: 5px ; |
|
569 |
background-color: #ccc ; |
|
570 |
margin-top: -1px ; |
|
571 |
|
|
572 |
.buttons{ |
|
573 |
clear: left ; |
|
574 |
padding: 0 ; |
|
575 |
} |
|
576 |
} |
|
577 |
|
|
578 | 428 |
|
579 | 429 |
|
580 | 430 |
|
... | ... | |
582 | 432 |
// -------------- |
583 | 433 |
// Hidden Elements |
584 | 434 |
// |
585 |
|
|
586 |
div.hidden, |
|
587 | 435 |
.hidden { |
588 | 436 |
display: none ; |
589 | 437 |
} |
... | ... | |
620 | 468 |
|
621 | 469 |
|
622 | 470 |
|
623 |
// -------------------------------------- |
|
624 |
// Messages & Warnings |
|
625 |
// -------------------------------------- |
|
626 |
|
|
627 |
|
|
628 |
// -------------- |
|
629 |
// Messages (Simple Style) |
|
630 |
// |
|
631 |
|
|
632 |
.message { |
|
633 |
&_error, |
|
634 |
&_warning, |
|
635 |
&_hint, |
|
636 |
&_info, |
|
637 |
&_ok, { |
|
638 |
// General |
|
639 |
min-width: 26.0em ; |
|
640 |
max-width: 88% ; |
|
641 |
width: auto; |
|
642 |
display: block; |
|
643 |
overflow: hidden; |
|
644 |
margin: 0.2em 1.0em 0.8em 1.0em ; |
|
645 |
padding: 0.6em 0.8em ; |
|
646 |
border-radius: 0.6em; |
|
647 |
border-style: solid; |
|
648 |
border-width: 1px; |
|
649 |
font-size: 80% ; |
|
650 |
font-weight: normal; |
|
651 |
line-height: 110% ; |
|
652 |
text-align: left; |
|
653 |
white-space: normal; |
|
654 |
|
|
655 |
// PENDENT: wieso wird in einem DIV-Container nochmals ein Paragraf mit der gleichen Klasse ausgegeben? |
|
656 |
&>.message { |
|
657 |
&_error, |
|
658 |
&_warning, |
|
659 |
&_hint, |
|
660 |
&_info, |
|
661 |
&_ok{ |
|
662 |
display: none; |
|
663 |
} |
|
664 |
} |
|
665 |
|
|
666 |
} |
|
667 |
&_error { |
|
668 |
color: @message_error_text; |
|
669 |
background-color: @message_error_bg; |
|
670 |
border-color: @message_error_border; |
|
671 |
h4{ color: @message_error_text; } |
|
672 |
p { color: @message_error_text; } // PENDENT: andere Message-Typen auch erweitern |
|
673 |
} |
|
674 |
&_warning { |
|
675 |
color: @message_warning_text; |
|
676 |
background-color: @message_warning_bg; |
|
677 |
border-color: @message_warning_border; |
|
678 |
} |
|
679 |
&_hint, |
|
680 |
&_info { |
|
681 |
color: @message_hint_text; |
|
682 |
background-color: @message_hint_bg; |
|
683 |
border-color: @message_hint_border; |
|
684 |
|
|
685 |
h4 { color: #288DCE ; } |
|
686 |
p { color: #288DCE ; } |
|
687 |
} |
|
688 |
&_ok { |
|
689 |
color: @message_ok_text; |
|
690 |
background-color: @message_ok_bg; |
|
691 |
border-color: @message_ok_border; |
|
692 |
} |
|
693 |
|
|
694 |
|
|
695 |
|
|
696 |
&.attention{ |
|
697 |
font-size: 10pt; |
|
698 |
border-color: #E5700A; |
|
699 |
background-color: #FFE7B6; |
|
700 |
|
|
701 |
h4 { color: #CD4E00 ; } |
|
702 |
p { color: #630 ; } |
|
703 |
} |
|
704 |
|
|
705 |
h4{ |
|
706 |
font-weight: bold; |
|
707 |
font-size: 110%; |
|
708 |
margin: 0.4em 0 0.2em 0 ; |
|
709 |
padding: 0; |
|
710 |
} |
|
711 |
p{ |
|
712 |
margin: 0 0 0.6em 0 ; |
|
713 |
padding: 0; |
|
714 |
} |
|
715 |
|
|
716 |
} |
|
717 |
|
|
718 |
body > div.login .message{ |
|
719 |
width: 30.0em !important; |
|
720 |
text-align: center ; |
|
721 |
margin: 0 auto 1.0em auto ; |
|
722 |
} |
|
723 |
|
|
724 |
|
|
725 |
|
|
726 |
// -------------- |
|
727 |
// Flash Messages |
|
728 |
// |
|
729 |
|
|
730 |
.flash_message { |
|
731 |
margin: @message-margin; |
|
732 |
padding: @message-padding; |
|
733 |
border-radius: 0.3em; |
|
734 |
border-style: solid ; |
|
735 |
border-width: 1px ; |
|
736 |
font-size: 80% ; |
|
737 |
max-width: 56.0em !important; |
|
738 |
overflow: hidden ; |
|
739 |
// General (apears two times within a .flash:message) |
|
740 |
|
|
741 |
// Buttons (Details & Close) |
|
742 |
a.button.wi-tiny { |
|
743 |
font-size: 76% ; |
|
744 |
padding: 0 0.2em 0 0.2em ; |
|
745 |
margin: 0 0.4em 0 0.4em ; |
|
746 |
width: auto ; |
|
747 |
background-color: transparent; |
|
748 |
} |
|
749 |
a.icon-close { |
|
750 |
//display: block ; |
|
751 |
} |
|
752 |
|
|
753 |
div.button-container, |
|
754 |
div.icon-container { |
|
755 |
overflow: hidden ; |
|
756 |
width: 12% ; |
|
757 |
float: right ; |
|
758 |
|
|
759 |
a.icon-close { |
|
760 |
float: right ; |
|
761 |
} |
|
762 |
span.display { |
|
763 |
float: right !important; |
|
764 |
display: block; |
|
765 |
width: auto ; |
|
766 |
text-align: right ; |
|
767 |
margin: 0 ; |
|
768 |
padding: 0; |
|
769 |
a.button { } |
|
770 |
} |
|
771 |
} // /div.icon-container |
|
772 |
|
|
773 |
div.message-container { |
|
774 |
overflow: hidden ; |
|
775 |
width: 86% ; |
|
776 |
float: left ; |
|
777 |
|
|
778 |
&>span.flash_title { |
|
779 |
display: block; |
|
780 |
float: left ; |
|
781 |
width: auto ; |
|
782 |
} |
|
783 |
&>div.flash_notification { |
|
784 |
display: block; |
|
785 |
float: left ; |
|
786 |
max-width: 80% ; |
|
787 |
width: auto ; |
|
788 |
|
|
789 |
span.content { |
|
790 |
float: left ; |
|
791 |
display: block; |
|
792 |
width: 100% ; |
|
793 |
} |
|
794 |
div.detail { |
|
795 |
display: block; |
|
796 |
clear: both ; |
|
797 |
padding-top: 0.9em ; |
|
798 |
|
|
799 |
span { |
|
800 |
display: block; |
|
801 |
width: 94%; |
|
802 |
float: right; |
|
803 |
} |
|
804 |
a.button.wi-tiny{ |
|
805 |
display: block ; |
|
806 |
float: left ; |
|
807 |
margin-left: 0 ; |
|
808 |
} |
|
809 |
} |
|
810 |
} // /.div.flash_notification |
|
811 |
|
|
812 |
} // /div.message-container |
|
813 |
|
|
814 |
|
|
815 |
|
|
816 |
&.flash_message_error { |
|
817 |
background-color: @message_error_bg; |
|
818 |
border-color: @message_error_border; |
|
819 |
color: @message_error_text; |
|
820 |
a.button.wi-tiny { |
|
821 |
border: @message_error_border !important; |
|
822 |
color: @message_error_text; |
|
823 |
} |
|
824 |
} |
|
825 |
&.flash_message_ok { |
|
826 |
background-color: @message_ok_bg; |
|
827 |
border: @message_ok_border; |
|
828 |
color: @message_ok_text; |
|
829 |
a.button.wi-tiny { |
|
830 |
border: @message_ok_border; |
|
831 |
color: @message_ok_text; |
|
832 |
} |
|
833 |
} |
|
834 |
&.flash_message_warning { |
|
835 |
background-color: @message_warning_bg; |
|
836 |
border-color: @message_warning_border; |
|
837 |
color: @message_warning_text; |
|
838 |
a.button.wi-tiny { |
|
839 |
border: @message_warning_border; |
|
840 |
color: @message_warning_text; |
|
841 |
} |
|
842 |
} |
|
843 |
&.flash_message_info { |
|
844 |
background-color: @message_info_bg; |
|
845 |
border: @message_info_border; |
|
846 |
color: @message_info_text; |
|
847 |
a.button.wi-tiny { |
|
848 |
border: @message_info_border; |
|
849 |
color: @message_info_text; |
|
850 |
} |
|
851 |
} |
|
852 |
|
|
853 |
.flash_title { |
|
854 |
font-weight: bold; |
|
855 |
float: left; |
|
856 |
display: block ; |
|
857 |
padding-right: 1.0em ; |
|
858 |
} |
|
859 |
.flash_notification{ |
|
860 |
float: left; |
|
861 |
display: block ; |
|
862 |
} |
|
863 |
|
|
864 |
} |
|
865 |
|
|
866 |
|
|
867 |
|
|
868 |
|
|
869 |
|
|
870 | 471 |
|
871 | 472 |
|
872 | 473 |
|
... | ... | |
876 | 477 |
|
877 | 478 |
|
878 | 479 |
// -------------- |
879 |
// Plus & Minus |
|
480 |
// Plus & Minus / Positive & negative
|
|
880 | 481 |
// |
881 |
// Inline-Properties |
|
882 |
|
|
482 |
// Inline-Elements |
|
483 |
.plus, |
|
484 |
.minus, |
|
485 |
.plus0, |
|
486 |
.plus1 { |
|
487 |
display: inline !important; |
|
488 |
clear: none; |
|
489 |
} |
|
883 | 490 |
// Negative Values |
884 |
.plus0 { color: red; }
|
|
885 |
|
|
491 |
.minus,
|
|
492 |
plus0 { color: @brand-negative; } |
|
886 | 493 |
// Positive Values |
887 |
.plus1 { color: green; }
|
|
888 |
|
|
494 |
.plus ,
|
|
495 |
.plus1 { color: @brand-positive; } |
|
889 | 496 |
// unbalanced Ledger |
890 | 497 |
// PENDENT: wo eingesetzt? |
891 | 498 |
span.unbalanced_ledger { |
892 |
background-color: #ffa0a0;
|
|
499 |
background-color: @brand-warning-bg;
|
|
893 | 500 |
} |
894 | 501 |
|
895 | 502 |
|
... | ... | |
902 | 509 |
// /templates/webpages/requirement_spec_item/_section_header.html |
903 | 510 |
div.dimmed-text, |
904 | 511 |
span.dimmed-text { |
905 |
color: #ccc;
|
|
906 |
font-style: italic; |
|
512 |
color: @gray;
|
|
513 |
font-style: italic;
|
|
907 | 514 |
} |
908 | 515 |
|
909 | 516 |
|
... | ... | |
931 | 538 |
// /templates/webpages/dunning/show_invoices.html |
932 | 539 |
#dunning_invoice_list .direct_debit td, |
933 | 540 |
#dunning_invoice_list .direct_debit a { |
934 |
color: #aaa;
|
|
541 |
color: @gray-medium;
|
|
935 | 542 |
} |
936 | 543 |
|
937 | 544 |
// Bank transactions |
938 | 545 |
// /templates/webpages/bank_transactions/tabs/automatic.html |
939 | 546 |
#bank_transactions_proposals .invoice_number_highlight a, |
940 | 547 |
#bank_transactions_proposals span.invoice_number_highlight { |
941 |
background-color: #006400;
|
|
548 |
background-color: @color-green-strong;
|
|
942 | 549 |
color: #FFFFFF; |
943 | 550 |
} |
944 | 551 |
|
945 |
// orderitems |
|
946 |
// PENDENT: Kann mit Ja oder Nein gesetzt werden |
|
947 |
// /templates/webpages/order_items_search/_order_item_list.html |
|
948 |
.shipped { color: green } |
|
949 |
.not_shipped { color: red } |
|
950 |
|
|
951 | 552 |
|
952 | 553 |
|
953 | 554 |
// -------------------------------------- |
... | ... | |
955 | 556 |
// -------------------------------------- |
956 | 557 |
|
957 | 558 |
hr { |
958 |
background-color: #79B61B; // #006400
|
|
559 |
background-color: @color-green-light; // #006400
|
|
959 | 560 |
border: none; |
960 | 561 |
//color: #79B61B; |
961 |
height: 1px;
|
|
562 |
height: 1px; |
|
962 | 563 |
} |
963 | 564 |
|
964 | 565 |
ul, |
... | ... | |
971 | 572 |
} |
972 | 573 |
.wrapper .col{ |
973 | 574 |
ul { |
974 |
list-style:circle inside;
|
|
575 |
list-style: circle outside;
|
|
975 | 576 |
padding: 0 ; |
976 | 577 |
margin: 0 ; |
977 | 578 |
li{ |
... | ... | |
981 | 582 |
} |
982 | 583 |
} |
983 | 584 |
|
585 |
// -------------------------------------- |
|
586 |
// Diverse Elements |
|
587 |
// -------------------------------------- |
|
588 |
// make vertical Space between to elements |
|
589 |
.spacer{ |
|
590 |
clear: both; |
|
591 |
} |
|
592 |
|
|
593 |
|
|
594 |
|
|
595 |
|
|
984 | 596 |
|
985 | 597 |
// -------------------------------------- |
986 | 598 |
// DEPRACETED STUFF (BUT WILL IT BE AVAILABLE FOR A LONGER TIME?) |
... | ... | |
988 | 600 |
// PENDENT: Programmmaesig loesen, vor allem primitive Ueberschriften und "Not records Found"-Meldungen |
989 | 601 |
|
990 | 602 |
#content { |
991 |
&>p { margin: 0.6em 2.0em 1.0em 1.0em }
|
|
992 |
&>p.message_hint {
|
|
993 |
margin: 0.6em 2.0em 1.0em 1.0em
|
|
603 |
&>p { margin: 0.6em 2.0em 1.0em 0.7em }
|
|
604 |
&>p.message_hint { |
|
605 |
margin: 0.6em 2.0em 1.0em 1.0em |
|
994 | 606 |
} |
995 | 607 |
} |
996 | 608 |
|
997 | 609 |
|
998 | 610 |
|
999 | 611 |
|
612 |
|
|
613 |
|
|
614 |
|
|
615 |
|
|
616 |
|
|
617 |
|
Auch abrufbar als: Unified diff
HP Aenderungen bis Oktober 2018