Skip to content

Commit

Permalink
Add navigation pills & summary of inputs
Browse files Browse the repository at this point in the history
Closes kbflf5#8
  • Loading branch information
kbfl-campaign committed Apr 29, 2016
1 parent 7be2676 commit 4121496
Show file tree
Hide file tree
Showing 10 changed files with 689 additions and 284 deletions.
596 changes: 329 additions & 267 deletions app.html

Large diffs are not rendered by default.

43 changes: 38 additions & 5 deletions app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 31 additions & 9 deletions assets/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ p, .control-label {
}

/* Responsive button fixes for analytics */
@media (max-width: 992px) {
@media (max-width: 1200px) {
.mainform #optin .btn {
display: block;
clear: both;
Expand All @@ -43,6 +43,17 @@ p, .control-label {
}
}

.extra-dc-group>.btn.extra-dc-btn {
display: block;
clear: both;
border-radius: 4px !important;
width: 500px;
}

.extra-dc-group>.btn.extra-dc-btn:nth-child(n+2) {
margin-top: 10px;
}

/* idcard control */
@media (min-width: 768px) {
.form-inline .form-control.idcard-letters {
Expand Down Expand Up @@ -74,17 +85,28 @@ p, .control-label {
}

/* step control */
.next-steps {
.step-container .step, .step-nav-container .step-nav {
display: none;
}
.prev-steps .nextButton {
display: none;
.step-container.step-current-0 .step-0,
.step-container.step-current-1 .step-1,
.step-container.step-current-2 .step-2,
.step-container.step-current-3 .step-3,
.step-container.step-current-4 .step-4,
.step-container.step-current-5 .step-5,
.step-container.step-current-6 .step-6,
.step-nav-container.step-current-2 .step-nav:nth-last-child(1n+6),
.step-nav-container.step-current-3 .step-nav:nth-last-child(1n+5),
.step-nav-container.step-current-4 .step-nav:nth-last-child(1n+4),
.step-nav-container.step-current-5 .step-nav:nth-last-child(1n+3),
.step-nav-container.step-current-6 .step-nav:nth-last-child(1n+2) {
display: block;
}

.step-nav-container .step-nav ul, .step-nav-container .step-nav ul>li{
list-style: none;
list-style-type: none;
}
/*@media (max-width: 768px) {*/
.prev-steps {
display: none;
}
/*}*/

/* name-zh */
.form-inline .form-control.name-telecode {
Expand Down
6 changes: 3 additions & 3 deletions bootstrap/css/bootstrap-app.min.css

Large diffs are not rendered by default.

Binary file added bootstrap/fonts/glyphicons-halflings-regular.eot
Binary file not shown.
Loading

0 comments on commit 4121496

Please sign in to comment.