Browse Source

DIV-1264 and DIV-1194: Fix for formatting issues on print/review blocks and warning messages.

pull/172/head
Min Ji Choi 5 years ago
parent
commit
9871fde980
3 changed files with 65 additions and 43 deletions
  1. +1
    -1
      edivorce/apps/core/static/css/main.css
  2. +63
    -42
      edivorce/apps/core/static/css/main.scss
  3. +1
    -0
      edivorce/apps/core/static/js/main.js

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


+ 63
- 42
edivorce/apps/core/static/css/main.scss View File

@ -543,7 +543,7 @@ div.percent-suffix {
& > div {
color: $color-blue;
border-bottom: solid 1px $color-blue;
display: inline;
display: inline-block;
cursor: pointer;
.tooltip-link {
@ -1510,49 +1510,70 @@ textarea {
table {
margin-bottom: 0;
border-collapse: separate !important;
border: none;
border-collapse: separate !important;
border: none;
thead th {
color: #fff;
border-bottom: 1px solid $color-grey-light;
border-top: 1px solid $color-grey-light;
background-color: $color-blue-dark;
&:first-child {
border-top-left-radius: 8px;
}
&:last-child {
border-top-right-radius: 8px;
border-left: 0;
}
}
tbody {
td {
border-top: none;
&.value-column {
width: 30%;
min-width: 192px;
border-left: none;
vertical-align: middle;
&.contains-error {
border: 2px solid $color-red;
}
}
}
tr:last-child {
:first-child {
border-bottom-left-radius: 8px;
}
:last-child {
border-bottom-right-radius: 8px;
}
}
}
thead th {
color: #fff;
border: none;
border-bottom: 1px solid $color-grey-light;
background-color: $color-blue-dark;
thead {
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
}
&:first-child {
border-top-left-radius: 8px;
}
&:last-child {
border-top-right-radius: 8px;
border-left: 1px solid $color-grey-light;
}
&:not(:first-child, :last-child) {
border: 1px solid $color-grey-light;
}
}
tbody {
td {
border-top: none;
&.value-column {
width: 30%;
min-width: 192px;
border-left: none;
vertical-align: middle;
&.contains-error {
border: 2px solid $color-red;
}
}
}
tr {
&.row-contains-error {
& + tr.row-contains-error {
td.contains-error {
border-top: none;
}
}
}
&:last-child {
:first-child {
border-bottom-left-radius: 8px;
}
:last-child {
border-bottom-right-radius: 8px;
}
}
}
}
thead {
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
}
}
.collapse > div,


+ 1
- 0
edivorce/apps/core/static/js/main.js View File

@ -830,6 +830,7 @@ $(function () {
});
$('.question-well.step-review.error span.table-error').parent('td').addClass('contains-error');
$('.question-well.step-review.error span.table-error').closest('tr').addClass('row-contains-error');
});


Loading…
Cancel
Save