diff --git a/app/webpacker/css/admin/v2/components/tables.scss b/app/webpacker/css/admin/v2/components/tables.scss index a9aa391aff..cf534b476d 100644 --- a/app/webpacker/css/admin/v2/components/tables.scss +++ b/app/webpacker/css/admin/v2/components/tables.scss @@ -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 diff --git a/app/webpacker/css/admin/v2/shared/typography.scss b/app/webpacker/css/admin/v2/shared/typography.scss index cf9134fa2c..f0dcc73983 100644 --- a/app/webpacker/css/admin/v2/shared/typography.scss +++ b/app/webpacker/css/admin/v2/shared/typography.scss @@ -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(); + } }