xg-project-library/css/search.less
2024-12-18 14:54:40 +08:00

396 lines
14 KiB
Plaintext

.boxbox {
width: 1200px;
background-color: rgba(251, 251, 251, 1);
border-radius: 12px;
position: relative;
margin-bottom: 20px;
min-height: 60vh;
&::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;
a {
color: #7f7f7f;
&:hover {
text-decoration: underline;
color: #000000;
}
}
.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;
}
}
.body {
.left {
padding: 30px 24px 58px;
border-right: 1px dotted rgb(235, 235, 235);
.input-box {
width: 750px;
height: 48px;
background-color: rgba(255, 255, 255, 1);
border-radius: 10px;
padding: 0 20px;
margin-bottom: 30px;
position: relative;
z-index: 10;
border: 2px solid #c4c7ce;
&.input-active {
border-radius: 10px 10px 0 0;
border-bottom: none;
}
input {
border: none;
outline: none;
height: 100%;
background-color: transparent;
font-size: 14px;
}
.search-icon {
width: 18px;
height: 18px;
cursor: pointer;
}
.hint-list {
position: absolute;
width: 750px;
height: 0;
max-height: 400px;
top: 47px;
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;
box-shadow: 0px 5px 5px #dfdfdf;
@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;
}
}
}
}
.total {
font-size: 14px;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
color: #555555;
margin-bottom: 20px;
.sum {
font-weight: 650;
color: #000000;
margin: 0 5px;
}
}
.empty-box {
width: 750px;
height: 540px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 12px;
.icon {
margin-bottom: 12px;
}
}
.list {
.item {
width: 750px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 12px;
padding: 18px 15px;
margin-bottom: 20px;
position: relative;
display: block;
.school {
font-size: 14px;
color: #333333;
margin-bottom: 14px;
.icon {
height: 18px;
margin-right: 8px;
}
}
.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;
font-size: 14px;
color: #7f7f7f;
margin-bottom: 15px;
}
.operate {
position: absolute;
top: 18px;
right: 24px;
.circle {
position: relative;
z-index: 3;
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-mask {
position: fixed;
width: 100%;
height: 100%;
z-index: 2;
top: 0;
left: 0;
}
.select {
position: absolute;
top: -18px;
right: -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;
width: 0;
height: 0;
align-items: center;
padding-top: 68px;
z-index: 2;
&.show {
width: 285px;
height: 171px;
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;
}
}
}
.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;
}
}
}
}
}
}
}
.right {
width: 400px;
.title {
.dot {
width: 6px;
height: 16px;
background-color: rgba(253, 223, 109, 1);
border: 1px solid rgba(202, 177, 87, 1);
border-radius: 5px;
margin-right: 15px;
}
font-weight: 650;
font-style: normal;
font-size: 14px;
color: #000000;
margin-left: 23px;
margin-bottom: 20px;
margin-top: 30px;
}
.list {
font-size: 14px;
color: #333333;
flex-wrap: wrap;
margin-left: 44px;
.item {
width: fit-content;
// height: 36px;
// line-height: 36px;
text-align: center;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 12px;
padding: 7px 16px;
font-size: 14px;
margin-right: 10px;
margin-bottom: 10px;
cursor: pointer;
}
}
}
}
}
.base {
width: 360px;
border-radius: 153px;
border: 1px solid rgb(219, 224, 242);
background: linear-gradient(to right, rgb(238, 247, 245), rgb(219, 227, 253));
font-size: 15px;
color: #000000;
left: 50%;
transform: translateX(-50%);
.btn {
line-height: 50px;
margin: 0 24px;
cursor: pointer;
.img {
height: 20px;
margin-right: 6px;
}
}
.line {
width: 1px;
height: 20px;
background-color: rgb(215, 215, 215);
}
}