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

pull/1/head
Ozbolt Menegatti 4 years ago
parent f50d812efb
commit 3561946cbe

@ -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 {

Loading…
Cancel
Save