Default rule: a element are blue and darker blue by default

This commit is contained in:
Jean-Baptiste Bellet
2022-11-28 11:36:52 +01:00
parent 9c8525b797
commit 9a849bb2ee
2 changed files with 13 additions and 11 deletions

View File

@@ -44,17 +44,6 @@ table tbody tr {
}
}
table th a,
table td a {
// This should probably be a default rule for all links at a general level
color: $v2-blue;
border-color: $v2-blue;
&:hover {
color: $v2-blue-dark;
border-color: $v2-blue-dark;
}
}
table th.actions,
table td.actions {
// Special for icons in the actions column

View File

@@ -1,5 +1,18 @@
// Overide app/webpacker/css/admin/shared/typography.scss
@mixin v2-link-color() {
color: $v2-blue;
border-color: $v2-blue;
&:hover {
color: $v2-blue-dark;
border-color: $v2-blue-dark;
}
}
body.admin.admin-v2 {
color: $v2-body-grey;
a:not(.button) {
@include v2-link-color();
}
}