diff --git a/developer_manual/app/css.rst b/developer_manual/app/css.rst index c132b514b..f06fe567c 100644 --- a/developer_manual/app/css.rst +++ b/developer_manual/app/css.rst @@ -24,22 +24,67 @@ To use the commonly used layout consisting of sidebar navigation and content the Navigation ========== -ownCloud provides a default CSS navigation layout. If list entries should have 16x16 px icons, the **with-icon** class can be added to the base **ul**: +ownCloud provides a default CSS navigation layout. If list entries should have 16x16 px icons, the **with-icon** class can be added to the base **ul**. The maximum supported indention level is two, further indentions are not recommended. .. code-block:: html
+Folders +------- + +Folders are like normal entries and are only supported for the first level. In contrast to normal entries, the links which show the title of the folder need to have the **folder-icon** css class. + +If the folder should be collapsible, the **collapsible** class and a button with the class **collapse** are needed. After adding the collapsible class the folder's child entries can be toggled by adding the **open** class to the list element: + +.. code-block:: html + + + + +Drag and drop +------------- +The class which should be applied to a first level element (**li**) that hosts or can host a second level is **drag-and-drop**. This will cause the hovered entry to slide down giving a visual hint that it can accept the dragged element. In case of jQuery UI's droppable feature, the **hoverClass** option should be set to the **drag-and-drop** class. + +.. code-block:: html + + + + Settings Area ============= To create a settings area create a div with the id **app-settings** inside the **app-navgiation** div: diff --git a/developer_manual/testing/index.rst b/developer_manual/testing/index.rst index 9f04ed2c4..9c0d4798c 100644 --- a/developer_manual/testing/index.rst +++ b/developer_manual/testing/index.rst @@ -7,7 +7,7 @@ ownCloud Test Pilots :hidden: -The ownCloud Test Pilots help to test and improve different server and client setups with ownCloud. +The ownCloud Test Pilots help to test and improve different server and client setups with ownCloud. Why do you want to join ----------------------- @@ -75,7 +75,7 @@ tracker. It might even be fixed, sometimes! It can also be fruitful to contact t `developers on irc