Skip to content

Commit

Permalink
Merge pull request #592 from nla/ph-ctpl-273
Browse files Browse the repository at this point in the history
CTPL-273: Fix alignment and colours of expand/contract widgets
  • Loading branch information
CEdwardsBlasikiewicz authored Jan 15, 2025
2 parents 4591574 + 8bd5e3c commit d9f5b9e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
11 changes: 11 additions & 0 deletions app/assets/stylesheets/nla/_dark-mode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,17 @@
color: $body-color-dark !important;
}
}

.al-toggle-view-children {
background-color: $body-color-dark;

&:focus,
&:hover,
&:active {
background-color: $body-color-dark !important;
}
}

}

.dl-invert {
Expand Down
18 changes: 17 additions & 1 deletion app/assets/stylesheets/nla/_record.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
border-right-color: #e6e6e6;
}

.al-collection-context {
.al-collection-context {
padding: 0.5rem;
border-radius: 4px;

Expand All @@ -47,7 +47,19 @@
background-color: transparent;
}
}

.al-toggle-view-children {
margin-left: 0;
margin-right: 0.5rem;
background-color: $body-color;

&:focus,
&:hover,
&:active {
background-color: $body-color !important;
}
}

a {
text-decoration: none !important;

Expand All @@ -59,6 +71,10 @@
box-shadow: none !important;
}
}

.al-collection-context {
margin-bottom: 0 !important;
}
}

li.al-collection-context .al-online-content-icon svg,
Expand Down

0 comments on commit d9f5b9e

Please sign in to comment.