/***********
 * Buttons *
 ***********/
.button *{
    background-color: @transparent-b;
    -GtkButton-inner-border: 0;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    border-color: @transparent-b;
}

GtkComboBox *{
    padding: 0px 1px 0px 2px;
}

GtkComboBox,
.button {
    /*transition: 80ms ease-in-out;*/
    border-radius: 4px 7px 4px 7px;
    border-style: solid;
    text-shadow: 1px 1px alpha (shade (@text_shadow_color-b, 1.25), 0.40);
    border-width: 1px;
    color: @text_color-b;
    padding: 2.5px 4px 2.5px 4px;
    border-width: 1px;
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (@gradient_color_a-b),
                                     to (@gradient_color_b-b));
    border-color: alpha (@text_color-b, 0.00);
    box-shadow: inset 2px 2px shade (@inner_gradient_color_a-b, 1.15),
                inset -2px -2px shade (@inner_gradient_color_b-b, 0.90),
                inset 1px 1px @border_gradient_color_a-b,
                inset -1px -1px shade (@border_gradient_color_b-b, 1.00);
}

.list-row.button {
    background-image: none;
    box-shadow: none;
}

.primary-toolbar .button:hover,
.button:hover {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (@gradient_color_a-b),
                                     color-stop (0.03, @gradient_color_a-b),
                                     to (@gradient_color_b-b));
    border-color: alpha (@text_color-b, 0.00);
    box-shadow: inset 2px 2px shade (@gradient_color_a-b, 1.30),
                inset -2px -2px shade (@gradient_color_a-b, 0.80),
                inset 1px 1px shade (@border_gradient_color_a-b, 1.10),
                inset -1px -1px shade (@border_gradient_color_b-b, 1.60);
}

.button:checked,
.button:active {
    border-width: 1px;
/*    padding: 2.5px 5px 2.5px 3px;*/
    border-radius: 4px 7px 4px 7px;
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 1.50)),
                                     to (shade (@gradient_color_a-b, 0.55)));
    border-color: alpha (@text_color-b, 0.00);
    box-shadow: inset 2px 2px shade (@border_gradient_color_a-b, 0.80),
                inset -2px -2px shade (@border_gradient_color_a-b, 1.05),
                inset 1px 1px shade (@border_gradient_color_a-b, 0.90),
                inset -1px -1px shade (@border_gradient_color_a-b, 0.75);
}

.primary-toolbar .button:active:hover,
.button:active:hover {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 1.80)),
                                     to (shade (@gradient_color_a-b, 0.85)));
    border-color: alpha (@text_color-b, 0.00);
    box-shadow: inset 2px 2px shade (@border_gradient_color_a-b, 0.80),
                inset -2px -2px shade (@border_gradient_color_a-b, 1.05),
                inset 1px 1px shade (@border_gradient_color_a-b, 0.90),
                inset -1px -1px shade (@border_gradient_color_a-b, 0.75);
}

.button:insensitive {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 0.70)),
                                     to (shade (@gradient_color_b-b, 0.70)));
    border-color: alpha (@text_color-b, 0.00);
    box-shadow: inset 2px 2px shade (@inner_gradient_color_a-b, 0.85),
                inset -2px -2px shade (@inner_gradient_color_b-b, 1.115),
                inset 1px 1px shade (@border_gradient_color_a-b, 1.10),
                inset -1px -1px shade (@border_gradient_color_b-b, 0.90);
}

.button:insensitive:active {
    border-radius: 4px 7px 4px 7px;
	padding: 0px 0px 7px 0px;
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 0.90)),
                                     to (shade (@gradient_color_a-b, 0.40)));
    border-color: alpha (@text_color-b, 0.00);
    box-shadow: inset 2px 2px shade (@border_gradient_color_a-b, 0.80),
                inset -2px -2px shade (@border_gradient_color_a-b, 1.10),
                inset 1px 1px shade (@border_gradient_color_a-b, 1.00),
                inset -1px -1px shade (@border_gradient_color_a-b, 0.85);
}

.button.default {
}

.button:selected {
}

/****************
 * Spin Buttons *
 ****************/
.spinbutton.button:active,
.spinbutton.button:insensitive,
.notebook .spinbutton.button:active,
.notebook .spinbutton.button:insensitive,
.spinbutton.button,
.notebook .spinbutton.button {
    border-radius: 0;
    border-width: 0px 0px 0px 0px;
}

.spinbutton.button:active:nth-child(last),
.spinbutton.button:insensitive:nth-child(last),
.notebook .spinbutton.button:active:nth-child(last),
.notebook .spinbutton.button:insensitive:nth-child(last),
.spinbutton.button:nth-child(last),
.notebook .spinbutton.button:nth-child(last) {
    border-radius: 0px 7px 7px 0px;
    border-width: 0px;
}

.spinbutton.button:insensitive,
.notebook .spinbutton.button:insensitive,
.spinbutton.button:insensitive:nth-child(last),
.notebook .spinbutton.button:insensitive:nth-child(last) {
    border-width: 0px 0px 0px 0px;
	color: shade (@text_color-b, 0.00);
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 0.70)),
                                     to (shade (@gradient_color_b-b, 0.70)));
    border-color: alpha (@text_color-b, 0.00);
    box-shadow: inset 2px 2px shade (@inner_gradient_color_a-b, 0.85),
                inset -2px -2px shade (@inner_gradient_color_b-b, 1.115),
                inset 1px 1px shade (@border_gradient_color_a-b, 1.10),
                inset -1px -1px shade (@border_gradient_color_b-b, 0.90);

}

.spinbutton.vertical .button,
.spinbutton.vertical .button:active,
.spinbutton.vertical .button:insensitive {
    border-radius: 4px;
    border-width: 1px;
}

/***************************
 * Primary Toolbar Buttons *
 ***************************/
.primary-toolbar .button * {
    background-color: @transparent-b;
    -GtkButton-inner-border: 0;
    border-radius: 4px;
    border-width: 1px;
}

.marlin-pathbar {
    padding: 0;
}
