diff --git a/app/src/frontend/building-edit.js b/app/src/frontend/building-edit.js
index e1af808d..6c0c4fc4 100644
--- a/app/src/frontend/building-edit.js
+++ b/app/src/frontend/building-edit.js
@@ -104,6 +104,7 @@ class EditForm extends Component {
isActive={() => match}>
{this.props.title}
+
{ (match && this.props.intro)? { this.props.intro }
: null }
{
diff --git a/app/src/frontend/building-view.js b/app/src/frontend/building-view.js
index 2bf40951..757ca20d 100644
--- a/app/src/frontend/building-view.js
+++ b/app/src/frontend/building-view.js
@@ -57,6 +57,7 @@ const DataSection = (props) => {
isActive={() => match}>
{props.title}
+
{ (match && props.intro)? { props.intro }
: null }
{ match? {props.children}
: null }
diff --git a/app/src/frontend/legend.js b/app/src/frontend/legend.js
index c48dba5a..ba4187ca 100644
--- a/app/src/frontend/legend.js
+++ b/app/src/frontend/legend.js
@@ -94,9 +94,11 @@ const LegendGroup = (props) => {
{
props.help?
-
-
-
+
: null
}
diff --git a/app/src/frontend/main.css b/app/src/frontend/main.css
index 8cbc3d02..b284eb3f 100755
--- a/app/src/frontend/main.css
+++ b/app/src/frontend/main.css
@@ -14,7 +14,7 @@
.bullet-prefix {
display: block;
position: relative;
- padding: 0.6rem 0.5rem 0.5rem 2.25rem;
+ clear: both;
/* cursor: pointer; */
text-decoration: none;
color: #222;
@@ -23,7 +23,9 @@
.bullet-prefix h3 {
display: inline-block;
}
-.bullet-prefix a:first-child {
+.bullet-prefix > a {
+ display: block;
+ padding: 0.6rem 0.5rem 0.5rem 2.25rem;
color: #222;
}
.bullet-prefix.active,
@@ -32,7 +34,7 @@
text-decoration: none;
background-color: #eeeeee;
}
-.bullet-prefix::before {
+.bullet-prefix > a::before {
display: block;
position: absolute;
left: 0.55rem;
@@ -40,23 +42,29 @@
width: 1.2rem;
height: 1rem;
text-align: center;
- vertical-align: middle;
color: #7d7d7d;
font-size: 1.2rem;
content: '\25A0';
transition: color 0.2s;
}
-.bullet-prefix:hover::before,
-.bullet-prefix.active::before {
+.bullet-prefix:hover > a::before,
+.bullet-prefix.active > a::before {
color: #222;
}
-.bullet-prefix:hover::before {
+.bullet-prefix:hover > a::before {
content: '\25BC';
}
-.bullet-prefix.active:hover::before {
+.bullet-prefix.active:hover > a::before {
content: '\25B2';
}
+.bullet-prefix .icon-buttons {
+ position: absolute;
+ top: 0;
+ right: 0;
+ padding: 0.6rem 0.5rem 0.5rem 0;
+}
+
.icon-button {
display: inline-block;
width: 1.8rem;
@@ -113,7 +121,7 @@
border-top: 1px solid #ffffff;
}
.data-section.inactive {
- opacity: 0.7;
+ opacity: 0.5;
}
.data-section.inactive .bullet-prefix::before {
opacity: 0.4;