modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css

Print this page
rev 7686 : RT-12643: Add alert dialogs

@@ -3313,5 +3313,82 @@
 }
 .spinner.split-arrows-horizontal:focused > .text-field,
 .spinner.split-arrows-horizontal:contains-focus > .text-field {
     -fx-background-insets: 1 0 1 0, 1 0 1 0, 3 2 3 2;
 }
+
+
+/*******************************************************************************
+ *                                                                             *
+ * Dialog                                                                      *
+ *                                                                             *
+ ******************************************************************************/
+ 
+.dialog {
+    -fx-padding: -1;
+}
+
+.dialog > .dialog-pane {
+    -fx-background-color: linear-gradient(#ffffff,#f3f3f4);
+    -fx-border-width: 1 1 1 1;
+    -fx-border-color: #b4b4b4 transparent #b4b4b4 transparent;
+    -fx-font-size: 1.083333em; /*13px;*/
+    -fx-text-fill: #292929;
+}
+
+.dialog > .dialog-pane > .button-bar {
+    -fx-font-size: 1em;
+}
+
+.dialog > .dialog-pane {
+    -fx-padding: 0;
+}
+
+.dialog > .dialog-pane > .expandable-content {
+    -fx-padding: 8 8 8 8;
+}
+
+.dialog > .dialog-pane > .button-bar > .container {
+    -fx-padding: 10;
+}
+
+.dialog > .dialog-pane > .content {
+    -fx-padding: 10 10 10 10;
+}
+
+.dialog:no-header > .dialog-pane .graphic-container {
+    -fx-padding: 10 10 0 10;
+}
+
+.dialog:header > .dialog-pane .header-panel {
+    -fx-padding: 10 14 10 14;
+    -fx-background-insets: 0 -1 0 -1, 0 -1 1 -1;
+    -fx-background-color: #b4b4b4, linear-gradient(#e2e2e2,#e2e2e2,#eeeeee);
+}
+
+.dialog:header > .dialog-pane .header-panel .label {
+    -fx-font-size: 1.249999em; 
+    -fx-wrap-text: true;
+}
+
+.dialog:header > .dialog-pane .header-panel .graphic-container {
+    -fx-padding: 0 0 0 10;
+}
+
+.dialog > .dialog-pane > .button-bar > .container > .details-button  {
+  -fx-alignment: baseline-left;
+  -fx-focus-traversable: false;
+  -fx-padding: 5 5 5 5;
+  -fx-font-size: 1em;
+}
+
+.dialog > .dialog-pane > .button-bar > .container > .details-button.more {
+    -fx-graphic: url("dialog-more-details.png");
+}
+
+.dialog > .dialog-pane > .button-bar > .container > .details-button.less {
+    -fx-graphic: url("dialog-fewer-details.png");
+}
+
+.dialog > .dialog-pane > .button-bar > .container > .details-button:hover {
+    -fx-underline: true;
+}