优化移动端图标显示问题

优化通用搜索高亮显示
pull/519/MERGE
Karson 2026-03-23 21:15:58 +08:00
parent 54c8a8953d
commit 7bb8672d11
2 changed files with 67 additions and 46 deletions

View File

@ -1347,26 +1347,26 @@ table.table-nowrap thead > tr > th {
.fixed-table-toolbar .toolbar .btn {
min-height: 33px;
}
.fixed-table-toolbar .toolbar a.btn-refresh,
.fixed-table-toolbar .toolbar a.btn-del,
.fixed-table-toolbar .toolbar a.btn-add,
.fixed-table-toolbar .toolbar a.btn-edit,
.fixed-table-toolbar .toolbar a.btn-import,
.fixed-table-toolbar .toolbar > a.btn-refresh,
.fixed-table-toolbar .toolbar > a.btn-del,
.fixed-table-toolbar .toolbar > a.btn-add,
.fixed-table-toolbar .toolbar > a.btn-edit,
.fixed-table-toolbar .toolbar > a.btn-import,
.fixed-table-toolbar .toolbar a.btn-more,
.fixed-table-toolbar .toolbar a.btn-recyclebin,
.fixed-table-toolbar .toolbar .btn-mini-xs,
.fixed-table-toolbar .toolbar .btn-multi {
.fixed-table-toolbar .toolbar > a.btn-recyclebin,
.fixed-table-toolbar .toolbar > .btn-mini-xs,
.fixed-table-toolbar .toolbar > .btn-multi:not([data-action=destroy]) {
font-size: 0;
}
.fixed-table-toolbar .toolbar a.btn-refresh .fa,
.fixed-table-toolbar .toolbar a.btn-del .fa,
.fixed-table-toolbar .toolbar a.btn-add .fa,
.fixed-table-toolbar .toolbar a.btn-edit .fa,
.fixed-table-toolbar .toolbar a.btn-import .fa,
.fixed-table-toolbar .toolbar a.btn-more .fa,
.fixed-table-toolbar .toolbar a.btn-recyclebin .fa,
.fixed-table-toolbar .toolbar .btn-mini-xs .fa,
.fixed-table-toolbar .toolbar .btn-multi .fa {
.fixed-table-toolbar .toolbar > a.btn-refresh > .fa,
.fixed-table-toolbar .toolbar > a.btn-del > .fa,
.fixed-table-toolbar .toolbar > a.btn-add > .fa,
.fixed-table-toolbar .toolbar > a.btn-edit > .fa,
.fixed-table-toolbar .toolbar > a.btn-import > .fa,
.fixed-table-toolbar .toolbar a.btn-more > .fa,
.fixed-table-toolbar .toolbar > a.btn-recyclebin > .fa,
.fixed-table-toolbar .toolbar > .btn-mini-xs > .fa,
.fixed-table-toolbar .toolbar > .btn-multi:not([data-action=destroy]) > .fa {
font-size: initial;
}
.fixed-table-toolbar .search {
@ -1644,9 +1644,7 @@ table.table-nowrap thead > tr > th {
}
.btn-commonsearch.searching,
.btn-commonsearch.searching:focus {
background: #444c69;
color: #fff;
border-color: #444c69;
color: #4e73df;
}
.btn-commonsearch.searching:hover,
.btn-commonsearch.searching:active,
@ -1655,6 +1653,16 @@ table.table-nowrap thead > tr > th {
color: #fff;
outline: none;
}
.btn-commonsearch.searching:after {
content: " ";
position: absolute;
right: 4px;
bottom: 8px;
background: #4e73df;
border-radius: 50%;
height: 4px;
width: 4px;
}
.btn-switcher {
margin-top: 5px;
display: inline-block;

View File

@ -1359,13 +1359,14 @@ table.table-nowrap {
min-height: @input-min-height;
}
a.btn-refresh, a.btn-del, a.btn-add, a.btn-edit, a.btn-import, a.btn-more, a.btn-recyclebin, .btn-mini-xs, .btn-multi {
> a.btn-refresh, > a.btn-del, > a.btn-add, > a.btn-edit, > a.btn-import, a.btn-more, > a.btn-recyclebin, > .btn-mini-xs, > .btn-multi:not([data-action=destroy]) {
font-size: 0;
.fa {
> .fa {
font-size: initial;
}
}
}
.search {
@ -1701,9 +1702,10 @@ table.table-nowrap {
&.searching {
&, &:focus {
background: @component-active-bg;
color: @component-active-color;
border-color: @component-active-bg;
//background: @component-active-bg;
//color: @component-active-color;
//border-color: @component-active-bg;
color: #4e73df;
}
&:hover, &:active, &:active:hover {
@ -1711,6 +1713,17 @@ table.table-nowrap {
color: @component-active-color;
outline: none;
}
&:after {
content: " ";
position: absolute;
right: 4px;
bottom: 8px;
background: #4e73df;
border-radius: 50%;
height: 4px;
width: 4px;
}
}
}