dotfiles

config files for my linux setup
git clone git://edryd.org/dotfiles
Log | Files | Refs | README

_window.scss (1256B)


      1 /**************
      2  ! Window frame
      3 ***************/
      4 
      5 @include exports("window") {
      6     %window {
      7         box-shadow: 0 19px 38px rgba(0, 0, 0, .3), 0 15px 12px rgba(0, 0, 0, .22),
      8                     0 0 0 1px $wm_border_focused;
      9 
     10         &:backdrop {
     11             box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23),
     12                         0 0 0 1px $wm_border_unfocused;
     13         }
     14     }
     15 
     16     .window-frame {
     17         @extend %window;
     18 
     19         border: 0;
     20         border-radius: $roundness $roundness 0 0;
     21 
     22         /* this is used for the resize cursor area */
     23         margin: $spacing * 3;
     24 
     25         &.tiled { border-radius: 0; }
     26 
     27         &.solid-csd {
     28             border-radius: 0;
     29             margin: 1px;
     30             background-color: $bg_color;
     31             box-shadow: none;
     32         }
     33 
     34         &.csd {
     35             &.popup {
     36                 @extend %window;
     37 
     38                 border-radius: 0;
     39             }
     40 
     41             &.tooltip {
     42                 border-radius: $roundness;
     43                 box-shadow: none;
     44             }
     45 
     46             &.message-dialog {
     47                 @extend %window;
     48 
     49                 border-radius: $roundness;
     50             }
     51         }
     52 
     53         &.ssd {
     54             &.maximized { border-radius: 0; }
     55         }
     56     }
     57 }