Commit f84f6578 authored by Cosimo Cecchi's avatar Cosimo Cecchi

css: don't put toolbar style here

It's in gnome-themes-standard until we found a more generic way of
expressing it.
parent ba262758
......@@ -36,68 +36,3 @@ NautilusFloatingBar > GtkBox > .button {
NautilusPlacesSidebar {
background-color: shade (@theme_base_color, 0.95);
}
/* Toolbars */
NautilusToolbar > .toolbar {
background-image: -gtk-gradient (linear,
left top,
left bottom,
from (shade (@bg_color, 0.6)),
color-stop (0.02, shade (@bg_color, 0.6)),
color-stop (0.03, shade (@bg_color, 0.7)),
color-stop (0.2, shade (@bg_color, 0.75)),
color-stop (0.8, shade (@bg_color, 0.8)),
color-stop (0.96, shade (@bg_color, 0.95)),
color-stop (0.97, shade (@bg_color, 0.8)),
color-stop (0.98, shade (@bg_color, 1.2)),
to (shade (@bg_color, 1.2)));
border-radius: 0;
border-style: none;
padding: 4;
border-width: 0;
}
NautilusToolbar > GtkToolbar .button {
border-style: none;
border-width: 0;
background-image: -gtk-gradient (linear,
left top, left bottom,
from (alpha (shade (@bg_color, 0.75), 0.0)),
color-stop (0.3, alpha (shade (@bg_color, 0.9), 0.0)),
color-stop (0.6, alpha (shade (@bg_color, 0.9), 0.0)),
to (alpha (shade (@bg_color, 0.85), 0.0)));
-GtkWidget-focus-line-width: 0;
}
NautilusToolbar > GtkToolbar .button:hover { /* needs correct colors */
background-image: -gtk-gradient (linear,
left top, left bottom,
from (shade (@bg_color, 0.75)),
color-stop (0.3, shade (@bg_color, 0.9)),
color-stop (0.6, shade (@bg_color, 0.9)),
to (shade (@bg_color, 0.85)));
}
NautilusToolbar > GtkToolbar .button:active, GtkToolbar .button:active:prelight {
border-style: none;
border-width: 0;
background-image: -gtk-gradient (linear,
left top, left bottom,
from (shade (@bg_color, 0.75)),
color-stop (0.3, shade (@bg_color, 0.9)),
color-stop (0.6, shade (@bg_color, 0.9)),
to (shade (@bg_color, 0.85)));
}
NautilusToolbar > .toolbar.separator {
padding: 1 0;
background-color: shade (@bg_color, 0.8);
-GtkVSeparator-vertical-padding: 0;
-GtkWidget-wide-separators: 1;
-GtkWidget-separator-width: 7;
-GtkWidget-separator-height: 1;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment