Added a prelight effect to sidebar items

pull/63/head
Satyajit Sahoo 2013-09-10 23:09:09 +05:30
parent 1900ab25c5
commit dd503a697a
1 changed files with 30 additions and 1 deletions

View File

@ -271,6 +271,7 @@ GtkAssistant .sidebar {
} }
row:selected, row:selected,
row:selected:hover,
row:selected:focus { row:selected:focus {
border-width: 1px 0; border-width: 1px 0;
border-style: solid; border-style: solid;
@ -757,7 +758,7 @@ GtkInfoBar {
.view.dim-label, .view.dim-label,
.dim-label { .dim-label {
color: alpha(currentColor, 0.5); color: alpha(currentColor, 0.5);
} }
.dnd { .dnd {
@ -1401,6 +1402,34 @@ GtkComboBox .separator {
color: mix(@theme_fg_color, @theme_bg_color, 0.1); color: mix(@theme_fg_color, @theme_bg_color, 0.1);
} }
.sidebar row:selected,
.sidebar row:selected:hover,
.sidebar row:selected:focus,
.sidebar .view row:selected,
.sidebar .view row:selected:hover,
.sidebar .view row:selected:focus {
border-color: shade(@theme_selected_bg_color, 0.9);
background-color: @theme_selected_bg_color;
background-image: none;
color: @theme_selected_fg_color;
}
.sidebar row:prelight,
.sidebar .view row:prelight {
border-color: shade(@theme_bg_color, 1.05);
background-color: shade(@theme_bg_color, 1.05);
background-image: none;
color: @theme_fg_color;
}
.sidebar row:selected:prelight,
.sidebar .view row:selected:prelight {
border-color: shade(@theme_selected_bg_color, 1.05);
background-color: shade(@theme_selected_bg_color, 1.05);
background-image: none;
color: @theme_selected_fg_color;
}
.sidebar .frame { .sidebar .frame {
border-width: 0; border-width: 0;
} }