~3v1n0/ubuntu-themes/radiance-headerbar-buttons-fix

« back to all changes in this revision

Viewing changes to Ambiance/gtk-3.20/gtk-widgets.css

  • Committer: Marco Trevisan (Treviño)
  • Date: 2017-05-18 15:47:25 UTC
  • Revision ID: mail@3v1n0.net-20170518154725-keveuojsi9eyt5h7
Ambiance, Radiance: apply toolbar style to headerbars that are not child or are not .titlebar's

Some patched apps to work in Unity have converted headerbar's to toolbars
in the wrong way, not to fix them all this is the faster (and safer, so far) way.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2174
2174
 * primary-toolbar *
2175
2175
 *******************/
2176
2176
.primary-toolbar,
 
2177
/* Workaround for LP: #1689239, selects headerbars used as toolbar in Unity */
 
2178
:not(.titlebar) > headerbar:not(.titlebar),
2177
2179
.titlebar.toolbar-mode {
2178
2180
    -GtkWidget-window-dragging: true;
2179
2181
 
2193
2195
}
2194
2196
 
2195
2197
.primary-toolbar:backdrop,
 
2198
/* Workaround for LP: #1689239, selects headerbars used as toolbar in Unity */
 
2199
:not(.titlebar) > headerbar:not(.titlebar):backdrop,
2196
2200
.titlebar.toolbar-mode:backdrop {
2197
2201
    background-image: none;
2198
2202
    background-color: @dark_bg_color;