Make CSD use toolbar colors

pull/70/head
Satyajit Sahoo 2013-09-12 14:07:12 +05:30
parent e038a28889
commit d52e3dca03
1 changed files with 6 additions and 11 deletions

View File

@ -2986,7 +2986,7 @@ GtkBubbleWindow .toolbar {
.titlebar { .titlebar {
border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0;
background-image: none; background-image: none;
background-color: @theme_bg_color; background-color: @toolbar_bg_color;
text-shadow: none; text-shadow: none;
} }
@ -3005,7 +3005,7 @@ GtkBubbleWindow .toolbar {
.titlebar:backdrop { .titlebar:backdrop {
background-image: none; background-image: none;
background-color: @theme_bg_color; background-color: @toolbar_bg_color;
text-shadow: none; text-shadow: none;
} }
@ -3013,7 +3013,7 @@ GtkBubbleWindow .toolbar {
padding: 4px; padding: 4px;
border-style: none; border-style: none;
background: none; background: none;
color: mix(@theme_fg_color, @theme_bg_color, 0.4); color: mix(@toolbar_fg_color, @toolbar_bg_color, 0.4);
} }
.titlebar .titlebutton:hover, .titlebar .titlebutton:hover,
@ -3031,14 +3031,14 @@ GtkBubbleWindow .toolbar {
/* /*
.titlebar .right .titlebutton:first-child { .titlebar .right .titlebutton:first-child {
border-left: 1px solid shade(@theme_bg_color, 0.9); border-left: 1px solid shade(@toolbar_bg_color, 0.9);
} }
.titlebar .right .titlebutton:last-child { .titlebar .right .titlebutton:last-child {
} }
.titlebar .left .titlebutton:last-child { .titlebar .left .titlebutton:last-child {
border-right: 1px solid shade(@theme_bg_color, 0.9); border-right: 1px solid shade(@toolbar_bg_color, 0.9);
} }
.titlebar .left .titlebutton:first-child { .titlebar .left .titlebutton:first-child {
@ -3047,7 +3047,7 @@ GtkBubbleWindow .toolbar {
.titlebar .titlebutton:backdrop { .titlebar .titlebutton:backdrop {
background-image: none; background-image: none;
color: mix(@theme_fg_color, @theme_bg_color, 0.6); color: mix(@toolbar_fg_color, @toolbar_bg_color, 0.6);
} }
.window-frame { .window-frame {
@ -3059,8 +3059,3 @@ GtkBubbleWindow .toolbar {
/* this is used for the resize cursor area */ /* this is used for the resize cursor area */
margin: 10px; margin: 10px;
} }
.window-frame:backdrop {
box-shadow: 0 0 0 1px alpha(black, 0.2),
0 3px 5px alpha(black, 0.5);
}