|
@@ -1,4 +1,5 @@
|
|
-.panel {
|
|
|
|
|
|
+/* 我的账户页面样式 */
|
|
|
|
+#my-panel {
|
|
background: white;
|
|
background: white;
|
|
border-radius: 25px;
|
|
border-radius: 25px;
|
|
padding: 30px;
|
|
padding: 30px;
|
|
@@ -7,7 +8,7 @@
|
|
animation: fadeIn 0.6s ease;
|
|
animation: fadeIn 0.6s ease;
|
|
}
|
|
}
|
|
|
|
|
|
-h2 {
|
|
|
|
|
|
+#my-panel h2 {
|
|
font-size: 1.5rem;
|
|
font-size: 1.5rem;
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
color: #2c3e50;
|
|
color: #2c3e50;
|
|
@@ -18,7 +19,7 @@ h2 {
|
|
border-bottom: 2px solid #ecf0f1;
|
|
border-bottom: 2px solid #ecf0f1;
|
|
}
|
|
}
|
|
|
|
|
|
-h2 i {
|
|
|
|
|
|
+#my-panel h2 i {
|
|
background: linear-gradient(135deg, #3498db, #9b59b6);
|
|
background: linear-gradient(135deg, #3498db, #9b59b6);
|
|
-webkit-background-clip: text;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
-webkit-text-fill-color: transparent;
|
|
@@ -31,105 +32,168 @@ h2 i {
|
|
background-color: rgba(52, 152, 219, 0.1);
|
|
background-color: rgba(52, 152, 219, 0.1);
|
|
}
|
|
}
|
|
|
|
|
|
-.section-desc {
|
|
|
|
|
|
+#my-panel .section-desc {
|
|
color: #95a5a6;
|
|
color: #95a5a6;
|
|
margin-bottom: 25px;
|
|
margin-bottom: 25px;
|
|
font-size: 0.95rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
}
|
|
|
|
|
|
-.designs-container {
|
|
|
|
- display: grid;
|
|
|
|
|
|
+/* 用户信息样式 */
|
|
|
|
+.color-stat {
|
|
|
|
+ max-width: 100%;
|
|
|
|
+ text-align: left;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
gap: 20px;
|
|
gap: 20px;
|
|
- margin-top: 20px;
|
|
|
|
|
|
+ margin-bottom: 30px;
|
|
}
|
|
}
|
|
|
|
|
|
-.design-card {
|
|
|
|
|
|
+.color-box {
|
|
|
|
+ background: linear-gradient(135deg, #3498db, #9b59b6);
|
|
|
|
+ width: 80px;
|
|
|
|
+ height: 80px;
|
|
|
|
+ border-radius: 50%;
|
|
display: flex;
|
|
display: flex;
|
|
- background: #f9f9f9;
|
|
|
|
- border-radius: 20px;
|
|
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ color: white;
|
|
|
|
+ font-size: 2rem;
|
|
|
|
+ box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.stat-name {
|
|
|
|
+ font-weight: 700;
|
|
|
|
+ font-size: 1.2rem;
|
|
|
|
+ margin-bottom: 5px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.stat-count {
|
|
|
|
+ color: #95a5a6;
|
|
|
|
+ font-size: 0.95rem;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 设计画廊样式 */
|
|
|
|
+.design-gallery {
|
|
|
|
+ display: grid;
|
|
|
|
+ grid-template-columns: repeat(2, 1fr);
|
|
|
|
+ gap: 15px;
|
|
|
|
+ margin-top: 20px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.design-item {
|
|
|
|
+ background: white;
|
|
|
|
+ border-radius: 15px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
|
|
|
|
|
|
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
}
|
|
}
|
|
|
|
|
|
-.design-card:hover {
|
|
|
|
|
|
+.design-item:hover {
|
|
transform: translateY(-5px);
|
|
transform: translateY(-5px);
|
|
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
+ box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
|
|
}
|
|
}
|
|
|
|
|
|
-.design-preview {
|
|
|
|
- width: 100px;
|
|
|
|
- height: 120px;
|
|
|
|
|
|
+.design-image {
|
|
|
|
+ height: 160px;
|
|
|
|
+ background: #ecf0f1;
|
|
|
|
+ position: relative;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.design-image img {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ object-fit: cover;
|
|
}
|
|
}
|
|
|
|
|
|
.design-info {
|
|
.design-info {
|
|
- flex: 1;
|
|
|
|
padding: 15px;
|
|
padding: 15px;
|
|
- display: flex;
|
|
|
|
- flex-direction: column;
|
|
|
|
- justify-content: center;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
-.design-name {
|
|
|
|
- font-weight: 700;
|
|
|
|
- font-size: 1.1rem;
|
|
|
|
|
|
+.design-title {
|
|
|
|
+ font-weight: 600;
|
|
margin-bottom: 5px;
|
|
margin-bottom: 5px;
|
|
|
|
+ white-space: nowrap;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
}
|
|
}
|
|
|
|
|
|
-.design-date {
|
|
|
|
|
|
+.design-author {
|
|
color: #95a5a6;
|
|
color: #95a5a6;
|
|
- font-size: 0.9rem;
|
|
|
|
|
|
+ font-size: 0.85rem;
|
|
}
|
|
}
|
|
|
|
|
|
-.design-actions {
|
|
|
|
|
|
+/* 按钮样式 */
|
|
|
|
+.action-buttons {
|
|
display: flex;
|
|
display: flex;
|
|
- flex-direction: column;
|
|
|
|
- padding: 10px;
|
|
|
|
|
|
+ gap: 15px;
|
|
|
|
+ margin-top: 30px;
|
|
}
|
|
}
|
|
|
|
|
|
-.btn-action {
|
|
|
|
- width: 40px;
|
|
|
|
- height: 40px;
|
|
|
|
- border-radius: 50%;
|
|
|
|
- background: white;
|
|
|
|
- border: 1px solid #ecf0f1;
|
|
|
|
|
|
+.btn {
|
|
|
|
+ flex: 1;
|
|
|
|
+ padding: 18px;
|
|
|
|
+ border-radius: 50px;
|
|
|
|
+ border: none;
|
|
|
|
+ font-weight: 600;
|
|
|
|
+ font-size: 1.05rem;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
|
|
+ text-align: center;
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
- color: #3498db;
|
|
|
|
- cursor: pointer;
|
|
|
|
- transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
|
|
- margin-bottom: 10px;
|
|
|
|
|
|
+ gap: 8px;
|
|
}
|
|
}
|
|
|
|
|
|
-.btn-action:hover {
|
|
|
|
- background: #3498db;
|
|
|
|
|
|
+.btn-primary {
|
|
|
|
+ background: linear-gradient(135deg, #3498db, #9b59b6);
|
|
color: white;
|
|
color: white;
|
|
|
|
+ box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.btn-primary:hover {
|
|
|
|
+ box-shadow: 0 12px 25px rgba(52, 152, 219, 0.4);
|
|
|
|
+ transform: translateY(-3px);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.btn-secondary {
|
|
|
|
+ background: white;
|
|
|
|
+ color: #3498db;
|
|
|
|
+ border: 2px solid #3498db;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.btn-secondary:hover {
|
|
|
|
+ background: rgba(52, 152, 219, 0.05);
|
|
transform: translateY(-3px);
|
|
transform: translateY(-3px);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/* 页脚样式 */
|
|
|
|
+footer {
|
|
|
|
+ text-align: center;
|
|
|
|
+ padding: 30px 0 20px;
|
|
|
|
+ color: #95a5a6;
|
|
|
|
+ font-size: 0.9rem;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 动画 */
|
|
@keyframes fadeIn {
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(20px); }
|
|
from { opacity: 0; transform: translateY(20px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/* 响应式调整 */
|
|
@media (max-width: 480px) {
|
|
@media (max-width: 480px) {
|
|
- .panel {
|
|
|
|
|
|
+ #my-panel {
|
|
padding: 25px 20px;
|
|
padding: 25px 20px;
|
|
}
|
|
}
|
|
|
|
|
|
- .design-card {
|
|
|
|
- flex-direction: column;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .design-preview {
|
|
|
|
- width: 100%;
|
|
|
|
- height: 100px;
|
|
|
|
|
|
+ .design-gallery {
|
|
|
|
+ grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
|
|
- .design-actions {
|
|
|
|
- flex-direction: row;
|
|
|
|
- justify-content: center;
|
|
|
|
- gap: 15px;
|
|
|
|
|
|
+ .btn {
|
|
|
|
+ padding: 15px;
|
|
|
|
+ font-size: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|