diff options
author | Jose M. Guisado Gomez <jguisado@soleta.eu> | 2021-06-30 08:32:51 +0000 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-06-30 17:19:17 +0200 |
commit | 288654722d061591ac834ecf9fb2310280473323 (patch) | |
tree | d4cb28e9da8db6dfeb2af0d674f59f776ff15461 /ogcp/static/css | |
parent | f121d591e5fb0b53f4e25099ca4f11afa005a1c9 (diff) |
Add scopes_tree_collapse macro
Being able to collapse the scopes tree allows to fit a bigger scopes
tree.
A new macro is introduced to generate the HTML code for the scope tree
in such a way that each non-leaf level (center, room) are collapsible.
macros.scopes_tree_collapse(scopes)
As of now, the state of the scope tree is not saved when changing nav
sections.
Diffstat (limited to 'ogcp/static/css')
-rw-r--r-- | ogcp/static/css/soleta.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ogcp/static/css/soleta.css b/ogcp/static/css/soleta.css index ca49897..d17674c 100644 --- a/ogcp/static/css/soleta.css +++ b/ogcp/static/css/soleta.css @@ -14,3 +14,17 @@ html, body { .toast { margin: 10px; } + +.nav { + position: relative; +} + +.nav-item { + padding-left: 20px; + position: relative; +} + +.nav-link { + padding: 0; +} + |