diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-09-30 15:28:28 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-09-30 15:28:28 +0200 |
commit | 2d1214d21d32c18d9aa6cada30f92a32bd809cdf (patch) | |
tree | 9d3f216a299ff5021d16aa196045a2fa4acba3a6 /apps | |
parent | 08fd4b38f895a5e9a91cdc476103c26be68dda80 (diff) | |
download | nextcloud-server-2d1214d21d32c18d9aa6cada30f92a32bd809cdf.tar.gz nextcloud-server-2d1214d21d32c18d9aa6cada30f92a32bd809cdf.zip |
adjust style of disabled button
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/css/public.css | 10 | ||||
-rw-r--r-- | apps/files_sharing/js/public.js | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css index a5cf57d0ac5..2b7e84c987d 100644 --- a/apps/files_sharing/css/public.css +++ b/apps/files_sharing/css/public.css @@ -134,9 +134,19 @@ thead { margin: 2px 0 !important; } +#save-button-confirm:disabled, +#save-button-confirm:disabled:hover, +#save-button-confirm:disabled:focus { + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; + filter: alpha(opacity=20); + opacity: .2; + cursor: default; +} + #save-button-confirm:hover, #save-button-confirm:focus { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); opacity: 1; + cursor: pointer; } diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 41333f1a089..2ba1a92af3a 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -228,7 +228,7 @@ OCA.Sharing.PublicApp = { OCA.Sharing.PublicApp._saveToOwnCloud(remote, token, owner, name, isProtected); }); - $('#remote_address').on("change keyup paste", function() { + $('#remote_address').on("keyup paste", function() { if ($(this).val() === '') { $('#save-button-confirm').prop('disabled', true); } else { |