xg-project-library/css/common.less

937 lines
30 KiB
Plaintext
Raw Normal View History

2024-10-31 04:27:27 +00:00
* {
padding: 0;
margin: 0;
box-sizing: border-box;
2024-11-07 07:33:39 +00:00
text-decoration: auto;
2024-11-14 06:13:40 +00:00
word-break: break-word;
2024-10-31 04:27:27 +00:00
}
.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;
}
}
2024-11-25 09:38:50 +00:00
.scrollbar {
&::-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);
}
}
2024-10-31 04:27:27 +00:00
.base {
width: 640px;
2024-11-22 03:52:17 +00:00
height: 54px;
2024-11-21 03:55:42 +00:00
background: linear-gradient(264.644174957145deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
box-shadow: 0px 0px 7px rgba(123, 140, 211, 1);
2024-10-31 04:27:27 +00:00
border-radius: 153px;
2024-11-13 06:17:13 +00:00
position: sticky;
2024-10-31 04:27:27 +00:00
bottom: 15px;
2024-11-27 09:32:17 +00:00
left: calc((100% - 640px) / 2);
2024-11-05 11:00:36 +00:00
z-index: 100;
2024-10-31 04:27:27 +00:00
.left {
width: 450px;
2024-11-22 04:15:23 +00:00
height: 44px;
2024-10-31 04:27:27 +00:00
background-color: #fff;
border-radius: 153px 15px 15px 153px;
margin-right: 5px;
padding: 0 20px;
2024-12-18 06:32:00 +00:00
position: relative;
2024-12-19 08:46:43 +00:00
// transition: all 0.3s;
2024-12-19 03:48:53 +00:00
border: 1px solid #fff;
2024-12-19 06:57:06 +00:00
border-top-width: 0;
2024-12-18 07:32:19 +00:00
&.input-active {
2024-12-19 06:54:35 +00:00
border-color: #c4c7ce;
2024-12-19 08:49:22 +00:00
border-radius: 0 0 4px 15px;
2024-12-18 07:32:19 +00:00
}
2024-10-31 04:27:27 +00:00
.text {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
2024-11-22 04:16:41 +00:00
font-size: 15px;
2024-12-18 06:35:22 +00:00
// color: rgba(170, 170, 170, 0.901960784313726);
height: 100%;
outline: none;
border: none;
2024-12-18 07:40:02 +00:00
padding-right: 10px;
2024-10-31 04:27:27 +00:00
}
.img {
width: 20px;
height: 20px;
}
2024-12-18 06:35:22 +00:00
.hint-list {
2024-12-18 07:32:19 +00:00
position: absolute;
2024-12-18 07:37:14 +00:00
// width: 750px;
width: 450px;
2024-12-18 07:32:19 +00:00
height: 0;
max-height: 400px;
2024-12-18 07:37:14 +00:00
bottom: 43px;
2024-12-18 07:32:19 +00:00
left: -1px;
background-color: rgba(255, 255, 255, 1);
2024-12-18 07:37:14 +00:00
border-radius: 10px 10px 0 0;
2024-12-18 07:32:19 +00:00
z-index: 10;
overflow: auto;
2024-12-19 08:46:43 +00:00
animation: hintShoww 0.3s forwards;
2024-12-18 07:32:19 +00:00
border: 0px solid #c4c7ce;
2024-12-19 06:41:54 +00:00
border-top-width: 0px;
2024-12-18 07:37:14 +00:00
border-bottom: none;
2024-12-19 06:46:09 +00:00
border-top: none;
2024-12-18 07:37:14 +00:00
// box-shadow: 0px 5px 5px #dfdfdf;
2024-12-18 07:32:19 +00:00
2024-12-19 08:46:43 +00:00
@keyframes hintShoww {
2024-12-18 07:32:19 +00:00
0% {
height: 0;
2024-12-19 06:51:57 +00:00
border-bottom: none;
border-top: none;
2024-12-18 07:32:19 +00:00
}
100% {
2024-12-19 06:59:08 +00:00
border-top: 1px solid #c4c7ce;
2024-12-18 07:32:19 +00:00
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-12-18 06:35:22 +00:00
}
2024-10-31 04:27:27 +00:00
}
.rigth {
width: 175px;
2024-11-22 04:15:23 +00:00
height: 44px;
2024-10-31 04:27:27 +00:00
background-color: #fff;
border-radius: 15px 153px 153px 15px;
padding-left: 19px;
2024-11-08 10:13:20 +00:00
cursor: pointer;
2024-10-31 04:27:27 +00:00
.img {
2024-11-22 04:16:41 +00:00
width: 23px;
height: 20px;
2024-10-31 04:27:27 +00:00
margin-right: 5px;
}
.text {
2024-11-22 04:16:41 +00:00
font-size: 15px;
2024-10-31 04:27:27 +00:00
color: #333333;
margin-right: 9px;
}
.number {
height: 20px;
2025-01-08 07:17:15 +00:00
line-height: 20px;
2024-10-31 04:27:27 +00:00
background-color: rgba(242, 242, 242, 1);
2025-01-08 07:17:15 +00:00
border-radius: 150px;
2024-10-31 04:27:27 +00:00
font-size: 13px;
color: #f95d5d;
2025-01-08 07:15:36 +00:00
padding: 0 8px;
2024-11-13 08:51:43 +00:00
&.number-no {
background-color: transparent;
}
2024-10-31 04:27:27 +00:00
}
}
2024-10-31 11:03:26 +00:00
}
.one-line-display {
word-break: keep-all;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tag {
flex-wrap: wrap;
.tag-item {
width: fit-content;
2024-11-22 03:45:18 +00:00
height: 20px;
line-height: 20px;
2024-10-31 11:03:26 +00:00
background-color: rgba(249, 248, 248, 1);
border: 1px solid rgba(170, 170, 170, 1);
border-radius: 6px;
2024-11-22 03:45:18 +00:00
padding: 0 6px;
font-size: 12px;
2024-10-31 11:03:26 +00:00
color: #7f7f7f;
margin-right: 10px;
margin-bottom: 10px;
2024-11-19 08:37:50 +00:00
// flex-wrap: wrap;
display: flex;
align-items: center;
2024-10-31 11:03:26 +00:00
&.gray {
background-color: rgba(51, 51, 51, 1);
color: #ffffff;
border: none;
}
&.semester {
color: #ffffff;
background-color: rgba(249, 93, 93, 1);
border: none;
}
2024-11-05 11:00:36 +00:00
&.admissions {
background-color: rgba(115, 209, 229, 1);
border: none;
color: #fff;
}
2024-10-31 11:03:26 +00:00
}
}
.red-dot {
position: fixed;
width: 10px;
height: 10px;
background-color: red;
border-radius: 50%;
top: -5%;
left: -5%;
2024-11-14 09:58:10 +00:00
z-index: 101;
2024-10-31 11:03:26 +00:00
transition: left 0.3s linear, top 0.3s cubic-bezier(0.5, -0.5, 1, 1);
}
.my-project {
width: 100vw;
height: 100vh;
2024-11-01 11:12:06 +00:00
background-color: rgba(0, 0, 0, 0.5);
2024-10-31 11:03:26 +00:00
position: fixed;
top: 0;
left: 0;
z-index: 999;
display: flex;
justify-content: center;
2024-11-01 11:12:06 +00:00
.my-box {
.head {
height: 54px;
background-color: rgba(123, 140, 211, 1);
border-radius: 10px 10px 0 0;
justify-content: space-between;
.item {
2024-12-18 08:50:39 +00:00
// width: 474px;
2024-12-18 08:42:39 +00:00
// width: 400px;
2024-11-01 11:12:06 +00:00
font-size: 16px;
color: #ffffff;
position: relative;
height: 100%;
z-index: 1;
cursor: pointer;
2024-12-18 09:19:59 +00:00
flex: 1;
2024-12-18 10:26:16 +00:00
.boxx {
position: absolute;
2024-12-18 10:39:10 +00:00
top: 50%;
transform: translateY(-50%);
2024-12-31 07:02:37 +00:00
white-space: nowrap;
2024-12-18 10:26:16 +00:00
}
2024-11-01 11:12:06 +00:00
&.pitch {
color: #000000;
2024-12-18 10:27:26 +00:00
// width: 474px;
2024-12-18 09:19:59 +00:00
flex: none;
2024-12-18 08:54:22 +00:00
&.item-left {
2024-12-18 10:45:08 +00:00
.boxx {
left: 147px;
}
}
&.item-long-left {
2024-12-18 10:41:40 +00:00
.boxx {
left: 188px;
}
2024-12-18 08:54:22 +00:00
}
2024-12-18 09:22:55 +00:00
&.item-right {
2024-12-18 10:28:03 +00:00
// padding-left: 80px;
2024-12-18 10:39:10 +00:00
.boxx {
left: 262px;
}
2024-12-18 09:22:55 +00:00
}
2024-11-01 11:12:06 +00:00
.bj,
.icon {
display: block;
}
}
.bj {
display: none;
2024-12-18 10:16:17 +00:00
// width: 474px;
2024-11-01 11:12:06 +00:00
height: 61px;
2024-12-18 10:26:16 +00:00
// position: absolute;
2024-11-01 11:12:06 +00:00
bottom: -1px;
z-index: -1;
&.bj-left {
left: 0;
}
&.bj-right {
right: 0;
2024-12-18 10:16:36 +00:00
// transform: rotate(180deg) scaleY(-1);
2024-11-01 11:12:06 +00:00
}
}
.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 {
2024-12-18 10:31:47 +00:00
width: 577px;
2024-11-22 03:45:18 +00:00
2024-11-01 11:12:06 +00:00
&.left1 {
width: 820px;
}
.hint {
height: 65px;
color: #333333;
padding: 25px 30px 20px;
border-bottom: 1px solid rgb(235, 235, 235);
justify-content: space-between;
2024-11-14 06:12:30 +00:00
.text {
font-size: 14px;
}
2024-11-01 11:12:06 +00:00
.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;
2024-11-15 10:59:31 +00:00
2024-11-01 11:12:06 +00:00
.item {
padding: 15px 0;
justify-content: space-between;
margin-left: 30px;
margin-right: 27px;
2024-11-14 07:26:55 +00:00
&.pitch {
background-color: rgba(246, 246, 246, 1);
}
2024-11-15 10:59:31 +00:00
2024-11-01 11:12:06 +00:00
&: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;
2024-11-27 09:19:38 +00:00
display: block;
2024-11-27 06:10:44 +00:00
&:hover {
text-decoration: underline;
}
2024-11-01 11:12:06 +00:00
&::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;
}
2024-11-04 08:24:44 +00:00
&.btn-forbid {
cursor: not-allowed !important;
}
&.btn-normal {
cursor: pointer !important;
}
2024-11-01 11:12:06 +00:00
}
}
}
}
.right {
width: 420px;
height: 640px;
background-color: rgba(246, 246, 246, 1);
border-radius: 0 0 12px 0;
2024-11-25 09:32:21 +00:00
overflow: hidden;
2024-11-19 10:21:52 +00:00
animation: contrastRightShow 0.3s;
2024-11-22 08:00:44 +00:00
border-left: 1px solid #ebebeb;
2024-11-19 10:21:52 +00:00
@keyframes contrastRightShow {
0% {
width: 0;
}
100% {
2024-11-19 10:23:32 +00:00
width: 420px;
2024-11-19 10:21:52 +00:00
}
}
2024-11-01 11:12:06 +00:00
.hint {
font-size: 14px;
color: #000000;
padding: 25px 20px 20px;
}
.list {
height: 575px;
padding-left: 20px;
overflow: auto;
margin-right: 5px;
.item {
2024-12-18 10:39:10 +00:00
width: 375px;
2024-11-01 11:12:06 +00:00
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;
2024-11-14 03:36:28 +00:00
overflow: hidden;
2024-11-01 11:12:06 +00:00
.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;
2024-11-14 03:45:50 +00:00
cursor: pointer;
2024-11-01 11:12:06 +00:00
.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;
2024-11-14 03:38:18 +00:00
right: 0;
2024-11-01 11:12:06 +00:00
height: 100%;
color: #ffffff;
font-size: 13px;
border-radius: 0 8px 8px 0;
cursor: pointer;
z-index: 11;
2024-11-14 03:36:28 +00:00
animation: deleteShow 0.3s;
@keyframes deleteShow {
0% {
2024-11-14 03:37:10 +00:00
right: -71px;
2024-11-14 03:36:28 +00:00
}
100% {
right: 0;
}
}
2024-11-01 11:12:06 +00:00
}
}
}
}
}
.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;
2024-11-08 10:13:20 +00:00
cursor: pointer;
2024-11-01 11:12:06 +00:00
.icon {
width: 16px;
height: 16px;
}
}
margin-right: 5px;
.list-box {
flex-wrap: wrap;
width: 860px;
justify-content: space-between;
2024-11-15 10:59:31 +00:00
align-items: flex-start;
position: relative;
2024-11-01 11:12:06 +00:00
}
.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;
2024-11-15 10:59:31 +00:00
position: absolute;
2024-11-18 08:58:17 +00:00
transition: all 0.3s;
user-select: none;
&.load {
transition: auto;
z-index: 1000;
}
2024-11-18 09:16:23 +00:00
&.zindex {
z-index: 3;
}
2024-11-01 11:12:06 +00:00
.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 {
2024-11-15 10:59:31 +00:00
// width: 18px;
2024-11-01 11:12:06 +00:00
height: 18px;
margin-right: 7px;
}
font-size: 14px;
color: #333333;
}
}
.state-box {
.btn {
cursor: pointer;
width: 64px;
height: 26px;
2024-11-04 08:24:44 +00:00
background-color: rgba(4, 176, 213, 1);
2024-11-01 11:12:06 +00:00
border-radius: 32px;
font-size: 14px;
color: #ffffff;
.icon {
width: 9px;
height: 5px;
margin-left: 9px;
}
2024-11-04 08:24:44 +00:00
&.undetermined {
background-color: rgba(249, 93, 93, 1);
}
2024-11-01 11:12:06 +00:00
}
position: relative;
2024-11-14 06:19:00 +00:00
.state-list-mask {
position: fixed;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
}
2024-11-01 11:12:06 +00:00
.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;
2024-11-04 08:24:44 +00:00
text-align: center;
line-height: 26px;
2024-11-01 11:12:06 +00:00
background-color: rgba(242, 242, 242, 1);
font-size: 14px;
color: #7f7f7f;
2024-11-04 08:24:44 +00:00
cursor: pointer;
2024-11-01 11:12:06 +00:00
&.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;
2024-11-19 07:13:48 +00:00
cursor: pointer;
2024-11-01 11:12:06 +00:00
.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;
}
}
.drag-icon {
width: 16px;
height: 16px;
margin-top: 6px;
2024-11-18 08:58:17 +00:00
cursor: pointer;
-webkit-user-drag: none;
2024-11-01 11:12:06 +00:00
}
}
}
}
}
}
}
2024-11-18 09:25:58 +00:00
.manage-input {
padding-top: 4px;
border: none;
outline: none;
background-color: transparent;
resize: none;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
2024-11-18 09:33:18 +00:00
min-height: 34px;
2024-11-18 09:25:58 +00:00
padding-right: 10px;
font-size: 14px;
2024-11-18 09:27:39 +00:00
width: 348px;
2024-11-25 09:51:05 +00:00
white-space: pre-line;
2024-11-18 09:25:58 +00:00
}
2024-11-01 11:12:06 +00:00
.empty-box {
flex-direction: column;
.icon {
width: 80px;
height: 94px;
}
.text {
font-size: 14px;
color: #7f7f7f;
text-align: center;
line-height: 24px;
}
}
2024-11-14 06:56:14 +00:00
.upglide {
2024-11-14 07:01:34 +00:00
font-size: 12px;
2024-11-14 06:56:14 +00:00
color: #aaaaaa;
padding-bottom: 60px;
2024-11-14 07:01:34 +00:00
margin-top: 20px;
2024-11-14 06:56:14 +00:00
}
2024-12-18 04:32:05 +00:00
.hint-mask {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: -1;
}