178 lines
3.8 KiB
Plaintext
178 lines
3.8 KiB
Plaintext
.network-config {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.tab-container {
|
|
height: 70px;
|
|
flex-shrink: 0;
|
|
background: linear-gradient(180deg, rgba(229, 229, 229, 0.05) 0%, rgba(229, 229, 229, 0.05) 100%);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
.tab-item {
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
font-style: Heavy;
|
|
top: -5px;
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
letter-spacing: 0%;
|
|
padding: 0 30px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
color: rgba(229, 229, 229, 0.5);
|
|
|
|
&.active {
|
|
color: rgba(229, 229, 229, 1);
|
|
}
|
|
|
|
.indicator {
|
|
position: absolute;
|
|
bottom: -15px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 8px;
|
|
height: 8px;
|
|
background: rgba(229, 229, 229, 1);
|
|
border-radius: 50%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.content-container {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dhcp-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
|
|
h2 {
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
font-style: Heavy;
|
|
font-size: 24px;
|
|
color: rgba(229, 229, 229, 1);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
p {
|
|
font-family: PingFang SC;
|
|
font-size: 18px;
|
|
color: rgba(229, 229, 229, 0.8);
|
|
}
|
|
}
|
|
|
|
.static-ip-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
|
|
.form-container {
|
|
width: 500px;
|
|
margin: 0 auto;
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 20px 0px;
|
|
padding-right: 60px;
|
|
|
|
// 滚动条样式
|
|
&::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
|
|
&::-webkit-scrollbar-track {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 28px;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 28px;
|
|
min-height: 30px;
|
|
}
|
|
|
|
// 表单项样式
|
|
.ant-form-item {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.ant-form-item-label {
|
|
padding: 0 0 12px 0;
|
|
}
|
|
|
|
.label {
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
font-style: Heavy;
|
|
font-size: 18px;
|
|
line-height: 32px;
|
|
letter-spacing: 0%;
|
|
color: rgba(229, 229, 229, 1);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.input-field {
|
|
width: 100%;
|
|
height: 56px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 28px;
|
|
border: none;
|
|
padding: 0 24px;
|
|
box-sizing: border-box;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
font-style: Heavy;
|
|
font-size: 18px;
|
|
line-height: 32px;
|
|
letter-spacing: 0%;
|
|
color: rgba(229, 229, 229, 1);
|
|
|
|
&::placeholder {
|
|
color: rgba(229, 229, 229, 0.5);
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
}
|
|
}
|
|
|
|
// 覆盖 Ant Design 的默认样式
|
|
.ant-input {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 28px;
|
|
border: none;
|
|
padding: 0 24px;
|
|
box-sizing: border-box;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
font-style: Heavy;
|
|
font-size: 18px;
|
|
line-height: 32px;
|
|
letter-spacing: 0%;
|
|
color: rgba(229, 229, 229, 1);
|
|
height: 56px;
|
|
|
|
&::placeholder {
|
|
color: rgba(229, 229, 229, 0.5);
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
} |