1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| .button1 {
-fx-background-color: black, lightgray;
-fx-background-insets: 0px, 1px;
-fx-background-radius: 5px, 4px;
}
.button1:hover {
-fx-background-color: black, lightgray;
-fx-background-insets: 0px, 5px 10px 5px 10px;
-fx-background-radius: 0px, 0px;
-fx-background-radius: 5px 0px 5px 0px, 4px 0px 4px 0px;
}
.button2 {
-focus-color: transparent;
-border-color: black;
-fill-color: lightgray;
-fx-background-color: -focus-color, -border-color, -fill-color;
-fx-background-insets: -1.5px, 0px, 1px;
-fx-background-radius: 6.5px, 5px, 4px;
}
.button2:hover {
-fill-color: white;
}
.button2:focused {
-focus-color: cornflowerblue;
}
.button2:pressed {
-fill-color: gray;
}
.banner {
-fx-background-color: #5AC2DD;
-fx-background-image: url("SlideHeader-1.png"), url("SlideHeader-2.png");
-fx-background-position: left, right;
-fx-background-repeat: no-repeat, no-repeat;
}
.star-button {
-outer-border-color: linear-gradient(from 0% 0% to 100% 100%, goldenrod 0%, darkgoldenrod 100%);
-inner-border-color: lightgoldenrodyellow;
/*-fill-color: linear-gradient(from 0% 0% to 100% 100%, lightgoldenrodyellow 0%, yellow 10%, gold 50%, gold 75%, orange 100%);*/
-fill-color: radial-gradient(center 100% 100%, radius 100%, orange 10%, gold 25%, gold 50%, yellow 80%, lightgoldenrodyellow 100%);
-fx-shape: "m 330,365.21935 c -6.20565,4.97745 -97.52794,-42.69418 -105.47409,-42.31493 -7.94615,0.37925 -94.31316,56.53157 -100.96465,52.16776 -6.65149,-4.36381 10.46679,-105.9478 7.6506,-113.38785 C 128.39568,254.24429 48.302777,189.4564 50.397583,181.78197 52.49239,174.10753 154.39435,158.9968 160.6,154.01935 c 6.20565,-4.97745 43.07253,-101.170885 51.01868,-101.550136 7.94615,-0.379251 53.80675,91.865796 60.45824,96.229606 6.65149,4.36381 109.52937,9.70089 112.34556,17.14093 2.81618,7.44004 -70.74237,79.56135 -72.83717,87.23579 C 309.4905,260.74997 336.20565,360.2419 330,365.21935 Z";
-fx-background-color: -outer-border-color, -inner-border-color, -fill-color;
-fx-background-insets: 0px, 5px, 10px;
}
.star-button:hover {
-fx-scale-x: 1.2;
-fx-scale-y: 1.2;
}
.star-button:focused {
-outer-border-color: cornflowerblue;
} |
Partager