1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00

move ssd class

This commit is contained in:
Horst3180 2016-02-19 11:06:17 +01:00
parent 4949c613e7
commit 65500eb2c6
7 changed files with 13 additions and 12 deletions

View File

@ -2770,10 +2770,10 @@ decoration {
decoration.popup { decoration.popup {
box-shadow: none; box-shadow: none;
border-radius: 0; } border-radius: 0; }
decoration.ssd { .ssd decoration, decoration.ssd {
border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); } box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); }
decoration.ssd.maximized { .ssd decoration.maximized, decoration.ssd.maximized {
border-radius: 0; } border-radius: 0; }
.csd.popup decoration { .csd.popup decoration {
border-radius: 2px; border-radius: 2px;

View File

@ -2769,10 +2769,10 @@ decoration {
decoration.popup { decoration.popup {
box-shadow: none; box-shadow: none;
border-radius: 0; } border-radius: 0; }
decoration.ssd { .ssd decoration, decoration.ssd {
border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); } box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); }
decoration.ssd.maximized { .ssd decoration.maximized, decoration.ssd.maximized {
border-radius: 0; } border-radius: 0; }
.csd.popup decoration { .csd.popup decoration {
border-radius: 2px; border-radius: 2px;

View File

@ -2770,10 +2770,10 @@ decoration {
decoration.popup { decoration.popup {
box-shadow: none; box-shadow: none;
border-radius: 0; } border-radius: 0; }
decoration.ssd { .ssd decoration, decoration.ssd {
border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); } box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); }
decoration.ssd.maximized { .ssd decoration.maximized, decoration.ssd.maximized {
border-radius: 0; } border-radius: 0; }
.csd.popup decoration { .csd.popup decoration {
border-radius: 2px; border-radius: 2px;

View File

@ -2769,10 +2769,10 @@ decoration {
decoration.popup { decoration.popup {
box-shadow: none; box-shadow: none;
border-radius: 0; } border-radius: 0; }
decoration.ssd { .ssd decoration, decoration.ssd {
border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); } box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); }
decoration.ssd.maximized { .ssd decoration.maximized, decoration.ssd.maximized {
border-radius: 0; } border-radius: 0; }
.csd.popup decoration { .csd.popup decoration {
border-radius: 2px; border-radius: 2px;

View File

@ -2773,10 +2773,10 @@ decoration {
decoration.popup { decoration.popup {
box-shadow: none; box-shadow: none;
border-radius: 0; } border-radius: 0; }
decoration.ssd { .ssd decoration, decoration.ssd {
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); } box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); }
decoration.ssd.maximized { .ssd decoration.maximized, decoration.ssd.maximized {
border-radius: 0; } border-radius: 0; }
.csd.popup decoration { .csd.popup decoration {
border-radius: 2px; border-radius: 2px;

View File

@ -2773,10 +2773,10 @@ decoration {
decoration.popup { decoration.popup {
box-shadow: none; box-shadow: none;
border-radius: 0; } border-radius: 0; }
decoration.ssd { .ssd decoration, decoration.ssd {
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); } box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); }
decoration.ssd.maximized { .ssd decoration.maximized, decoration.ssd.maximized {
border-radius: 0; } border-radius: 0; }
.csd.popup decoration { .csd.popup decoration {
border-radius: 2px; border-radius: 2px;

View File

@ -2865,6 +2865,7 @@ decoration {
border-radius: 0; border-radius: 0;
} }
// server-side decorations as used by mutter // server-side decorations as used by mutter
.ssd &,
&.ssd { &.ssd {
border-radius: if($darker=='false' and $variant=='light', 4px 4px 0 0, 3px 3px 0 0); border-radius: if($darker=='false' and $variant=='light', 4px 4px 0 0, 3px 3px 0 0);
box-shadow: 0 0 0 1px if($darker=='true' or $variant == 'dark', transparentize(black, 0.35), $_wm_border); box-shadow: 0 0 0 1px if($darker=='true' or $variant == 'dark', transparentize(black, 0.35), $_wm_border);