From 6be704647ca85b59ce1693d741eea66595e1ca64 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 6 Aug 2013 15:24:48 -0700 Subject: [PATCH] Add basic styling for groups. --- guacamole/src/main/webapp/styles/ui.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/guacamole/src/main/webapp/styles/ui.css b/guacamole/src/main/webapp/styles/ui.css index a109607a4..3cda0d345 100644 --- a/guacamole/src/main/webapp/styles/ui.css +++ b/guacamole/src/main/webapp/styles/ui.css @@ -305,6 +305,30 @@ div.section { background-image: url('../images/protocol-icons/guac-monitor.png'); } +/* + * Groups + */ + +.group > .children { + margin-left: 13px; + padding-left: 6px; + display: none; +} + +.group.expanded > .children { + display: block; + border-left: 1px dotted rgba(0, 0, 0, 0.25); +} + +.group > .caption .icon.group { + opacity: 0.75; + background-image: url('../images/group-icons/guac-closed.png'); +} + +.group.expanded > .caption .icon.group { + background-image: url('../images/group-icons/guac-open.png'); +} + /* * Settings formatting */