Commit 4802b515 authored by Matthias Clasen's avatar Matthias Clasen

notebook: Use CSS nodes for arrows

This converts the drawing of scroll arrows to use separate CSS
nodes.
parent 78373eb9
This diff is collapsed.
......@@ -1545,10 +1545,9 @@ popover {
&.osd { @extend %osd; }
}
/*****************
* Notebooks and *
* Tabs *
*****************/
/*************
* Notebooks *
*************/
notebook {
-GtkNotebook-initial-gap: 10;
......@@ -1753,20 +1752,26 @@ notebook {
}
}
}
&.arrow {
color: $insensitive_fg_color;
&:hover { color: mix($fg_color, $insensitive_fg_color, 50%); }
&:active { color: $fg_color; }
&:insensitive {
color: transparentize($insensitive_fg_color,0.7);
}
&:backdrop {
color: transparentize($backdrop_fg_color,0.6);
}
notebook header tabs arrow.arrow {
-gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
color: red; //$insensitive_fg_color;
&:hover {
color: mix($fg_color, $insensitive_fg_color, 50%);
}
&:active {
color: green; //$fg_color;
}
&:insensitive {
color: $backdrop_insensitive_color;
color: blue; //transparentize($insensitive_fg_color,0.7);
}
&:backdrop {
color: brown; //transparentize($backdrop_fg_color,0.6);
&:insensitive {
color: $backdrop_insensitive_color;
}
}
}
}
}
/**************
......
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