Skip to content

Commit

Permalink
[4.0] Atum page navigation
Browse files Browse the repository at this point in the history
refactor the scss for the page navigation to ensure each item is aligned
  • Loading branch information
brianteeman committed Feb 24, 2020
1 parent 671a4fa commit adf198d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions administrator/templates/atum/scss/blocks/_layout.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
.page-link {

&.active {
padding: 0;

&.current {
padding: .5rem .75rem;
color: var(--atum-text-light);
background-color: var(--atum-bg-dark);
}

a {
padding: .58rem .75rem;
line-height: 2.5;
text-decoration: none;
}
}
Expand All @@ -25,16 +21,19 @@
}
}

&:hover {
background-color: var(--atum-bg-dark);
}

a {
&:hover {
color: var(--atum-text-light);
background-color: var(--atum-bg-dark);
}
}
}

.options-form {
background-color: $white;
background-color:$white;
color: var(--atum-text-dark);
padding: 2vw;
margin-bottom: 1rem;
Expand Down

0 comments on commit adf198d

Please sign in to comment.