PC-vote/assets/css/details.css
2025-02-10 19:04:24 +08:00

478 lines
11 KiB
CSS

@font-face {
font-family: "emojifont";
src: url("https://oss.x-php.com/static/riposte/emojifont-sbix.ttf?t=vote");
}
.content {
width: 1200px;
margin: 0 auto;
border-radius: 16px;
background: #fff;
flex-wrap: wrap;
--main-color: #2cbae6;
--bg-color: #eaf5f8;
--bc-color: #d5ebf2;
}
.content .header {
width: 100%;
height: 80px;
padding: 0 30px;
border-bottom: 1px solid #ebebeb;
font-weight: 650;
font-size: 20px;
color: #000000;
line-height: 20px;
justify-content: space-between;
}
.content .header .views {
font-size: 12px;
color: #aaa;
font-weight: 400;
}
.content .header .views .eye-icon {
margin-right: 5px;
}
.content .left {
width: 658px;
min-height: calc(100vh - 165px);
padding: 30px 42px 100px 30px;
border-right: 16px solid #f6f6f6;
}
.content .left .info {
font-size: 13px;
justify-content: space-between;
margin-bottom: 24px;
}
.content .left .info .info-left .avatar {
width: 24px;
height: 24px;
margin-right: 10px;
cursor: pointer;
border-radius: 50%;
}
.content .left .info .info-left .username {
color: #333;
margin-right: 10px;
cursor: pointer;
}
.content .left .info .info-left .post-time {
line-height: 22px;
color: #aaa;
}
.content .left .info .info-right .cut-off {
color: #aaa;
}
.content .left .info .info-right .state {
height: 20px;
line-height: 20px;
padding: 0 7px;
color: #fff;
background: var(--main-color);
border-radius: 25px;
font-size: 12px;
margin-left: 10px;
}
.content .left .info .info-right .state.over {
background: #333333;
}
.content .left .message {
font-size: 14px;
line-height: 24px;
color: #333;
margin-bottom: 30px;
word-wrap: break-word;
white-space: break-spaces;
}
.content .left .hint {
font-size: 13px;
line-height: 22px;
color: #aaaaaa;
margin-bottom: 16px;
}
.content .left .tick-icon {
width: 14px;
height: 14px;
margin-top: 3px;
margin-right: 6px;
}
.content .left .need-login {
color: #585656;
margin-top: 29px;
font-size: 14px;
}
.content .left .need-login .btn {
width: 42px;
height: 24px;
line-height: 24px;
text-align: center;
border-radius: 5px;
color: #fff;
background: #f95d5d;
margin: 0 6px;
cursor: pointer;
}
.content .left .option-list {
flex-direction: column;
}
.content .left .option-list .option-item {
width: 570px;
border: 1px solid var(--bc-color);
border-radius: 10px;
word-break: break-all;
font-size: 14px;
line-height: 20px;
color: #333333;
padding: 9px 15px;
cursor: pointer;
position: relative;
overflow: hidden;
z-index: 1;
}
.content .left .option-list .option-item::after {
background-color: var(--bg-color);
content: "";
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.content .left .option-list .option-item.unselected:hover::after {
background-color: var(--main-color);
opacity: 0.15686275;
}
.content .left .option-list .option-item:not(:last-of-type) {
margin-bottom: 10px;
}
.content .left .option-list .option-item.pitch .option-number {
display: none;
}
.content .left .option-list .option-item.pitch .tick-icon {
display: block;
}
.content .left .option-list .option-item.pitch .option-content {
color: #000000;
font-weight: 650;
}
.content .left .option-list .option-item .serial {
width: 14px;
height: 14px;
border-radius: 50%;
background: var(--main-color);
font-size: 11px;
color: #ffffff;
margin-top: 3px;
margin-right: 6px;
}
.content .left .option-list .option-item .option-progress,
.content .left .option-list .option-item .option-number,
.content .left .option-list .option-item .tick-icon {
display: none;
}
.content .left .option-list .option-item .result {
color: #dad5d5;
}
.content .left .option-area {
width: 570px;
background-color: var(--bg-color);
border: 1px solid var(--bc-color);
border-radius: 10px;
padding: 8px 0;
}
.content .left .option-area .option-item {
padding: 7px 15px 10px;
flex-direction: column;
word-break: break-all;
cursor: no-drop;
}
.content .left .option-area .option-item:not(:last-of-type) {
border-bottom: 1px solid var(--bc-color);
}
.content .left .option-area .option-item.pitch {
cursor: pointer;
}
.content .left .option-area .option-item.pitch .option-number {
display: none;
}
.content .left .option-area .option-item.pitch .tick-icon {
display: block;
}
.content .left .option-area .option-item.pitch .option-content {
font-weight: 650;
color: #000000;
}
.content .left .option-area .option-item.cursor-no {
cursor: no-drop;
}
.content .left .option-area .option-item .serial {
display: none;
}
.content .left .option-area .option-item .option-number {
font-size: 11px;
color: #ffffff;
width: 14px;
height: 14px;
background-color: var(--main-color);
border-radius: 50%;
margin-right: 6px;
margin-top: 3px;
}
.content .left .option-area .option-item .tick-icon {
display: none;
}
.content .left .option-area .option-item .option-content {
font-size: 14px;
color: #333;
line-height: 20px;
word-break: break-word;
}
.content .left .option-area .option-item .option-progress {
height: 5px;
width: 100%;
justify-content: flex-end;
margin-top: 3px;
}
.content .left .option-area .option-item .option-progress .option-progress-step {
width: 24%;
background-color: var(--main-color);
opacity: 0.49803922;
height: 4px;
border-radius: 66px;
margin-right: 14px;
}
.content .left .option-area .option-item .option-progress .option-progress-value {
font-size: 12px;
color: var(--main-color);
line-height: 20px;
}
.content .right {
flex: 1;
}
.content .right .respond {
padding: 22px 42px 30px;
border-bottom: 5px solid #f6f6f6;
}
.content .right .respond .respond-title {
font-size: 16px;
line-height: 20px;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
color: #000000;
margin-bottom: 20px;
}
.content .right .respond .respond-title .respond-amount {
color: #555555;
font-weight: 400;
margin-left: 8px;
flex: 1;
}
.content .right .respond .respond-title .respond-list-btn {
font-weight: 400;
cursor: pointer;
color: #555555;
font-size: 13px;
display: flex;
align-items: center;
}
.content .right .respond .respond-title .respond-list-btn .respond-list-btn-amount {
font-weight: 650;
color: #333;
margin: 0 5px;
}
.content .right .respond .respond-title .respond-list-btn .respond-list-btn-icon {
width: 6px;
margin-left: 5px;
}
.content .right .respond .respond-no {
width: 377px;
height: 30px;
background-color: #ffffff;
border: 1px solid #ebebeb;
border-radius: 208px;
margin-bottom: 10px;
position: relative;
}
.content .right .respond .respond-no .respond-no-box {
justify-content: space-around;
}
.content .right .respond .respond-no .respond-no-box .item {
line-height: 30px;
font-size: 16px;
font-family: "emojifont";
cursor: pointer;
}
.content .right .respond .respond-box {
display: flex;
flex-wrap: wrap;
position: relative;
}
.content .right .respond .respond-box .item {
font-size: 12px;
color: #555555;
height: 30px;
border-radius: 8px;
padding: 0 6px;
display: inline-flex;
margin-right: 10px;
margin-bottom: 10px;
cursor: pointer;
user-select: none;
border: 1px solid #d7d7d7;
background: #fff;
}
.content .right .respond .respond-box .item.pitch {
border: none;
background: #f6f6f6;
}
.content .right .respond .respond-box .item .code {
margin-right: 4px;
line-height: 30px;
font-size: 16px;
font-family: "emojifont";
}
.content .right .respond .respond-box .respond-select {
width: 250px;
height: 30px;
background-color: #ffffff;
border: 1px solid #ebebeb;
border-radius: 208px;
}
.content .right .respond .respond-box .respond-select .respond-select-box {
justify-content: space-around;
}
.content .right .respond .respond-box .respond-select .respond-select-box .respond-select-item {
cursor: pointer;
font-size: 16px;
font-family: "emojifont";
line-height: 30px;
}
.respond-pop-mask {
width: 100vw;
height: 100vh;
position: fixed;
top: 0;
left: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 10;
display: flex;
justify-content: center;
align-items: center;
}
.respond-pop-mask .respond-pop {
width: 600px;
height: 500px;
background-color: #fff;
border: 1px solid #e5e5e5;
border-radius: 20px;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.21);
-webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.21);
}
.respond-pop-mask .respond-pop .respond-pop-title {
height: 50px;
display: flex;
justify-content: center;
border-bottom: 1px dotted rgba(215, 215, 215, 0.5);
align-items: center;
color: #555555;
position: relative;
}
.respond-pop-mask .respond-pop .respond-pop-title .respond-pop-amount {
margin: 0 8px;
font-weight: 650;
color: #000000;
}
.respond-pop-mask .respond-pop .respond-pop-title .respond-title-icon {
position: absolute;
width: 20px;
right: 20px;
cursor: pointer;
}
.respond-pop-mask .respond-pop .respond-list {
overflow: auto;
height: 450px;
}
.respond-pop-mask .respond-pop .respond-list::-webkit-scrollbar-track {
border-radius: 10px;
}
.respond-pop-mask .respond-pop .respond-list::-webkit-scrollbar-thumb {
background-color: #0003;
border-radius: 10px;
transition: all 0.2s ease-in-out;
}
.respond-pop-mask .respond-pop .respond-list::-webkit-scrollbar {
width: 6px;
}
.respond-pop-mask .respond-pop .respond-list .respond-item {
display: flex;
padding: 20px 0 0 20px;
}
.respond-pop-mask .respond-pop .respond-list .respond-item:not(:last-of-type) .respond-content {
border-bottom: 1px dotted rgba(215, 215, 215, 0.5);
}
.respond-pop-mask .respond-pop .respond-list .respond-item .respond-code {
width: 60px;
height: 60px;
background-color: #f6f6f6;
border-radius: 10px;
font-family: "emojifont";
font-size: 25px;
display: flex;
justify-content: center;
align-items: center;
margin-right: 20px;
cursor: pointer;
box-sizing: border-box;
}
.respond-pop-mask .respond-pop .respond-list .respond-item .respond-code.pitch {
background-color: #f6f6bd;
border: 1px solid #ccd003;
}
.respond-pop-mask .respond-pop .respond-list .respond-item .respond-content {
padding-bottom: 10px;
}
.respond-pop-mask .respond-pop .respond-list .respond-item .respond-content .respond-total {
font-size: 14px;
color: #7f7f7f;
margin-bottom: 10px;
}
.respond-pop-mask .respond-pop .respond-list .respond-item .respond-content .user-item {
font-size: 14px;
color: #555555;
display: inline-flex;
margin-right: 20px;
margin-bottom: 10px;
align-items: center;
cursor: pointer;
}
.respond-pop-mask .respond-pop .respond-list .respond-item .respond-content .user-item .user-avatar {
width: 26px;
height: 26px;
border-radius: 50%;
margin-right: 10px;
}
.respond-pop-mask .respond-pop .respond-pop-no {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
position: relative;
}
.respond-pop-mask .respond-pop .respond-pop-no .respond-title-icon {
position: absolute;
width: 20px;
top: 20px;
right: 20px;
cursor: pointer;
}
.respond-pop-mask .respond-pop .respond-pop-no .respond-pop-no-icon {
width: 90px;
margin-bottom: 15px;
}
.respond-pop-mask .respond-pop .respond-pop-no .respond-pop-no-text {
font-size: 13px;
color: #7f7f7f;
line-height: 22px;
}