From b43ff296c311076e8970b40aae80ec79de24adf1 Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Mon, 11 Apr 2011 13:51:05 +0200 Subject: verschiedene Layouts korrigiert --- public/media/css/style.css | 11 ----------- public/media/css/user.css | 40 ++++++++++++++++++++++++++++++++-------- public/media/js/user.js | 6 +++--- 3 files changed, 35 insertions(+), 22 deletions(-) (limited to 'public') diff --git a/public/media/css/style.css b/public/media/css/style.css index d1f3b28..54dc213 100644 --- a/public/media/css/style.css +++ b/public/media/css/style.css @@ -338,17 +338,6 @@ div.dsf{ float: left; } -.personDiv { - border: 1px solid #CCC; - margin-bottom: 10px; -} - -.personColorDiv { - border: 1px solid #CCC; - margin-bottom: 10px; - background-color: #FFF5CC; -} - .monospace { font-family: Courier New, monospace; } diff --git a/public/media/css/user.css b/public/media/css/user.css index 204d20b..19d86cd 100644 --- a/public/media/css/user.css +++ b/public/media/css/user.css @@ -21,14 +21,6 @@ text-align: center; } -tr.selectedEntry { - background-color: red; -} - -tr.selectedEntry td { - padding-left: 3px; -} - #rights-element dl fieldset dt { width: 325px; } @@ -153,6 +145,34 @@ tr.selectedEntry td { background-position: 15px center; } +.detailelement { + clear: both; + padding-top: 10px; + margin: 10px 0px; +} + +.detailelement .element { + border: 1px solid black; + margin: 5px 0px; + padding: 5px; + -moz-border-radius: 3px; + border-radius: 3px; + background-color: white; +} + +.detailelement .element:nth-child(even) { + background-color: #F0F8FF; +} + +.detailelement .element .content { + margin-left: 50px; +} + +.detailelement .element .content .title { + font-weight: bold; + font-size: 1.2em; +} + .searchvars { border: 1px solid #000; background-color: #FFFFBB; @@ -175,4 +195,8 @@ tr.selectedEntry td { #uncheckAll-label { width: 5px; +} + +.noBold { + font-weight: normal; } \ No newline at end of file diff --git a/public/media/js/user.js b/public/media/js/user.js index 01c4721..fdd942f 100644 --- a/public/media/js/user.js +++ b/public/media/js/user.js @@ -1,8 +1,8 @@ $(document).ready(function(){ if($('.listelement .element').find('.dispnone').length >= 1){ - $(this).find('.title').css('cursor','pointer'); - $(this).find('.title').prepend(" "); - $(this).find('.title').data('toggle','0'); + $(this).find('.listelement .title').css('cursor','pointer'); + $(this).find('.listelement .title').prepend(" "); + $(this).find('.listelement .title').data('toggle','0'); $('.listelement .title').click(function(){ $(this).siblings('.dispnone').toggle(); -- cgit v1.2.3-55-g7522