diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-07-16 15:28:45 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-08-10 14:12:34 +0200 |
commit | ca34921cdf8db4075906b3531390aa1b1ae9216c (patch) | |
tree | 49c8f0256fa2fb6d13bbec3d15cd4a1f90153c99 /apps/files/css | |
parent | 15e16d335db5771778477e944d4e63ac807382b9 (diff) | |
download | nextcloud-server-ca34921cdf8db4075906b3531390aa1b1ae9216c.tar.gz nextcloud-server-ca34921cdf8db4075906b3531390aa1b1ae9216c.zip |
Implement file actions dropdown
File actions now have two types "inline" and "dropdown". The default is
"dropdown".
The file actions will now be shown in a dropdown menu.
Diffstat (limited to 'apps/files/css')
-rw-r--r-- | apps/files/css/files.css | 45 |
1 files changed, 36 insertions, 9 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css index 7e3318a962b..e93993affa8 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -517,6 +517,9 @@ table td.filename .uploadtext { font-size: 11px; } +.busy .fileactions, .busy .action { + visibility: hidden; +} /* force show the loading icon, not only on hover */ #fileList .icon-loading-small { @@ -527,11 +530,6 @@ table td.filename .uploadtext { } #fileList img.move2trash { display:inline; margin:-8px 0; padding:16px 8px 16px 8px !important; float:right; } -#fileList a.action.delete { - position: absolute; - right: 15px; - padding: 17px 14px; -} #fileList .action.action-share-notification span, #fileList a.name { cursor: default !important; @@ -578,10 +576,6 @@ a.action>img { display:none; } -#fileList a.action[data-action="Rename"] { - padding: 16px 14px 17px !important; -} - .ie8 #fileList a.action img, #fileList tr:hover a.action, #fileList a.action.permanent, @@ -693,3 +687,36 @@ table.dragshadow td.size { .mask.transparent{ opacity: 0; } + +.fileActionsMenu { + /* FIXME: should be variable width, but default one is too big */ + width: 100px; +} + +.fileActionsMenu.hidden { + display: none; +} + +#fileList .fileActionsMenu .action { + display: block; + line-height: 30px; + padding-left: 5px; + color: #000; + padding: 0; +} + +.fileActionsMenu .action img, +.fileActionsMenu .action .no-icon { + display: inline-block; + width: 16px; + margin-right: 5px; +} + +.fileActionsMenu .action { + opacity: 0.5; +} + +.fileActionsMenu li:hover .action { + opacity: 1; +} + |