mirror of
https://gitee.com/willfree/minoaClientWindows_gradle.git
synced 2026-10-05 01:15:44 +08:00
101 lines
2.4 KiB
CSS
101 lines
2.4 KiB
CSS
/*
|
|
* Metro style Push Button
|
|
* Author: Pedro Duque Vieira
|
|
* http://pixelduke.wordpress.com/2012/10/23/jmetro-windows-8-controls-on-java/
|
|
*/
|
|
.button {
|
|
-fx-padding: 5 22 5 22;
|
|
-fx-border-color: #FFFFFF;
|
|
-fx-border-width: 2;
|
|
-fx-background-radius: 0;
|
|
-fx-background-color: #08BEFD;
|
|
-fx-font-family: "Segoe UI", Helvetica, Arial, sans-serif;
|
|
-fx-font-size: 12pt;
|
|
-fx-text-fill: #FFFFFF;
|
|
-fx-background-insets: 0 0 0 0, 0, 1, 2;
|
|
}
|
|
|
|
.button:hover {
|
|
-fx-background-color: #C377FE;
|
|
}
|
|
|
|
.button:pressed, .button:default:hover:pressed {
|
|
-fx-background-color: white;
|
|
-fx-text-fill: #08BEFD;
|
|
}
|
|
|
|
.button:focused {
|
|
-fx-border-color: white, white;
|
|
-fx-border-width: 1, 1;
|
|
-fx-border-style: solid, segments(1, 1);
|
|
-fx-border-radius: 0, 0;
|
|
-fx-border-insets: 1 1 1 1, 0;
|
|
}
|
|
|
|
.button:disabled, .button:default:disabled {
|
|
-fx-opacity: 0.4;
|
|
-fx-background-color: #08BEFD;
|
|
-fx-text-fill: white;
|
|
}
|
|
|
|
.button:default {
|
|
-fx-background-color: -fx-focus-color;
|
|
-fx-text-fill: #ffffff;
|
|
}
|
|
|
|
.button:default:hover {
|
|
-fx-background-color: derive(-fx-focus-color,30%);
|
|
}
|
|
|
|
/*
|
|
* 发送手机验证码的Button
|
|
*/
|
|
#sendVerificationCodeButton {
|
|
-fx-padding: 1 15 1 15;
|
|
-fx-border-color: #FFFFFF;
|
|
-fx-border-width: 2;
|
|
-fx-background-radius: 0;
|
|
-fx-background-color: #08BEFD;
|
|
-fx-font-family: "Segoe UI", Helvetica, Arial, sans-serif;
|
|
-fx-font-size: 12pt;
|
|
-fx-text-fill: #FFFFFF;
|
|
-fx-background-insets: 0 0 0 0, 0, 1, 2;
|
|
}
|
|
#sendVerificationCodeButton:hover {
|
|
-fx-background-color: #C377FE;
|
|
}
|
|
|
|
#sendVerificationCodeButton:pressed, #sendVerificationCodeButton:default:hover:pressed {
|
|
-fx-background-color: white;
|
|
-fx-text-fill: #08BEFD;
|
|
}
|
|
|
|
#sendVerificationCodeButton:focused {
|
|
-fx-border-color: white, white;
|
|
-fx-border-width: 1, 1;
|
|
-fx-border-style: solid, segments(1, 1);
|
|
-fx-border-radius: 0, 0;
|
|
-fx-border-insets: 1 1 1 1, 0;
|
|
}
|
|
|
|
#sendVerificationCodeButton:disabled, #sendVerificationCodeButton:default:disabled {
|
|
-fx-opacity: 0.4;
|
|
-fx-background-color: #08BEFD;
|
|
-fx-text-fill: white;
|
|
}
|
|
|
|
#sendVerificationCodeButton:default {
|
|
-fx-background-color: -fx-focus-color;
|
|
-fx-text-fill: #ffffff;
|
|
}
|
|
|
|
#sendVerificationCodeButton:default:hover {
|
|
-fx-background-color: derive(-fx-focus-color,30%);
|
|
}
|
|
/*
|
|
* 针对区域设置不同的颜色
|
|
*/
|
|
#upSplite{
|
|
-fx-background-color: #586AFF;
|
|
}
|