@mixin decoration() {
  decoration {
    background-color: $bg_color;
    border-radius: $csd_radius $csd_radius 0 0;
    border-width: 0;
    padding: 2px;
    box-shadow: inset -2px -2px gtkshade($bg_color, 0.85), inset 2px 2px gtkmix($bg_color, $light_shadow, 0.55), inset -1px -1px $borders, inset 1px 1px gtkmix($bg_color, $light_shadow, 0.7);

    &:backdrop {
    }

    .maximized &,
    .fullscreen &,
    .tiled &,
    .tiled-top &,
    .tiled-right &,
    .tiled-bottom &,
    .tiled-left & { border-radius: 0; }
    
    .popup & { box-shadow: none; }

    .csd.popup & {
      border-radius: $menu_radius;
      box-shadow: none;
      padding: 0;
    }

    .ssd & {
      border-radius: $csd_radius $csd_radius 0 0;

      &.maximized {
        border-radius: 0;
        padding: 0;
      }
    }

    tooltip.csd & {
      border-radius: $csd_radius;
      box-shadow: none;
      padding: 0;
    }

    .solid-csd & {
      margin: 1px;
      border-radius: 0px;
      background-color: gtkalpha($light_shadow, 0.95);
      box-shadow: none;
    }
  }
}
