Daniel Brötzmann pushed to branch mainwindow at gajim / gajim

Commits:

2 changed files:

Changes:

  • gajim/data/style/gajim.css
    ... ... @@ -64,24 +64,26 @@
    64 64
     	border: 1px solid @borders;
    
    65 65
     }
    
    66 66
     /* Workspace sidebar */
    
    67
    -
    
    68 67
     .workspace-sidebar {
    
    69
    -    background: transparent;
    
    68
    +	background: transparent;
    
    70 69
     }
    
    71
    -
    
    72 70
     .workspace-sidebar-item {
    
    73 71
     	padding-top: 3px;
    
    74 72
     	padding-bottom: 3px;
    
    75 73
     }
    
    76
    -.workspace-sidebar-item:selected {
    
    77
    -	background-color: @borders;
    
    74
    +.workspace-sidebar-item:selected,
    
    75
    +.workspace-sidebar-item:hover {
    
    76
    +	background: transparent;
    
    77
    +	box-shadow: none;
    
    78
    +	outline: none;
    
    79
    +}
    
    80
    +.workspace-sidebar-item:selected image,
    
    81
    +.workspace-sidebar-item:hover image {
    
    82
    +	box-shadow: 0 0 6px @theme_selected_bg_color;
    
    78 83
     }
    
    79 84
     .workspace-sidebar-item image {
    
    80
    -	padding: 6px;
    
    81
    -	background-color: @theme_unfocused_bg_color;
    
    82
    -	box-shadow: inset 0 0 6px @borders;
    
    85
    +	padding: 3px;
    
    83 86
     	border-radius: 6px;
    
    84
    -	border: 1px solid @borders;
    
    85 87
     }
    
    86 88
     /* ChatList */
    
    87 89
     .small-label {
    

  • gajim/gtk/workspace_side_bar.py
    ... ... @@ -107,6 +107,7 @@ def __init__(self, workspace_id):
    107 107
             image = Gtk.Image.new_from_icon_name('list-add-symbolic',
    
    108 108
                                                  Gtk.IconSize.DND)
    
    109 109
             image.set_halign(Gtk.Align.CENTER)
    
    110
    +        image.get_style_context().add_class('dim-label')
    
    110 111
             self.add(image)
    
    111 112
             self.show_all()
    
    112 113