summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorerdgeist <erdgeist@bauklotz.fritz.box>2016-08-07 15:01:10 +0200
committererdgeist <erdgeist@bauklotz.fritz.box>2016-08-07 15:01:10 +0200
commitbe65e80a5eb077ff8d9a765852c3ea6a1ff716f3 (patch)
tree11e0464ab8097f36042a728a5e0b86f4388be09f /style.css
parent45d5e6f1878c57709ab2064b46bb9eef5ef770ee (diff)
Animate Schritt-transitions
Diffstat (limited to 'style.css')
-rw-r--r--style.css105
1 files changed, 56 insertions, 49 deletions
diff --git a/style.css b/style.css
index 7563b8f..8cfcd9c 100644
--- a/style.css
+++ b/style.css
@@ -43,7 +43,7 @@ html {
43 overflow-y: scroll; 43 overflow-y: scroll;
44} 44}
45 45
46.wrapper { 46#wrapper {
47 min-height: 100%; 47 min-height: 100%;
48 height: auto !important; 48 height: auto !important;
49 height: 100%; 49 height: 100%;
@@ -69,7 +69,12 @@ h2 {
69 margin: 0.5em auto 0 auto; 69 margin: 0.5em auto 0 auto;
70} 70}
71 71
72.wrapper.step1 .block-header { 72.juice {
73 font-size: 14pt;
74 font-weight: 300;
75}
76
77#wrapper.step1 .block-header {
73 pointer-events: none; 78 pointer-events: none;
74} 79}
75 80
@@ -78,27 +83,24 @@ h2 {
78 font-weight: 300; 83 font-weight: 300;
79} 84}
80 85
81.juice { 86#unsicher,
82 font-size: 14pt; 87.block-step7 {
83 font-weight: 300; 88 padding: 0;
84
85 overflow: hidden;
86 max-height: 0px;
87 transition: max-height 0.25s ease-in;
88} 89}
89 90#wrapper.stepcancel #unsicher,
90.hidden, 91#wrapper-step7 .block-step7 {
91#unsicher { 92 padding: auto;
92 visibility: hidden;
93 transition: visibility 0.25s ease-in;
94} 93}
95 94
96.hidden, 95.block-step7,
97#unsicher, 96.juice,
98.wrapper.stepcancel h2 { 97#wrapper.stepcancel h2 {
99 overflow: hidden; 98 overflow: hidden;
100 max-height: 0px; 99 max-height: 0px;
101 transition: max-height 0.25s ease-in; 100 transition: max-height, height;
101 transition-timing-function: ease;
102 transition-duration: 0.5s;
103 transition-delay: 0s;
102} 104}
103 105
104.block-step1 { 106.block-step1 {
@@ -257,44 +259,49 @@ ul {
257 float: right; 259 float: right;
258 font-size: 24pt; 260 font-size: 24pt;
259 margin-top: -0.2em; 261 margin-top: -0.2em;
260 display: none;
261 visibility: hidden; 262 visibility: hidden;
262} 263}
263 264
265#wrapper.step3 .block-step2 .done,
266#wrapper.step4 .block-step2 .done,
267#wrapper.step5 .block-step2 .done,
268#wrapper.step6 .block-step2 .done,
269#wrapper.step7 .block-step2 .done,
270#wrapper.step4 .block-step3 .done,
271#wrapper.step5 .block-step3 .done,
272#wrapper.step6 .block-step3 .done,
273#wrapper.step7 .block-step3 .done,
274#wrapper.step5 .block-step4 .done,
275#wrapper.step6 .block-step4 .done,
276#wrapper.step7 .block-step4 .done,
277#wrapper.step6 .block-step5 .done,
278#wrapper.step7 .block-step5 .done,
279#wrapper.step7 .block-step6 .done {
280 visibility: visible;
281}
282
264input[type="text"] { 283input[type="text"] {
265 width: 90%; 284 width: 90%;
266} 285}
267 286
268.wrapper.step1 .block-step1 .juice, 287#wrapper.step1 .block-step1 .juice,
269.wrapper.step2 .block-step2 .juice, 288#wrapper.stepcancel .block-stepcancel .juice {
270.wrapper.step3 .block-step3 .juice, 289 max-height: 350px;
271.wrapper.step4 .block-step4 .juice, 290 transition: max-height 0.5s ease;
272.wrapper.step5 .block-step5 .juice, 291}
273.wrapper.step6 .block-step6 .juice, 292
274.wrapper.step7 .block-step7 .juice, 293#wrapper.step5 .block-step5 .juice {
275.wrapper.step7 .block-step7, 294 max-height: 500px;
276 295 transition: max-height 0.5s ease;
277.wrapper.stepcancel .block-stepcancel.juice, 296}
278.wrapper.stepcancel #unsicher,
279
280.wrapper.step3 .block-step2 .done,
281.wrapper.step4 .block-step2 .done,
282.wrapper.step5 .block-step2 .done,
283.wrapper.step6 .block-step2 .done,
284.wrapper.step7 .block-step2 .done,
285.wrapper.step4 .block-step3 .done,
286.wrapper.step5 .block-step3 .done,
287.wrapper.step6 .block-step3 .done,
288.wrapper.step7 .block-step3 .done,
289.wrapper.step5 .block-step4 .done,
290.wrapper.step6 .block-step4 .done,
291.wrapper.step7 .block-step4 .done,
292.wrapper.step6 .block-step5 .done,
293.wrapper.step7 .block-step5 .done,
294.wrapper.step7 .block-step6 .done
295 297
298#wrapper.step2 .block-step2 .juice,
299#wrapper.step3 .block-step3 .juice,
300#wrapper.step4 .block-step4 .juice,
301#wrapper.step6 .block-step6 .juice,
302#wrapper.step7 .block-step7 .juice,
303#wrapper.step7 .block-step7
296{ 304{
297 display: block !important; 305 max-height: 900px;
298 visibility: visible !important; 306 transition: max-height 0.5s ease;
299 max-height: 9999px;
300} 307}