added data to non-empty #measure, _in_brackets now a macro

This commit is contained in:
Ozbolt Menegatti 2019-12-27 18:48:21 +01:00
parent f50d812efb
commit 3561946cbe

View File

@ -19,6 +19,15 @@
} }
} }
._in_brackets {
&:after {
content: ")";
}
&:before {
content: "(";
}
}
// do I need this @ lexonomy? // do I need this @ lexonomy?
// .elm-div { // .elm-div {
// clear: both; // clear: both;
@ -43,6 +52,13 @@
font-style: italic; font-style: italic;
margin-left: 1em; margin-left: 1em;
} }
#measure:not(:empty) {
color: @gray;
margin-left: 0.5em;
._in_brackets();
}
} }
#entry-buttons { #entry-buttons {
@ -70,12 +86,7 @@
margin-left: 0.4em; margin-left: 0.4em;
._hoverable(); ._hoverable();
&:after { ._in_brackets();
content: ")";
}
&:before {
content: "(";
}
} }
.sense-label-list { .sense-label-list {
@ -86,6 +97,10 @@
.sense-label + .sense-label:before { .sense-label + .sense-label:before {
content: ", "; content: ", ";
} }
&:empty:before {
content: "🍵";
}
} }
.translation-div-cluster + .translation-div-cluster:before { .translation-div-cluster + .translation-div-cluster:before {