pathbar: Style slider buttons
Set a style class on the pathbar slider buttons, and have the theme handle the separately from other image buttons.
This commit is contained in:
		@ -1496,6 +1496,11 @@ headerbar {
 | 
			
		||||
    padding-left: 4px;
 | 
			
		||||
    padding-right: 4px;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &.slider-button {
 | 
			
		||||
    padding-left: 0;
 | 
			
		||||
    padding-right: 0;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**************
 | 
			
		||||
 | 
			
		||||
@ -1637,6 +1637,9 @@ window.csd > .titlebar:not(headerbar) {
 | 
			
		||||
.path-bar button image {
 | 
			
		||||
  padding-left: 4px;
 | 
			
		||||
  padding-right: 4px; }
 | 
			
		||||
.path-bar button.slider-button {
 | 
			
		||||
  padding-left: 0;
 | 
			
		||||
  padding-right: 0; }
 | 
			
		||||
 | 
			
		||||
/**************
 | 
			
		||||
 * Tree Views *
 | 
			
		||||
 | 
			
		||||
@ -1641,6 +1641,9 @@ window.csd > .titlebar:not(headerbar) {
 | 
			
		||||
.path-bar button image {
 | 
			
		||||
  padding-left: 4px;
 | 
			
		||||
  padding-right: 4px; }
 | 
			
		||||
.path-bar button.slider-button {
 | 
			
		||||
  padding-left: 0;
 | 
			
		||||
  padding-right: 0; }
 | 
			
		||||
 | 
			
		||||
/**************
 | 
			
		||||
 * Tree Views *
 | 
			
		||||
 | 
			
		||||
@ -23,7 +23,7 @@
 | 
			
		||||
      </object>
 | 
			
		||||
    </child>
 | 
			
		||||
    <style>
 | 
			
		||||
      <class name="image-button"/>
 | 
			
		||||
      <class name="slider-button"/>
 | 
			
		||||
    </style>
 | 
			
		||||
  </object>
 | 
			
		||||
  <object class="GtkButton" id="up_slider_button">
 | 
			
		||||
@ -48,7 +48,7 @@
 | 
			
		||||
      </object>
 | 
			
		||||
    </child>
 | 
			
		||||
    <style>
 | 
			
		||||
      <class name="image-button"/>
 | 
			
		||||
      <class name="slider-button"/>
 | 
			
		||||
    </style>
 | 
			
		||||
  </object>
 | 
			
		||||
</interface>
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user