]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixed table heading and multiselect style
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Sat, 30 Jul 2011 13:16:20 +0000 (15:16 +0200)
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Sat, 30 Jul 2011 13:16:20 +0000 (15:16 +0200)
files/css/files.css
files/js/files.js

index c81960f5e488b09aaa6dcc6bdfe4d08b3e7f9972..7d0471bc26b0760e4aa3a934f363077d001b3620 100644 (file)
@@ -17,14 +17,15 @@ input.highlight{ background-color:#ffc100; border:#dda600 1px solid; }
 /* 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; }
+tbody tr:hover, tbody tr:active, tbody tr.selected { background-color:#eee; height:1em; }
 tbody a { color:#000; }
 span.extention, td.date { color:#999; }
 div.crumb { float:left; display:block; background:no-repeat right 0; padding:8px 1.5em 0 1em; height:28px; /*36-8*/ }
 div.crumb:last-child { font-weight:bold; }
 table tr.mouseOver td { background-color:#eee; }
-table th { padding:.5em; height:2em; }
+table th { height:2em; padding-left:.5em; color:#999; }
 table th .name { float:left; margin-left:.5em; }
+table th.multiselect { background:#ddd; color:#000; font-weight:bold; }
 table th, table td { border-bottom:1px solid #ddd; text-align:left; font-weight:normal; }
 table td { border-bottom:1px solid #eee; font-style:normal; }
 table th#headerSize, table td.filesize { width:5em; padding:0 1em; text-align:right; }
index 7812d70bbb3fa1c239b99fbe8a9da5de752bbad5..3d3d8ca49fd66d5b76eb71886487b3c6a4e71db5 100644 (file)
@@ -342,7 +342,7 @@ function procesSelection(){
                $('#headerName>span.name').text('Name');
                $('#headerSize').text('Size MB');
                $('#modified').text('Modified');
-               $('th').css({background:'#fff',fontWeight:'normal'});
+               $('th').removeClass('multiselect');
                $('.selectedActions').hide();
        }else{
                $('.selectedActions').show();
@@ -376,7 +376,7 @@ function procesSelection(){
                }
                $('#headerName>span.name').text(selection);
                $('#modified').text('');
-               $('th').css({background:'#ddd', fontWeight:'bold'});
+               $('th').addClass('multiselect');
        }
 }