/****************
 * Mate-terminal *
 ****************/

/* Background mate-terminal, this isn't the normal way to style that! */
TerminalWindow .entry {
    -TerminalWindow-background-darkness: 0.95;
    background-color: @base_color;
    color: @text_color;
}

/****************
 * Caja *
 ****************/

/* Look out !
This is the background color of caja view */

CajaView .entry {
    background-color: shade(@bg_color, 1.02);
}

.caja-canvas-item {
    border-width: 1px;
    border-style: solid;
    border-radius: 6px;
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@glow_color, 1.40)),
                                     color-stop (0.48, shade (@base_color, 0.95)),
                                     color-stop (0.52, @base_color),
                                     to (shade (@glow_color, 1.40)));
    background-color: alpha (shade (@glow_color, 1.55), 0.0);
    box-shadow: inset 0px 0px shade (@glow_color, 1.35),
                inset -0px -0px shade (@glow_color, 1.35),
                inset 1px 1px shade (@glow_color, 0.55),
                inset -1px -1px shade (@glow_color, 0.55);
}

.caja-desktop.caja-canvas-item {
    border-width: 0px;
    background-color: @transparent;
    color: @caja_desktop_text_color;
    text-shadow: 1px 1px @caja_desktop_text_shadow_color;
}

.caja-desktop.caja-canvas-item:active {
    color: @text_color;
    text-shadow: 1px 1px @caja_desktop_text_color;
    background-color: alpha (shade (@glow_color, 1.5), 0.0);
    box-shadow: inset 2px 2px @transparent;
}

.caja-desktop.caja-canvas-item:selected {
    text-shadow: 0px 0px @caja_desktop_text_color;
    color: @text_color;
    background-color: alpha (shade (@glow_color, 1.5), 0.0);
    box-shadow: inset 2px 2px shade (@gbase_color-b, 1.25);
}

CajaTrashBar.info,
CajaXContentBar.info,
CajaSearchBar.info,
CajaQueryEditor.info {
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    padding: 4px;
    -GtkToolbar-button-relief: normal;
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@bg_color, 0.85)),
                                     color-stop (0.50, shade (@bg_color, 0.95)),
                                     color-stop (1.00, @bg_color),
                                     to (shade (@bg_color, 0.95)));
    background-color: shade (@border_gradient_color_b, 1.25);
    box-shadow: inset 2px 2px shade (@inner_gradient_color_a, 1.00),
                inset -2px -2px shade (@inner_gradient_color_a, 1.10),
                inset 1px 1px shade (@border_gradient_color_a, 0.85),
                inset -1px -1px shade (@border_gradient_color_a, 0.85);
}

CajaSearchBar .entry {
}

.caja-cluebar-label {
    font: bold;
}

CajaFloatingBar {
    border-radius: 3px 3px 0px 0px;
    border-width: 1px;
    border-style: solid;
}

CajaWindow .sidebar .frame {
    border-style: solid;
    border-width: 1px 0px 0px 0px;
    border-radius: 5px;
    padding: 2px;
    background-color: shade (@border_gradient_color_b, 1.25);
    box-shadow: inset 2px 2px shade (@inner_gradient_color_a, 1.10),
                inset -2px -2px shade (@inner_gradient_color_a, 1.10),
                inset 1px 1px shade (@border_gradient_color_b, 0.85),
                inset -1px -1px shade (@border_gradient_color_b, 0.85);
}

/* disabled, looks uggly
CajaWindow > GtkTable > .pane-separator {
    border-width: 1px 1px 0px 0px;
    border-style: solid;
    border-color: shade (@bg_color, 0.66);
    border-radius: 6px;
}*/

.rubberband {
    background-color: alpha (@glow_color, 0.25);
    border-style: solid;
    border-color: shade (@glow_color, 1.30);
    border-radius: 0;
}

/****************
 * Pluma        *
 ****************/

/* pluma line numbers */

PlumaView {
    background-color: shade (@bg_color, 0.95);
}

/***********************
 * Mate-Panel *
 ***********************/
MatePanelApplet > GtkMenuBar.menubar,
MatePanelApplet > GtkMenuBar.menubar.menuitem,
PanelMenuBar.menubar,
PanelMenuBar.menubar.menuitem,
.mate-panel-menu-bar,
PanelToplevel,
PanelWidget,
MatePanelAppletFrame,
MatePanelApplet {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (@gradient_color_a),
                                     to (shade (@gradient_color_b, 1.15)));
    border-width: 0;
    border-radius: 0;
}

ClockBox,
.mate-panel-menu-bar {
    border-width: 0;
    font: normal;
}

/* set normal menubar menuitem */
PanelMenuBar.menubar .menu .menuitem {
    padding: 6px;
}

.mate-panel-menu-bar .menuitem:prelight {
}

.mate-panel-menu-bar .menuitem *:prelight {
    color: shade (@glow_color, 0.75);
    text-shadow: 1px 1px alpha (shade (@text_shadow_color, 1.25), 0.4);
}

MatePanelApplet .button,
MatePanelApplet .button:prelight {
    /*padding: 1px;*/
}

MatePanelApplet .button:active:prelight,
MatePanelApplet .button:active {
    color: shade (@glow_color, 0.75);
    text-shadow: 1px 1px alpha (shade (@text_shadow_color, 1.25), 0.4);
}

MatePanelApplet *:prelight {
    color: @glow_color;
}

MatePanelApplet *:active,
MatePanelApplet *:prelight:active {
    color: shade (@glow_color, 0.75);
    text-shadow: 1px 1px alpha (shade (@text_shadow_color, 1.25), 0.4);
}

NaTrayApplet {    
    /*-NaTrayApplet-icon-padding: 1;*/
    -NaTrayApplet-icon-size: 16;
}

WnckPager, WnckTasklist {
    background-color: @gradient_color_a;
    background-image: none;
    color: shade (@gradient_color_b, 0.70);
    border-radius: 0;
    border-width: 1px;
    padding: 2px;
}

GsmFailWhaleDialog {
}

GsmFailWhaleDialog * {
}

