summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-24 23:30:55 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-24 23:30:55 +0300
commit9697c9a65b5b698d5c6ca11befd843c89aca3c9e (patch)
tree79b91399133e249ed41145734c92e2a4e777e16b /ext
parent6f43fffb4eca76246a3f458b973a7aada84c1488 (diff)
terms.html: rename classes, remove inline css
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/templates.js6
-rw-r--r--ext/mixed/css/display.css12
2 files changed, 11 insertions, 7 deletions
diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js
index 9f72e661..a0b518b2 100644
--- a/ext/bg/js/templates.js
+++ b/ext/bg/js/templates.js
@@ -218,7 +218,7 @@ templates['terms.html'] = template({"1":function(container,depth0,helpers,partia
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.definitionTags : depth0),{"name":"each","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "</div>\n";
},"3":function(container,depth0,helpers,partials,data) {
- return "style=\"display: inline-block;\"";
+ return "class=\"compact-info\"";
},"5":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
@@ -254,7 +254,7 @@ templates['terms.html'] = template({"1":function(container,depth0,helpers,partia
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.glossary : depth0),{"name":"each","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "</ul>\n";
},"12":function(container,depth0,helpers,partials,data) {
- return "class=\"compact\"";
+ return "class=\"compact-glossary\"";
},"14":function(container,depth0,helpers,partials,data) {
var stack1, helper, options, buffer =
" <li><span class=\"glossary-item\">";
@@ -274,7 +274,7 @@ templates['terms.html'] = template({"1":function(container,depth0,helpers,partia
if (stack1 != null) { buffer += stack1; }
return buffer + "</div>\n";
},"18":function(container,depth0,helpers,partials,data) {
- return "compact";
+ return "compact-glossary";
},"20":function(container,depth0,helpers,partials,data) {
var stack1;
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index b31774f9..eadb9dae 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -177,21 +177,25 @@ hr {
display: inline-block;
}
+.compact-info {
+ display: inline-block;
+}
+
.glossary ol, .glossary ul {
padding-left: 1.4em;
}
-.glossary ul.compact {
+.glossary ul.compact-glossary {
display: inline;
list-style: none;
padding-left: 0px;
}
-.glossary .compact li {
+.glossary .compact-glossary li {
display: inline;
}
-.glossary .compact li:not(:first-child):before {
+.glossary .compact-glossary li:not(:first-child):before {
content: " | ";
}
@@ -203,7 +207,7 @@ hr {
color: #000;
}
-div.glossary-item.compact {
+div.glossary-item.compact-glossary {
display: inline;
}