Files
PC-Light-Forum/css/bi.less
DESKTOP-RQ919RC\Pc b26b379341 fix: 修复多个组件样式和功能问题
修复论坛项图片底部间距问题
调整BI组件z-index值防止遮挡
优化视频海报展示逻辑
限制评论输入框最大高度
修复搜索框占位符显示逻辑
添加分页项样式
移除评论编辑框底部边框
优化BI组件API请求方法
2025-11-11 19:05:56 +08:00

223 lines
4.8 KiB
Plaintext

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: 14px;
color: #333;
margin: 0;
padding: 0;
}
.bi-container {
width: 1027px;
// height: 755px;
padding-top: 22px;
margin-top: 20px;
.page-item {
min-width: 24px;
box-sizing: border-box;
text-align: center;
cursor: pointer;
&.dot {
cursor: auto;
&:hover {
color: #333;
background-color: #eee;
}
}
}
* {
padding: 0;
margin: 0;
}
.bi-icon {
width: 29px;
height: 32px;
margin-right: 8px;
background-image: url(../img/bi-icon.png);
background-size: contain;
background-repeat: no-repeat;
}
.title {
display: flex;
align-items: center;
margin: 0 12px 20px;
img {
width: 29px;
height: 34px;
margin-right: 8px;
}
h2 {
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: rgb(0, 0, 0);
line-height: 30px;
}
}
.bi-main-title {
display: flex;
align-items: center;
margin: 0 12px 20px;
&-icon {
width: 29px;
height: 34px;
margin-right: 8px;
}
&-heading {
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: rgb(0, 0, 0);
line-height: 30px;
}
}
.bi-table {
width: calc(100% - 24px);
border-collapse: collapse;
margin: 0 12px 25px;
&-header {
background-color: #f5f5f5;
font-weight: bold;
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 14px;
color: rgb(0, 0, 0);
text-align: center;
height: 33px;
}
&-row {
&:nth-child(even) {
background-color: rgb(245, 245, 245);
}
}
&-cell {
color: rgb(51, 51, 51);
font-size: 14px;
text-align: center;
height: 33px;
}
}
.supplement {
margin: 0 12px 30px;
}
.supplement h3 {
font-weight: bold;
font-size: 14px;
line-height: 25px;
}
.supplement ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.supplement li {
font-size: 14px;
line-height: 25px;
}
.bi-supplement {
margin: 0 12px 30px;
&-title {
font-weight: bold;
font-size: 14px;
line-height: 25px;
}
&-list {
list-style-type: none;
padding: 0;
margin: 0;
}
&-item {
font-size: 14px;
line-height: 25px;
}
}
.divider {
height: 1px;
background-color: #eee;
margin-bottom: 37px;
}
.usage {
display: flex;
flex-direction: column;
margin-bottom: 8px;
}
.usage img {
width: 29px;
height: 34px;
margin-right: 8px;
}
.usage h3 {
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: rgb(0, 0, 0);
line-height: 30px;
}
.usage ul {
list-style-type: none;
padding: 0 0 0 32px;
margin: 0;
}
.usage li:not(:last-child) {
margin-bottom: 4px;
}
.bi-usage {
display: flex;
flex-direction: column;
margin-bottom: 35px;
&-title {
display: flex;
align-items: center;
margin-bottom: 0 12px 20px;
}
&-icon {
width: 29px;
height: 34px;
margin-right: 8px;
}
&-heading {
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: rgb(0, 0, 0);
line-height: 30px;
}
&-list {
list-style-type: none;
padding: 0 0 0 32px;
margin: 0;
}
&-item {
margin-bottom: 4px;
font-size: 14px;
color: #333;
}
}
}