summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-02 19:30:18 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-02 19:30:18 +0200
commitd0b2a3b1acb9ebbbb486e5878abb2c452c35ec2b (patch)
tree9935ae255665ef2466e675487c8f2086aea3a808 /apps
parentd71cca0e819780cacf1d9653bf3cf7fb826fda92 (diff)
downloadnextcloud-server-d0b2a3b1acb9ebbbb486e5878abb2c452c35ec2b.tar.gz
nextcloud-server-d0b2a3b1acb9ebbbb486e5878abb2c452c35ec2b.zip
moved dialog css to sharing, fixed position
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/appinfo/app.php1
-rw-r--r--apps/files_sharing/css/sharing.css4
-rw-r--r--apps/files_sharing/js/share.js2
3 files changed, 6 insertions, 1 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index 4ff0bc510ca..7f7aebb2b24 100644
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -5,6 +5,7 @@ require_once('apps/files_sharing/sharedstorage.php');
OC_Filesystem::registerStorageType("shared", "OC_Filestorage_Shared", array("datadir"=>"string"));
OC_Util::addScript("files_sharing", "share");
+OC_Util::addStyle( 'files_sharing', 'sharing' );
OC_App::addNavigationSubEntry("files_index", array(
"id" => "files_sharing_list",
"order" => 10,
diff --git a/apps/files_sharing/css/sharing.css b/apps/files_sharing/css/sharing.css
new file mode 100644
index 00000000000..8fbe804a860
--- /dev/null
+++ b/apps/files_sharing/css/sharing.css
@@ -0,0 +1,4 @@
+#dialog { display:block; position:absolute; z-index:100; width:25em; right:0; margin-right:3em; background:#eee; padding-bottom:1em;
+-moz-box-shadow:0 1px 1px #777; -webkit-box-shadow:0 1px 1px #777; box-shadow:0 1px 1px #777;
+-moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em;
+-moz-border-radius-bottomright:1em; -webkit-border-bottom-right-radius:1em; border-bottom-right-radius:1em; }
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index fc2f67087a7..3ce0a1a61cf 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -33,7 +33,7 @@ $(document).ready(function() {
function createShareDialog(filenames, files) {
var html = "<div id='dialog'>";
html += "<div id='private'>";
- html += "<label for='uid_shared_with'>Share with</label><input placeholder='User or Group' id='uid_shared_with' />";
+ html += "<label for='uid_shared_with'><strong>Share with</strong></label><input placeholder='User or Group' id='uid_shared_with' />";
html += "<input type='checkbox' name='permissions' id='permissions' value='1' /><label for='permissions'>allow editing</label><br />";
html += "<br />";
html += "<div id='shared_list'></div>";