All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ensemble.samples.media.StreamingMediaPlayer.css Maven / Gradle / Ivy

The newest version!
/* 
    Document   : OverlayMediaPlayer.css
*/

#media-pane {
    -fx-background-color: black;
}

#player-pane {
    -fx-background-color: black;
}

.button {
    -fx-skin: "com.sun.javafx.scene.control.skin.ButtonSkin";
    -fx-background-color: null;
    -fx-background-insets: 0;
    -fx-background-radius: 0;
    -fx-padding: 0;
    -fx-text-fill: -fx-text-base-color;
    -fx-alignment: CENTER;
    -fx-content-display: graphic-only;
}

#media-slider .track {
    -fx-background-color: null;
    -fx-background-insets: 1 0 -1 0, 0, 1;
    -fx-background-radius: 2.5, 2.5, 1.5;
    -fx-padding: 0.208333em; 
    -fx-background-image: url("images/slider.png");
    -fx-background-image-width: 10;
    -fx-background-image-slice: 0 fill;
}

#media-slider .thumb {
    -fx-background-color: null;
    -fx-background-insets: 0, 1, 2;
    -fx-background-radius: 1.0em; /* makes sure this remains circular */
    -fx-padding: 0.583333em; /* 7 */
    -fx-border-image-source: url("images/thumb_default.png");
    -fx-border-image-width: 10;
    -fx-border-image-slice: 0 fill;
}

#media-slider:armed .thumb {
    -fx-color: null;
    -fx-background-color: null;
    -fx-border-color: null;
    -fx-border-image-source: url("images/thumb_pressed.png");
    -fx-border-image-width: 10;
    -fx-border-image-slice: 0 fill;
    -fx-background-insets: -1.4, 0, 1, 2;
    -fx-background-radius: 1.0em; /* makes sure this remains circular */
}

#media-slider .thumb:hover {
    -fx-color: null;
    -fx-background-color: null;
    -fx-border-color: null;
    -fx-border-image-source: url("images/thumb_hover.png");
    -fx-border-image-width: 10;
    -fx-border-image-slice: 0 fill;
}

#back-button {
    -fx-graphic: url("images/button_default_back.png");
}

#back-button:hover {
    -fx-graphic: url("images/button_hover_back.png");
}

#back-button:armed {
    -fx-graphic: url("images/button_pressed_back.png");
}

#stop-button {
    -fx-graphic: url("images/button_default_stop.png");
}

#stop-button:hover {
    -fx-graphic: url("images/button_hover_stop.png");
}

#stop-button:armed {
    -fx-graphic: url("images/button_pressed_stop.png");
}

#play-button {
    -fx-graphic: url("images/button_default_play.png");
}

#play-button:hover {
    -fx-graphic: url("images/button_hover_play.png");
}

#play-button:armed {
    -fx-graphic: url("images/button_pressed_play.png");
}

#pause-button {
    -fx-graphic: url("images/button_default_pause.png");
}

#pause-button:hover {
    -fx-graphic: url("images/button_hover_pause.png");
}

#pause-button:armed {
    -fx-graphic: url("images/button_pressed_pause.png");
}

#forward-button {
    -fx-graphic: url("images/button_default_forward.png");
}

#forward-button:hover {
    -fx-graphic: url("images/button_hover_forward.png");
}

#forward-button:armed {
    -fx-graphic: url("images/button_pressed_forward.png");
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy