Skip to content

Instantly share code, notes, and snippets.

@rhencke
Created January 9, 2018 14:00
Show Gist options
  • Save rhencke/9974d02717772619f8011a4512cec890 to your computer and use it in GitHub Desktop.
Save rhencke/9974d02717772619f8011a4512cec890 to your computer and use it in GitHub Desktop.
* {
-fx-darcula-background: #3C3F41;
-fx-darcula-window-background: #282829;
-fx-darcula-text: #BBBBBB;
-fx-darcula-window-text: #A0A0A0;
}
.root {
-fx-background-color: -fx-darcula-window-background;
}
.main-tool-bar {
/* -fx-pref-height: 30px;*/
-fx-padding: 4px;
-fx-spacing: 4px;
-fx-background-color: -fx-darcula-background;
}
.separator *.line {
-fx-border-color: #6F6F6F;
-fx-border-style: dotted;
-fx-border-width: 0 0 0 2px;
}
.status-bar {
-fx-padding: 2px 4px;
-fx-spacing: 2px;
-fx-border-width: 0.5px 0 0 0;
-fx-border-color: #464646;
-fx-background-color: -fx-darcula-background;
}
.status-bar .image-button {
-fx-padding: 0px;
-fx-font-size: 9px;
-fx-content-display: graphic-only;
-fx-background-color: transparent;
}
.status-bar .text {
-fx-fill: -fx-darcula-text;
-fx-font-size: 11px;
-fx-indent: 20px;
}
.main-tool-bar .button {
-fx-text-fill: #BBBBBB;
-fx-font-family: Arial;
/* -fx-font-weight: bold;*/
}
.main-tool-bar .bread-crumb-button {
-fx-background-color: transparent;
}
.main-tool-bar .image-button {
-fx-padding: 3px;
-fx-font-size: 9px;
-fx-content-display: graphic-only;
-fx-background-radius: 2;
-fx-background-insets: -1, 0;
-fx-background-color: transparent;
}
.update {
-fx-graphic: url('icons/actions/checkOut.png');
}
.commit {
-fx-graphic: url('icons/actions/commit_dark.png');
}
.revert {
-fx-graphic: url('icons/actions/rollback.png');
}
.showHistory {
-fx-graphic: url('icons/vcs/history_dark.png');
}
.tbShown {
-fx-graphic: url('icons/general/tbShown_dark.png');
}
.projectStructure {
-fx-graphic: url('icons/general/projectStructure_dark.png');
}
.main-tool-bar .button:hover {
-fx-background-color: #757B80, #464A4D;
}
.main-tool-bar .button:armed {
-fx-background-color: #757B80, #55595C;
}
.shortcuts {
-fx-spacing: 17px;
-fx-font-size: 13pt;
-fx-font-smoothing-type: lcd;
-fx-font-family: "Lucida Grande";
-fx-alignment: center-left;
}
.shortcuts .hbox {
-fx-spacing: 10px;
}
.shortcuts .text{
-fx-fill: #a0a0a0;
}
.shortcuts .shadow {
-fx-fill: #181819;
-fx-translate-x: 1px;
-fx-translate-y: 1px;
}
.shortcuts .accelerator {
-fx-fill: #549bf9;
}
<?xml version="1.0" encoding="UTF-8"?>
<?scenebuilder-stylesheet darcula.css?>
<?import java.net.URL?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<StackPane prefHeight="400.0" prefWidth="600.0" styleClass="root"
xmlns="http://javafx.com/javafx/9.0.1">
<stylesheets>
<URL value="@darcula.css"/>
</stylesheets>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" nodeOrientation="LEFT_TO_RIGHT" styleClass="shortcuts">
<HBox styleClass="hbox">
<StackPane>
<Text styleClass="shadow" text="Search Everywhere"/>
<Text styleClass="text" text="Search Everywhere"/>
</StackPane>
<StackPane>
<Text styleClass="accelerator" text="Double ⇧"/>
</StackPane>
</HBox>
<HBox styleClass="hbox">
<StackPane>
<Text styleClass="shadow" text="Go to File"/>
<Text styleClass="text" text="Go to File"/>
</StackPane>
<StackPane>
<Text styleClass="accelerator" text="⇧⌘O"/>
</StackPane>
</HBox>
<HBox styleClass="hbox">
<StackPane>
<Text styleClass="shadow" text="Recent Files"/>
<Text styleClass="text" text="Recent Files"/>
</StackPane>
<StackPane>
<Text styleClass="accelerator" text="⌘E"/>
</StackPane>
</HBox>
<HBox styleClass="hbox">
<StackPane>
<Text styleClass="shadow" text="Navigation Bar"/>
<Text styleClass="text" text="Navigation Bar"/>
</StackPane>
<StackPane>
<Text styleClass="accelerator" text="⌘↑"/>
</StackPane>
</HBox>
<HBox styleClass="hbox">
<StackPane>
<Text styleClass="shadow" text="Drop files here to open"/>
<Text styleClass="text" text="Drop files here to open"/>
</StackPane>
</HBox>
</VBox>
<BorderPane>
<top>
<ToolBar nodeOrientation="LEFT_TO_RIGHT" styleClass="main-tool-bar" BorderPane.alignment="CENTER">
<!--<BreadCrumbBar id="location"/>-->
<Pane HBox.hgrow="ALWAYS"/>
<Button styleClass="image-button"/>
<Separator/>
<Button styleClass="update, image-button"/>
<Button styleClass="commit, image-button"/>
<Button styleClass="showHistory, image-button"/>
<Button styleClass="revert, image-button"/>
<Separator/>
<Button styleClass="projectStructure, image-button"/>
<Button styleClass="search, image-button"/>
</ToolBar>
</top>
<bottom>
<ToolBar styleClass="status-bar" BorderPane.alignment="CENTER">
<Button styleClass="tbShown, image-button"/>
<Label text="Frameworks Detected: COBOL">
<padding>
<Insets left="9.0"/>
</padding>
</Label>
</ToolBar>
</bottom>
</BorderPane>
</StackPane>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment