Adwaita: list-row styling

This commit is contained in:
Lapo Calamandrei 2014-06-16 19:57:56 +02:00
parent 0e64019df3
commit 085de60305
3 changed files with 22 additions and 5 deletions

View File

@ -1535,7 +1535,7 @@ GtkScrolledWindow {
* Lists * * Lists *
*********/ *********/
.list { .list, .list-row {
background-color: $base_color; background-color: $base_color;
border-color: $borders_color; border-color: $borders_color;
&:backdrop { &:backdrop {
@ -1544,6 +1544,11 @@ GtkScrolledWindow {
} }
} }
.list-row:selected {
background-color: $selected_bg_color;
color: $selected_fg_color;
&:backdrop { color: $backdrop_base_color;}
}
/********************* /*********************
* App Notifications * * App Notifications *

View File

@ -2037,13 +2037,19 @@ GtkScrolledWindow GtkViewport.frame {
/********* /*********
* Lists * * Lists *
*********/ *********/
.list { .list, .list-row {
background-color: #292929; background-color: #292929;
border-color: #1c1f1f; } border-color: #1c1f1f; }
.list:backdrop { .list:backdrop, .list-row:backdrop {
background-color: #2c2c2c; background-color: #2c2c2c;
border-color: #1e2222; } border-color: #1e2222; }
.list-row:selected {
background-color: #215d9c;
color: white; }
.list-row:selected:backdrop {
color: #2c2c2c; }
/********************* /*********************
* App Notifications * * App Notifications *
*********************/ *********************/

View File

@ -2035,13 +2035,19 @@ GtkScrolledWindow GtkViewport.frame {
/********* /*********
* Lists * * Lists *
*********/ *********/
.list { .list, .list-row {
background-color: white; background-color: white;
border-color: #a1a1a1; } border-color: #a1a1a1; }
.list:backdrop { .list:backdrop, .list-row:backdrop {
background-color: #fcfcfc; background-color: #fcfcfc;
border-color: #a8a8a8; } border-color: #a8a8a8; }
.list-row:selected {
background-color: #4a90d9;
color: white; }
.list-row:selected:backdrop {
color: #fcfcfc; }
/********************* /*********************
* App Notifications * * App Notifications *
*********************/ *********************/