进行了一些小优化
This commit is contained in:
@@ -178,6 +178,17 @@
|
||||
|
||||
.but a { color: inherit; }
|
||||
|
||||
/* 关注控件(.follow 且无 .but):纯文字色样式,无背景色;
|
||||
清除原生 button 的 UA 背景/边框,并保持 .but 同款可点反馈 */
|
||||
.follow:not(.but) {
|
||||
background: transparent;
|
||||
border: none;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
transition: 0.15s;
|
||||
}
|
||||
.follow:not(.but):hover { opacity: 0.8; }
|
||||
|
||||
.but .icon,
|
||||
.but > .fa:not(.fa-angle-right),
|
||||
.but > i[class*="fa-"]:not(.fa-angle-right) { margin-right: 0.25em; }
|
||||
|
||||
Reference in New Issue
Block a user