dotfiles

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

_panel.scss (1794B)


      1 /***********************
      2  ! Fallback mode panel *
      3 ************************/
      4 
      5 @include exports("panel") {
      6     %panel {
      7         @include linear-gradient($panel_bg_color);
      8 
      9         color: $panel_fg_color;
     10     }
     11 
     12     %panelbutton {
     13         border-width: 0 1px;
     14         border-radius: 0;
     15         border-color: transparent;
     16         background-color: transparent;
     17         background-image: none;
     18         color: $panel_fg_color;
     19 
     20         &:hover, &:prelight {
     21             @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .11));
     22 
     23             border-color: mix($panel_bg_color, $panel_fg_color, .11);
     24             color: shade($panel_fg_color, 1.08);
     25         }
     26 
     27         &:active, &:checked {
     28             @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .21), to top);
     29 
     30             border-color: mix($panel_bg_color, $panel_fg_color, .21);
     31             color: shade($panel_fg_color, 1.08);
     32 
     33             &:prelight {
     34                 @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .31), to top);
     35 
     36                 border-color: mix($panel_bg_color, $panel_fg_color, .31);
     37             }
     38         }
     39     }
     40 
     41     PanelWidget, PanelApplet, PanelToplevel {
     42         @extend %panel;
     43 
     44         padding: 0;
     45     }
     46 
     47     PanelApplet {
     48         border: 0;
     49 
     50         .button {
     51             @extend %panelbutton;
     52 
     53             -GtkButton-inner-border: 2;
     54         }
     55     }
     56 
     57     PanelSeparator {
     58         @extend %panel;
     59 
     60         border: 0;
     61     }
     62 
     63     PanelApplet > GtkMenuBar.menubar, PanelMenuBar.menubar, .gnome-panel-menu-bar {
     64         &.menuitem {
     65             @extend %panel;
     66 
     67             border: 0;
     68 
     69             -PanelMenuBar-icon-visible: true;
     70         }
     71     }
     72 
     73     PanelAppletFrame {
     74         @extend %panel;
     75 
     76         border: 0;
     77     }
     78 
     79     WnckPager, WnckTasklist { @extend %panel; }
     80 }