@define-color music_topbar_selection_bg_color #3465a4;

@define-color music_selection_box_a #8e9c80;
@define-color music_selection_box_b #4f6838;
@define-color music_selection_box_border #3e7b05;

@define-color music_selection_button_a #7fc141;
@define-color music_selection_button_b #47850d;
@define-color music_selection_button_c #4e9a06;

@define-color music_selection_button_dark_a #3b3b3b;
@define-color music_selection_button_dark_b #1c1c1c;
@define-color music_selection_box_dark_border #3e7b05;
@binding-set UnbindSpace{
    unbind "space";
}
 
GdMainListView{
    gtk-key-bindings: UnbindSpace;
}
GdMainView{
    gtk-key-bindings: UnbindSpace;
}
GtkTreeView{
    gtk-key-bindings: UnbindSpace;
}
.cover{
    padding-left:24px;
}
.title{
    padding-left:24px;
}

.side-panel:dir(ltr) {
    border-width: 0 1px 0 0;
}

.side-panel:dir(rtl) {
    border-width: 0 0 0 1px;
}

.side-panel .view {
    background-color: mix(@theme_fg_color, @theme_bg_color, 0.9);
}

.side-panel .view:dir(ltr) {
    box-shadow: inset -10px 0 5px -10px @borders;
}

.side-panel .view:dir(rtl) {
    box-shadow: inset 10px 0 5px -10px @borders;
}

.side-panel .view:selected {
    background-color: mix(@theme_fg_color, @theme_bg_color, 0.5);
}

.playlist-controls-white{
    background-color: #d7dad7;
}
.playlist-controls-white:selected{
    background-color: #888A85;
}
.playlist-controls-dark{
    background-color: #282528;
}
.playlist-controls-dark:selected{
    background-color: #77757A;
}

.playlists-list {
    box-shadow: inset 0 -1px @view_separators;
}

.songs-list {
    box-shadow: inset 0 -1px shade(@borders, 1.30);
    box-shadow: inset 0 1px shade(@borders, 1.30);
    background-color: @theme_bg_color;
}

.music-selection-mode {
    background-image: -gtk-gradient(linear, left top, left bottom,
                                    from(@music_selection_box_a),
                                    to(@music_selection_box_b));
    color: @theme_base_color;
    border-width: 1px 0 0 0;
    border-color: @music_selection_box_border;
    border-style: solid;
}

.music-selection-mode .button,
.music-selection-mode .button:focus {
    background-image: -gtk-gradient(linear, left top, left bottom,
                                    from(@music_selection_button_a),
                                    color-stop(0.83, @music_selection_button_b),
                                    to(@music_selection_button_c));

    border-color: @music_selection_box_border;
    border-image: none;
    border-style: solid;
    border-width: 1px;

    color: @theme_base_color;
}

.music-selection-mode .button.dark,
.music-selection-mode .button.dark:focus {
    background-image: -gtk-gradient(linear, left top, left bottom,
                                    from(@music_selection_button_dark_a),
                                    to(@music_selection_button_dark_b));

    border-color: @music_selection_box_dark_border;
    border-image: none;
    border-style: solid;
    border-width: 1px;

    color: @theme_base_color;
}

.music-selection-mode .button:hover {
    background-image: -gtk-gradient(linear, left top, left bottom,
                                    from(shade(@music_selection_button_a, 1.20)),
                                    color-stop(0.83, shade(@music_selection_button_b, 1.10)),
                                    to(shade(@music_selection_button_c, 1.10)));
}

.music-selection-mode .button:active,
.music-selection-mode .button:hover:active {
    background-image: -gtk-gradient(linear, left top, left bottom,
                                    from(@music_selection_button_b),
                                    to(shade(@music_selection_button_a, 0.90)));

    border-color: @music_selection_box_border;
    border-image: none;
    border-style: solid;
    border-width: 1px;
}

.music-selection-mode .button *:hover {
    color: @theme_base_color;
}

.music-player, .music-topbar {
    background-image: linear-gradient(to bottom,
                                      @button_gradient_color_a,
                                      @button_gradient_color_b 40%,
                                      @button_gradient_color_c
                                      );
}

.music-albuminfo-artist {
    font-size: 15px;
    font-weight: bold;
}

.music-albuminfo-album {
    font-size: 14px;
    font-weight: bold;
    color: mix (@theme_fg_color, @theme_bg_color, 0.50);
}

.content-view { background-color: @theme_bg; }
