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

152 lines
3.7 KiB
CSS
Raw Normal View History

2014-12-18 14:50:30 -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/.
*/
2014-12-13 12:48:16 -05:00
/*********
2014-12-18 13:08:32 -05:00
* Lists *
*********/
2014-12-13 12:48:16 -05:00
.list,
.list-row {
background-color: @background;
2014-12-18 13:08:32 -05:00
border-color: @border;
2014-12-13 12:48:16 -05:00
}
.list:backdrop,
.list-row:backdrop {
background-color: @backdrop_background;
2014-12-18 13:08:32 -05:00
border-color: @backdrop_border;
2014-12-13 12:48:16 -05:00
}
.list-row,
.grid-child {
padding: 2px;
}
2014-12-18 20:31:20 -05:00
/* List Row Button */
.button.list-row {
}
.button.list-row:hover {
background-color: alpha(@selection, 0.2);
color: @selection;
}
.button.list-row:active,
.button.list-row:selected {
background-color: alpha(@selection, 0.4);
color: @selection;
}
.button.list-row:active:selected,
.button.list-row:active:selected:hover {
background-color: alpha(@selection, 0.2);
color: @selection;
}
.button.list-row:hover:selected {
background-color: alpha(@selection, 0.2);
color: @selection;
}
2014-12-18 13:08:32 -05:00
.list-row.button,
.header-bar .list-row.button.titlebutton,
.titlebar .list-row.button.titlebutton {
background-color: transparent;
border-style: none;
border-radius: 0;
2014-12-18 20:06:29 -05:00
box-shadow: none;
2014-12-13 12:48:16 -05:00
}
2014-12-18 13:08:32 -05:00
.list-row.button:hover {
border-color: @selection;
background-color: @selection;
color: @selected_foreground;
2014-12-18 20:06:29 -05:00
box-shadow: none;
2014-12-13 12:48:16 -05:00
}
2014-12-18 13:08:32 -05:00
.list-row.button:active {
2014-12-18 20:06:29 -05:00
box-shadow: none;
2014-12-13 12:48:16 -05:00
}
2014-12-18 13:08:32 -05:00
.list-row.button:selected:active {
}
.list-row.button:selected:hover {
border-color: shade(@selection, 1.2);
background-color: shade(@selection, 1.2);
2014-12-13 12:48:16 -05:00
}
2014-12-18 13:08:32 -05:00
.list-row.button:selected:backdrop {
background-color: @backdrop_selection;
}
.list-row:selected .button {
color: @button;
border-color: @border;
border-color: @selected_border;
}
.list-row:selected .button.flat,
.list-row:selected .header-bar .titlebutton.button,
.header-bar .list-row:selected .titlebutton.button,
.list-row:selected .titlebar .titlebutton.button,
.titlebar .list-row:selected .titlebutton.button {
border-color: transparent;
background-color: transparent;
background-image: none;
2014-12-18 20:06:29 -05:00
box-shadow: none;
2014-12-13 12:48:16 -05:00
color: @selection;
2014-12-17 21:01:33 -05:00
}
2014-12-18 13:08:32 -05:00
.list-row:selected .button:hover {
color: @button;
border-color: @border;
border-color: @selected_border;
2014-12-18 20:06:29 -05:00
box-shadow: none;
2014-12-17 21:01:33 -05:00
}
2014-12-18 13:08:32 -05:00
.list-row:selected .button:active,
.list-row:selected .button:checked {
color: @button;
border-color: @border;
border-color: @selected_border;
}
.list-row:selected .button:backdrop,
.list-row:selected .button.flat:backdrop,
.list-row:selected .header-bar .titlebutton.button:backdrop,
.header-bar .list-row:selected .titlebutton.button:backdrop,
.list-row:selected .titlebar .titlebutton.button:backdrop,
.titlebar .list-row:selected .titlebutton.button:backdrop {
color: @insensitive_background;
border-color: @insensitive_border;
border-color: @selected_border;
}
.list-row, list-row.button,
.header-bar list-row.button.titlebutton,
.titlebar list-row.button.titlebutton {
transition: all 300ms cubic-bezier(0.3, 0.5, 0.5, 0.9);
}
.list-row:hover, list-row.button:hover,
.header-bar list-row.button.titlebutton:hover,
.titlebar list-row.button.titlebutton:hover {
transition: none;
}