From db4fccce51c3aa3a2b7721b3266d5fe82e48640d Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Fri, 12 Aug 2011 01:53:24 +0200 Subject: [PATCH] styled hovering file list more subtle --- files/css/files.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/files/css/files.css b/files/css/files.css index 319cbf0c87..c856d3a6bd 100644 --- a/files/css/files.css +++ b/files/css/files.css @@ -26,7 +26,8 @@ /* FILE TABLE */ span#emptyfolder { position:absolute; margin:10em 0 0 10em; font-size:1.5em; font-weight:bold; color:#888; text-shadow:#fff 0 1px 0; } table { position:relative; top:37px; width:100%; } -tbody tr:hover, tbody tr:active, tbody tr.selected { background-color:#eee; height:1em; } +tbody tr:hover, tbody tr:active, tbody tr.selected { background-color:#f8f8f8; height:1em; } +tbody tr.selected { background-color:#eee; } tbody a { color:#000; } span.extention, td.date { color:#999; } div.crumb { float:left; display:block; background:no-repeat right 0; padding:.75em 1.5em 0 1em; height:2.9em; } @@ -43,17 +44,17 @@ table th#headerDate, table td.date { width:11em; padding:0 .1em 0 1em; text-alig table td.selection, table th.selection, table td.fileaction { width:2em; text-align:center; } table td.filename a.name { display:block; height:1.5em; vertical-align:middle; margin-left:3em; } table tr[data-type="dir"] td.filename a.name {font-weight:bold; } -table td.filename a.name input, table td.filename a.name form { width:100%; cursor:text } +table td.filename a.name input, table td.filename a.name form { width:100%; cursor:text; } table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:.2em .5em .5em 0; } table td.filename .nametext, .modified { float:left; padding:.3em 0; } table td.filename .nametext { width:60%; } table td.filename form { float:left; font-size:.85em; } -table thead.fixed tr{position:fixed; top:6.3em; z-index:49; -moz-box-shadow:0 -3px 7px #000; -webkit-box-shadow:0 -3px 7px #000; box-shadow:0 -3px 7px #000;} -table thead.fixed {height:2em} +table thead.fixed tr{ position:fixed; top:6.3em; z-index:49; -moz-box-shadow:0 -3px 7px #000; -webkit-box-shadow:0 -3px 7px #000; box-shadow:0 -3px 7px #000; } +table thead.fixed { height:2em; } #fileList tr input[type=checkbox] { display:none; float:left; margin:.7em 0 0 1em; /* bigger clickable area doesn’t work in FF width:2.8em; height:2.4em;*/ } #fileList tr input[type=checkbox]:checked, #fileList tr:hover input[type=checkbox] { display:inline; } #fileList tr.selected td.filename , #fileList tr:hover td.filename { background-image:none !important } -#select_all { float:left; margin:0.2em; margin-left:0.6em; } +#select_all { float:left; margin:.2em; margin-left:.6em; } #uploadsize-message,#delete-confirm { display:none; } .selectedActions a, a.file_action { float:right; display:inline; margin:0 .5em; padding:.3em .3em 0 .3em !important; } .selectedActions { display:none; }