xg-project-library/css/subject.less
2024-10-31 12:27:27 +08:00

334 lines
11 KiB
Plaintext

.box {
width: 1200px;
height: 396px;
background-color: rgba(255, 255, 255, 1);
border-radius: 12px;
position: relative;
margin-bottom: 20px;
&::after {
content: "";
position: absolute;
top: -5px;
left: 0;
width: 100%;
height: 66px;
background: -webkit-linear-gradient(0deg, rgba(123, 140, 211, 1) 0%, rgba(218, 227, 253, 1) 99%);
background: -moz-linear-gradient(90deg, rgba(123, 140, 211, 1) 0%, rgba(218, 227, 253, 1) 99%);
background: linear-gradient(90deg, rgba(123, 140, 211, 1) 0%, rgba(218, 227, 253, 1) 99%);
border-radius: 18px;
z-index: -1;
}
.tab {
height: 60px;
font-size: 14px;
color: #7f7f7f;
border-bottom: 1px dotted rgb(235, 235, 235);
padding-left: 24px;
.img {
width: 6px;
height: 10px;
margin: 0 15px;
}
.current {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 14px;
color: #000000;
}
}
.info {
padding: 41px 60px 0;
margin-bottom: 40px;
.img {
width: 120px;
height: 120px;
margin-right: 40px;
}
.title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 24px;
color: #000000;
margin-bottom: 20px;
}
.list {
flex-wrap: wrap;
.item {
width: fit-content;
height: 36px;
line-height: 36px;
padding: 0 17px;
background-color: rgba(251, 251, 251, 0);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 12px;
font-size: 14px;
color: #333333;
margin-bottom: 10px;
margin-right: 10px;
&.pitch {
background-color: rgba(123, 140, 211, 1);
color: #ffffff;
border: none;
}
}
}
}
}
.body {
background-color: rgba(255, 255, 255, 1);
border-radius: 12px;
// align-items: flex-start;
.left {
width: 200px;
font-size: 16px;
color: #333333;
border-right: 1px solid rgba(235, 235, 235, 1);
.item {
height: 56px;
padding-left: 34px;
.img {
width: 18px;
margin-right: 12px;
}
&.pitch {
background-color: rgba(251, 251, 251, 1);
border-top: 1px solid rgba(235, 235, 235, 1);
border-bottom: 1px solid rgba(235, 235, 235, 1);
width: 201px;
position: relative;
color: #000000;
font-weight: 650;
&::after {
content: "";
width: 5px;
height: 56px;
background-color: rgba(111, 193, 109, 1);
position: absolute;
top: 0;
left: 0;
}
}
}
}
.right {
background-color: rgba(251, 251, 251, 1);
border-top: 1px solid rgba(235, 235, 235, 1);
padding: 0 32px;
.h {
justify-content: space-between;
padding-top: 27px;
margin-bottom: 24px;
.total {
font-size: 14px;
color: #7f7f7f;
}
.item {
font-size: 14px;
color: #000000;
cursor: pointer;
.img-sort {
width: 20px;
height: 20px;
margin-left: 8px;
}
.img-school {
width: 16px;
height: 16px;
margin-left: 8px;
}
}
}
.list {
flex-wrap: wrap;
justify-content: space-between;
.item {
width: 460px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 12px;
padding: 21px 15px;
margin-bottom: 20px;
position: relative;
.name {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: #000000;
margin-bottom: 12px;
}
.english {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
color: #555555;
margin-bottom: 12px;
}
.introduce {
color: #555555;
font-size: 14px;
margin-bottom: 12px;
.quantity {
font-family: "Arial-Black", "Arial Black", sans-serif;
font-weight: 900;
color: #000000;
margin-left: 8px;
}
.line {
color: #d7d7d7;
margin: 0 10px;
}
}
.word {
background-color: rgba(249, 248, 248, 1);
border-radius: 3px;
padding: 10px 15px;
font-size: 14px;
color: #7f7f7f;
margin-bottom: 12px;
}
.tag {
.tag-item {
width: fit-content;
height: 24px;
line-height: 24px;
background-color: rgba(249, 248, 248, 1);
border: 1px solid rgba(170, 170, 170, 1);
border-radius: 6px;
padding: 0 9px;
font-size: 14px;
color: #7f7f7f;
margin-right: 10px;
&.gray {
background-color: rgba(51, 51, 51, 1);
color: #ffffff;
}
&.semester {
color: #ffffff;
background-color: rgba(249, 93, 93, 1);
}
}
}
.operate {
position: absolute;
top: 18px;
right: 24px;
.circle {
position: relative;
z-index: 1;
cursor: pointer;
width: 28px;
height: 28px;
background-color: rgba(219, 227, 253, 1);
border: 1px solid rgba(175, 181, 202, 1);
border-radius: 20px;
.img-add {
width: 12px;
height: 12px;
}
.img-dot {
width: 18px;
height: 8px;
}
}
.select {
position: absolute;
top: -18px;
right: -24px;
width: 285px;
background-color: rgba(251, 251, 251, 1);
border-radius: 8px;
-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
-webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
flex-direction: column;
transition: all 0.3s;
overflow: hidden;
opacity: 0;
height: 0;
align-items: center;
padding-top: 68px;
&.show {
height: 171px;
opacity: 1;
}
.title {
.dot {
width: 8px;
height: 8px;
border-radius: 50%;
border: 1px solid rgb(202, 177, 87);
background-color: rgb(253, 223, 109);
margin-right: 5px;
}
font-size: 14px;
color: #7f7f7f;
margin-bottom: 19px;
}
.btn {
cursor: pointer;
width: 144px;
height: 36px;
background: -webkit-linear-gradient(194.036243467926deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
background: -moz-linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
background: linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
border-radius: 158px;
font-size: 14px;
color: #333333;
.img {
width: 16px;
height: 16px;
margin-right: 8px;
}
}
// }
}
.already {
font-size: 14px;
color: #7f7f7f;
.tick-box {
width: 20px;
height: 20px;
background-color: rgba(246, 246, 246, 1);
border: 1px solid rgba(215, 215, 215, 1);
border-radius: 20px;
margin-right: 5px;
.img-tick {
width: 10px;
height: 8px;
}
}
}
}
}
}
}
}