xg-project-library/css/school.less
2024-11-13 16:51:43 +08:00

767 lines
26 KiB
Plaintext

.boxbox {
width: 1200px;
// height: 396px;
background-color: rgba(251, 251, 251, 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;
}
a {
color: #7f7f7f;
}
.current {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 14px;
color: #000000;
}
}
.details {
padding: 31px 60px;
.logo {
width: 120px;
height: 120px;
position: relative;
z-index: 1;
padding-right: 10px;
padding-bottom: 7px;
margin-right: 39px;
display: inline-flex;
.bj {
width: 120px;
height: 120px;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.img {
width: 65px;
}
}
.right {
.name {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 32px;
color: #000000;
margin-bottom: 6px;
}
.name-en {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 16px;
color: #555555;
margin-bottom: 22px;
}
.world {
width: 423px;
padding-bottom: 15px;
margin-bottom: 27px;
border-bottom: 1px solid rgb(235, 235, 235);
.head {
width: 100%;
position: relative;
margin-bottom: 9px;
&::after {
content: "";
position: absolute;
top: 50%;
width: 100%;
height: 1px;
background-color: rgb(235, 235, 235);
}
.icon {
width: 90px;
background-color: #fbfbfb;
position: relative;
z-index: 1;
.img {
width: 64px;
height: 22px;
}
}
}
.list {
.item {
text-align: center;
flex-direction: column;
.quantity {
font-family: "Arial-Black", "Arial Black", sans-serif;
font-weight: 900;
font-style: normal;
font-size: 18px;
color: #000000;
margin-bottom: 9px;
}
.ranking-name {
font-family: "HelveticaNeue", "Helvetica Neue", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 16px;
color: #555555;
position: relative;
.ranking-icon {
position: absolute;
right: -10px;
bottom: 0;
width: 8px;
height: 8px;
transform: rotate(270deg);
}
}
}
}
}
.brief {
height: 40px;
background-color: rgba(246, 246, 246, 1);
border-radius: 6px;
font-size: 14px;
color: #7f7f7f;
line-height: 28px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 6px;
.brief-dom {
color: transparent;
pointer-events: none;
position: fixed;
top: -100000%;
width: 898px;
word-break: keep-all;
}
&.brief-show {
transition: all 0.3s;
height: auto;
flex-direction: column;
.text {
white-space: break-spaces;
margin-right: 0;
margin-bottom: 15px;
}
.img {
transform: rotate(180deg);
}
}
.text {
margin-right: 15px;
width: 878px;
}
.img {
width: 16px;
height: 16px;
cursor: pointer;
}
}
}
}
}
.hot {
background-color: rgba(255, 255, 255, 1);
border-radius: 12px;
padding: 24px;
margin-bottom: 20px;
.header {
.icon {
border-radius: 50%;
width: 40px;
height: 40px;
background-color: rgb(251, 227, 234);
margin-right: 13px;
.img {
width: 24px;
height: 24px;
}
}
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 18px;
color: #000000;
margin-bottom: 15px;
}
.list {
width: 1152px;
margin-bottom: 10px;
overflow: hidden;
.list-item {
width: 1152px;
grid-column-gap: 66px;
display: grid;
grid-template-columns: repeat(2, 1fr);
.item {
padding: 22px 5px 22px 0;
width: 510px;
height: 90px;
margin-left: 33px;
&:not(:nth-last-child(-n + 2)) {
border-bottom: 1px dotted #ebebeb;
}
.left {
.name {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 16px;
color: #000000;
margin-bottom: 6px;
position: relative;
&::after {
content: "";
width: 8px;
height: 8px;
background-color: rgba(242, 242, 242, 1);
border: 1px solid rgba(215, 215, 215, 1);
border-radius: 39px;
position: absolute;
top: 50%;
left: -20px;
transform: translateY(-50%);
box-sizing: border-box;
}
}
.text {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
color: #7f7f7f;
font-size: 14px;
.ranking {
color: #555555;
}
.vertical {
color: #d7d7d7;
margin: 0 8px;
}
.number {
font-family: "Arial-Black", "Arial Black", sans-serif;
font-weight: 900;
color: #000000;
margin-left: 8px;
}
}
}
.operate {
// height: 80px;
position: relative;
// position: absolute;
// top: 24px;
// 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-mask {
position: fixed;
width: 100%;
height: 100%;
z-index: 2;
top: 0;
left: 0;
}
.select {
position: absolute;
right: 40px;
top: 50%;
transform: translateY(-50%);
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: 324px;
padding-top: 10px;
&.show {
height: 90px;
opacity: 1;
}
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-bottom: 14px;
}
.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;
}
}
}
}
}
}
}
.indicate {
line-height: 12px;
.icon {
width: 7px;
height: 12px;
cursor: pointer;
&.btn-right {
transform: rotate(180deg);
}
}
.text {
color: #555555;
font-size: 13px;
margin: 0 12px;
}
}
}
.content {
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 12px;
.header {
height: 88px;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 24px;
color: #000000;
text-align: center;
}
.body {
// align-items: flex-start;
margin-bottom: 20px;
.left {
width: 200px;
font-size: 16px;
color: #333333;
border-right: 1px solid rgba(235, 235, 235, 1);
.item {
height: 56px;
padding-left: 34px;
cursor: pointer;
.img {
width: 18px;
height: 18px;
margin-right: 12px;
&.img-pitch {
display: none;
}
}
&.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;
.img {
display: none;
&.img-pitch {
display: block;
}
}
&::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;
border-radius: 0 0 12px 0;
.screen {
.title {
font-size: 15px;
color: #555555;
padding-top: 27px;
margin-bottom: 20px;
}
.list {
flex-wrap: wrap;
justify-content: left;
.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;
cursor: pointer;
&.pitch {
background-color: rgba(123, 140, 211, 1);
color: #ffffff;
border: none;
}
}
}
}
.h {
justify-content: space-between;
padding-top: 27px;
margin-bottom: 24px;
.total {
font-size: 14px;
color: #7f7f7f;
}
.sort {
font-size: 14px;
color: #000000;
cursor: pointer;
.img {
width: 20px;
height: 20px;
margin-left: 8px;
}
position: relative;
.sort-mask {
width: 100vw;
height: 100vh;
position: fixed;
top: 0;
left: 0;
z-index: 101;
}
.sort-list {
width: 100%;
background-color: #ffffff;
border: 1px solid #e4e7ed;
border-radius: 10px;
box-shadow: 0 0 12px rgba(0, 0, 0, 0.078);
position: absolute;
top: 25px;
left: 50%;
z-index: 102;
transform: translateX(-50%);
animation: sortShow 0.3s;
overflow: hidden;
@keyframes sortShow {
0% {
height: 0;
}
100% {
height: 150px;
}
}
.sort-item {
height: 50px;
line-height: 50px;
text-align: center;
&:not(:last-of-type) {
border-bottom: 1px solid #e4e7ed;
}
&.pitch {
color: #9a9d02;
font-weight: 650;
}
}
}
}
}
.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;
}
.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;
}
}
}
}
}
}
}
}
}