From f072b7a3aa87f05a23b80544f2f1a0029f3094e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Thu, 29 Jan 2009 09:36:41 +0000
Subject: [PATCH] fixed css for link on consent page

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1210 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/consent/templates/consentform.php |  2 +-
 modules/consent/www/style.css             | 15 ++-------------
 2 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/modules/consent/templates/consentform.php b/modules/consent/templates/consentform.php
index 3c1e7146a..5c3f3ae21 100644
--- a/modules/consent/templates/consentform.php
+++ b/modules/consent/templates/consentform.php
@@ -232,7 +232,7 @@ foreach ($this->data['noData'] as $name => $value) {
 	<fieldset class="fancyfieldset">
 		<legend id="attribute_switch"> » <?php echo $this->t('{consent:consent_attributes_header}'); ?></legend>
 	
-	<div id="addattributes"><a id="addattributesb"><?php echo $this->t('{consent:show_attributes}'); ?></a></div>
+	<div id="addattributes"><a id="addattributesb" class="link"><?php echo $this->t('{consent:show_attributes}'); ?></a></div>
 	
 	<?php
 	
diff --git a/modules/consent/www/style.css b/modules/consent/www/style.css
index f1f69faeb..f4c9c16ac 100644
--- a/modules/consent/www/style.css
+++ b/modules/consent/www/style.css
@@ -8,20 +8,9 @@ fieldset legend:hover {
 	background: #eee;
 }
 
-fieldset div#addattributes {
-	text-align: right;
-	margin: 0px .5em .5em 1em;
-}
-fieldset div#addattributes a {
-	text-decoration: none;
-	color: #888;
-	font-weight: normal;
-	border-bottom: 1px dotted #bbb;
+#addattributesb {
+	margin-right: .2em;
 }
-fieldset div#addattributes a:hover,fieldset div.addattributes a:link {
-	border-bottom: 1px solid #bbb;
-}
-
 table.attributes {
 	width: 100%;
 	margin: 0px;
-- 
GitLab