xg-project-library/css/index.less

809 lines
24 KiB
Plaintext
Raw Normal View History

2024-11-25 04:32:12 +00:00
:root {
--main-color: #3498db;
}
2024-10-31 04:27:27 +00:00
.header-box {
width: 100%;
height: 130px;
padding: 0 50px;
border-radius: 12px;
justify-content: space-between;
position: relative;
margin-bottom: 20px;
&:before {
content: "";
position: absolute;
2024-10-31 11:03:26 +00:00
top: 0;
2024-10-31 04:27:27 +00:00
left: 0;
width: 100%;
height: 100%;
border-radius: 12px;
background-image: linear-gradient(to right, rgba(60, 26, 94, 0.717647), rgba(53, 60, 90, 0.886275));
z-index: -1;
}
.bj {
position: absolute;
top: 0;
left: 0;
z-index: -2;
2024-11-15 06:53:26 +00:00
width: 100%;
height: 130px;
border-radius: 12px;
2024-10-31 04:27:27 +00:00
}
.search {
width: 610px;
height: 48px;
background-color: rgba(255, 255, 255, 0.4);
2024-12-19 06:07:34 +00:00
border: 1px solid rgba(255, 255, 255, 0.2);
2024-10-31 04:27:27 +00:00
border-radius: 183px;
padding: 0 20px;
cursor: pointer;
2024-12-18 04:32:05 +00:00
position: relative;
2024-12-18 06:12:48 +00:00
z-index: 10;
2024-12-18 07:23:00 +00:00
transition: all 0.1s;
2024-12-18 04:27:24 +00:00
2024-12-18 07:12:51 +00:00
&.input-active {
2024-12-18 07:17:58 +00:00
border: 1px solid #c4c7ce;
background-color: #ffffff;
2024-12-18 07:12:51 +00:00
border-radius: 10px 10px 0 0;
border-bottom: none;
2024-12-18 07:17:58 +00:00
.input {
color: #333;
}
2024-12-18 07:12:51 +00:00
}
2024-10-31 04:27:27 +00:00
.input {
height: 48px;
line-height: 48px;
background-color: transparent;
color: #ffffff;
2024-12-18 04:27:24 +00:00
border: none;
outline: none;
2024-12-18 04:28:15 +00:00
font-size: 16px;
2024-12-18 04:29:07 +00:00
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
2024-12-18 07:32:19 +00:00
padding-right: 10px;
2024-12-18 04:27:24 +00:00
&::placeholder {
color: #ffffff;
}
2024-10-31 04:27:27 +00:00
}
.search-icon {
width: 22px;
height: 22px;
}
2024-12-18 07:10:46 +00:00
.hint-list {
position: absolute;
2024-12-18 07:11:11 +00:00
width: 610px;
2024-12-18 07:10:46 +00:00
height: 0;
max-height: 400px;
top: 46px;
left: -1px;
background-color: rgba(255, 255, 255, 1);
border-radius: 0 0 10px 10px;
z-index: 10;
overflow: auto;
animation: hintShow 0.3s forwards;
border: 0px solid #c4c7ce;
border-top: none;
2024-12-18 07:17:58 +00:00
// box-shadow: 0px 5px 5px #dfdfdf;
2024-12-18 07:10:46 +00:00
@keyframes hintShow {
0% {
height: 0;
}
100% {
border-width: 1px;
height: auto;
}
}
.item {
color: #333333;
font-size: 14px;
padding: 10px 20px;
cursor: pointer;
line-height: 30px;
display: block;
&:not(:last-of-type) {
border-bottom: 1px #e6e4e4 dotted;
}
}
}
2024-10-31 04:27:27 +00:00
}
.btn {
.item {
width: 160px;
height: 40px;
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: 70px;
margin-left: 20px;
font-size: 16px;
color: #000000;
cursor: pointer;
.icon {
height: 22px;
margin-right: 8px;
}
}
}
}
.screen {
margin-bottom: 20px;
.block {
// height: 250px;
background-color: rgba(255, 255, 255, 1);
border-radius: 12px;
padding: 24px 34px 32px;
.title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-size: 18px;
color: #000000;
margin-bottom: 26px;
.icon {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
.img {
width: 24px;
}
}
}
.list {
.item {
width: fit-content;
height: 36px;
line-height: 36px;
background-color: rgba(251, 251, 251, 1);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 12px;
font-size: 14px;
color: #333;
cursor: pointer;
2024-12-18 06:18:11 +00:00
text-align: center;
2024-10-31 04:27:27 +00:00
}
}
&.school {
width: 500px;
margin-right: 20px;
.title {
.icon {
background-color: rgb(213, 241, 247);
}
}
.list {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 10px;
.item {
width: 78px;
}
}
}
&.subject {
2024-11-19 09:31:46 +00:00
padding-bottom: 12px;
2024-10-31 04:27:27 +00:00
.title {
.icon {
background-color: rgb(253, 239, 188);
}
}
.list {
flex-wrap: wrap;
.item {
padding: 0 17px;
margin-right: 10px;
margin-bottom: 10px;
}
}
}
}
}
.fate {
width: 100%;
background-color: rgba(255, 255, 255, 1);
border-radius: 12px;
margin-bottom: 20px;
padding: 31px 37px 10px;
.title {
justify-content: space-between;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-size: 18px;
color: #000000;
margin-bottom: 6px;
.btn {
font-weight: 400;
color: #555555;
font-size: 14px;
cursor: pointer;
.icon {
width: 16px;
height: 16px;
margin-right: 8px;
2024-11-25 04:25:59 +00:00
transition: transform 0.5s ease;
2024-11-25 06:04:48 +00:00
transform: rotate(var(--rotation, 0deg)); /* 使用CSS变量 */
2024-10-31 04:27:27 +00:00
}
}
}
.list {
justify-content: space-between;
flex-wrap: wrap;
.item {
2024-12-16 10:28:33 +00:00
width: 510px;
2024-10-31 04:27:27 +00:00
margin-left: 20px;
padding-top: 22px;
padding-bottom: 22px;
justify-content: space-between;
&:not(:nth-last-child(-n + 2)) {
border-bottom: 1px dotted rgb(235, 235, 235);
}
.left {
2024-12-16 10:24:31 +00:00
position: relative;
2024-12-16 10:22:55 +00:00
&::after {
content: "";
position: absolute;
2024-12-16 10:24:31 +00:00
top: 10px;
2024-12-16 10:22:55 +00:00
left: -20px;
transform: translateY(-50%);
width: 8px;
height: 8px;
background-color: rgba(242, 242, 242, 1);
border: 1px solid rgba(215, 215, 215, 1);
border-radius: 39px;
box-sizing: border-box;
}
2024-10-31 04:27:27 +00:00
.name {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-size: 16px;
color: #000000;
2024-11-22 04:06:09 +00:00
margin-bottom: 7px;
2024-10-31 04:27:27 +00:00
position: relative;
2024-10-31 11:03:26 +00:00
max-width: 405px;
2024-11-15 07:20:42 +00:00
box-sizing: border-box;
2024-10-31 04:27:27 +00:00
}
.message {
color: #7f7f7f;
font-size: 14px;
2024-10-31 11:03:26 +00:00
.project {
max-width: 280px;
2024-11-15 06:15:18 +00:00
font-weight: 400;
2024-11-15 06:18:25 +00:00
font-size: 14px;
2024-10-31 11:03:26 +00:00
}
2024-10-31 04:27:27 +00:00
.virgule {
color: #d7d7d7;
2024-11-22 04:06:09 +00:00
margin: 0 9px;
2024-10-31 04:27:27 +00:00
}
}
}
.btn {
width: 110px;
height: 32px;
background: -webkit-linear-gradient(196.220193695603deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
background: -moz-linear-gradient(253.779806304397deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
background: linear-gradient(253.779806304397deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
border-radius: 61px;
font-size: 14px;
color: #000000;
cursor: pointer;
.add {
width: 24px;
height: 24px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(219, 227, 253, 1);
border-radius: 20px;
margin: 0 3px;
.icon {
width: 10px;
height: 10px;
}
}
}
2024-10-31 11:03:26 +00:00
.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;
}
}
}
2024-10-31 04:27:27 +00:00
}
}
}
.recruit {
width: 100%;
2024-12-16 10:20:31 +00:00
// height: 502px;
2024-11-21 03:50:15 +00:00
// background: linear-gradient(-36.4940455615096deg, rgba(207, 224, 249, 1) -23%, rgba(241, 242, 223, 1) 39%, rgba(238, 247, 245, 1) 114%);
2024-10-31 04:27:27 +00:00
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 16px;
padding: 24px 30px 24px;
margin-bottom: 20px;
2024-11-21 03:50:15 +00:00
position: relative;
z-index: 1;
2024-10-31 04:27:27 +00:00
.title {
justify-content: space-between;
margin-bottom: 20px;
.img {
width: 100px;
height: 26px;
}
.btn {
font-size: 14px;
color: #333333;
cursor: pointer;
.icon {
width: 16px;
height: 16px;
margin-left: 7px;
transform: rotate(270deg);
}
}
}
.list {
overflow: hidden;
margin-bottom: 20px;
2024-12-17 07:19:33 +00:00
width: 1140px;
2024-10-31 04:27:27 +00:00
.list-item {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
2024-12-27 06:58:23 +00:00
// opacity: 0;
// transition: all 0.3s;
// animation: listShow 0.3s forwards;
// @keyframes listShow {
// 0% {
// opacity: 0;
// }
// 100% {
// opacity: 1;
// }
// }
// &.active {
// opacity: 1;
// }
2024-10-31 04:27:27 +00:00
}
.item {
width: 565px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 12px;
// padding-top: 25px;
padding: 25px 24px;
align-items: flex-start;
position: relative;
.avatar {
width: 32px;
object-fit: contain;
margin-right: 10px;
}
2024-11-13 11:16:00 +00:00
2024-10-31 04:27:27 +00:00
.info {
.school {
font-size: 14px;
color: #333333;
margin-bottom: 10px;
}
.name {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-size: 16px;
color: #000000;
margin-bottom: 10px;
2024-10-31 11:03:26 +00:00
width: 490px;
2024-10-31 04:27:27 +00:00
}
.name-en {
font-size: 14px;
color: #7f7f7f;
2024-12-16 10:20:31 +00:00
// margin-bottom: 15px;
2024-10-31 11:03:26 +00:00
width: 490px;
2024-11-15 06:15:18 +00:00
font-weight: 40;
2024-10-31 04:27:27 +00:00
}
.aq {
width: 477px;
height: 36px;
line-height: 36px;
background-color: rgba(249, 248, 248, 1);
border-radius: 3px;
padding: 0 10px;
.text {
font-size: 14px;
color: #e4c762;
margin-right: 10px;
}
.value {
font-size: 15px;
color: #333333;
}
.icon {
width: 20px;
height: 20px;
}
}
}
.operate {
// height: 80px;
position: relative;
position: absolute;
top: 24px;
right: 24px;
.circle {
position: relative;
2024-12-27 06:51:53 +00:00
z-index: 3;
2024-10-31 04:27:27 +00:00
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;
right: -24px;
top: -24px;
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;
width: 300px;
2024-11-21 03:35:22 +00:00
// z-index: 2;
2024-10-31 04:27:27 +00:00
&.show {
height: 180px;
opacity: 1;
2024-12-10 07:57:28 +00:00
z-index: 2;
2024-10-31 04:27:27 +00:00
}
flex-direction: column;
align-items: center;
.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-top: 75px;
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;
}
}
2024-10-31 11:03:26 +00:00
}
.select-mask {
position: fixed;
width: 100%;
height: 100%;
z-index: 2;
top: 0;
left: 0;
2024-10-31 04:27:27 +00:00
}
.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;
}
}
}
}
}
}
.indicate {
line-height: 12px;
.icon {
width: 7px;
height: 12px;
cursor: pointer;
2024-10-31 11:03:26 +00:00
&.btn-right {
transform: rotate(180deg);
}
2024-10-31 04:27:27 +00:00
}
.text {
color: #555555;
font-size: 13px;
margin: 0 12px;
}
}
2024-11-21 03:50:15 +00:00
.bj {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
2024-11-21 03:51:18 +00:00
border-radius: 12px;
2024-11-21 03:50:15 +00:00
}
2024-10-31 04:27:27 +00:00
}
.data {
.fall {
2024-11-22 08:44:43 +00:00
// width: 285px;
width: 284px;
height: 284px;
2024-10-31 04:27:27 +00:00
display: block;
2024-10-31 11:03:26 +00:00
margin-bottom: 20px;
2024-11-22 08:43:59 +00:00
border-radius: 12px;
2024-10-31 04:27:27 +00:00
}
.item {
width: 285px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 12px;
padding: 21px 15px 0;
2024-10-31 11:03:26 +00:00
margin-bottom: 20px;
2024-10-31 04:27:27 +00:00
.school {
.img {
height: 20px;
margin-right: 8px;
}
font-size: 14px;
color: #333333;
margin-bottom: 12px;
}
.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;
}
.name-en {
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;
2024-10-31 11:03:26 +00:00
flex-wrap: wrap;
2024-10-31 04:27:27 +00:00
.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;
2024-11-29 10:39:47 +00:00
padding: 10px;
2024-10-31 04:27:27 +00:00
font-size: 14px;
color: #7f7f7f;
margin-bottom: 12px;
}
2024-11-13 11:16:00 +00:00
.type {
width: 284px;
2024-11-21 03:53:46 +00:00
height: 38px;
2024-11-22 04:19:22 +00:00
background: linear-gradient(82.2713630040484deg, rgba(236, 246, 246, 1) 0%, rgba(221, 235, 248, 1) 65%, rgba(227, 228, 251, 1) 99%);
2024-11-13 11:16:00 +00:00
border-radius: 0 0 12px 12px;
margin-left: -15px;
.type-name {
2024-11-21 03:53:46 +00:00
width: 70px;
height: 18px;
2024-11-13 11:16:00 +00:00
}
.type-icon {
width: 40px;
height: 40px;
position: absolute;
2024-12-16 10:30:47 +00:00
bottom: 36px;
2024-11-13 11:16:00 +00:00
right: 0;
}
}
2024-10-31 04:27:27 +00:00
.operate {
height: 80px;
position: relative;
2024-12-10 08:09:30 +00:00
cursor: auto;
2024-10-31 04:27:27 +00:00
.circle {
position: relative;
2024-11-04 09:19:25 +00:00
// z-index: 1;
z-index: 6;
2024-10-31 04:27:27 +00:00
cursor: pointer;
width: 28px;
height: 28px;
background-color: rgba(219, 227, 253, 1);
border: 1px solid rgba(175, 181, 202, 1);
border-radius: 20px;
2024-12-16 10:42:30 +00:00
margin-bottom: 10px;
2024-10-31 04:27:27 +00:00
.img-add {
width: 12px;
height: 12px;
}
.img-dot {
width: 18px;
height: 8px;
}
}
.select {
position: absolute;
bottom: 0;
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;
2024-11-04 09:19:25 +00:00
z-index: 4;
2024-10-31 04:27:27 +00:00
&.show {
height: 211px;
opacity: 1;
}
.top {
flex-direction: column;
.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;
}
}
}
.bottom {
border-top: 1px dotted #ebebeb;
height: 80px;
}
}
2024-10-31 11:03:26 +00:00
.select-mask {
position: fixed;
width: 100%;
height: 100%;
z-index: 2;
top: 0;
left: 0;
}
2024-11-13 11:16:00 +00:00
2024-10-31 04:27:27 +00:00
.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;
}
}
}
}
}
}