Skip to content

Commit 3587d88

Browse files
committed
add new css file
1 parent 2f2df85 commit 3587d88

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/main/resources/css/browser.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
.root{
22
-fx-faint-focus-color: #039ED322;
3+
-background-color: linear-gradient(#fffafa 0%, #f8f8ff 50%, #dcdcdc 51%, #ffffff 100%)
34
}
45

56
.button{
6-
-fx-background-color: -fx-shadow-highlight-color, -fx-outer-border, -fx-inner-border, linear-gradient(snow 0%, ghostwhite 50%, gainsboro 51%, white 100%);
7+
-fx-background-color: -fx-shadow-highlight-color, -fx-outer-border, -fx-inner-border, -background-color;
78
-fx-background-insets: 0 0 -1 0, 0, 1, 2;
89
-fx-background-radius: 3px, 3px, 2px, 1px;
910
-fx-padding: 0.333333em 0.666667em 0.333333em 0.666667em; /* 4 8 4 8 */
@@ -13,7 +14,7 @@
1314
}
1415

1516
.button:hover,.button:focused{
16-
-fx-background-color: -fx-focus-color, -fx-inner-border, -fx-body-color, -fx-faint-focus-color, linear-gradient(snow 0%, ghostwhite 50%, gainsboro 51%, white 100%);
17+
-fx-background-color: -fx-focus-color, -fx-inner-border, -fx-body-color, -fx-faint-focus-color, -background-color;
1718
-fx-background-insets: -0.2, 1, 2, -1.4, 2.6;
1819
-fx-background-radius: 3, 2, 1, 4, 1;
1920
}
@@ -25,18 +26,18 @@
2526
}
2627

2728
.tab-pane > .tab-header-area > .headers-region > .tab:selected {
28-
-fx-background-color: -fx-outer-border, -fx-inner-border, linear-gradient(snow 0%, ghostwhite 50%, gainsboro 51%, white 100%);
29+
-fx-background-color: -fx-outer-border, -fx-inner-border, -background-color;
2930
-fx-background-insets: 0 1 1 0, 1 2 0 1, 2 3 0 2;
3031
}
3132

3233
.menu-button{
33-
-fx-background-color: -fx-shadow-highlight-color, -fx-outer-border, -fx-inner-border, linear-gradient(snow 0%, ghostwhite 50%, gainsboro 51%, white 100%);
34+
-fx-background-color: -fx-shadow-highlight-color, -fx-outer-border, -fx-inner-border, -background-color;
3435
-fx-background-insets: 0 0 -1 0, 0, 1, 2;
3536
-fx-background-radius: 3px, 3px, 2px, 1px;
3637
}
3738

3839
.menu-button:hover,.menu-button:focused{
39-
-fx-background-color: -fx-focus-color, -fx-inner-border, -fx-body-color, -fx-faint-focus-color, linear-gradient(snow 0%, ghostwhite 50%, gainsboro 51%, white 100%);
40+
-fx-background-color: -fx-focus-color, -fx-inner-border, -fx-body-color, -fx-faint-focus-color, -background-color;
4041
-fx-background-insets: -0.2, 1, 2, -1.4, 2.6;
4142
-fx-background-radius: 3, 2, 1, 4, 1;
4243
}

0 commit comments

Comments
 (0)