From c438a5f2abadfcf753b3a08a90fc852449d3ac42 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Wed, 9 Jul 2014 13:01:46 -0700 Subject: [PATCH] Switch underline/non underline on sidebar The underline adds slightly too much visual weight to the links in question. This changes the links to not have an underline by default, while still adding the underline when the link is hovered. Normally accessibility requirements demand that you add an underline for all clickable text. However, in this case the positioning of the elements, their changed color, the presence of an icon next to the links, and the link hover effect combine to give these elements the appearance of clickability. --- war/src/main/webapp/css/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/war/src/main/webapp/css/style.css b/war/src/main/webapp/css/style.css index 55f4aa6914..3f509d91ab 100644 --- a/war/src/main/webapp/css/style.css +++ b/war/src/main/webapp/css/style.css @@ -283,6 +283,14 @@ pre.console { font-size: 12pt; } +#jenkins .task-link { + text-decoration: none; +} + +#jenkins .task-link:hover { + text-decoration: underline; +} + .task { white-space: nowrap; } -- GitLab