dotfiles

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

_grid.scss (1146B)


      1 /******************
      2  ! Grid and flowbox
      3 *******************/
      4 
      5 @include exports("grid") {
      6     .list {
      7         background-color: shade($bg_color, .97);
      8         color: $fg_color;
      9 
     10         &-row {
     11             &, &.button {
     12                 border: 0;
     13                 border-radius: 0;
     14                 padding: $spacing;
     15                 background-image: none;
     16                 background-color: alpha($bg_color, 0);
     17                 box-shadow: none;
     18 
     19                 &:hover {
     20                     background-image: none;
     21                     background-color: shade($bg_color, 1.02);
     22                 }
     23 
     24                 &:selected {
     25                     &, &:hover, &:focus {
     26                         background-image: none;
     27                         background-color: $selected_bg_color;
     28                         color: $selected_fg_color;
     29                     }
     30                 }
     31             }
     32         }
     33     }
     34 
     35     .grid-child {
     36         &, GtkFlowBox & {
     37             padding: $spacing;
     38             border-radius: $roundness;
     39 
     40             &:selected {
     41                 @extend %selected;
     42 
     43                 outline-offset: -2px;
     44             }
     45         }
     46     }
     47 }
     48