From fddd10c2351708012ecea1b63ec2815b163abf6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Tue, 27 Jan 2009 08:38:01 +0000 Subject: [PATCH] Making fieldset styles more generic git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1198 44740490-163a-0410-bde0-09ae8108e29a --- modules/consent/www/style.css | 16 +--------------- www/resources/default.css | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/modules/consent/www/style.css b/modules/consent/www/style.css index 78278b172..5c7c9ebce 100644 --- a/modules/consent/www/style.css +++ b/modules/consent/www/style.css @@ -1,8 +1,3 @@ -fieldset { - margin: 2em 1em 1em 0px; - border: 1px solid #bbb; - padding: 0px; -} fieldset div#addattributes { text-align: right; margin: 0px .5em .5em 1em; @@ -16,16 +11,7 @@ fieldset div#addattributes a { fieldset div#addattributes a:hover,fieldset div.addattributes a:link { border-bottom: 1px solid #bbb; } -fieldset legend { - margin-left: 2em; - padding: 3px 2em 3px 2em; - border: 1px solid #bbb; - - cursor: pointer; cursor: hand; -} -fieldset legend:hover { - background: #eee; -} + table.attributes { width: 100%; margin: 0px; diff --git a/www/resources/default.css b/www/resources/default.css index aa3bc4d1b..115deb8c3 100644 --- a/www/resources/default.css +++ b/www/resources/default.css @@ -177,7 +177,7 @@ dl dt { dl dd { color: #666; margin-left: 3em; - font-family: monospace; +/* font-family: monospace; */ } .efieldlist { @@ -296,4 +296,18 @@ table#table_with_attributes tr:last-child td { border-bottom: none; } - +fieldset { + margin: 2em 1em 1em 0px; + border: 1px solid #bbb; + padding: 0px; +} +fieldset legend { + margin-left: 2em; + padding: 3px 2em 3px 2em; + border: 1px solid #bbb; + + cursor: pointer; cursor: hand; +} +fieldset legend:hover { + background: #eee; +} -- GitLab