Skip to content

Commit

Permalink
add new css file
Browse files Browse the repository at this point in the history
  • Loading branch information
chengenzhao committed Nov 8, 2017
1 parent 2f2df85 commit 3587d88
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/main/resources/css/browser.css
Original file line number Diff line number Diff line change
@@ -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 */
Expand All @@ -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;
}
Expand All @@ -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;
}

0 comments on commit 3587d88

Please sign in to comment.