Skip to content

Instantly share code, notes, and snippets.

@Zookey
Created May 29, 2012 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zookey/2829219 to your computer and use it in GitHub Desktop.
Save Zookey/2829219 to your computer and use it in GitHub Desktop.
JavaFX 2 CSS Login Form
#root {
-fx-background-color: linear-gradient(lightgray, gray);
-fx-border-color: white;
-fx-border-radius: 20;
-fx-padding: 10 10 10 10;
-fx-background-radius: 20;
}
#bp {
-fx-background-color: linear-gradient(gray,DimGrey );
}
#btnLogin {
-fx-background-radius: 30, 30, 29, 28;
-fx-padding: 3px 10px 3px 10px;
-fx-background-color: linear-gradient(orange, orangered );
}
#text {
-fx-fill: linear-gradient(orange , orangered);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment