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>' +
|
||||
'<a href="' + item.href + '">' +
|
||||
(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>') : '') +
|
||||
item.displayPath + '<span class="' + type + '">' +
|
||||
name + '</span></a></td><td>' +
|
||||
|
|
|
@ -1326,8 +1326,4 @@ kbd {
|
|||
}
|
||||
#all-types > p {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.search-results td span.grey {
|
||||
color: #ccc;
|
||||
}
|
|
@ -382,7 +382,7 @@ kbd {
|
|||
}
|
||||
|
||||
#theme-choices > button:hover, #theme-choices > button:focus {
|
||||
background-color: #444;
|
||||
background-color: #4e4e4e;
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
|
@ -397,3 +397,10 @@ kbd {
|
|||
#all-types:hover {
|
||||
background-color: #606060;
|
||||
}
|
||||
|
||||
.search-results td span.alias {
|
||||
color: #fff;
|
||||
}
|
||||
.search-results td span.grey {
|
||||
color: #ccc;
|
||||
}
|
|
@ -390,4 +390,11 @@ kbd {
|
|||
}
|
||||
#all-types:hover {
|
||||
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