Styled default buttons

pull/20/merge
Satyajit Sahoo 2013-02-27 14:47:30 +05:30
parent 5d2b46ad30
commit 273ab5dbe0
1 changed files with 15 additions and 2 deletions

View File

@ -208,6 +208,11 @@ GtkAssistant .sidebar {
color: shade(@theme_fg_color, 0.7);
}
.button:focus {
border-color: shade(@theme_bg_color, 0.7);
color: shade(@theme_fg_color, 0.7);
}
.button:insensitive {
border-color: shade(@theme_bg_color, 0.9);
background-image: none;
@ -222,17 +227,25 @@ GtkAssistant .sidebar {
/* default button */
.button.default {
border-color: alpha(@theme_selected_bg_color, 0.5);
border-color: shade(@theme_selected_bg_color, 0.8);
background-color: shade(@theme_selected_bg_color, 1.08);
color: @theme_selected_fg_color;
}
.button.default:hover {
border-color: alpha(@theme_selected_bg_color, 0.7);
border-color: shade(@theme_selected_bg_color, 0.7);
background-color: @theme_selected_bg_color;
}
.button.default:active {
border-color: shade(@theme_selected_bg_color, 0.8);
background-color: shade(@theme_selected_bg_color, 0.95);
color: @theme_selected_fg_color;
}
.button.default:active:hover {
border-color: shade(@theme_selected_bg_color, 0.7);
background-color: shade(@theme_selected_bg_color, 0.97);
}
/* middle button */