dotfiles

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

gtk-widgets-assets.css (4563B)


      1 /*******************
      2  * check and radio *
      3  *******************/
      4 /* draw regular check and radio items using our assets */
      5 .check {
      6     -gtk-icon-source: url("assets/checkbox-unchecked.svg");
      7 }
      8 
      9 .check:insensitive {
     10     -gtk-icon-source: url("assets/checkbox-unchecked-insensitive.svg");
     11 }
     12 
     13 .check:checked {
     14     -gtk-icon-source: url("assets/checkbox-checked.svg");
     15 }
     16 
     17 .check:checked:insensitive {
     18     -gtk-icon-source: url("assets/checkbox-checked-insensitive.svg");
     19 }
     20 
     21 .check:inconsistent {
     22     -gtk-icon-source: url("assets/checkbox-mixed.svg");
     23 }
     24 
     25 .check:inconsistent:insensitive {
     26     -gtk-icon-source: url("assets/checkbox-mixed-insensitive.svg");
     27 }
     28 
     29 .radio {
     30     -gtk-icon-source: url("assets/radio-unselected.svg");
     31 }
     32 
     33 .radio:insensitive {
     34     -gtk-icon-source: url("assets/radio-unselected-insensitive.svg");
     35 }
     36 
     37 .radio:checked {
     38     -gtk-icon-source: url("assets/radio-selected.svg");
     39 }
     40 
     41 .radio:checked:insensitive {
     42     -gtk-icon-source: url("assets/radio-selected-insensitive.svg");
     43 }
     44 
     45 .radio:inconsistent {
     46     -gtk-icon-source: url("assets/radio-mixed.svg");
     47 }
     48 
     49 .radio:inconsistent:insensitive {
     50     -gtk-icon-source: url("assets/radio-mixed-insensitive.svg");
     51 }
     52 
     53 .menuitem.check {
     54     -gtk-icon-source: none;
     55 }
     56 
     57 .menuitem.check:active,
     58 .menuitem.check:checked {
     59     -gtk-icon-source: url("assets/menuitem-checkbox-checked.svg");
     60 }
     61 
     62 .menuitem.check:active:hover,
     63 .menuitem.check:checked:hover {
     64     -gtk-icon-source: url("assets/menuitem-checkbox-checked-hover.svg");
     65 }
     66 
     67 .menuitem.check:active:insensitive,
     68 .menuitem.check:checked:insensitive {
     69     -gtk-icon-source: url("assets/menuitem-checkbox-checked-insensitive.svg");
     70 }
     71 
     72 .menuitem.check:inconsistent:hover,
     73 .menuitem.radio:inconsistent:hover {
     74     -gtk-icon-source: url("assets/menuitem-checkbox-mixed-hover.svg");
     75 }
     76 
     77 .menuitem.check:inconsistent,
     78 .menuitem.radio:inconsistent {
     79     -gtk-icon-source: url("assets/menuitem-checkbox-mixed.svg");
     80 }
     81 
     82 .menuitem.check:inconsistent:insensitive,
     83 .menuitem.radio:inconsistent:insensitive {
     84     -gtk-icon-source: url("assets/menuitem-checkbox-mixed-insensitive.svg");
     85 }
     86 
     87 .menuitem.radio {
     88     -gtk-icon-source: none;
     89 }
     90 
     91 .menuitem.radio:active,
     92 .menuitem.radio:checked {
     93     -gtk-icon-source: url("assets/menuitem-radio-checked.svg");
     94 }
     95 
     96 .menuitem.radio:active:hover,
     97 .menuitem.radio:checked:hover {
     98     -gtk-icon-source: url("assets/menuitem-radio-checked-hover.svg");
     99 }
    100 
    101 .menuitem.radio:active:insensitive,
    102 .menuitem.radio:checked:insensitive {
    103     -gtk-icon-source: url("assets/menuitem-radio-checked-insensitive.svg");
    104 }
    105 
    106 GtkIconView.content-view.cell.check {
    107     -gtk-icon-source: url("assets/grid-selection-unchecked.svg");
    108 }
    109 
    110 GtkIconView.content-view.cell.check:active {
    111     -gtk-icon-source: url("assets/grid-selection-checked.svg");
    112 }
    113 
    114 /******************
    115  * pane separator *
    116  ******************/
    117 .pane-separator,
    118 .pane-separator.horizontal {
    119     background-image: linear-gradient(to bottom,
    120                                       shade(@theme_bg_color, 0.8) 0%,
    121                                       shade(@theme_bg_color, 0.8) 20%,
    122                                       transparent 20%,
    123                                       transparent 45%,
    124                                       shade(@theme_bg_color, 0.8) 45%,
    125                                       shade(@theme_bg_color, 0.8) 55%,
    126                                       transparent 55%,
    127                                       transparent 80%,
    128                                       shade(@theme_bg_color, 0.8) 80%,
    129                                       shade(@theme_bg_color, 0.8)
    130                                       );
    131 
    132     background-size: 4px 10px;
    133     background-repeat: no-repeat;
    134     background-position: center center;
    135 }
    136 
    137 .pane-separator.vertical {
    138     background-image: linear-gradient(to right,
    139                                       shade(@theme_bg_color, 0.8) 0%,
    140                                       shade(@theme_bg_color, 0.8) 20%,
    141                                       transparent 20%,
    142                                       transparent 45%,
    143                                       shade(@theme_bg_color, 0.8) 45%,
    144                                       shade(@theme_bg_color, 0.8) 55%,
    145                                       transparent 55%,
    146                                       transparent 80%,
    147                                       shade(@theme_bg_color, 0.8) 80%,
    148                                       shade(@theme_bg_color, 0.8)
    149                                       );
    150 
    151     background-size: 10px 4px;
    152     background-repeat: no-repeat;
    153     background-position: center center;
    154 }