pull/150/head
parent 3b068c9529
commit 5d7b1ac030

@ -53,7 +53,7 @@ void yon_save_parameters(main_window *widgets){
const char *zone = gtk_combo_box_get_active_id(GTK_COMBO_BOX(widgets->ZoneCombo)); const char *zone = gtk_combo_box_get_active_id(GTK_COMBO_BOX(widgets->ZoneCombo));
if (!yon_char_is_empty(region)&&!yon_char_is_empty(zone)){ if (!yon_char_is_empty(region)&&!yon_char_is_empty(zone)){
char *zone_parameter = yon_char_unite(region,"/",zone,NULL); char *zone_parameter = yon_char_unite((char*)region,"/",(char*)zone,NULL);
yon_config_register(ZONE_parameter,ZONE_parameter_command,zone_parameter); yon_config_register(ZONE_parameter,ZONE_parameter_command,zone_parameter);
free(zone_parameter); free(zone_parameter);
} }

@ -20,58 +20,84 @@
border-color:alpha(@theme_text_color, 0.01); border-color:alpha(@theme_text_color, 0.01);
} }
.menuitemtop{ .menuitembottom{
margin-bottom:0px; margin-top:0px;
} margin-bottom:4px;
.menuitemtop *{ border-color:inherit;
margin:2px 2px 0 2px; border-left-width:inherit;
padding: 5px 10px 3px 5px; border-right-width:inherit;
} }
.menuitemmiddle *{ .menuitemmiddle{
margin:0 2px 0 2px; margin-top:0px;
padding: 3px 10px 3px 5px; margin-bottom:0px;
} border-color:inherit;
.menuitembottom *{ border-left-width:inherit;
margin:0 2px 2px 2px; border-right-width:inherit;
padding: 3px 10px 5px 5px; }
}
.menuitemtop:hover { .menuitemtop{
background:@theme_bg_color; margin-bottom:0px;
border-color:inherit; border-color:inherit;
border-left-width:inherit; border-top-width:inherit;
border-right-width:inherit; border-left-width:inherit;
} border-right-width:inherit;
.menuitemmiddle:hover { }
background:@theme_bg_color; .menuitemtop>*{
border-color:inherit; margin:2px 2px 0 2px;
border-left-width:inherit; padding: 3px 10px 3px 5px;
border-right-width:inherit; border:transparent;
} }
.menuitembottom:hover { .menuitemmiddle>*{
background:@theme_bg_color; margin:0 2px 0 2px;
border-color:inherit; padding: 3px 10px 3px 5px;
border-left-width:inherit; border:transparent;
border-right-width:inherit; }
.menuitembottom>*{
} margin:0 2px 2px 2px;
.menuitemtop:hover* { padding: 3px 10px 3px 5px;
margin:2px 2px 0 2px; }
padding: 5px 10px 3px 5px; .menuitemtop:hover {
background:@theme_selected_bg_color; background:@theme_base_color;
border-radius:2px; border-color:inherit;
} border-top-width:inherit;
.menuitemmiddle:hover* { border-left-width:inherit;
margin:0 2px 0 2px; border-right-width:inherit;
padding: 3px 10px 3px 5px; }
background:@theme_selected_bg_color; .menuitemmiddle:hover {
border-radius:2px; background:@theme_base_color;
} border-color:inherit;
.menuitembottom:hover* { border-left-width:inherit;
margin:0 2px 2px 2px; border-right-width:inherit;
padding: 3px 10px 5px 5px; }
background:@theme_selected_bg_color; .menuitembottom:hover {
border-radius:2px; background:@theme_base_color;
} border-color:inherit;
border-bottom-width:0px;
border-left-width:inherit;
border-right-width:inherit;
}
.menuitemtop:hover>* {
margin:2px 2px 0 2px;
padding: 3px 10px 3px 5px;
/* padding: 5px 0 3px 5px; */
background:@theme_selected_bg_color;
border-radius:2px;
}
.menuitemmiddle:hover>* {
margin:0 2px 0px 2px;
padding: 3px 10px 3px 5px;
/* padding: 3px 0px 3px 5px; */
background:@theme_selected_bg_color;
border-radius:2px;
}
.menuitembottom:hover>* {
margin:0 2px 2px 2px;
padding: 3px 10px 3px 5px;
/* padding: 3px 0px 5px 5px; */
background:@theme_selected_bg_color;
border-radius:2px;
}
.noborder{ .noborder{
border:none; border:none;

Loading…
Cancel
Save