Skip to content
Snippets Groups Projects
style.css 1.50 KiB

.button-style {
    //-fx-background-color: linear-gradient(#8ca45b, #1e5b5b);
    -fx-background-color: white;
    -fx-text-fill: black;
    -fx-background-radius: 30;
    -fx-background-insets: 0;

    -fx-font-size: 16;
    //-fx-text-fill: white;
}

.button-style:hover {
    -fx-scale-x: 1.05;
    -fx-scale-y: 1.05;
    -fx-scale-z: 1.05;
}

.recipe-tile {
    -fx-background-color: rgba(255, 213, 0, 0.86);
    -fx-background-radius: 25;
    -fx-border-color: white;
    -fx-border-width: 6px;
    -fx-border-radius: 25;
}

.recipe-tile:hover {
    -fx-scale-x: 1.05;
    -fx-scale-y: 1.05;
    -fx-scale-z: 1.05;
}

.dialog-pane {
    -fx-background-color: rgba(151, 175, 151, 0.8);

}

.list-cell:filled:selected:focused, .list-cell:filled:selected {
    -fx-background-color: #1e5b5b;
    -fx-text-fill: white;
}

.list-cell{
    -fx-font-size:18.0;
}

.list-cell:even { /* <=== changed to even */
    -fx-background-color: white;
}

.list-cell:odd { /* <=== changed to even */
    -fx-background-color: rgba(190, 217, 190, 0.8);
}

.list-cell:filled:hover {
    -fx-background-color: #1e5b5b;
    -fx-text-fill: white;
}

.tile-button {
    -fx-background-color: transparent;
    -fx-alignment: center;
}

.ingredient:hover {
    -fx-scale-x: 1.05;
    -fx-scale-y: 1.05;
    -fx-scale-z: 1.05;
}
.recipe-instructions {
    -fx-font-size: 16;
    -fx-font-style: italic;
    -fx-spacing: 1.5;
}

.information-label {
    -fx-background-color: rgba(255, 255, 255, 0.65);
    -fx-text-fill: black;
    -fx-border-radius: 20;
}