Advertisement
Guest User

Full _custom.scss

a guest
Feb 14th, 2021
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.87 KB | None | 0 0
  1. decoration {
  2.   transition: $shadow_transition;
  3.   border-radius: $wm_radius;
  4.   box-shadow: 0 0 3px 1px $wm_shadow,
  5.               0 0 8px 1px $wm_shadow,
  6.               0 0 10px 1px $wm_shadow,
  7.               0 0 16px 1px $wm_shadow,
  8.               0 0 0 1px $wm_shadow,
  9.               $wm_outline;
  10.  
  11.   // this is used for the resize cursor area
  12.   margin: 6px;
  13.  
  14.   &:backdrop {
  15.     // the transparent shadow here is to enforce that the shadow extents don't
  16.    // change when we go to backdrop, to prevent jumping windows
  17.    box-shadow: 0 0 3px 1px $wm_shadow_inactive,
  18.                0 0 8px 1px $wm_shadow_inactive,
  19.                0 0 10px 1px $wm_shadow_inactive,
  20.                0 0 16px 1px $wm_shadow_inactive,
  21.                0 0 0 1px $wm_shadow_inactive,
  22.                $wm_outline_inactive;
  23.  }
  24.  
  25.  .maximized &,
  26.  .fullscreen &,
  27.  .tiled &,
  28.  .tiled-top &,
  29.  .tiled-right &,
  30.  .tiled-bottom &,
  31.  .tiled-left & {
  32.    border-radius: $maximized_radius;
  33.    box-shadow: 0 3px 3px 0 $wm_shadow, $wm_outline;
  34.  }
  35.  
  36.  .fullscreen & { border-radius: 0; }
  37.  
  38.  .popup & {
  39.    box-shadow: none;
  40.    border-radius: $wm_radius;
  41.  }
  42.  
  43.  // server-side decorations as used by mutter
  44.  .ssd & {
  45.    margin: -5px;
  46.    border-radius: $wm_radius $wm_radius 0 0;
  47.    box-shadow: 0 0 5px 0 $wm_shadow, $wm_outline;
  48.  
  49.    &.maximized { border-radius: $maximized_radius $maximized_radius 0 0; }
  50.  }
  51.  
  52.  .csd.popup & {
  53.    border-radius: $mn_radius;
  54.    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15), 0 8px 15px rgba(0, 0, 0, 0.08), $wm_outline;
  55.  }
  56.  
  57.  tooltip.csd & {
  58.    border-radius: $wm_radius;
  59.    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15);
  60.  }
  61.  
  62.  messagedialog.csd & {
  63.    border-radius: $wm_radius;
  64.  }
  65.  
  66.  .solid-csd & {
  67.    border: 1px solid $header_border;
  68.    border-radius: 0;
  69.    margin: 0;
  70.    background-color: $header_bg;
  71.    box-shadow: none;
  72.  }
  73. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement