Files
PC-Light-Forum/css/public.less
A1300399510 89703bf025 no message
2025-10-28 10:01:48 +08:00

554 lines
13 KiB
Plaintext

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
}
body {
background-color: rgba(238, 242, 245, 1);
}
/* 公共的 css 样式 */
.flexflex {
display: flex;
}
.flexcenter {
display: flex;
justify-content: center;
align-items: center;
}
.flexjcenter {
display: flex;
justify-content: center;
}
.flexacenter {
display: flex;
align-items: center;
}
.flex1 {
flex: 1;
}
.flexcolumn {
display: flex;
flex-direction: column;
}
.one-line-display {
word-break: keep-all;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.item-box {
max-width: 897px;
width: 100%;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
padding: 18px 20px 0;
.item-head {
margin-bottom: 14px;
.avatar {
width: 28px;
height: 28px;
border-radius: 50%;
margin-right: 8px;
}
.name {
font-style: normal;
color: #555555;
font-size: 14px;
margin-right: 8px;
}
.group {
height: 15px;
margin-right: 8px;
}
.time {
font-size: 13px;
color: #aaaaaa;
}
.view {
font-size: 12px;
color: #aaaaaa;
margin-right: 15px;
.icon {
width: 13px;
height: 8px;
margin-right: 5px;
}
}
.btn {
width: 24px;
height: 16px;
background-color: rgba(242, 242, 242, 1);
border-radius: 150px;
.icon {
width: 18px;
height: 18px;
}
}
}
.label {
margin-bottom: 10px;
.item {
font-size: 14px;
color: #555555;
padding: 0 9px;
height: 24px;
line-height: 24px;
background-color: rgba(242, 242, 242, 1);
border-radius: 6px;
&.icon {
padding: 0;
}
&:not(:last-child) {
margin-right: 10px;
}
&.blue {
color: #ffffff;
background-color: #04b0d5;
}
}
}
&.item-forum {
.title {
font-weight: 650;
font-size: 20px;
color: #000000;
line-height: 36px;
margin-bottom: 7px;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
}
.message {
font-size: 14px;
color: #555555;
white-space: pre-wrap;
margin-bottom: 15px;
}
}
&.item-offer {
font-size: 14px;
color: #333333;
.school {
height: 45px;
border-bottom: 1px dotted #d7d7d7;
.icon {
height: 20px;
margin-right: 10px;
}
.text {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 20px;
color: #000000;
line-height: 36px;
}
}
.major {
height: 45px;
border-bottom: 1px dotted #d7d7d7;
.key {
font-size: 14px;
color: #7f7f7f;
margin-right: 20px;
}
}
.info {
height: 45px;
border-bottom: 1px dotted #d7d7d7;
margin-bottom: 12px;
.line {
width: 1px;
height: 14px;
background: #aaaaaa;
margin: 0 10px;
}
.results {
font-size: 13px;
color: #ffffff;
height: 20px;
padding: 0 9px;
border-radius: 37px;
}
}
.message {
color: #555555;
margin-bottom: 15px;
}
}
&.item-summary {
.title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 20px;
color: #000000;
line-height: 36px;
margin-bottom: 7px;
}
.message {
font-size: 14px;
color: #555555;
margin-bottom: 20px;
}
.total {
font-size: 14px;
color: #555555;
margin-bottom: 12px;
.num {
font-family: "Arial-BoldMT", "Arial Bold", "Arial", sans-serif;
font-weight: 700;
color: #000000;
margin: 0 5px;
}
}
.list {
overflow: auto;
margin-bottom: 16px;
.item-content {
width: 280px;
flex-direction: column;
justify-content: space-between;
padding: 10px;
}
.item {
width: 280px;
height: 110px;
background-color: rgba(242, 242, 242, 0);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 10px;
color: #333333;
font-size: 14px;
cursor: pointer;
margin-right: 10px;
.school {
.icon {
height: 24px;
}
.name {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: #000000;
line-height: 24px;
}
}
.info {
.results {
font-size: 13px;
color: #ffffff;
height: 20px;
padding: 0 9px;
border-radius: 37px;
}
.line {
width: 1px;
height: 14px;
background: #aaaaaa;
margin: 0 10px;
}
}
&.more {
color: #026277;
// vertical-align: top;
// flex-direction: row;
// justify-content: center;
.item-content {
vertical-align: top;
flex-direction: row;
justify-content: center;
}
.icon {
width: 15px;
height: 15px;
margin-left: 5px;
}
}
}
}
}
&.item-vote {
.title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 20px;
color: #000000;
line-height: 36px;
margin-bottom: 7px;
}
.message {
font-size: 14px;
color: #555555;
margin-bottom: 15px;
}
.info {
font-size: 14px;
color: #7f7f7f;
.status {
height: 22px;
line-height: 22px;
background-color: rgba(211, 81, 16, 0.0980392156862745);
border-radius: 24px;
font-size: 13px;
color: #d35110;
padding: 0 7px;
}
.line {
width: 1px;
height: 14px;
background-color: #aaaaaa;
margin: 0 10px;
}
.num {
font-weight: 650;
color: #000000;
}
}
.list {
margin: 4px 20px 0;
overflow: hidden;
max-height: 138px;
&.voted {
max-height: 178px;
.list-item {
height: 75px;
.list-bottom {
display: flex;
}
}
}
.list-item {
height: 55px;
flex-direction: column;
&:not(:last-of-type) {
border-bottom: 1px dotted #d7d7d7;
}
.list-top {
margin-bottom: 1px;
width: 100%;
.list-serial {
width: 18px;
height: 18px;
line-height: 18px;
background-color: #333333;
border-radius: 50%;
color: #ffffff;
font-size: 13px;
margin-right: 12px;
}
.list-tick {
width: 18px;
height: 18px;
margin-right: 12px;
}
.list-text {
font-size: 18px;
line-height: 24px;
color: #333333;
width: 400px;
}
}
.list-bottom {
color: #026277;
font-size: 13px;
padding: 2px;
justify-content: flex-end;
width: 100%;
display: none;
.list-length {
width: 100%;
height: 4px;
background-color: rgba(207, 247, 255, 1);
border-radius: 66px;
margin-right: 6px;
}
}
}
}
}
&.item-mj {
.school {
height: 45px;
border-bottom: 1px dotted #d7d7d7;
.icon {
height: 20px;
margin-right: 10px;
}
.text {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 20px;
color: #000000;
line-height: 36px;
}
}
.major {
height: 45px;
border-bottom: 1px dotted #d7d7d7;
.key {
font-size: 14px;
color: #7f7f7f;
margin-right: 20px;
}
.time {
font-family: "Arial-BoldMT", "Arial Bold", "Arial", sans-serif;
font-weight: 700;
font-style: normal;
font-size: 14px;
color: #026277;
}
}
.message {
margin-top: 13px;
font-size: 14px;
color: #555555;
}
}
.comment {
height: 40px;
background-color: rgba(246, 246, 246, 1);
border-radius: 10px;
padding: 0 10px;
.icon {
width: 20px;
height: 20px;
border-radius: 50%;
margin-right: 10px;
}
.text {
font-size: 14px;
color: #7f7f7f;
}
}
.bottom {
// margin-top: 15px;
height: 55px;
justify-content: flex-end;
.bottom-item {
cursor: pointer;
&:not(:last-child) {
margin-right: 60px;
}
.icon {
width: 20px;
height: 20px;
margin-right: 8px;
}
.text {
color: #aaaaaa;
font-size: 13px;
}
&.like {
.icon {
width: 18px;
height: 18px;
}
}
}
}
}
/* offer 录取结果 */
.results.r1 {
background-color: rgba(118, 196, 94, 1);
}
.results.r2 {
background-color: rgba(80, 227, 194, 1);
}
.results.r3 {
background-color: rgba(129, 211, 248, 1);
}
.results.r4 {
background-color: rgba(211, 81, 16, 1);
}
.results.r5 {
background-color: rgba(245, 154, 35, 1);
}
.results.r6 {
background-color: rgba(128, 128, 255, 1);
}