• 欢迎 游客 您的光临,下载之前请先阅读 积分规则(暂行) 。任何技术问题请在论坛提问,本站定制插件、模板主题售前、售后问题请联系QQ:5916171

模板修改 vBulletin 3 表单风格 for XenForo 2.1

UID
573
注册
2020/01/08
消息
15
反馈评分
8
黄金
357.4G
1588143086092.png

在 EXTRA.LESS 末尾插入下述内容:
CSS:
/* ==================== vBulletin 3 Form Fieldsets ==================== */
body{@media (min-width:(@xf-formResponsive + 1)){form.block{.block-formSectionHeader{.block-formSectionHeader-aligner{text-align:unset;width:unset;font-size:@xf-fontSizeNormal;color:@xf-textColor;font-weight:Bold;text-transform:lowercase}}.formSubmitRow-controls{padding-left:unset;text-align:center}.block-body{box-shadow:inset 0 0 0 4px #E8F2FF,inset 0 0 0 5px #edeced;padding:5px;dl.formRow.formRow--fullWidth+.formRow--mergePrev,.formRow.formRow--fullWidth+*>.formRow:first-of-type.formRow--mergePrev,.formRow.formRow--fullWidth.formRow--mergeNext+.formRow.formRow--fullWidth,.formRow.formRow--fullWidth.formRow--mergeNext+*>.formRow.formRow--fullWidth:first-of-type{border:1px solid #C6D0DD}dl.formRow{&:first-child{margin-top:(@xf-paddingLargest + 1em)}&:last-child{margin-bottom:(@xf-paddingLargest + 1em)}width:95%;min-width:0;border:1px solid #C6D0DD;padding:1em;margin:1.5em auto 1em;&.formRow.formRow--limited{display:none}&.formRow--input>dt,&>dt{border-right:0;border-color:unset;text-align:unset;width:unset;float:left;display:block;margin:-1.7em 0 0;padding:0 .25em;background:@xf-paletteNeutral1;color:#22229C;font-size:1em;font-weight:400;.formRow-labelWrapper{display:flex;flex-flow:row-reverse nowrap;.formRow-label::after{content:unset}.formRow-hint{margin-right:5px;display:inline-block;background:red;color:white;&::before,&::after{content:"\00a0"}}}}&.formRow--input>dd,&>dd{width:unset;padding:unset;display:block}}hr.formRowSep{display:none}}}}&:not([data-template="account_signature"]){@media (min-width:(@xf-formResponsive + 1)){.p-body-main--withSideNav{form.block{.block-body{dl.formRow{width:75%;min-width:480px}}}}}}}
 
最后编辑:

死了算了

管理成员
UID
1
注册
2017/07/28
消息
1,302
反馈评分
5,270
黄金
140,341.6G
[USERSID=573]C544067FBA9F0A9827[/USERSID]

一个用户组激活码作为奖励
 
顶部 底部