|
|
|
|
@ -228,10 +228,10 @@
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(186, 104, 200, 0.5), 8, 0.4, 2, 2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ===== 注册界面状态标签样式 - 修复版本 ===== */
|
|
|
|
|
/* ===== 注册界面状态标签样式 - 修复长句子版本 ===== */
|
|
|
|
|
.register-status-label {
|
|
|
|
|
-fx-text-fill: transparent;
|
|
|
|
|
-fx-font-size: 13px;
|
|
|
|
|
-fx-font-size: 12px;
|
|
|
|
|
-fx-font-weight: bold;
|
|
|
|
|
-fx-wrap-text: true;
|
|
|
|
|
-fx-background-color: transparent;
|
|
|
|
|
@ -244,27 +244,30 @@
|
|
|
|
|
-fx-text-alignment: center;
|
|
|
|
|
-fx-min-height: 0px;
|
|
|
|
|
-fx-pref-height: 0px;
|
|
|
|
|
-fx-max-width: 300px;
|
|
|
|
|
-fx-max-width: 280px;
|
|
|
|
|
-fx-line-spacing: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.register-status-label-with-text {
|
|
|
|
|
-fx-text-fill: #7b1fa2;
|
|
|
|
|
-fx-font-size: 13px;
|
|
|
|
|
-fx-font-size: 12px;
|
|
|
|
|
-fx-font-weight: bold;
|
|
|
|
|
-fx-wrap-text: true;
|
|
|
|
|
-fx-background-color: rgba(186, 104, 200, 0.15);
|
|
|
|
|
-fx-background-radius: 8px;
|
|
|
|
|
-fx-padding: 10px 15px;
|
|
|
|
|
-fx-background-radius: 10px;
|
|
|
|
|
-fx-padding: 12px 15px;
|
|
|
|
|
-fx-border-color: rgba(186, 104, 200, 0.3);
|
|
|
|
|
-fx-border-radius: 8px;
|
|
|
|
|
-fx-border-radius: 10px;
|
|
|
|
|
-fx-border-width: 1px;
|
|
|
|
|
-fx-alignment: center;
|
|
|
|
|
-fx-text-alignment: center;
|
|
|
|
|
-fx-min-height: 50px;
|
|
|
|
|
-fx-pref-height: 50px;
|
|
|
|
|
-fx-max-width: 300px;
|
|
|
|
|
-fx-min-height: 70px;
|
|
|
|
|
-fx-pref-height: 70px;
|
|
|
|
|
-fx-max-width: 280px;
|
|
|
|
|
-fx-line-spacing: 2px;
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(186, 104, 200, 0.2), 6, 0.3, 2, 2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ===== 主菜单界面专用样式 - 浅紫色为主,浅黄色为辅 ===== */
|
|
|
|
|
.mainmenu-background-new {
|
|
|
|
|
-fx-background-image: url('file:src/main/resources/com/mathgenerator/images/mainmenu-bg.png');
|
|
|
|
|
@ -283,11 +286,16 @@
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(156, 39, 176, 0.25), 25, 0.5, 0, 8);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ===== 主菜单欢迎标题样式 - 修复长用户名显示 ===== */
|
|
|
|
|
.mainmenu-welcome-title {
|
|
|
|
|
-fx-text-fill: #7b1fa2;
|
|
|
|
|
-fx-font-weight: bold;
|
|
|
|
|
-fx-font-size: 28px;
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(123, 31, 162, 0.3), 4, 0.6, 2, 2);
|
|
|
|
|
-fx-font-size: 24px;
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(123, 31, 162, 0.25), 4, 0.6, 2, 2);
|
|
|
|
|
-fx-wrap-text: true;
|
|
|
|
|
-fx-text-alignment: center;
|
|
|
|
|
-fx-alignment: center;
|
|
|
|
|
-fx-max-width: 360px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mainmenu-difficulty-label {
|
|
|
|
|
@ -821,3 +829,120 @@
|
|
|
|
|
-fx-max-width: 300px;
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(186, 104, 200, 0.2), 6, 0.3, 2, 2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ===== 设置密码界面专用样式 - 淡黄色和淡紫色主题 ===== */
|
|
|
|
|
.setpassword-background {
|
|
|
|
|
-fx-background-image: url('file:src/main/resources/com/mathgenerator/images/background.png');
|
|
|
|
|
-fx-background-size: cover;
|
|
|
|
|
-fx-background-position: center center;
|
|
|
|
|
-fx-background-repeat: no-repeat;
|
|
|
|
|
-fx-background-color: linear-gradient(to bottom right, #fff9c4, #f3e5f5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setpassword-glass-panel {
|
|
|
|
|
-fx-background-color: rgba(255, 255, 255, 0.88);
|
|
|
|
|
-fx-background-radius: 30px;
|
|
|
|
|
-fx-border-radius: 30px;
|
|
|
|
|
-fx-border-color: rgba(186, 104, 200, 0.4);
|
|
|
|
|
-fx-border-width: 2px;
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(156, 39, 176, 0.2), 25, 0.5, 0, 8);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setpassword-title {
|
|
|
|
|
-fx-text-fill: #7b1fa2;
|
|
|
|
|
-fx-font-weight: bold;
|
|
|
|
|
-fx-font-size: 26px;
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(123, 31, 162, 0.25), 4, 0.6, 2, 2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setpassword-prompt {
|
|
|
|
|
-fx-text-fill: #7b1fa2;
|
|
|
|
|
-fx-font-size: 14px;
|
|
|
|
|
-fx-font-weight: bold;
|
|
|
|
|
-fx-wrap-text: true;
|
|
|
|
|
-fx-background-color: rgba(186, 104, 200, 0.1);
|
|
|
|
|
-fx-background-radius: 10px;
|
|
|
|
|
-fx-padding: 10px 15px;
|
|
|
|
|
-fx-border-color: rgba(186, 104, 200, 0.2);
|
|
|
|
|
-fx-border-radius: 10px;
|
|
|
|
|
-fx-border-width: 1px;
|
|
|
|
|
-fx-alignment: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setpassword-textfield {
|
|
|
|
|
-fx-background-color: rgba(255, 255, 255, 0.95);
|
|
|
|
|
-fx-border-color: rgba(186, 104, 200, 0.5);
|
|
|
|
|
-fx-border-radius: 15px;
|
|
|
|
|
-fx-background-radius: 15px;
|
|
|
|
|
-fx-padding: 12px 16px;
|
|
|
|
|
-fx-font-size: 14px;
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(186, 104, 200, 0.2), 6, 0.2, 2, 2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setpassword-textfield:focused {
|
|
|
|
|
-fx-border-color: rgba(156, 39, 176, 0.8);
|
|
|
|
|
-fx-border-width: 2px;
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(156, 39, 176, 0.3), 8, 0.3, 2, 2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setpassword-primary-button {
|
|
|
|
|
-fx-background-color: linear-gradient(to bottom, #ba68c8, #ab47bc);
|
|
|
|
|
-fx-text-fill: white;
|
|
|
|
|
-fx-font-size: 16px;
|
|
|
|
|
-fx-font-weight: bold;
|
|
|
|
|
-fx-background-radius: 25px;
|
|
|
|
|
-fx-border-radius: 25px;
|
|
|
|
|
-fx-border-color: #ab47bc;
|
|
|
|
|
-fx-border-width: 2px;
|
|
|
|
|
-fx-padding: 12px 24px;
|
|
|
|
|
-fx-min-width: 150px;
|
|
|
|
|
-fx-cursor: hand;
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(186, 104, 200, 0.4), 8, 0.3, 2, 2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setpassword-primary-button:hover {
|
|
|
|
|
-fx-background-color: linear-gradient(to bottom, #ce93d8, #ba68c8);
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(186, 104, 200, 0.6), 10, 0.4, 3, 3);
|
|
|
|
|
-fx-scale-x: 1.05;
|
|
|
|
|
-fx-scale-y: 1.05;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ===== 设置密码界面状态标签样式 - 修复页面滑动 ===== */
|
|
|
|
|
.setpassword-status-label {
|
|
|
|
|
-fx-text-fill: transparent;
|
|
|
|
|
-fx-font-size: 12px;
|
|
|
|
|
-fx-font-weight: bold;
|
|
|
|
|
-fx-wrap-text: true;
|
|
|
|
|
-fx-background-color: transparent;
|
|
|
|
|
-fx-background-radius: 10px;
|
|
|
|
|
-fx-padding: 0px;
|
|
|
|
|
-fx-border-color: transparent;
|
|
|
|
|
-fx-border-radius: 10px;
|
|
|
|
|
-fx-border-width: 0px;
|
|
|
|
|
-fx-alignment: center;
|
|
|
|
|
-fx-text-alignment: center;
|
|
|
|
|
-fx-min-height: 70px;
|
|
|
|
|
-fx-pref-height: 70px;
|
|
|
|
|
-fx-max-width: 280px;
|
|
|
|
|
-fx-line-spacing: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setpassword-status-label-with-text {
|
|
|
|
|
-fx-text-fill: #7b1fa2;
|
|
|
|
|
-fx-font-size: 12px;
|
|
|
|
|
-fx-font-weight: bold;
|
|
|
|
|
-fx-wrap-text: true;
|
|
|
|
|
-fx-background-color: rgba(186, 104, 200, 0.15);
|
|
|
|
|
-fx-background-radius: 10px;
|
|
|
|
|
-fx-padding: 12px 15px;
|
|
|
|
|
-fx-border-color: rgba(186, 104, 200, 0.3);
|
|
|
|
|
-fx-border-radius: 10px;
|
|
|
|
|
-fx-border-width: 1px;
|
|
|
|
|
-fx-alignment: center;
|
|
|
|
|
-fx-text-alignment: center;
|
|
|
|
|
-fx-min-height: 70px;
|
|
|
|
|
-fx-pref-height: 70px;
|
|
|
|
|
-fx-max-width: 280px;
|
|
|
|
|
-fx-line-spacing: 2px;
|
|
|
|
|
-fx-effect: dropshadow(gaussian, rgba(186, 104, 200, 0.2), 6, 0.3, 2, 2);
|
|
|
|
|
}
|