Browse Source

DIV-778: style changes for fact sheet C table

pull/160/head
Benard Ebinu 7 years ago
parent
commit
6ef6ed23c3
3 changed files with 14 additions and 9 deletions
  1. +1
    -1
      edivorce/apps/core/static/css/main.css
  2. +11
    -0
      edivorce/apps/core/static/css/main.scss
  3. +2
    -8
      edivorce/apps/core/templates/question/06_children_facts.html

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


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

@ -124,6 +124,11 @@ img {
/* For Firefox */ /* For Firefox */
input[type='number'] { input[type='number'] {
-moz-appearance:textfield; -moz-appearance:textfield;
&.number-spinner {
-moz-appearance: spinner;
}
} }
/* Webkit browsers like Safari and Chrome */ /* Webkit browsers like Safari and Chrome */
@ -131,8 +136,14 @@ input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none; -webkit-appearance: none;
margin: 0; margin: 0;
&.number-spinner {
-moz-appearance: spinner;
}
} }
/* Bootstrap Overrides*/ /* Bootstrap Overrides*/
.table > tbody > tr > td, .table > tbody > tr > td,
.table > tbody > tr > th, .table > tbody > tr > th,


+ 2
- 8
edivorce/apps/core/templates/question/06_children_facts.html View File

@ -262,19 +262,13 @@
can grant an order for divorce. can grant an order for divorce.
</p> </p>
<table class="table table-bordered"> <table class="table table-bordered">
<thead>
<tr>
<th></th>
<th>Amount</th>
</tr>
</thead>
<tbody> <tbody>
<tr> <tr>
<td class="fact-sheet-question"> <td class="fact-sheet-question">
How many children spend more than 60 percent of their time with you and for whom you are asking for support?
How many children spend more than <strong>60 percent of their time</strong> with you and for whom you are asking for support?
</td> </td>
<td class="fact-sheet-answer table-bordered"> <td class="fact-sheet-answer table-bordered">
{% input_field type="number" name="number_of_children_claimant" class="positive-integer fact-sheet-input" %}
{% input_field type="number" name="number_of_children_claimant" class="positive-integer fact-sheet-input number-spinner" min="0"%}
</td> </td>
</tr> </tr>
<tr> <tr>


Loading…
Cancel
Save