diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-13 01:18:02 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-13 01:18:02 +0200 |
commit | 21690a3702067ab9f4a4fef914bf7415b8647704 (patch) | |
tree | dcd0f2ad6aa7b5250f6fb6339ff828af63f853b3 /files | |
parent | b0b5a465434d89d3cac40a1c8e43f8ecbde27082 (diff) | |
download | nextcloud-server-21690a3702067ab9f4a4fef914bf7415b8647704.tar.gz nextcloud-server-21690a3702067ab9f4a4fef914bf7415b8647704.zip |
tweaked CSS fade transitions
Diffstat (limited to 'files')
-rw-r--r-- | files/css/files.css | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/files/css/files.css b/files/css/files.css index b54ea36e6ad..ef86664cf2d 100644 --- a/files/css/files.css +++ b/files/css/files.css @@ -26,19 +26,12 @@ /* 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%; } -table tr { -webkit-transition:background-color ease-in 200ms; --moz-transition:background-color ease-in 200ms; --o-transition:background-color ease-in 200ms; -transition:background-color ease-in 200ms; } +table tr { -webkit-transition:background-color 500ms; -moz-transition:background-color 500ms; -o-transition:background-color 500ms; transition:background-color 500ms; } 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; } -span.extention { opacity:0; --webkit-transition:opacity ease-in 200ms; --moz-transition:opacity ease-in 200ms; --o-transition:opacity ease-in 200ms; -transition:opacity ease-in 200ms; } +span.extention { opacity:0; -webkit-transition:opacity 500ms; -moz-transition:opacity 500ms; -o-transition:opacity 500ms; transition:opacity 500ms; } tr:hover span.extention { opacity:1; } div.crumb { float:left; display:block; background:no-repeat right 0; padding:.75em 1.5em 0 1em; height:2.9em; } div.crumb:first-child { padding-left:1.5em; } @@ -61,9 +54,10 @@ 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; } -#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 } +#fileList tr input[type=checkbox] { opacity:0; float:left; margin:.7em 0 0 1em; /* bigger clickable area doesn’t work in FF width:2.8em; height:2.4em;*/ -webkit-transition:opacity 500ms; -moz-transition:opacity 500ms; -o-transition:opacity 500ms; transition:opacity 500ms; } +#fileList tr input[type="checkbox"]:checked, #fileList tr:hover input[type="checkbox"] { opacity:1; } +#fileList tr td.filename { -webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms; } +#fileList tr.selected td.filename, #fileList tr:hover td.filename { background-image:url('') !important; } #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; } |