Skip to content

Commit

Permalink
[FIX] #41560 UI: introduce less variables for footer link colours. (I…
Browse files Browse the repository at this point in the history
  • Loading branch information
thibsy authored Jul 4, 2024
1 parent 5316a66 commit 6d361a2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/UI/templates/default/MainControls/footer.less
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ footer{
display: inline-block;
margin-right: @il-margin-xs-horizontal;
a, button {
color: @il-link-color;
color: @il-footer-link-color;
}
a:hover, button:hover {
color: @il-footer-link-hover-color;
}
button {
vertical-align: baseline;
Expand Down
4 changes: 4 additions & 0 deletions templates/default/delos.css
Original file line number Diff line number Diff line change
Expand Up @@ -10733,6 +10733,10 @@ footer {
.il-maincontrols-footer .il-footer-links li button {
color: #4c6586;
}
.il-maincontrols-footer .il-footer-links li a:hover,
.il-maincontrols-footer .il-footer-links li button:hover {
color: #3a4c65;
}
.il-maincontrols-footer .il-footer-links li button {
vertical-align: baseline;
}
Expand Down
3 changes: 3 additions & 0 deletions templates/default/less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ with the il- variable set here.
@il-footer-height: 45px;
//** controls margin from the footer to the main content, increase/decrase depending on the content (default, space for 4 lines).
@il-footer-margin-bottom: 2*@il-line-height-computed*2;
//** controls link colours inside the footer, see https://mantis.ilias.de/view.php?id=41560
@il-footer-link-color: @il-link-color;
@il-footer-link-hover-color: @il-link-hover-color;

//== Buttons
//
Expand Down

0 comments on commit 6d361a2

Please sign in to comment.