xg-project-library/css/common.less

174 lines
3.3 KiB
Plaintext
Raw Normal View History

2024-10-31 04:27:27 +00:00
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.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: fixed;
bottom: 15px;
left: 50%;
transform: translateX(-50%);
z-index: 2;
.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;
.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;
}
}
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;
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;
}
}
}
.red-dot {
position: fixed;
width: 10px;
height: 10px;
background-color: red;
border-radius: 50%;
top: -5%;
left: -5%;
z-index: 99;
transition: left 0.3s linear, top 0.3s cubic-bezier(0.5, -0.5, 1, 1);
}
.my-project {
width: 100vw;
height: 100vh;
background-color: rgb(0, 0, 0);
position: fixed;
top: 0;
left: 0;
z-index: 999;
display: flex;
justify-content: center;
2024-10-31 04:27:27 +00:00
}