- XF 兼容性
- 2.2.x
- 摘要
- Easily add Prefix ID styling to descriptions with this simple add-on. Customize blockMessage and prefixDesc styles per-prefix in extra.less for easy styling control.
另一个极其简单的附加功能,可以在前缀描述框中注入前缀ID,使您能够针对每个前缀进行样式设置。
安装完该附加功能后,请在extra.less模板中添加一些代码,类似于以下内容——或者根据需要调整:
安装完该附加功能后,请在extra.less模板中添加一些代码,类似于以下内容——或者根据需要调整:
CSS:
.blockMessage--close.prefixDesc--id1 {
border-left: 3px solid #1ed760;
}
.blockMessage--close.prefixDesc--id2 {
border-left: 3px solid #d31117;
}