不知名提交

This commit is contained in:
2025-12-13 20:53:50 +08:00
parent c147502b4d
commit 1221d6faf1
120 changed files with 11005 additions and 1092 deletions

View File

@@ -8,13 +8,31 @@
/* 主体样式 - iOS风格 */
body {
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
background: linear-gradient(135deg, #87CEEB 0%, #98FB98 100%);
background: linear-gradient(135deg, #F0FFF0 0%, #98FB98 50%, #90EE90 100%);
min-height: 100vh;
padding: 20px;
color: #1D1D1F;
line-height: 1.47;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* 隐藏滚动条但保留滚动功能 */
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE/Edge */
}
/* 隐藏Webkit浏览器的滚动条 */
body::-webkit-scrollbar {
display: none;
}
/* 全局滚动条隐藏 */
* {
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE/Edge */
}
*::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
}
/* 容器样式 - iOS毛玻璃效果 */
@@ -81,9 +99,9 @@ body {
.form-input:focus {
outline: none;
border-color: #007AFF;
border-color: #32CD32;
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
box-shadow: 0 0 0 4px rgba(50, 205, 50, 0.1);
}
.textarea {
@@ -105,7 +123,7 @@ body {
.btn {
width: 100%;
padding: 16px;
background: #007AFF;
background: #32CD32;
color: white;
border: none;
border-radius: 12px;
@@ -114,18 +132,18 @@ body {
cursor: pointer;
transition: all 0.2s ease;
margin-bottom: 24px;
box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
box-shadow: 0 2px 8px rgba(50, 205, 50, 0.25);
}
.btn:hover {
background: #0056CC;
background: #228B22;
transform: translateY(-1px);
box-shadow: 0 4px 16px rgba(0, 122, 255, 0.35);
box-shadow: 0 4px 16px rgba(50, 205, 50, 0.35);
}
.btn:active {
transform: translateY(0);
background: #004499;
background: #006400;
}
.btn:disabled {
@@ -151,7 +169,7 @@ body {
.loading {
display: none;
text-align: center;
color: #007AFF;
color: #32CD32;
font-style: normal;
padding: 24px;
font-weight: 500;
@@ -161,9 +179,12 @@ body {
background: rgba(255, 255, 255, 0.6);
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 16px;
padding: 24px;
padding: 20px;
min-height: 150px;
backdrop-filter: blur(10px);
display: grid;
gap: 16px;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.placeholder {
@@ -176,15 +197,16 @@ body {
/* 分组标题样式 - iOS风格 */
.convention-group-title {
font-size: 1.0625rem;
font-size: 1rem;
font-weight: 600;
color: white;
margin: 20px 0 12px 0;
padding: 12px 16px;
background: #007AFF;
margin: 16px 0 12px 0;
padding: 10px 16px;
background: #32CD32;
border-radius: 12px;
text-align: center;
box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
box-shadow: 0 2px 8px rgba(50, 205, 50, 0.25);
grid-column: 1 / -1;
}
.convention-group-title:first-child {
@@ -196,17 +218,21 @@ body {
background: rgba(255, 255, 255, 0.9);
border: 1px solid rgba(0, 0, 0, 0.06);
border-radius: 12px;
padding: 16px;
margin-bottom: 12px;
padding: 12px;
margin-bottom: 0;
transition: all 0.2s ease;
cursor: pointer;
position: relative;
backdrop-filter: blur(10px);
min-height: 80px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.suggestion-item:hover {
border-color: rgba(0, 122, 255, 0.3);
box-shadow: 0 4px 16px rgba(0, 122, 255, 0.1);
border-color: rgba(50, 205, 50, 0.3);
box-shadow: 0 4px 16px rgba(50, 205, 50, 0.1);
background: rgba(255, 255, 255, 0.95);
}
@@ -216,33 +242,35 @@ body {
.variable-name {
font-family: 'SF Mono', 'Monaco', 'Consolas', 'Courier New', monospace;
font-size: 1.0625rem;
font-size: 1rem;
font-weight: 600;
color: #1D1D1F;
margin-bottom: 6px;
margin-bottom: 4px;
word-break: break-all;
}
.variable-description {
font-size: 0.9375rem;
font-size: 0.875rem;
color: #86868B;
line-height: 1.47;
line-height: 1.4;
flex-grow: 1;
}
.copy-btn {
position: absolute;
top: 12px;
right: 12px;
background: #007AFF;
top: 8px;
right: 8px;
background: #32CD32;
color: white;
border: none;
border-radius: 8px;
padding: 6px 12px;
font-size: 0.8125rem;
border-radius: 6px;
padding: 4px 8px;
font-size: 0.75rem;
font-weight: 600;
cursor: pointer;
opacity: 0;
transition: all 0.2s ease;
box-shadow: 0 2px 4px rgba(0, 122, 255, 0.25);
box-shadow: 0 1px 3px rgba(50, 205, 50, 0.25);
}
.suggestion-item:hover .copy-btn {
@@ -250,7 +278,7 @@ body {
}
.copy-btn:hover {
background: #0056CC;
background: #228B22;
transform: translateY(-1px);
}
@@ -314,17 +342,30 @@ body {
.suggestions-container {
padding: 15px;
grid-template-columns: 1fr;
gap: 12px;
}
.suggestion-item {
padding: 12px;
padding: 10px;
min-height: 70px;
}
.copy-btn {
position: static;
opacity: 1;
margin-top: 8px;
margin-top: 6px;
width: 100%;
padding: 6px 8px;
font-size: 0.75rem;
}
.variable-name {
font-size: 0.9rem;
}
.variable-description {
font-size: 0.8rem;
}
}
@@ -342,16 +383,30 @@ body {
padding: 10px;
}
.suggestions-container {
padding: 12px;
gap: 10px;
}
.suggestion-item {
padding: 10px;
padding: 8px;
min-height: 60px;
}
.variable-name {
font-size: 1rem;
font-size: 0.85rem;
margin-bottom: 3px;
}
.variable-description {
font-size: 0.85rem;
font-size: 0.75rem;
line-height: 1.3;
}
.convention-group-title {
font-size: 0.9rem;
padding: 8px 12px;
margin: 12px 0 8px 0;
}
}