style: 搜索框增加 KBD 样式

This commit is contained in:
Argo Zhang 2020-01-18 17:27:10 +08:00
parent c972da88f5
commit e769dedd17
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 9 additions and 2 deletions

View File

@ -534,4 +534,11 @@ pre {
.modal-query .form-group input.form-control {
flex: 1 1 auto;
}
}
.tooltip-inner kbd {
margin-bottom: 2px;
display: inline-block;
background: #17a2b8;
padding: 3px 6px;
}

View File

@ -438,7 +438,7 @@
if (settings.search) {
$('.bootstrap-table .fixed-table-toolbar .search-input').tooltip({
sanitize: false,
title: "输入任意字符串全局搜索 </br> Enter 搜索 ESC 清除搜索",
title: "输入任意字符串全局搜索 </br> <kbd>Enter</kbd> 搜索 <kbd>ESC</kbd> 清除搜索",
html: true
});
}