style: 搜索框增加 KBD 样式
This commit is contained in:
parent
c972da88f5
commit
e769dedd17
|
@ -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;
|
||||
}
|
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue