Files
paper-gtk-theme/Paper/gtk-3.0/widgets/list-rows.css

109 lines
2.6 KiB
CSS
Raw Normal View History

2014-12-13 12:48:16 -05:00
/* Copyright 2014 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/.
*/
/*********
* Lists *
*********/
.list,
.list-row {
background-color: @background;
color: @foreground;
}
2014-12-16 21:13:11 -05:00
.list:insensitive,
.list-row:insensitive {
background-color: @insensitive_background;
2014-12-13 12:48:16 -05:00
}
.list:backdrop,
.list-row:backdrop {
background-color: @backdrop_background;
}
.list-row,
.grid-child {
padding: 2px;
}
/* List Row Button */
.button.list-row {
outline: none;
2014-12-16 21:13:11 -05:00
border: solid transparent;
border-top-width: 1px;
border-bottom-width: 1px;
2014-12-13 12:48:16 -05:00
border-radius: 0px;
}
.button.list-row:hover {
2014-12-16 21:13:11 -05:00
border: solid alpha(@selection, 0.2);
border-top-width: 1px;
border-bottom-width: 1px;
2014-12-13 12:48:16 -05:00
background-color: alpha(@selection, 0.2);
color: @selection;
}
.button.list-row:active,
.button.list-row:selected {
2014-12-16 21:13:11 -05:00
border: solid alpha(@selection, 0.4);
border-top-width: 1px;
border-bottom-width: 1px;
2014-12-13 12:48:16 -05:00
background-color: alpha(@selection, 0.4);
color: @selection;
}
.button.list-row:active:selected,
.button.list-row:active:selected:hover {
2014-12-16 21:13:11 -05:00
border: solid alpha(@selection, 0.2);
border-top-width: 1px;
border-bottom-width: 1px;
2014-12-13 12:48:16 -05:00
background-color: alpha(@selection, 0.2);
color: @selection;
}
.button.list-row:hover:selected {
2014-12-16 21:13:11 -05:00
border: solid alpha(@selection, 0.2);
border-top-width: 1px;
border-bottom-width: 1px;
2014-12-13 12:48:16 -05:00
background-color: alpha(@selection, 0.2);
color: @selection;
2014-12-17 21:01:33 -05:00
}
/* Labels */
.button .list-row GtkLabel {
color: @text;
}
.button .list-row:active GtkLabel,
.button .list-row:focus GtkLabel,
.button .list-row:hover GtkLabel {
color: @selected_foreground;
}
.button .list-row:backdrop GtkLabel,
.button .list-row:backdrop:hover GtkLabel,
.button .list-row:active:backdrop GtkLabel {
color: @backdrop_text;
}
.button .list-row:insensitive GtkLabel {
color: @insensitive_text;
}
.button .list-row:insensitive:backdrop GtkLabel {
color: mix(@backdrop_text, @insensitive_text, 0.5);
2014-12-13 12:48:16 -05:00
}