Commit 39d75342 by Brian Talbot

Verification: adds in progress styling support based on body classes

parent 1f60d018
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
} }
.expandable-area { .expandable-area {
@include transition(opacity 0.25s ease-in-out 0s); @include transition(opacity 0.25s ease-in-out 0s, height 0.25s ease-in-out 0s);
} }
// STATE: active // STATE: active
...@@ -145,8 +145,10 @@ ...@@ -145,8 +145,10 @@
} }
.expandable-area { .expandable-area {
display: none; visibility: none;
height: 0;
opacity: 0.0; opacity: 0.0;
overflow: scroll;
} }
} }
...@@ -159,7 +161,8 @@ ...@@ -159,7 +161,8 @@
} }
.expandable-area { .expandable-area {
display: block; visibility: visible;
height: ($baseline*10.5);
opacity: 1.0; opacity: 1.0;
} }
} }
...@@ -1264,6 +1267,24 @@ ...@@ -1264,6 +1267,24 @@
// VIEW: requirements // VIEW: requirements
&.step-requirements { &.step-requirements {
// progress nav
.progress .progress-step {
// STATE: is current
&#progress-step0 {
border-bottom: ($baseline/5) solid $m-blue-d1;
opacity: 1.0;
.wrapper-step-number {
border-color: $m-blue-d1;
}
.step-number, .step-name {
color: $m-gray-d3;
}
}
}
// progress indicator // progress indicator
.progress-sts-value { .progress-sts-value {
width: 0%; width: 0%;
...@@ -1396,6 +1417,37 @@ ...@@ -1396,6 +1417,37 @@
// VIEW: take cam photo // VIEW: take cam photo
&.step-photos-cam { &.step-photos-cam {
// progress nav
.progress .progress-step {
// STATE: is completed
&#progress-step0 {
border-bottom: ($baseline/5) solid $m-green-l2;
.wrapper-step-number {
border-color: $m-green-l2;
}
.step-number, .step-name {
color: $m-gray-l3;
}
}
// STATE: is current
&#progress-step1 {
border-bottom: ($baseline/5) solid $m-blue-d1;
opacity: 1.0;
.wrapper-step-number {
border-color: $m-blue-d1;
}
.step-number, .step-name {
color: $m-gray-d3;
}
}
}
// progress indicator // progress indicator
.progress-sts-value { .progress-sts-value {
width: 20%; width: 20%;
...@@ -1405,6 +1457,37 @@ ...@@ -1405,6 +1457,37 @@
// VIEW: take id photo // VIEW: take id photo
&.step-photos-id { &.step-photos-id {
// progress nav
.progress .progress-step {
// STATE: is completed
&#progress-step0, &#progress-step1 {
border-bottom: ($baseline/5) solid $m-green-l2;
.wrapper-step-number {
border-color: $m-green-l2;
}
.step-number, .step-name {
color: $m-gray-l3;
}
}
// STATE: is current
&#progress-step2 {
border-bottom: ($baseline/5) solid $m-blue-d1;
opacity: 1.0;
.wrapper-step-number {
border-color: $m-blue-d1;
}
.step-number, .step-name {
color: $m-gray-d3;
}
}
}
// progress indicator // progress indicator
.progress-sts-value { .progress-sts-value {
width: 40%; width: 40%;
...@@ -1449,6 +1532,37 @@ ...@@ -1449,6 +1532,37 @@
} }
} }
// progress nav
.progress .progress-step {
// STATE: is completed
&#progress-step0, &#progress-step1, &#progress-step2 {
border-bottom: ($baseline/5) solid $m-green-l2;
.wrapper-step-number {
border-color: $m-green-l2;
}
.step-number, .step-name {
color: $m-gray-l3;
}
}
// STATE: is current
&#progress-step3 {
border-bottom: ($baseline/5) solid $m-blue-d1;
opacity: 1.0;
.wrapper-step-number {
border-color: $m-blue-d1;
}
.step-number, .step-name {
color: $m-gray-d3;
}
}
}
// progress indicator // progress indicator
.progress-sts-value { .progress-sts-value {
width: 60%; width: 60%;
...@@ -1458,6 +1572,37 @@ ...@@ -1458,6 +1572,37 @@
// VIEW: take and review photos // VIEW: take and review photos
&.step-confirmation { &.step-confirmation {
// progress nav
.progress .progress-step {
// STATE: is completed
&#progress-step0, &#progress-step1, &#progress-step2, &#progress-step3, &#progress-step4 {
border-bottom: ($baseline/5) solid $m-green-l2;
.wrapper-step-number {
border-color: $m-green-l2;
}
.step-number, .step-name {
color: $m-gray-l3;
}
}
// STATE: is current
&#progress-step5 {
border-bottom: ($baseline/5) solid $m-blue-d1;
opacity: 1.0;
.wrapper-step-number {
border-color: $m-blue-d1;
}
.step-number, .step-name {
color: $m-gray-d3;
}
}
}
// progress indicator // progress indicator
.progress-sts-value { .progress-sts-value {
width: 100%; width: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment