Skip to content

Commit

Permalink
Merge pull request #7895 from cfpb/ans_regs_css
Browse files Browse the repository at this point in the history
iRegs: Double colon pseudoelements to drop IE8 support | Consolidate CSS shorthand
  • Loading branch information
anselmbradford authored Aug 8, 2023
2 parents 9e0bdef + a57a008 commit 3c472a0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions cfgov/unprocessed/apps/regulations3k/css/reg-navigation.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@
background: none;
border: none;
} );
&:before {
&::before {
border: 0;
padding: 0;
}
}

&:before {
&::before {
.respond-to-max( @bp-sm-max, {
border-bottom: 1px solid @gray-40;
content: ' ';
Expand Down
6 changes: 3 additions & 3 deletions cfgov/unprocessed/apps/regulations3k/css/reg-pagination.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

.previous {
float: left;
padding: 0 15px 0 15px;
padding: 0 15px;
margin-left: -15px;

.cf-icon-svg {
Expand All @@ -38,7 +38,7 @@
.next {
float: right;
text-align: right;
padding: 0 15px 0 15px;
padding: 0 15px;

.cf-icon-svg {
margin-right: -15px;
Expand All @@ -50,7 +50,7 @@

.next-prev-link {
display: block;
margin: 16px 0 0 0;
margin: 16px 0 0;
}

.next-prev-link:link,
Expand Down
6 changes: 3 additions & 3 deletions cfgov/unprocessed/apps/regulations3k/css/reg-search.less
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
.o-expandable_header {
border: 0;
padding: 0;
&:before,
&:after {
&::before,
&::after {
border: 0;
padding: 0;
}
Expand Down Expand Up @@ -65,7 +65,7 @@
}
}
.content_main {
&:after {
&::after {
border: 0;
}
border: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
position: fixed;
left: 0;
background-color: @white;
box-shadow: 0px 3px 8px -6px @black;
box-shadow: 0 3px 8px -6px @black;
transition: top 0.1s ease-in-out;
z-index: 100;
padding-left: unit(15px / @base-font-size-px, rem);
Expand Down

0 comments on commit 3c472a0

Please sign in to comment.