diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-07-30 15:16:20 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-07-30 15:16:20 +0200 |
commit | 9714bab6533a0c8b7be0990b77063df7037bc0a1 (patch) | |
tree | 80f75b6e7a63e6300ee1e8d264915f583b43abef /files | |
parent | 77abade785027d9e3287855479585d0170afc6c8 (diff) | |
download | nextcloud-server-9714bab6533a0c8b7be0990b77063df7037bc0a1.tar.gz nextcloud-server-9714bab6533a0c8b7be0990b77063df7037bc0a1.zip |
fixed table heading and multiselect style
Diffstat (limited to 'files')
-rw-r--r-- | files/css/files.css | 5 | ||||
-rw-r--r-- | files/js/files.js | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/files/css/files.css b/files/css/files.css index c81960f5e48..7d0471bc26b 100644 --- a/files/css/files.css +++ b/files/css/files.css @@ -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; } diff --git a/files/js/files.js b/files/js/files.js index 7812d70bbb3..3d3d8ca49fd 100644 --- a/files/js/files.js +++ b/files/js/files.js @@ -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'); } } |