[Pkg-owncloud-commits] [owncloud-doc] 102/270: better slide toggle description

David Prévot taffit at moszumanska.debian.org
Thu Jul 31 03:53:07 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud-doc.

commit d9a69c25e2bf9fa21e7ead00e3e9ebd01146ab4d
Author: Bernhard Posselt <dev at bernhard-posselt.com>
Date:   Fri May 23 18:57:47 2014 +0200

    better slide toggle description
---
 developer_manual/app/css.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/developer_manual/app/css.rst b/developer_manual/app/css.rst
index 2a7fa51..6d17b01 100644
--- a/developer_manual/app/css.rst
+++ b/developer_manual/app/css.rst
@@ -54,7 +54,9 @@ To create a settings area create a div with the id **app-settings** inside the *
 
             <div id="app-settings">
                 <div id="app-settings-header">
-                    <button class="settings-button" data-apps-slide-toggle="#app-settings-content"></button>
+                    <button class="settings-button"
+                            data-apps-slide-toggle="#app-settings-content"
+                    ></button>
                 </div>
                 <div id="app-settings-content">
                     <!-- Your settings in here -->
@@ -63,6 +65,8 @@ To create a settings area create a div with the id **app-settings** inside the *
         </div>
     </div>
 
+The data attribute **data-apps-slide-toggle** slides up a taret area using a jQuery selector and hides the area if the user clicks outside of it.
+
 Icons
 =====
 To use icons which are shipped in core, special class to apply the background image are supplied. All of these classes use **background-position: center** and **background-repeat: no-repeat**.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list