Limit formating for unorderd lists to menu page
Before unordered lists in generator descriptions would also be formatted like the items in the generator selection
This commit is contained in:
parent
2a55183e50
commit
f38819307b
|
@ -330,7 +330,7 @@ class BServer:
|
||||||
<div>
|
<div>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<hr />
|
<hr />
|
||||||
<div style="width: 100%">
|
<div class="menu" style="width: 100%">
|
||||||
""" ]
|
""" ]
|
||||||
for nr, group in enumerate(self.groups):
|
for nr, group in enumerate(self.groups):
|
||||||
result.append('''<h3 id="h-%s" class="open" onclick="showHide('%s')">%s</h3>\n<div id="%s">\n''' % (nr, nr, _(group.title), nr))
|
result.append('''<h3 id="h-%s" class="open" onclick="showHide('%s')">%s</h3>\n<div id="%s">\n''' % (nr, nr, _(group.title), nr))
|
||||||
|
|
|
@ -19,7 +19,7 @@ a {
|
||||||
color: #5F584A;
|
color: #5F584A;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
.menu li {
|
||||||
color: #666;
|
color: #666;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
@ -145,26 +145,26 @@ img[id|=sample] {
|
||||||
right: calc(50% - 498px);
|
right: calc(50% - 498px);
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
.menu ul {
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li {
|
.menu ul li {
|
||||||
padding: 5px 5px 5px 10px;
|
padding: 5px 5px 5px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li:hover {
|
.menu ul li:hover {
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
color: #eee;
|
color: #eee;
|
||||||
-webkit-border-radius: 10px;
|
-webkit-border-radius: 10px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li:hover a {
|
.menu ul li:hover a {
|
||||||
color: #bbb;
|
color: #bbb;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li span {
|
.menu ul li span {
|
||||||
display: none;
|
display: none;
|
||||||
font-size: 1.8em;
|
font-size: 1.8em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -172,7 +172,7 @@ ul li span {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li:hover span {
|
.menu ul li:hover span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue