Adwaita: better solid-csd styling

This commit is contained in:
Lapo Calamandrei 2016-04-15 16:51:29 +02:00
parent 8ebb6969cb
commit 266ae74afc
3 changed files with 45 additions and 14 deletions

View File

@ -1509,6 +1509,14 @@ headerbar {
padding: 0;
}
}
.solid-csd & {
margin-left: -1px;
margin-right: -1px;
margin-top: -1px;
border-radius: 0;
box-shadow: none;
}
}
headerbar {
@ -4162,7 +4170,7 @@ decoration {
.csd.popup & {
border-radius: 0;
box-shadow: 0 1px 2px transparentize(black, 0.8),
0 0 0 1px transparentize($_wm_border,0.1);
0 0 0 1px transparentize($_wm_border, 0.1);
}
tooltip.csd & {
@ -4173,15 +4181,18 @@ decoration {
messagedialog.csd & {
border-radius: 7px;
box-shadow: 0 1px 2px transparentize(black, 0.8),
0 0 0 1px transparentize($_wm_border,0.1);
0 0 0 1px transparentize($_wm_border, 0.1);
}
.solid-csd & {
margin: 0;
padding: 4px;
background-color: $borders_color;
border: solid 1px $borders_color;
border-radius: 0;
margin: 4px;
background-color: $backdrop_bg_color;
border: solid 1px $backdrop_borders_color;
box-shadow: none;
box-shadow: inset 0 0 0 3px $headerbar_color, inset 0 1px $top_hilight;
&:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }
}
}

View File

@ -1929,6 +1929,13 @@ headerbar {
min-width: 26px;
margin: 0;
padding: 0; }
.solid-csd .titlebar:not(headerbar), .solid-csd
headerbar {
margin-left: -1px;
margin-right: -1px;
margin-top: -1px;
border-radius: 0;
box-shadow: none; }
headerbar entry,
headerbar spinbutton,
@ -4375,11 +4382,14 @@ decoration {
border-radius: 7px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(28, 31, 31, 0.8); }
.solid-csd decoration {
margin: 0;
padding: 4px;
background-color: #1c1f1f;
border: solid 1px #1c1f1f;
border-radius: 0;
margin: 4px;
background-color: #393f3f;
border: solid 1px #1f2222;
box-shadow: none; }
box-shadow: inset 0 0 0 3px #323737, inset 0 1px rgba(238, 238, 236, 0.07); }
.solid-csd decoration:backdrop {
box-shadow: inset 0 0 0 3px #393f3f, inset 0 1px rgba(238, 238, 236, 0.07); }
button.titlebutton {
text-shadow: 0 -1px rgba(0, 0, 0, 0.81176);

View File

@ -1936,6 +1936,13 @@ headerbar {
min-width: 26px;
margin: 0;
padding: 0; }
.solid-csd .titlebar:not(headerbar), .solid-csd
headerbar {
margin-left: -1px;
margin-right: -1px;
margin-top: -1px;
border-radius: 0;
box-shadow: none; }
headerbar entry,
headerbar spinbutton,
@ -4404,11 +4411,14 @@ decoration {
border-radius: 7px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); }
.solid-csd decoration {
margin: 0;
padding: 4px;
background-color: #9d9d99;
border: solid 1px #9d9d99;
border-radius: 0;
margin: 4px;
background-color: #e8e8e7;
border: solid 1px #a5a5a1;
box-shadow: none; }
box-shadow: inset 0 0 0 3px #f4f4f4, inset 0 1px rgba(255, 255, 255, 0.8); }
.solid-csd decoration:backdrop {
box-shadow: inset 0 0 0 3px #e8e8e7, inset 0 1px rgba(255, 255, 255, 0.8); }
button.titlebutton {
text-shadow: 0 1px rgba(255, 255, 255, 0.76923);