dotfiles

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

_infobar.scss (868B)


      1 @import "button";
      2 
      3 
      4 /*********
      5  ! Infobar
      6 **********/
      7 
      8 @include exports("infobar") {
      9     GtkInfoBar {
     10         border: 0;
     11 
     12         $types: (
     13             info: ($info_fg_color, $info_bg_color),
     14             warning: ($warning_fg_color, $warning_bg_color),
     15             question: ($question_fg_color, $question_bg_color),
     16             error: ($error_fg_color, $error_bg_color),
     17         );
     18 
     19 
     20         @each $type, $colors in $types {
     21             $fg_color: nth($colors, 1);
     22             $bg_color: nth($colors, 2);
     23 
     24             &.#{$type} {
     25                 @include linear-gradient($bg_color);
     26 
     27                 border: 1px solid shade($bg_color, .8);
     28                 color: $fg_color;
     29 
     30                 .button {
     31                     @include button($bg_color, $fg_color);
     32 
     33                     &.close { @extend %close_button; }
     34                 }
     35             }
     36         }
     37     }
     38 }