diff options
author | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-14 23:02:07 +0200 |
---|---|---|
committer | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-14 23:02:07 +0200 |
commit | 7693b73ebdb58f7ca1343b2e1e00d4dd17e4ee15 (patch) | |
tree | 023eb97ecc77d80820c7fdb2f404e8d8ffbd8fda | |
parent | 8b29bd3e43448b265a387a215d2f4e9155843d8b (diff) |
Simplify views
-rw-r--r-- | index.html | 18 | ||||
-rw-r--r-- | js/abmahn.js | 16 | ||||
-rw-r--r-- | style.css | 33 |
3 files changed, 11 insertions, 56 deletions
@@ -221,23 +221,17 @@ | |||
221 | <div class="collapsable block-step7"> | 221 | <div class="collapsable block-step7"> |
222 | <div onclick="step6_done()" class="block-header"> | 222 | <div onclick="step6_done()" class="block-header"> |
223 | <div class="done">✓</div> | 223 | <div class="done">✓</div> |
224 | <h2 id="head7">Fertig!</h2> | 224 | <h2 id="head7"><div class="circle_num"> </div>Fertig!</h2> |
225 | </div> | 225 | </div> |
226 | <div class="juice"> | 226 | <div class="juice"> |
227 | <p>Wir haben nun alle Informationen, um das Antwortschreiben erzeugen zu können:</p> | 227 | <p>Drucken Sie das Schreiben aus und schicken Sie es per Post an die abmahnende Kanzlei. Optional können Sie zur Wahrung der Frist das Schreiben auch vorab <span id="faxempfaenger"></span>faxen.</p> |
228 | <div class="one-button"> | 228 | <div class="one-button"> |
229 | <div class="button button-green" onclick="abmahnbeantworter()">Antworten</div> | 229 | <div class="button button-green" onclick="abmahnbeantworter()">Antworten</div> |
230 | </div> | 230 | </div> |
231 | <p class="hint">Drucken Sie das Schreiben aus und schicken Sie es per Post an die abmahnende Kanzlei. Optional können Sie zur Wahrung der Frist das Schreiben auch vorab <span id="faxempfaenger"></span>faxen.</p> | 231 | <div clas="hint"> |
232 | </div> | 232 | <p>Nimmt die abmahnende Kanzlei ihre Forderung nicht innerhalb unserer Frist (14 Tage) zurück, steht Ihnen eine gerichtliche Klärung zu.</p> |
233 | </div> | 233 | <p>Die Auslagen hierfür können Sie – im Gegensatz zur ersten Antwort auf die Abmahnung – vom Abmahner zurückfordern. Dazu gehören auch die Anwaltskosten.</p> |
234 | <div class="collapsable block-step8"> | 234 | </div> |
235 | <div class="block-header"> | ||
236 | <h2 id="head8">Und jetzt?</h2> | ||
237 | </div> | ||
238 | <div class="juice"> | ||
239 | <p>Nimmt die abmahnende Kanzlei ihre Forderung nicht innerhalb unserer Frist (14 Tage) zurück, steht Ihnen eine gerichtliche Klärung zu.</p> | ||
240 | <p>Die Auslagen hierfür können Sie – im Gegensatz zur ersten Antwort auf die Abmahnung – vom Abmahner zurückfordern. Dazu gehören auch die Anwaltskosten.</p> | ||
241 | </div> | 235 | </div> |
242 | </div> | 236 | </div> |
243 | <div class="push"></div> | 237 | <div class="push"></div> |
diff --git a/js/abmahn.js b/js/abmahn.js index 269fa72..a13cea6 100644 --- a/js/abmahn.js +++ b/js/abmahn.js | |||
@@ -64,19 +64,6 @@ function step3_done() { scrollTo(289); setClass('wrapper', 'step4'); } | |||
64 | function step4_done() { scrollTo(382); setClass('wrapper', 'step5'); } | 64 | function step4_done() { scrollTo(382); setClass('wrapper', 'step5'); } |
65 | function step5_done() { scrollTo(475); setClass('wrapper', 'step6'); } | 65 | function step5_done() { scrollTo(475); setClass('wrapper', 'step6'); } |
66 | function step6_done() { scrollTo(568); setClass('wrapper', 'step7'); } | 66 | function step6_done() { scrollTo(568); setClass('wrapper', 'step7'); } |
67 | function step7_done() { scrollTo(661); setClass('wrapper', 'step8'); } | ||
68 | |||
69 | /* | ||
70 | function step0_cancel() { setClass('wrapper', 'stepcancel'); } | ||
71 | function step0_done() { scrollTo('head1'); setClass('wrapper', 'step1'); } | ||
72 | function step1_done() { scrollTo('head1'); setClass('wrapper', 'step2'); } | ||
73 | function step2_done() { scrollTo('head2'); setClass('wrapper', 'step3'); } | ||
74 | function step3_done() { scrollTo('head3'); setClass('wrapper', 'step4'); } | ||
75 | function step4_done() { scrollTo('head4'); setClass('wrapper', 'step5'); } | ||
76 | function step5_done() { scrollTo('head5'); setClass('wrapper', 'step6'); } | ||
77 | function step6_done() { scrollTo('head6'); setClass('wrapper', 'step7'); } | ||
78 | function step7_done() { scrollTo('head7'); setClass('wrapper', 'step8'); } | ||
79 | */ | ||
80 | 67 | ||
81 | function waldorf() { | 68 | function waldorf() { |
82 | setText('abmahnender_kanzlei', 'Waldorf & Frommer RAe'); | 69 | setText('abmahnender_kanzlei', 'Waldorf & Frommer RAe'); |
@@ -337,7 +324,4 @@ function abmahnbeantworter() { | |||
337 | } | 324 | } |
338 | } | 325 | } |
339 | pdfMake.createPdf(docDefinition).download('Abmahnung-' + getText('vorgang_aktenzeichen') + '.pdf'); | 326 | pdfMake.createPdf(docDefinition).download('Abmahnung-' + getText('vorgang_aktenzeichen') + '.pdf'); |
340 | |||
341 | // advance view | ||
342 | step7_done(); | ||
343 | } | 327 | } |
@@ -101,16 +101,13 @@ h2 { | |||
101 | font-weight: 300; | 101 | font-weight: 300; |
102 | } | 102 | } |
103 | 103 | ||
104 | #unsicher, | 104 | #unsicher { |
105 | .collapsable.block-step8 { | ||
106 | padding: 0; | 105 | padding: 0; |
107 | } | 106 | } |
108 | #wrapper.stepcancel #unsicher, | 107 | #wrapper.stepcancel #unsicher { |
109 | #wrapper-step8 .block-step8 { | ||
110 | padding: auto; | 108 | padding: auto; |
111 | } | 109 | } |
112 | 110 | ||
113 | .block-step8, | ||
114 | .juice, | 111 | .juice, |
115 | #wrapper.stepcancel h2 { | 112 | #wrapper.stepcancel h2 { |
116 | overflow: hidden; | 113 | overflow: hidden; |
@@ -121,8 +118,7 @@ h2 { | |||
121 | transition-delay: 0s; | 118 | transition-delay: 0s; |
122 | } | 119 | } |
123 | 120 | ||
124 | .block-step1, | 121 | .block-step1 { |
125 | .block-step8 , .block-step8 h2 { | ||
126 | background-color: #F1F2E3; | 122 | background-color: #F1F2E3; |
127 | color: black !important; | 123 | color: black !important; |
128 | } | 124 | } |
@@ -188,7 +184,7 @@ h2 { | |||
188 | margin-right: 0; | 184 | margin-right: 0; |
189 | } | 185 | } |
190 | 186 | ||
191 | .block-step2, .block-step3, .block-step4, .block-step5, .block-step6, .block-step7, .block-step8 { | 187 | .block-step2, .block-step3, .block-step4, .block-step5, .block-step6, .block-step7 { |
192 | box-shadow: inset 0px 7px 3px -3px rgba(50, 50, 50, 0.75); | 188 | box-shadow: inset 0px 7px 3px -3px rgba(50, 50, 50, 0.75); |
193 | } | 189 | } |
194 | 190 | ||
@@ -316,22 +312,16 @@ ul { | |||
316 | #wrapper.step5 .block-step2 .done, | 312 | #wrapper.step5 .block-step2 .done, |
317 | #wrapper.step6 .block-step2 .done, | 313 | #wrapper.step6 .block-step2 .done, |
318 | #wrapper.step7 .block-step2 .done, | 314 | #wrapper.step7 .block-step2 .done, |
319 | #wrapper.step8 .block-step2 .done, | ||
320 | #wrapper.step4 .block-step3 .done, | 315 | #wrapper.step4 .block-step3 .done, |
321 | #wrapper.step5 .block-step3 .done, | 316 | #wrapper.step5 .block-step3 .done, |
322 | #wrapper.step6 .block-step3 .done, | 317 | #wrapper.step6 .block-step3 .done, |
323 | #wrapper.step7 .block-step3 .done, | 318 | #wrapper.step7 .block-step3 .done, |
324 | #wrapper.step8 .block-step3 .done, | ||
325 | #wrapper.step5 .block-step4 .done, | 319 | #wrapper.step5 .block-step4 .done, |
326 | #wrapper.step6 .block-step4 .done, | 320 | #wrapper.step6 .block-step4 .done, |
327 | #wrapper.step7 .block-step4 .done, | 321 | #wrapper.step7 .block-step4 .done, |
328 | #wrapper.step8 .block-step4 .done, | ||
329 | #wrapper.step6 .block-step5 .done, | 322 | #wrapper.step6 .block-step5 .done, |
330 | #wrapper.step7 .block-step5 .done, | 323 | #wrapper.step7 .block-step5 .done, |
331 | #wrapper.step8 .block-step5 .done, | 324 | #wrapper.step7 .block-step6 .done { |
332 | #wrapper.step7 .block-step6 .done, | ||
333 | #wrapper.step8 .block-step6 .done, | ||
334 | #wrapper.step8 .block-step7 .done { | ||
335 | visibility: visible; | 325 | visibility: visible; |
336 | } | 326 | } |
337 | 327 | ||
@@ -443,12 +433,6 @@ input[type=checkbox]:not(old):checked + label > span:before { | |||
443 | max-height: 450px; | 433 | max-height: 450px; |
444 | } | 434 | } |
445 | 435 | ||
446 | #wrapper.step8 .block-step8 .juice, | ||
447 | #wrapper.step8 .block-step8 | ||
448 | { | ||
449 | max-height: 450px; | ||
450 | } | ||
451 | |||
452 | /* On older phones our blocks need to accomodate | 436 | /* On older phones our blocks need to accomodate |
453 | for zoomed fonts */ | 437 | for zoomed fonts */ |
454 | @media only screen and (max-device-width: 480px) { | 438 | @media only screen and (max-device-width: 480px) { |
@@ -481,13 +465,6 @@ input[type=checkbox]:not(old):checked + label > span:before { | |||
481 | max-height: 450px; | 465 | max-height: 450px; |
482 | } | 466 | } |
483 | 467 | ||
484 | #wrapper.step8 .block-step8 .juice, | ||
485 | #wrapper.step8 .block-step8 | ||
486 | { | ||
487 | max-height: 450px; | ||
488 | } | ||
489 | |||
490 | |||
491 | } | 468 | } |
492 | 469 | ||
493 | .credits { | 470 | .credits { |