/* Copyright 2015 Sam Hewitt.
*
* This file is part of the Paper GTK theme.
*
* The Paper GTK theme is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* The Paper GTK theme is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with the Paper GTK theme. If not, see http://www.gnu.org/licenses/.
*/

/***********
 * List Rows *
 ***********/
 
.list-row {
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 0px;
    border:none;
    background-image: none;
    background-color: @background;
    color: @text;
}

/* Focus */
.list-row:focus,
.list-row:active:focus {
    border:none;
    background-image: none;
    background-color: shade(@selection, 1.1);
    color: @selection;
}

/* Hover */
.list-row:hover,
.list-row:active:hover {
    border:none;
    background-image: none;
    background-color: shade(@background, 0.9);
    color: @selected_foreground;
}

/* Active (Pressed) */
.list-row:active {
    border:none;
    background-image: none;
    background-color: @selection;
    color: @selected_foreground;
}

/* Selected */
.list-row:selected {
    border:none;
    background-image: none;
    background-color: shade(@selection, 1.1);
    color: @selected_foreground;
}

/* Selected:Hover; */
.list-row:selected:hover {
    border:none;
    background-image: none;
    background-color: shade(shade(@selection, 1.1), 1.1);
    color: @selected_foreground;
}

/* Insensitive */
.list-row:insensitive {
    border:none;
    background-color: @insensitive_background;
    background-image: none;
    color: @insensitive_text;
}

/* Backdrop */
.list-row:backdrop {
    border:none;
    background-image: none;
    background-color: @backdrop_background;
    color: @backdrop_text;
}

/* Active:Backdrop */
.list-row:active:backdrop {
    border:none;
    background-image: none;
    background-color: shade(@selection, 0.9);
    color: @backdrop_text;
}

/* Backdrop:Hover; */
.list-row:backdrop:hover {
    background-image: none;
    background-color: shade(@base, 0.96);
    color: @backdrop_text;
}

/* Insensitive:Backdrop */
.list-row:insensitive:backdrop {
    border:none;
    background-color: @insensitive_background;
    background-image: none;
    color: @insensitive_text;
}

/* Images */
.list-row GtkImage,
.list-row:focus GtkImage,
.list-row:hover GtkImage {
    color: @text;
}

.list-row:selected GtkImage,
.list-row:active GtkImage {
    color: @selected_foreground;
}

.list-row:backdrop GtkImage,
.list-row:backdrop:hover GtkImage,
.list-row:active:backdrop GtkImage {
    color: @backdrop_text;
    -gtk-image-effect: dim;
}

.list-row:insensitive GtkImage {
    color: @insensitive_text;
    -gtk-image-effect: dim;
}

.list-row:insensitive:backdrop GtkImage {
    color: mix(@backdrop_text, @insensitive_text, 0.5);
    -gtk-image-effect: dim;
}

/* Labels */

.list-row GtkLabel,
.list-row:focus GtkLabel,
.list-row:hover GtkLabel {
    color: @text;
}

.list-row:selected GtkLabel,
.list-row:active GtkLabel {
    color: @selected_foreground;
}

.list-row:backdrop GtkLabel,
.list-row:backdrop:hover GtkLabel,
.list-row:active:backdrop GtkLabel {
    color: @backdrop_text;
}

.list-row:insensitive GtkLabel {
    color: @insensitive_text;
}

.list-row:insensitive:backdrop GtkLabel {
    color: mix(@backdrop_text, @insensitive_text, 0.5);
}