From 9c1641a21253f5aa08b583845b6fd923d33720a4 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 29 2015 08:44:32 +0000 Subject: [PATCH 1/2] Adjust the CSS to not change the color of all the links but just the required ones --- diff --git a/pagure/static/koji.css b/pagure/static/koji.css index ed22541..a39e7e1 100644 --- a/pagure/static/koji.css +++ b/pagure/static/koji.css @@ -18,7 +18,7 @@ body { } a, a:visited, a:hover { - color: #0066CC!important; + color: #0066CC; text-decoration: none; } diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index 0470a44..f6cd533 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -855,3 +855,15 @@ span.CONFLICTS { .ui-widget-content { color: #666!important; } + +.tabs .ui-widget-content a{ + color: #0066CC!important; +} + +.tabs .ui-state-hover a:hover{ + color: white; +} + +.tabs .ui-tabs-active a:hover{ + color: #e59728!important; +} From 3fc08914eceb48e906153767c5dc89d123359f9c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 29 2015 08:51:16 +0000 Subject: [PATCH 2/2] Make the tab view also when opening a Pull-Request --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index a8224b2..59d1995 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -316,6 +316,8 @@ } ); + $( ".tabs" ).tabs(); + {% if pull_request %} {# These lines are only for existing pull-requests, not new ones #} @@ -367,8 +369,6 @@ } ); - $( ".tabs" ).tabs(); - $( "#comment" ).on('tabsactivate', function(event, ui) { if (ui.newPanel.selector == '#preview') {