xg-project-library/css/contrastDetails.less
2024-11-25 17:20:58 +08:00

398 lines
11 KiB
Plaintext

.body {
border-radius: 12px;
background: rgb(255, 255, 255);
width: 1200px;
margin-bottom: 20px;
.item {
&:not(:last-of-type) {
.head {
border-bottom: 1px solid rgb(108, 121, 186);
}
}
&:first-of-type {
.head {
border-radius: 12px 0 0 0;
}
}
&:last-of-type {
.head {
border-radius: 0 0 0 12px;
}
}
.head {
width: 143px;
background-color: rgba(123, 140, 211, 1);
font-size: 14px;
color: #ffffff;
padding-left: 20px;
}
.thead {
text-align: center;
// border-right: 1px solid rgb(235, 235, 235);
padding: 20px;
border-bottom: 1px solid rgb(235, 235, 235);
&:not(:last-of-type) {
border-right: 1px solid rgb(235, 235, 235);
}
.tag {
.tag-item {
margin: 0;
font-weight: 400;
}
}
&.no-padding {
padding: 0;
border-bottom: none;
flex-direction: column;
}
.top {
position: relative;
padding: 20px 0;
border-bottom: 1px solid rgb(235, 235, 235);
.vs {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: -19px;
width: 38px;
height: 38px;
}
.name {
font-size: 15px;
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
color: rgb(0, 0, 0);
margin-bottom: 5px;
padding: 0 10px;
}
.name-en {
font-size: 13px;
line-height: 16px;
color: rgb(127, 127, 127);
margin-bottom: 10px;
font-weight: 400;
padding: 0 10px;
}
.school {
.icon {
height: 18px;
margin-right: 7px;
}
font-size: 14px;
color: rgb(51, 51, 51);
}
}
.operate {
padding: 20px 0;
position: relative;
.i {
&:not(:last-of-type) {
border-right: 1px solid #ebebeb;
}
.icon {
height: 16px;
cursor: pointer;
}
}
border-bottom: 1px solid rgb(235, 235, 235);
.add {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: -16px;
width: 32px;
height: 32px;
background-color: rgba(246, 246, 246, 1);
border-radius: 4px;
-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
cursor: pointer;
z-index: 1;
.icon {
width: 16px;
height: 16px;
}
}
}
.semester-box {
.semester {
width: 48px;
height: 20px;
background-color: rgba(249, 93, 93, 1);
border-radius: 6px;
font-size: 14px;
color: #ffffff;
}
}
.mode1 {
font-family: "Arial-Black", "Arial Black", sans-serif;
font-weight: 900;
font-size: 16px;
color: #000000;
}
.mode2 {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-size: 14px;
}
.mode3 {
font-family: "Arial-Black", "Arial Black", sans-serif;
font-weight: 900;
font-size: 16px;
.unit {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
color: #555555;
margin-left: 5px;
font-size: 13px;
}
}
.mode4 {
font-size: 14px;
line-height: 24px;
color: #333333;
text-align: left;
white-space: pre-line;
}
.mode5 {
height: 100%;
width: 100%;
font-size: 13px;
color: #333333;
}
}
}
}
.handle-project-mask {
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0;
left: 0;
z-index: 1;
.handle-project {
.handle-header {
height: 66px;
background: inherit;
background-color: rgba(123, 140, 211, 1);
border-radius: 12px 12px 0 0;
font-size: 14px;
color: #ffffff;
padding: 24px 0 22px 20px;
position: relative;
.cross {
position: absolute;
top: 0;
right: 0;
padding: 15px;
cursor: pointer;
.icon {
width: 12px;
height: 12px;
}
}
}
width: 640px;
.list {
height: 574px;
border-radius: 0 0 12px 12px;
padding-left: 50px;
overflow: auto;
padding-right: 5px;
background-color: #ffffff;
&::-webkit-scrollbar-track-piece {
background-color: transparent;
}
&::-webkit-scrollbar {
width: 7px;
height: 7px;
background-color: transparent;
}
&::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: rgba(235, 235, 235, 1);
}
.item {
padding: 15px 0;
margin-right: 10px;
&:not(:last-of-type) {
border-bottom: 1px dotted #d7d7d7;
}
.left {
.name {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 15px;
color: #000000;
margin-bottom: 5px;
position: relative;
&::after {
content: "";
position: absolute;
top: 50%;
left: -30px;
transform: translateY(-50%);
width: 7px;
height: 7px;
background-color: rgb(253, 223, 109);
border: 1px solid rgb(202, 177, 87);
border-radius: 50%;
box-sizing: border-box;
}
}
.english {
color: #7f7f7f;
font-size: 13px;
margin-bottom: 11px;
}
.bottom {
color: #333333;
font-size: 14px;
.icon {
height: 18px;
margin-right: 7px;
}
.line {
margin: 0 8px;
color: rgb(215, 215, 215);
}
.state {
color: #555555;
font-size: 13px;
height: 20px;
line-height: 20px;
padding: 0 6px;
background-color: rgba(242, 242, 242, 1);
border: 1px solid rgba(215, 215, 215, 1);
border-radius: 6px;
}
}
}
.btn {
cursor: pointer;
.icon {
width: 28px;
height: 28px;
}
}
}
}
}
}
.base-footer {
position: sticky;
bottom: 15px;
// left: 50%;
// transform: translateX(-50%);
// width: 700px;
// padding-left: 32px;
// padding-right: 5px;
justify-content: space-between;
pointer-events: none;
.base-box {
// bottom: 35px;
pointer-events: all;
height: 60px;
background: linear-gradient(260.537677791974deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
box-sizing: border-box;
border: 1px solid rgba(219, 224, 242, 1);
box-shadow: 0px 0px 7px rgba(123, 140, 211, 1);
border-radius: 153px;
padding-left: 32px;
padding-right: 5px;
&.isnosave {
width: 360px;
padding: 0;
justify-content: center;
padding-left: 5px;
.save {
display: none;
}
}
}
transition: all 0.3s;
// height: 60px;
// background: -webkit-linear-gradient(189.462322208026deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
// background: -moz-linear-gradient(260.537677791974deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
// background: linear-gradient(260.537677791974deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
// box-sizing: border-box;
// border: 1px solid rgba(219, 224, 242, 1);
// border-radius: 153px;
.item {
font-size: 15px;
color: #000000;
cursor: pointer;
.icon {
height: 20px;
margin-right: 5px;
}
}
.line {
margin: 0 20px;
color: rgb(215, 215, 215);
}
.save {
width: 406px;
height: 50px;
background-color: rgba(246, 246, 246, 1);
border-radius: 158px;
font-size: 14px;
color: #333333;
padding-left: 20px;
margin-left: 38px;
.icon {
width: 16px;
height: 16px;
margin: 0 10px;
}
.btn {
width: 140px;
height: 50px;
background-color: rgba(123, 140, 211, 1);
border-radius: 158px;
font-size: 16px;
color: #ffffff;
cursor: pointer;
}
}
}