diff --git a/src/main/resources/css/browser.css b/src/main/resources/css/browser.css index 9d9f38d..27e2fd1 100644 --- a/src/main/resources/css/browser.css +++ b/src/main/resources/css/browser.css @@ -1,9 +1,10 @@ .root{ -fx-faint-focus-color: #039ED322; + -background-color: linear-gradient(#fffafa 0%, #f8f8ff 50%, #dcdcdc 51%, #ffffff 100%) } .button{ - -fx-background-color: -fx-shadow-highlight-color, -fx-outer-border, -fx-inner-border, linear-gradient(snow 0%, ghostwhite 50%, gainsboro 51%, white 100%); + -fx-background-color: -fx-shadow-highlight-color, -fx-outer-border, -fx-inner-border, -background-color; -fx-background-insets: 0 0 -1 0, 0, 1, 2; -fx-background-radius: 3px, 3px, 2px, 1px; -fx-padding: 0.333333em 0.666667em 0.333333em 0.666667em; /* 4 8 4 8 */ @@ -13,7 +14,7 @@ } .button:hover,.button:focused{ - -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%); + -fx-background-color: -fx-focus-color, -fx-inner-border, -fx-body-color, -fx-faint-focus-color, -background-color; -fx-background-insets: -0.2, 1, 2, -1.4, 2.6; -fx-background-radius: 3, 2, 1, 4, 1; } @@ -25,18 +26,18 @@ } .tab-pane > .tab-header-area > .headers-region > .tab:selected { - -fx-background-color: -fx-outer-border, -fx-inner-border, linear-gradient(snow 0%, ghostwhite 50%, gainsboro 51%, white 100%); + -fx-background-color: -fx-outer-border, -fx-inner-border, -background-color; -fx-background-insets: 0 1 1 0, 1 2 0 1, 2 3 0 2; } .menu-button{ - -fx-background-color: -fx-shadow-highlight-color, -fx-outer-border, -fx-inner-border, linear-gradient(snow 0%, ghostwhite 50%, gainsboro 51%, white 100%); + -fx-background-color: -fx-shadow-highlight-color, -fx-outer-border, -fx-inner-border, -background-color; -fx-background-insets: 0 0 -1 0, 0, 1, 2; -fx-background-radius: 3px, 3px, 2px, 1px; } .menu-button:hover,.menu-button:focused{ - -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%); + -fx-background-color: -fx-focus-color, -fx-inner-border, -fx-body-color, -fx-faint-focus-color, -background-color; -fx-background-insets: -0.2, 1, 2, -1.4, 2.6; -fx-background-radius: 3, 2, 1, 4, 1; } \ No newline at end of file