Mercurial > libervia-web
diff doc/web_framework/css_framework.rst @ 1170:4648a333b33f
doc: use "sourcecode" directive instead of "code" + small mistakes fixes:
RST "code" directive is not always working well with "jinja" code. It has been replaced with sphinx specific "sourcecode" (alias of "code-block", nicer to read in not formatted doc) which is working better.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 12 Apr 2019 14:12:53 +0200 |
parents | 28789926852a |
children |
line wrap: on
line diff
--- a/doc/web_framework/css_framework.rst Fri Apr 12 14:08:02 2019 +0200 +++ b/doc/web_framework/css_framework.rst Fri Apr 12 14:12:53 2019 +0200 @@ -2,7 +2,7 @@ ====================== -Libervia come with generic CSS styling which is thought to be re-usable. If you create a new theme/site, you don't have to use it and can use something totally different, but building on top of Libervia CSS make theming more easy and consistent as you can re-use existant components without changing the classes. +Libervia comes with generic CSS styling which is thought to be re-usable. If you create a new theme/site, you don't have to use it and can use something totally different, but building on top of Libervia CSS make theming more easy and consistent as you can re-use existant components without changing the classes. Bases ----- @@ -34,7 +34,7 @@ There are only a few of them: box--expand - When this class is applied, the box will be folded when is higher than 250px, and 2 "expand zone" (buttons) + When this class is applied, the box will be folded when higher than 250px, and 2 "expand zone" (buttons) will be added on top and bottom of the box to expand/reduce it. state_init @@ -58,13 +58,13 @@ Display this class only if in ``state_init``. show_if_parent_clicked - display this class only if **parent** is in ``state_clicked`` + display this class only if **parent** is in ``state_clicked`` show_if_parent_not_clicked - display this class only if **parent** is **not** in ``state_clicked`` + display this class only if **parent** is **not** in ``state_clicked`` show_if_grandparent_clicked - display this class only if **grandparent** is in ``state_clicked`` + display this class only if **grandparent** is in ``state_clicked`` show_if_grandparent_not_clicked - display this class only if **grandparent** is **not** in ``state_clicked`` + display this class only if **grandparent** is **not** in ``state_clicked``