mirror of
https://github.com/purocean/yn.git
synced 2026-10-12 23:31:39 +08:00
表格增加行号和鼠标悬停行样式
This commit is contained in:
@@ -809,6 +809,23 @@ button:hover {
|
||||
.view img {
|
||||
background-color: #fff !important;
|
||||
}
|
||||
|
||||
table tbody {
|
||||
counter-reset: tr-number;
|
||||
}
|
||||
|
||||
table tbody tr:hover {
|
||||
outline: 2px #b3833b dashed;
|
||||
}
|
||||
|
||||
table:hover tbody tr td:first-child:before {
|
||||
counter-increment: tr-number;
|
||||
content: counter(tr-number);
|
||||
position: absolute;
|
||||
right: 100%;
|
||||
padding-right: 5px;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
|
||||
Reference in New Issue
Block a user