Browse Source

DIV-601: Styling for children sub navigation in place

pull/160/head
Benard Ebinu 8 years ago
parent
commit
046c32b5a9
3 changed files with 52 additions and 5 deletions
  1. +1
    -1
      edivorce/apps/core/static/css/main.css
  2. +47
    -0
      edivorce/apps/core/static/css/main.scss
  3. +4
    -4
      edivorce/apps/core/templates/partials/progress.html

+ 1
- 1
edivorce/apps/core/static/css/main.css
File diff suppressed because it is too large
View File


+ 47
- 0
edivorce/apps/core/static/css/main.scss View File

@ -1429,6 +1429,53 @@ textarea {
}
}
}
.progress-sub-menu {
list-style-type: none;
li {
display:inline-block;
padding: 5px 10px 5px 22px;
border-left:2px solid $brand-gold;
}
.progress-sub-question {
width: 190px;
font-size: 14px;
line-height: 1.3;
color: $body-copy;
@media (min-width: 1920px) {
font-size: 16px;
width: 190px;
}
.progress-content {
width: 190px;
font-size: 14px;
line-height: 1.3;
@media (min-width: 1920px) {
font-size: 16px;
width: 190px;
}
}
&:focus,
&:hover {
color: $brand-gold;
text-decoration: none;
font-weight: 700;
}
&.active {
color: $brand-gold;
text-decoration: none;
font-weight: 700;
}
}
}
}
.dashnav-column .progress-question {


+ 4
- 4
edivorce/apps/core/templates/partials/progress.html View File

@ -48,19 +48,19 @@
{% elif step_status.your_children == 'Complete' %}<span class="progress-status"><i class="fa fa-check" aria-hidden="true"></i></span> {% endif %}
</div>
<ul class="collapse {% if active_page == 'children' %} in {% endif %}" id="children_nav">
<ul class="collapse {% if active_page == 'children' %} in {% endif %} progress-sub-menu" id="children_nav">
<li>
<a href="{% url 'question_steps' 'children' 'your_children'%}" class="progress-question {% if sub_step == 'your_children' %} active {% endif %}">
<a href="{% url 'question_steps' 'children' 'your_children'%}" class="progress-sub-question {% if sub_step == 'your_children' %} active {% endif %}">
<span class="progress-content">Your children</span>
</a>
</li>
<li>
<a href="{% url 'question_steps' 'children' 'what_for'%}" class="progress-question {% if sub_step == 'what_for' %} active {% endif %}">
<a href="{% url 'question_steps' 'children' 'what_for'%}" class="progress-sub-question {% if sub_step == 'what_for' %} active {% endif %}">
<span class="progress-content">What are you asking for</span>
</a>
</li>
<li>
<a href="{% url 'question_steps' 'children' 'income_expenses'%}" class="progress-question {% if sub_step == 'income_expenses' %} active {% endif %}">
<a href="{% url 'question_steps' 'children' 'income_expenses'%}" class="progress-sub-question {% if sub_step == 'income_expenses' %} active {% endif %}">
<span class="progress-content">Income & expenses</span>
</a>
</li>


Loading…
Cancel
Save