diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-17 11:44:21 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-17 11:44:21 +0800 |
commit | 0af497625be03bea330b02738e6ba2c6f2c492e9 (patch) | |
tree | 9747eb2992f5529b3df32b7dd02a9a1397e100dd /fg21sim/webui/static/css/main.css | |
parent | f34766376b6a77b740f2d218de901062b6de4cf6 (diff) | |
download | fg21sim-0af497625be03bea330b02738e6ba2c6f2c492e9.tar.bz2 |
webui: Add panel toggle and allow expand/collapse its body
Diffstat (limited to 'fg21sim/webui/static/css/main.css')
-rw-r--r-- | fg21sim/webui/static/css/main.css | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/fg21sim/webui/static/css/main.css b/fg21sim/webui/static/css/main.css index de40123..a0d7e1b 100644 --- a/fg21sim/webui/static/css/main.css +++ b/fg21sim/webui/static/css/main.css @@ -266,7 +266,7 @@ input:focus { background-color: #d9534f; } -.label .icon { +.label > .icon { margin-right: 0.2rem; } @@ -374,6 +374,18 @@ button, font-size: 1.6rem; font-weight: bold; } +.panel-title > .icon { + margin-right: 0.2rem; +} +.panel-title > .toggle { + margin-left: 0.5rem; + opacity: 0.5; + vertical-align: middle; + cursor: pointer; +} +.panel-title > .toggle:hover { + opacity: 1.0; +} .panel-control { float: right; } |