Skip to content

Commit

Permalink
Merge pull request #2820 from compucorp/PCHR-4105-fix-h3-ta-jc
Browse files Browse the repository at this point in the history
PCHR-4105: Add style resets for h3 to Job Contract theme
  • Loading branch information
AkA84 authored Aug 8, 2018
2 parents 2f0f5bc + 774f91c commit fbaf873
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 19 deletions.
27 changes: 19 additions & 8 deletions hrjobcontract/css/hrjc.css
Original file line number Diff line number Diff line change
Expand Up @@ -139,26 +139,36 @@
#hrjob-contract th,
#hrjob-contract td {
background: initial;
border: initial;
margin: initial;
padding: initial;
border: initial;
vertical-align: initial;
}
#hrjob-contract h3 {
border: 0;
border: initial;
border-radius: 0;
border-radius: initial;
box-shadow: none;
box-shadow: initial;
}
#hrjob-contract ol,
#hrjob-contract ul {
padding-start: 40px;
list-style: initial;
/* stylelint-disable property-no-vendor-prefix, property-no-unknown */
-moz-padding-start: 40px;
-webkit-padding-start: 40px;
list-style: initial;
padding-start: 40px;
/* stylelint-enable */
}
#hrjob-contract blockquote,
#hrjob-contract q {
quotes: initial;
}
#hrjob-contract blockquote:before,
#hrjob-contract blockquote:after,
#hrjob-contract q:before,
#hrjob-contract q:after {
#hrjob-contract blockquote::before,
#hrjob-contract blockquote::after,
#hrjob-contract q::before,
#hrjob-contract q::after {
content: initial;
}
#hrjob-contract ins {
Expand All @@ -171,7 +181,8 @@
border-collapse: initial;
border-spacing: initial;
}
#hrjob-contract table td, #hrjob-contract table th {
#hrjob-contract table td,
#hrjob-contract table th {
color: inherit;
font-size: inherit;
}
Expand Down
38 changes: 27 additions & 11 deletions hrjobcontract/scss/civihr/modules/_unset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,34 +70,48 @@ tr,
th,
td {
background: initial;
border: initial;
margin: initial;
padding: initial;
border: initial;
vertical-align: initial;
}

h3 {
border: 0;
border: initial;
border-radius: 0;
border-radius: initial;
box-shadow: none;
box-shadow: initial;
}

ol,
ul {
padding-start: 40px;
list-style: initial;
/* stylelint-disable property-no-vendor-prefix, property-no-unknown */
-moz-padding-start: 40px;
-webkit-padding-start: 40px;
list-style: initial;
padding-start: 40px;
/* stylelint-enable */
}

blockquote,
q {
quotes: initial;
}
blockquote:before,
blockquote:after,
q:before,
q:after {

blockquote::before,
blockquote::after,
q::before,
q::after {
content: initial;
}

/* Remember to highlight inserts somehow! */
ins {
text-decoration: initial;
}

del {
text-decoration: initial;
}
Expand All @@ -107,9 +121,10 @@ table {
border-collapse: initial;
border-spacing: initial;

td, th {
color: inherit;
font-size: inherit;
td,
th {
color: inherit;
font-size: inherit;
}

}
Expand All @@ -125,7 +140,8 @@ select,
textarea {
font-family: initial;
}

textarea {
font-size: initial;
line-height: initial;
}
}

0 comments on commit fbaf873

Please sign in to comment.