Improve alias rendering
This commit is contained in:
parent
cf9209f872
commit
e81b59bba8
4 changed files with 16 additions and 6 deletions
|
@ -1273,7 +1273,7 @@
|
||||||
output += '<tr class="' + type + ' result"><td>' +
|
output += '<tr class="' + type + ' result"><td>' +
|
||||||
'<a href="' + item.href + '">' +
|
'<a href="' + item.href + '">' +
|
||||||
(item.is_alias === true ?
|
(item.is_alias === true ?
|
||||||
('<span><b>' + item.alias + ' </b></span><span ' +
|
('<span class="alias"><b>' + item.alias + ' </b></span><span ' +
|
||||||
'class="grey"><i> - see </i></span>') : '') +
|
'class="grey"><i> - see </i></span>') : '') +
|
||||||
item.displayPath + '<span class="' + type + '">' +
|
item.displayPath + '<span class="' + type + '">' +
|
||||||
name + '</span></a></td><td>' +
|
name + '</span></a></td><td>' +
|
||||||
|
|
|
@ -1327,7 +1327,3 @@ kbd {
|
||||||
#all-types > p {
|
#all-types > p {
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-results td span.grey {
|
|
||||||
color: #ccc;
|
|
||||||
}
|
|
|
@ -382,7 +382,7 @@ kbd {
|
||||||
}
|
}
|
||||||
|
|
||||||
#theme-choices > button:hover, #theme-choices > button:focus {
|
#theme-choices > button:hover, #theme-choices > button:focus {
|
||||||
background-color: #444;
|
background-color: #4e4e4e;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
|
@ -397,3 +397,10 @@ kbd {
|
||||||
#all-types:hover {
|
#all-types:hover {
|
||||||
background-color: #606060;
|
background-color: #606060;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-results td span.alias {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.search-results td span.grey {
|
||||||
|
color: #ccc;
|
||||||
|
}
|
|
@ -391,3 +391,10 @@ kbd {
|
||||||
#all-types:hover {
|
#all-types:hover {
|
||||||
background-color: #f9f9f9;
|
background-color: #f9f9f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-results td span.alias {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
.search-results td span.grey {
|
||||||
|
color: #999;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue