summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/css
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2016-04-18 18:17:08 +0200
committerBjörn Schießle <schiessle@owncloud.com>2016-04-22 14:55:40 +0200
commite10105474fbef8940fdfa96d5e2bf2f09b1f0649 (patch)
tree1881e059a3408a2d4e8096e31719ba989f7dfab1 /apps/federatedfilesharing/css
parent606b756a94643eaae87e18b39f6c75e6d18fec7e (diff)
downloadnextcloud-server-e10105474fbef8940fdfa96d5e2bf2f09b1f0649.tar.gz
nextcloud-server-e10105474fbef8940fdfa96d5e2bf2f09b1f0649.zip
move federated sharing settings to the federatedfilesharing app
Diffstat (limited to 'apps/federatedfilesharing/css')
-rw-r--r--apps/federatedfilesharing/css/3rdparty/gs-share/style.css49
-rw-r--r--apps/federatedfilesharing/css/settings-personal.css33
2 files changed, 82 insertions, 0 deletions
diff --git a/apps/federatedfilesharing/css/3rdparty/gs-share/style.css b/apps/federatedfilesharing/css/3rdparty/gs-share/style.css
new file mode 100644
index 00000000000..c699ddb3db5
--- /dev/null
+++ b/apps/federatedfilesharing/css/3rdparty/gs-share/style.css
@@ -0,0 +1,49 @@
+.js-gs-share, .gs-share [aria-hidden="true"], .gs-share-form[aria-hidden="true"] {
+ display: none;
+}
+
+.js-gs-share-enabled .js-gs-share {
+ display: inline;
+ float: left;
+}
+
+.gs-share .js-gs-share[href] {
+ display: inline;
+}
+
+.gs-share [aria-hidden="false"], .gs-share-form[aria-hidden="false"] {
+ display: block;
+ margin-top: 40px;
+}
+
+.gs-share {
+ position: relative;
+}
+
+.gs-share-form {
+ background: #FFF;
+ border: 1px solid #000;
+ border-radius: 5px;
+ padding: 5px;
+ position: absolute;
+ z-index: 1;
+}
+
+.gs-share [for="gs-account"], .gs-share [type="text"] {
+ display: block;
+ margin-bottom: 8px;
+}
+
+.gs-share [type="submit"] {
+ display: block;
+ margin-top: 8px;
+}
+
+.gs-share--icon {
+ border: none;
+ cursor: pointer;
+ min-height: 32px;
+ padding: 0;
+ padding-left: 33px;
+ background: transparent url('../../../img/gs-share.png') no-repeat left center;
+}
diff --git a/apps/federatedfilesharing/css/settings-personal.css b/apps/federatedfilesharing/css/settings-personal.css
new file mode 100644
index 00000000000..f53365c9371
--- /dev/null
+++ b/apps/federatedfilesharing/css/settings-personal.css
@@ -0,0 +1,33 @@
+#fileSharingSettings img {
+ cursor: pointer;
+}
+
+#fileSharingSettings xmp {
+ margin-top: 0;
+ white-space: pre-wrap;
+}
+
+[class^="social-"], [class*=" social-"] {
+ background-repeat: no-repeat;
+ background-position: 2px;
+ min-width: 16px;
+ min-height: 16px;
+ padding-left: 29px;
+ background-size: 24px;
+}
+
+.social-gnu {
+ background-image: url('../img/social-gnu.svg');
+}
+.social-diaspora {
+ background-image: url('../img/social-diaspora.svg');
+}
+.social-twitter {
+ background-image: url('../img/social-twitter.svg');
+}
+.social-facebook {
+ background-image: url('../img/social-facebook.svg');
+}
+.social-googleplus {
+ background-image: url('../img/social-googleplus.svg');
+}