修改讨论加图片
This commit is contained in:
529
assets/css/details.less
Normal file
529
assets/css/details.less
Normal file
@@ -0,0 +1,529 @@
|
||||
@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: rgba(44, 186, 230, 1);
|
||||
--bg-color: rgba(234, 245, 248, 1);
|
||||
--bc-color: rgba(213, 235, 242, 1);
|
||||
|
||||
.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;
|
||||
.views {
|
||||
font-size: 12px;
|
||||
color: #aaa;
|
||||
font-weight: 400;
|
||||
.eye-icon {
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.left {
|
||||
width: 658px;
|
||||
min-height: calc(100vh - 165px);
|
||||
padding: 30px 42px 100px 30px;
|
||||
border-right: 16px solid #f6f6f6;
|
||||
.info {
|
||||
font-size: 13px;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 24px;
|
||||
|
||||
.info-left {
|
||||
.avatar {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 10px;
|
||||
cursor: pointer;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.username {
|
||||
color: #333;
|
||||
margin-right: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.post-time {
|
||||
line-height: 22px;
|
||||
color: #aaa;
|
||||
}
|
||||
}
|
||||
|
||||
.info-right {
|
||||
.cut-off {
|
||||
color: #aaa;
|
||||
}
|
||||
.state {
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
padding: 0 7px;
|
||||
color: #fff;
|
||||
background: var(--main-color);
|
||||
border-radius: 25px;
|
||||
font-size: 12px;
|
||||
margin-left: 10px;
|
||||
|
||||
&.over {
|
||||
background: rgba(51, 51, 51, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.message {
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
color: #333;
|
||||
margin-bottom: 30px;
|
||||
word-wrap: break-word;
|
||||
white-space: break-spaces;
|
||||
}
|
||||
|
||||
.hint {
|
||||
font-size: 13px;
|
||||
line-height: 22px;
|
||||
color: #aaaaaa;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.tick-icon {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin-top: 3px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.need-login {
|
||||
color: #585656;
|
||||
margin-top: 29px;
|
||||
font-size: 14px;
|
||||
.btn {
|
||||
width: 42px;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
border-radius: 5px;
|
||||
color: #fff;
|
||||
background: rgba(249, 93, 93, 1);
|
||||
margin: 0 6px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.option-list {
|
||||
flex-direction: column;
|
||||
.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;
|
||||
&::after {
|
||||
background-color: var(--bg-color);
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
&.unselected:hover::after {
|
||||
background-color: var(--main-color);
|
||||
opacity: 0.156862745098039;
|
||||
}
|
||||
|
||||
&:not(:last-of-type) {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
&.pitch {
|
||||
.option-number {
|
||||
display: none;
|
||||
}
|
||||
.tick-icon {
|
||||
display: block;
|
||||
}
|
||||
.option-content {
|
||||
color: #000000;
|
||||
font-weight: 650;
|
||||
}
|
||||
}
|
||||
|
||||
.serial {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 50%;
|
||||
background: var(--main-color);
|
||||
font-size: 11px;
|
||||
color: #ffffff;
|
||||
margin-top: 3px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.option-progress,
|
||||
.option-number,
|
||||
.tick-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.result {
|
||||
color: #dad5d5;
|
||||
}
|
||||
}
|
||||
}
|
||||
.option-area {
|
||||
width: 570px;
|
||||
background-color: var(--bg-color);
|
||||
border: 1px solid var(--bc-color);
|
||||
border-radius: 10px;
|
||||
padding: 8px 0;
|
||||
|
||||
.option-item {
|
||||
padding: 7px 15px 10px;
|
||||
flex-direction: column;
|
||||
word-break: break-all;
|
||||
cursor: no-drop;
|
||||
&:not(:last-of-type) {
|
||||
border-bottom: 1px solid var(--bc-color);
|
||||
}
|
||||
&.pitch {
|
||||
cursor: pointer;
|
||||
.option-number {
|
||||
display: none;
|
||||
}
|
||||
.tick-icon {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.option-content {
|
||||
font-weight: 650;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
&.cursor-no {
|
||||
cursor: no-drop;
|
||||
}
|
||||
|
||||
.serial {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
.tick-icon {
|
||||
display: none;
|
||||
}
|
||||
.option-content {
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
line-height: 20px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.option-progress {
|
||||
height: 5px;
|
||||
width: 100%;
|
||||
justify-content: flex-end;
|
||||
margin-top: 3px;
|
||||
|
||||
.option-progress-step {
|
||||
width: 24%;
|
||||
background-color: var(--main-color);
|
||||
opacity: 0.49803922;
|
||||
height: 4px;
|
||||
border-radius: 66px;
|
||||
margin-right: 14px;
|
||||
}
|
||||
.option-progress-value {
|
||||
font-size: 12px;
|
||||
color: var(--main-color);
|
||||
line-height: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.right {
|
||||
flex: 1;
|
||||
|
||||
.respond {
|
||||
padding: 22px 42px 30px;
|
||||
border-bottom: 5px solid #f6f6f6;
|
||||
.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;
|
||||
|
||||
.respond-amount {
|
||||
color: #555555;
|
||||
font-weight: 400;
|
||||
margin-left: 8px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.respond-list-btn {
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
color: #555555;
|
||||
font-size: 13px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.respond-list-btn-amount {
|
||||
font-weight: 650;
|
||||
color: #333;
|
||||
margin: 0 5px;
|
||||
}
|
||||
.respond-list-btn-icon {
|
||||
width: 6px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.respond-no {
|
||||
width: 377px;
|
||||
height: 30px;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border: 1px solid rgba(235, 235, 235, 1);
|
||||
border-radius: 208px;
|
||||
margin-bottom: 10px;
|
||||
position: relative;
|
||||
|
||||
.respond-no-box {
|
||||
justify-content: space-around;
|
||||
.item {
|
||||
line-height: 30px;
|
||||
font-size: 16px;
|
||||
font-family: "emojifont";
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.respond-box {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
position: relative;
|
||||
|
||||
.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 rgba(215, 215, 215, 1);
|
||||
background: #fff;
|
||||
|
||||
&.pitch {
|
||||
border: none;
|
||||
background: rgba(246, 246, 246, 1);
|
||||
}
|
||||
|
||||
.code {
|
||||
margin-right: 4px;
|
||||
line-height: 30px;
|
||||
font-size: 16px;
|
||||
font-family: "emojifont";
|
||||
}
|
||||
}
|
||||
|
||||
.respond-select {
|
||||
width: 250px;
|
||||
height: 30px;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border: 1px solid rgba(235, 235, 235, 1);
|
||||
border-radius: 208px;
|
||||
.respond-select-box {
|
||||
justify-content: space-around;
|
||||
.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 {
|
||||
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-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-amount {
|
||||
margin: 0 8px;
|
||||
font-weight: 650;
|
||||
color: #000000;
|
||||
}
|
||||
.respond-title-icon {
|
||||
position: absolute;
|
||||
width: 20px;
|
||||
right: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.respond-list {
|
||||
overflow: auto;
|
||||
height: 450px;
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background-color: #0003;
|
||||
border-radius: 10px;
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
.respond-item {
|
||||
display: flex;
|
||||
padding: 20px 0 0 20px;
|
||||
|
||||
&:not(:last-of-type) .respond-content {
|
||||
border-bottom: 1px dotted rgba(215, 215, 215, 0.5);
|
||||
}
|
||||
.respond-code {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background-color: rgba(246, 246, 246, 1);
|
||||
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;
|
||||
&.pitch {
|
||||
background-color: #f6f6bd;
|
||||
border: 1px solid #ccd003;
|
||||
}
|
||||
}
|
||||
|
||||
.respond-content {
|
||||
padding-bottom: 10px;
|
||||
.respond-total {
|
||||
font-size: 14px;
|
||||
color: #7f7f7f;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.user-item {
|
||||
font-size: 14px;
|
||||
color: #555555;
|
||||
display: inline-flex;
|
||||
margin-right: 20px;
|
||||
margin-bottom: 10px;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
|
||||
.user-avatar {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
border-radius: 50%;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.respond-pop-no {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
.respond-title-icon {
|
||||
position: absolute;
|
||||
width: 20px;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.respond-pop-no-icon {
|
||||
width: 90px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.respond-pop-no-text {
|
||||
font-size: 13px;
|
||||
color: #7f7f7f;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user