dotfiles

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

_gedit.scss (3412B)


      1 /*********
      2  ! Gedit *
      3 **********/
      4 
      5 @include exports("gedit") {
      6     GeditWindow .pane-separator {
      7         border-width: 0 1px 0 0;
      8         border-style: solid;
      9 
     10         &, &:hover {
     11             border-color: shade($bg_color, ($contrast + .1));
     12             background-color: $bg_color;
     13         }
     14     }
     15 
     16     .gedit-document-panel {
     17         background-color: $bg_color;
     18         color: mix($fg_color, $bg_color, .1);
     19 
     20         .list-row {
     21             padding: $spacing;
     22 
     23             .button {
     24                 padding: 1px;
     25                 border-radius: $roundness;
     26                 border-style: solid;
     27                 border-color: transparent;
     28                 border-width: 1px;
     29                 background-color: transparent;
     30                 background-image: none;
     31                 color: transparent;
     32                 icon-shadow: none;
     33             }
     34         }
     35 
     36         .prelight-row .button {
     37             border-color: alpha($black, .1);
     38             color: alpha($white, .8);
     39 
     40             &:active {
     41                 border-color: alpha($black, .2);
     42                 background-color: alpha($black, .08);
     43                 color: $white;
     44             }
     45         }
     46 
     47         list-row, .prelight-row {
     48             .button:hover {
     49                 border-color: alpha($black, .1);
     50                 color: $white;
     51             }
     52         }
     53     }
     54 
     55     .gedit-document-panel-group-row {
     56         &, &:hover {
     57             border-top: 1px solid shade($bg_color, ($contrast + .1));
     58             background-color: $bg_color;
     59         }
     60     }
     61 
     62     .gedit-document-panel-document-row {
     63         &:hover { background-color: shade($bg_color, 1.05); }
     64 
     65         &:selected {
     66             &, &:hover { @extend %selected; }
     67         }
     68     }
     69 
     70     .gedit-document-panel-dragged-row {
     71         border: 1px solid alpha($black, .1);
     72         background-color: alpha($black, .5);
     73         color: $white;
     74     }
     75 
     76     .gedit-document-panel-placeholder-row {
     77         border: 0;
     78         background-color: alpha($black, .08);
     79         transition: all 200ms ease-in;
     80     }
     81 
     82     GeditStatusbar { border-top: 1px solid border_normal($bg_color); }
     83 
     84     GeditStatusbar GeditSmallButton, GeditStatusMenuButton {
     85         text-shadow: none;
     86 
     87         .button {
     88             border-style: solid;
     89             border-width: 0 1px;
     90             border-color: transparent;
     91             border-radius: 0;
     92             padding: 1px 6px 2px 4px;
     93 
     94             &:hover, &:active, &:active:hover { border-color: border_normal($bg_color); }
     95 
     96             &:active {
     97                 background-color: shade($bg_color, .95);
     98                 color: $fg_color;
     99             }
    100         }
    101     }
    102 
    103     GeditViewFrame .gedit-search-slider {
    104         padding: $spacing;
    105         border-radius: 0 0 $roundness $roundness;
    106         border-width: 0 1px 1px;
    107         border-style: solid;
    108         border-color: border_normal($base_color);
    109         background-color: $base_color;
    110 
    111         .not-found {
    112             background-color: $error_bg_color;
    113             background-image: none;
    114             color: $error_fg_color;
    115 
    116             &:selected { @extend %selected; }
    117         }
    118     }
    119 
    120     GeditFileBrowserWidget .toolbar {
    121         padding: $spacing / 2;
    122         border-top: 0;
    123         background-color: $bg_color;
    124         background-image: none;
    125     }
    126 
    127     .gedit-search-entry-occurrences-tag {
    128         margin: $spacing / 2;
    129         padding: $spacing / 2;
    130         color: mix($text_color, $base_color, .5);
    131     }
    132 }