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:
Matthias Clasen 2016-03-13 23:08:47 -04:00
parent 8a3c25ca66
commit 4f45353a19
4 changed files with 13 additions and 2 deletions

View File

@ -1496,6 +1496,11 @@ headerbar {
padding-left: 4px;
padding-right: 4px;
}
&.slider-button {
padding-left: 0;
padding-right: 0;
}
}
/**************

View File

@ -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 *

View File

@ -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 *

View File

@ -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>