paw-gui/src/index.scss
2025-04-27 11:24:11 +08:00

303 lines
6.4 KiB
SCSS

body {
width: 100%;
height: 100vh;
overflow: hidden;
font-size: 14px;
}
.scrollbar-visible {
scrollbar-width: auto;
/* For Firefox */
-ms-overflow-style: scrollbar;
/* For Internet Explorer and Edge */
}
.scrollbar-visible::-webkit-scrollbar {
display: block;
/* For Chrome, Safari, and Opera */
height: 10px;
}
::selection {
// background-color: #18181b;
background-color: #1E3A8A;
color: #fff;
}
/* 滚动条美化 */
::-webkit-scrollbar {
width: 6px;
height: 6px;
// background-color: red;
}
/* ::-webkit-scrollbar-track {
background: #f1f1f1;
} */
::-webkit-scrollbar-thumb {
border-radius: 15px;
background-color: rgba(144, 147, 153, 0.3);
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(144, 147, 153, 0.5);
}
.ant-form-item {
margin-bottom: 12px;
}
.ant-form-item .ant-form-item-label>label {
font-weight: 500;
color: #18181B;
}
.ant-form-item-has-error {
input {
border: 1px solid #DC2626;
}
}
.ant-form-item .ant-form-item-explain-error {
color: #DC2626;
}
.ant-popover .ant-popover-inner {
background-color: #18181B;
padding: 8px 12px;
}
.ant-popover .ant-popover-inner-content {
color: #fff;
}
.ant-popover .ant-popover-arrow:before {
background-color: #18181B;
margin-top: 6px;
}
.ant-form-item-label {
label {
color: #18181B !important;
font-size: 14px !important;
font-weight: 500 !important;
line-height: 24px !important;
}
}
.dialog-overlay {
border-radius: 10px;
background: linear-gradient(0deg, rgba(30, 58, 138, 0.02) 0%, rgba(30, 58, 138, 0.02) 100%), rgba(30, 58, 138, 0.12);
backdrop-filter: blur(4px);
}
.defalut-link-trigger {
border-radius: 6px !important;
border: 1px solid #D4D4D8 !important;
background: rgba(255, 255, 255, 0.00) !important;
/* Shadows/shadow-sm */
box-shadow: 0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06) !important;
}
.ant-form-item .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {
display: none;
}
.no-select {
-webkit-user-select: none;
/* Safari, Chrome, Edge, Opera */
-moz-user-select: none;
/* Firefox */
-ms-user-select: none;
/* Internet Explorer/Edge (旧版) */
user-select: none;
/* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
// // 添加到 index.scss
.decentralized {
background-color: #0f172a;
// background-image: linear-gradient(180deg, #172554 0%, #0A0F2A 100%);
.box {
width: 100%;
height: 100%;
background-image: url("@/assets/image/line-bg.png");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
position: absolute;
left: 0;
top: 0;
mix-blend-mode: lighten;
}
.web3-line::after {
content: "";
width: 5px;
height: 5px;
border-radius: 50%;
background-color: #7D82FF;
position: absolute;
left: 50%;
top: 0px;
z-index: 999;
transform: translate(-50%, 0);
}
}
// // 轮播容器样式
.carousel-container {
display: flex;
align-items: center;
gap: 3rem; // 对应原来的gap-12
// width: 100%;
}
.bt1 {
display: flex;
padding: var(--8-spacing-04, 8px) var(--16-spacing-08, 16px);
justify-content: center;
align-items: center;
gap: var(--8-spacing-04, 8px);
border-radius: var(--radius-6, 6px);
border: 1px solid var(--Colors-Bluepurple-600, #4136F5);
background: var(--button-wireframe-button-wireframe, rgba(9, 9, 11, 0.00));
box-shadow: 0px 0px 4px 0px var(--Colors-Bluepurple-500, #5457FF), 0px 0px 10px 0px var(--Colors-Bluepurple-600, #4136F5);
color: var(--text-text-primary-900, #FFF);
/* Text/Medium/T5文本1 */
font-family: "PingFang SC";
font-size: 14px;
font-style: normal;
font-weight: 500;
// line-height: 24px;
/* 171.429% */
}
.bt2 {
display: flex;
padding: var(--8-spacing-04, 8px) var(--16-spacing-08, 16px);
justify-content: center;
align-items: center;
gap: var(--8-spacing-04, 8px);
border-radius: var(--radius-6, 6px);
border: 1px solid var(--Colors-Rose-600, #E11D48);
background: var(--button-wireframe-button-wireframe, rgba(255, 255, 255, 0.00));
box-shadow: 0px 0px 4px 0px var(--Colors-Rose-600, #E11D48), 0px 0px 10px 0px var(--Colors-Rose-600, #E11D48);
color: var(--text-text-primary-900, #FFF);
font-family: "PingFang SC";
font-size: 14px;
font-style: normal;
font-weight: 500;
// line-height: 24px;
}
.tip-box-left {
position: relative;
width: 600px;
height: 400px;
padding: 20.85px 20.353px;
background: rgba(0, 11.82, 33.10, 0.10);
border-radius: 8px;
outline: 0.46px solid white;
outline-offset: -0.46px;
backdrop-filter: blur(5.50px);
.label {
width: 100%;
color: #FFF;
font-size: 18px;
font-weight: 600;
line-height: 16px;
}
.close-icon,
.close-icon2 {
width: 16px;
height: 16px;
position: absolute;
top: 20px;
right: 20px;
color: #FFF;
}
}
.tip-box-hx {
position: relative;
width: 600px;
height: 400px;
margin-left: 312.221px;
// min-height: 200px;
// max-height: 600px;
padding: 20.85px 20.353px;
background: rgba(0, 11.82, 33.10, 0.10);
border-radius: 8px;
outline: 0.46px solid white;
outline-offset: -0.46px;
backdrop-filter: blur(5.50px);
.close-icon,
.close-icon2 {
width: 16px;
height: 16px;
position: absolute;
top: 20px;
right: 20px;
color: #FFF;
}
.label {
width: 100%;
color: #FFF;
font-size: 18px;
font-weight: 600;
line-height: 16px;
}
}
.encryption-img {
width: 526px;
height: 241px;
margin-left: 16px;
}
.traffic-obfuscation-img {
width: 597px;
height: 241px;
margin-left: 16px;
}
.tooltip-content {
position: relative;
display: flex;
.line-img-hx {
width: 312.221px;
// margin-top: 80px;
top: 80px;
left: 0px;
position: absolute;
}
.line-img-left {
width: 216.86px;
margin-top: -72px;
}
}