Include expansion class and ID
This commit is contained in:
parent
6bacac2d80
commit
266cbb6638
@ -75,7 +75,7 @@ public class sigPlace {
|
|||||||
//Start of a title piece.
|
//Start of a title piece.
|
||||||
s=s.replace("-",map.get("$TITLE_CONTENT_START"));
|
s=s.replace("-",map.get("$TITLE_CONTENT_START"));
|
||||||
s=s+map.get("$TITLE_CONTENT_END").replace("%ID%","id=\"content_"+i+"\"");
|
s=s+map.get("$TITLE_CONTENT_END").replace("%ID%","id=\"content_"+i+"\"");
|
||||||
s=s+"<div class=\"arrow\" onClick=\"expand("+i+")\">⤈</div>";
|
s=s+"<div class=\"unexpanded\" id=\"expand_"+i+"\" onClick=\"expand("+i+")\"></div>";
|
||||||
//Use ⤈ if there's more text to be shown than can fit.
|
//Use ⤈ if there's more text to be shown than can fit.
|
||||||
} else
|
} else
|
||||||
if (s.contains("===")) {
|
if (s.contains("===")) {
|
||||||
|
@ -71,11 +71,7 @@ body{
|
|||||||
.contentBody .contentWrapper:hover{
|
.contentBody .contentWrapper:hover{
|
||||||
border-color: rgb(17, 153, 17, .8);
|
border-color: rgb(17, 153, 17, .8);
|
||||||
}
|
}
|
||||||
|
|
||||||
.contentBody .contentWrapper {
|
|
||||||
border-color: rgb(17, 153, 17, .8);
|
|
||||||
}
|
|
||||||
|
|
||||||
.contentBody .contentWrapper .unexpanded:hover:after{
|
.contentBody .contentWrapper .unexpanded:hover:after{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background-color:rgba(255, 255, 255, .06);
|
background-color:rgba(255, 255, 255, .06);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user