Fixes to GtkComboBox

pull/20/merge
Satyajit Sahoo 2013-03-08 00:42:05 +05:30
parent 002c219b33
commit 19808d4803
2 changed files with 8 additions and 15 deletions

View File

@ -670,16 +670,6 @@ style "murrine-nautilus-location" {
widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location" widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location"
style "menuitem-text-is-fg-color-workaround" {
text[NORMAL] = @text_color
text[PRELIGHT] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @fg_color
text[INSENSITIVE] = mix (0.5, @bg_color, @fg_color)
}
widget "*.gtk-combobox-popup-menu.*" style "menuitem-text-is-fg-color-workaround"
style "text-is-fg-color-workaround" { style "text-is-fg-color-workaround" {
text[NORMAL] = @text_color text[NORMAL] = @text_color
text[PRELIGHT] = @fg_color text[PRELIGHT] = @fg_color

View File

@ -822,7 +822,6 @@ GtkComboBox .menu {
background-color: @menu_bg_color; background-color: @menu_bg_color;
background-image: none; background-image: none;
} }
/*********** /***********
* menubar * * menubar *
***********/ ***********/
@ -936,7 +935,6 @@ GtkTreeMenu .menuitem * {
.menuitem .accelerator:insensitive { .menuitem .accelerator:insensitive {
color: alpha(mix(@menu_fg_color, @menu_bg_color, 0.5), 0.6); color: alpha(mix(@menu_fg_color, @menu_bg_color, 0.5), 0.6);
} }
/************ /************
* notebook * * notebook *
************/ ************/
@ -1340,6 +1338,11 @@ GtkScrolledWindow GtkViewport.frame {
-GtkMenuItem-horizontal-padding: 0; -GtkMenuItem-horizontal-padding: 0;
-GtkWidget-separator-height: 1; -GtkWidget-separator-height: 1;
border-image: -gtk-gradient(linear,
left top, left bottom,
from (shade(@menu_bg_color, 0.9)),
to (shade(@menu_bg_color, 0.9))) 1;
border-color: shade(@menu_bg_color, 0.9); border-color: shade(@menu_bg_color, 0.9);
color: shade(@menu_bg_color, 0.9); color: shade(@menu_bg_color, 0.9);
} }
@ -1634,10 +1637,10 @@ GtkTextView {
} }
.primary-toolbar GtkComboBox, .primary-toolbar GtkComboBox,
.primary-toolbar GtkComboBox .cell
.primary-toolbar .button *, .primary-toolbar .button *,
.primary-toolbar .button, .primary-toolbar .button,
.toolbar GtkComboBox, .toolbar GtkComboBox .cell {
.toolbar GtkComboBox * {
padding: 2px; padding: 2px;
border-width: 1px; border-width: 1px;
border-color: transparent; border-color: transparent;
@ -1658,7 +1661,7 @@ GtkTextView {
.primary-toolbar .button:hover, .primary-toolbar .button:hover,
.toolbar .button:hover, .toolbar .button:hover,
.toolbar GtkComboBox *:hover { .toolbar GtkComboBox .cell:hover {
border-color: shade(@toolbar_bg_color, 0.7); border-color: shade(@toolbar_bg_color, 0.7);
background-color: shade(@toolbar_bg_color, 1.10); background-color: shade(@toolbar_bg_color, 1.10);
background-image: none; background-image: none;