xg-project-library/css/common.less
2024-11-18 17:16:23 +08:00

852 lines
28 KiB
Plaintext

* {
padding: 0;
margin: 0;
box-sizing: border-box;
text-decoration: auto;
word-break: break-word;
}
.flexflex {
display: flex;
}
.flexcenter {
display: flex;
justify-content: center;
align-items: center;
}
.flexjcenter {
display: flex;
justify-content: center;
}
.flexacenter {
display: flex;
align-items: center;
}
.flex1 {
flex: 1;
}
.flexcolumn {
display: flex;
flex-direction: column;
}
body {
background-color: rgba(238, 242, 245, 1);
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
}
.main {
width: 1200px;
margin: 0 auto;
.index-icon {
width: 184px;
height: 42px;
margin-top: 37px;
margin-bottom: 40px;
}
}
.base {
width: 640px;
height: 60px;
background-color: rgba(123, 140, 211, 1);
border-radius: 153px;
position: sticky;
bottom: 15px;
left: 50%;
transform: translateX(-50%);
z-index: 100;
.left {
width: 450px;
height: 50px;
background-color: #fff;
border-radius: 153px 15px 15px 153px;
margin-right: 5px;
padding: 0 20px;
.text {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 16px;
color: rgba(170, 170, 170, 0.901960784313726);
}
.img {
width: 20px;
height: 20px;
}
}
.rigth {
width: 175px;
height: 50px;
background-color: #fff;
border-radius: 15px 153px 153px 15px;
padding-left: 19px;
cursor: pointer;
.img {
width: 25px;
height: 22px;
margin-right: 5px;
}
.text {
font-size: 16px;
color: #333333;
margin-right: 9px;
}
.number {
height: 20px;
line-height: 20px;
background-color: rgba(242, 242, 242, 1);
border-radius: 150px;
font-size: 13px;
color: #f95d5d;
padding: 0 8px;
&.number-no {
background-color: transparent;
}
}
}
}
.one-line-display {
word-break: keep-all;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tag {
flex-wrap: wrap;
.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;
margin-bottom: 10px;
flex-wrap: wrap;
&.gray {
background-color: rgba(51, 51, 51, 1);
color: #ffffff;
border: none;
}
&.semester {
color: #ffffff;
background-color: rgba(249, 93, 93, 1);
border: none;
}
&.admissions {
background-color: rgba(115, 209, 229, 1);
border: none;
color: #fff;
}
}
}
.red-dot {
position: fixed;
width: 10px;
height: 10px;
background-color: red;
border-radius: 50%;
top: -5%;
left: -5%;
z-index: 101;
transition: left 0.3s linear, top 0.3s cubic-bezier(0.5, -0.5, 1, 1);
}
.my-project {
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0;
left: 0;
z-index: 999;
display: flex;
justify-content: center;
.my-box {
.head {
height: 54px;
background-color: rgba(123, 140, 211, 1);
border-radius: 10px 10px 0 0;
justify-content: space-between;
.item {
width: 400px;
font-size: 16px;
color: #ffffff;
position: relative;
height: 100%;
z-index: 1;
cursor: pointer;
&.pitch {
color: #000000;
.bj,
.icon {
display: block;
}
}
.bj {
display: none;
width: 474px;
height: 61px;
position: absolute;
bottom: -1px;
z-index: -1;
&.bj-left {
left: 0;
}
&.bj-right {
right: 0;
transform: rotate(180deg) scaleY(-1);
}
}
.icon {
display: none;
width: 25px;
height: 22px;
margin-right: 8px;
}
}
}
.contrast-box {
background-color: rgba(255, 255, 255, 1);
border-radius: 0 0 12px 12px;
.left {
width: 580px;
&.left1 {
width: 820px;
}
.hint {
height: 65px;
color: #333333;
padding: 25px 30px 20px;
border-bottom: 1px solid rgb(235, 235, 235);
justify-content: space-between;
.text {
font-size: 14px;
}
.btn {
.delete {
width: 64px;
height: 32px;
line-height: 32px;
text-align: center;
background-color: rgba(123, 140, 211, 0);
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 32px;
margin-right: 10px;
font-size: 14px;
color: #d7d7d7;
&.have {
border-color: rgba(215, 215, 215, 1);
color: #333333;
cursor: pointer;
&:hover {
color: #fff;
border: none;
background-color: rgba(249, 93, 93, 1);
}
}
}
.begin {
width: 130px;
height: 32px;
line-height: 32px;
text-align: center;
background-color: rgba(242, 242, 242, 1);
border-radius: 32px;
font-size: 15px;
color: #ffffff;
&.have {
background-color: rgba(111, 193, 109, 1);
cursor: pointer;
&:hover {
background-color: rgba(79, 164, 77, 1);
}
}
}
}
}
.empty-box {
height: 575px;
.icon {
margin-bottom: 18px;
}
}
.list {
height: 575px;
overflow: auto;
margin-right: 5px;
&::-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;
justify-content: space-between;
margin-left: 30px;
margin-right: 27px;
&.pitch {
background-color: rgba(246, 246, 246, 1);
}
// &:hover {
// background-color: rgba(246, 246, 246, 1);
// }
&:not(:last-of-type) {
border-bottom: 1px dotted rgb(215, 215, 215);
}
.left {
padding-left: 40px;
.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;
box-sizing: border-box;
background-color: rgb(253, 223, 109);
border: 1px solid rgb(202, 177, 87);
border-radius: 50%;
}
}
.english {
color: #7f7f7f;
font-size: 13px;
margin-bottom: 10px;
}
.message {
font-size: 14px;
color: #333333;
.icon {
width: 18px;
height: 18px;
margin-right: 7px;
}
.line {
color: rgb(215, 215, 215);
margin: 0 12px;
}
.state-text {
padding: 0 6px;
background-color: rgba(242, 242, 242, 1);
border: 1px solid rgba(215, 215, 215, 1);
border-radius: 6px;
color: #555555;
font-size: 13px;
}
}
}
.btn {
padding: 10px;
cursor: pointer;
.icon {
width: 20px;
height: 20px;
}
&.btn-forbid {
cursor: not-allowed !important;
}
&.btn-normal {
cursor: pointer !important;
}
}
}
}
}
.right {
width: 420px;
height: 640px;
background-color: rgba(246, 246, 246, 1);
border-radius: 0 0 12px 0;
.hint {
font-size: 14px;
color: #000000;
padding: 25px 20px 20px;
}
.list {
height: 575px;
padding-left: 20px;
overflow: auto;
margin-right: 5px;
&::-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 {
width: 370px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 8px;
padding: 15px;
justify-content: space-between;
position: relative;
margin-bottom: 10px;
overflow: auto;
overflow: hidden;
.project-list {
.project-item {
.icon {
height: 18px;
margin-right: 10px;
}
font-size: 14px;
color: #333333;
&:not(:last-of-type) {
margin-bottom: 10px;
}
.arrows {
width: 12px;
height: 12px;
margin: 0 10px;
}
.text {
width: 182px;
}
}
}
.btn {
width: 26px;
height: 26px;
background-color: rgba(111, 193, 109, 1);
border-radius: 32px;
cursor: pointer;
.icon {
width: 14px;
height: 6px;
}
}
&:hover {
.dot {
display: block;
}
}
.dot {
position: absolute;
width: 18px;
height: 18px;
top: 4px;
right: 10px;
display: none;
cursor: pointer;
}
.delete-mask {
width: 100vw;
height: 100vh;
position: fixed;
top: 0;
left: 0;
background-color: transparent;
z-index: 10;
}
.delete {
width: 71px;
background-color: rgba(249, 93, 93, 1);
position: absolute;
top: 0;
right: 0;
height: 100%;
color: #ffffff;
font-size: 13px;
border-radius: 0 8px 8px 0;
cursor: pointer;
z-index: 11;
animation: deleteShow 0.3s;
@keyframes deleteShow {
0% {
right: -71px;
}
100% {
right: 0;
}
}
}
}
}
}
}
.manage-box {
width: 920px;
height: 640px;
background-color: #fff;
border-radius: 0 0 12px 12px;
.tab-list {
font-size: 14px;
height: 65px;
color: #555555;
padding: 25px 30px 20px;
margin-bottom: 5px;
.item {
cursor: pointer;
margin-right: 36px;
font-size: 14px;
color: #555555;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
position: relative;
&.pitch {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
color: #000000;
&::after {
content: "";
position: absolute;
left: 0;
bottom: -4px;
display: block;
width: 100%;
height: 3px;
background-color: rgba(111, 193, 109, 1);
border-radius: 39px;
}
}
}
}
.empty-box {
height: 575px;
.icon {
margin-top: -135px;
margin-bottom: 20px;
}
}
.list {
height: 570px;
padding-left: 30px;
overflow: auto;
.hint {
width: 860px;
height: 40px;
background-color: rgba(242, 242, 242, 1);
border-radius: 4px;
font-size: 14px;
color: #555555;
line-height: 24px;
justify-content: space-between;
padding: 0 10px;
margin-bottom: 20px;
cursor: pointer;
.icon {
width: 16px;
height: 16px;
}
}
margin-right: 5px;
&::-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);
}
.list-box {
flex-wrap: wrap;
width: 860px;
justify-content: space-between;
align-items: flex-start;
position: relative;
}
.item {
width: 420px;
// height: 158px;
background-color: rgba(251, 251, 251, 1);
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 12px;
margin-bottom: 20px;
position: absolute;
transition: all 0.3s;
user-select: none;
&.load {
transition: auto;
z-index: 1000;
}
&.zindex {
z-index: 3;
}
&:active {
opacity: 1;
}
.top {
padding: 16px 10px 14px;
border-bottom: 1px solid rgba(242, 242, 242, 1);
.info {
.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;
}
.english {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
color: #7f7f7f;
font-size: 13px;
margin-bottom: 11px;
}
.school {
.icon {
// width: 18px;
height: 18px;
margin-right: 7px;
}
font-size: 14px;
color: #333333;
}
}
.state-box {
.btn {
cursor: pointer;
width: 64px;
height: 26px;
background-color: rgba(4, 176, 213, 1);
border-radius: 32px;
font-size: 14px;
color: #ffffff;
.icon {
width: 9px;
height: 5px;
margin-left: 9px;
}
&.undetermined {
background-color: rgba(249, 93, 93, 1);
}
}
position: relative;
.state-list-mask {
position: fixed;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
}
.state-list-box {
background-color: #ffffff;
border-radius: 12px;
width: 300px;
height: 47px;
position: absolute;
right: 0;
top: 41px;
// box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.129411764705882);
filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.129411764705882));
padding: 0 10px;
&::after {
content: "";
width: 0;
height: 0;
border: 10px solid transparent;
position: absolute;
top: -16px;
right: 20px;
border-bottom-color: #ffffff;
}
.state-list {
}
.state-item {
&:not(:last-of-type) {
border-right: 1px solid rgb(215, 215, 215);
}
&:first-of-type {
border-radius: 4px 0 0 4px;
}
&:last-of-type {
border-radius: 0 4px 4px 0;
}
width: 60px;
height: 26px;
text-align: center;
line-height: 26px;
background-color: rgba(242, 242, 242, 1);
font-size: 14px;
color: #7f7f7f;
cursor: pointer;
&.pitch {
background-color: rgba(123, 140, 211, 1);
color: #ffffff;
border-right: none;
}
}
.delete {
width: 26px;
height: 26px;
border-radius: 50%;
background-color: rgb(242, 242, 242);
margin-left: 15px;
.delete-icon {
width: 13px;
height: 14px;
}
}
}
}
}
.bottom {
padding: 14px 10px 5px;
.edit {
width: 24px;
height: 24px;
border-radius: 50%;
background-color: rgb(242, 242, 242);
margin-right: 10px;
.icon {
width: 16px;
height: 16px;
}
}
.input {
padding-top: 4px;
border: none;
outline: none;
background-color: transparent;
resize: none;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
height: 34px;
padding-right: 10px;
}
.drag-icon {
width: 16px;
height: 16px;
margin-top: 6px;
cursor: pointer;
-webkit-user-drag: none;
}
}
}
}
}
}
}
.empty-box {
flex-direction: column;
.icon {
width: 80px;
height: 94px;
}
.text {
font-size: 14px;
color: #7f7f7f;
text-align: center;
line-height: 24px;
}
}
.upglide {
font-size: 12px;
color: #aaaaaa;
padding-bottom: 60px;
margin-top: 20px;
}