From 2efc307e5995d02d22f4cd3361c9b05fe873dfc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Thu, 20 May 2021 00:07:39 +0200 Subject: [PATCH] Simplify changing "delete/remove" links styles Since we're only changing the style of the border in one case and the color in the other case, we don't have to duplicate the code for every property. This makes it easier for other CONSUL installations to customize these borders. --- app/assets/stylesheets/admin.scss | 2 +- app/assets/stylesheets/layout.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index c05286a01..994da0dcc 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -451,7 +451,7 @@ code { &:hover, &:active, &:focus { - border-bottom: 1px dotted #fff; + border-bottom-color: transparent; color: #cf2a0e; } } diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 5f4bae0d5..98e3d9254 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -2497,7 +2497,7 @@ table { &:hover, &:active, &:focus { - border-bottom: 1px solid #cf2a0e; + border-bottom-style: solid; color: #cf2a0e; text-decoration: none; }