gtk-theme-clearcodes

gtk3 theme with a focus on code simplicity
git clone https://git.ce9e.org/gtk-theme-clearcodes.git

commit
255f9e60af904544af00d88aa4bfd639b7125421
parent
bc2de6ffe6a215e37c132c616e9e9d3655b959ca
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-01-01 11:26
tweak notebook tab styling

Diffstat

M gtk-3.0/widgets/notebook.css 24 ++++++++++++++++--------

1 files changed, 16 insertions, 8 deletions


diff --git a/gtk-3.0/widgets/notebook.css b/gtk-3.0/widgets/notebook.css

@@ -18,43 +18,51 @@ notebook tab {
   18    18     padding: 3px 5px;
   19    19     border-width: 1px;
   20    20 }
   -1    21 notebook .top tab + tab,
   -1    22 notebook .bottom tab + tab {
   -1    23     margin-left: -1px;
   -1    24 }
   -1    25 notebook .left tab + tab,
   -1    26 notebook .right tab + tab {
   -1    27     margin-top: -1px;
   -1    28 }
   21    29 
   22    30 notebook .top tab {
   23    -1     margin-top: 2px;
   -1    31     margin-top: 3px;
   24    32     margin-bottom: -1px;
   25    33 }
   26    34 notebook .top tab:checked {
   27    35     margin-top: 0;
   28    -1     border-top: 2px solid @selected_bg_color;
   -1    36     border-top: 3px solid @selected_bg_color;
   29    37     border-bottom: 0;
   30    38 }
   31    39 
   32    40 notebook .bottom tab {
   33    -1     margin-bottom: 2px;
   -1    41     margin-bottom: 3px;
   34    42     margin-top: -1px;
   35    43 }
   36    44 notebook .bottom tab:checked {
   37    45     margin-bottom: 0;
   38    -1     border-bottom: 2px solid @selected_bg_color;
   -1    46     border-bottom: 3px solid @selected_bg_color;
   39    47     border-top: 0;
   40    48 }
   41    49 
   42    50 notebook .left tab {
   43    -1     margin-left: 2px;
   -1    51     margin-left: 3px;
   44    52     margin-right: -1px;
   45    53 }
   46    54 notebook .left tab:checked {
   47    55     margin-left: 0;
   48    -1     border-left: 2px solid @selected_bg_color;
   -1    56     border-left: 3px solid @selected_bg_color;
   49    57     border-right: 0;
   50    58 }
   51    59 
   52    60 notebook .right tab {
   53    -1     margin-right: 2px;
   -1    61     margin-right: 3px;
   54    62     margin-left: -1px;
   55    63 }
   56    64 notebook .right tab:checked {
   57    65     margin-right: 0;
   58    -1     border-right: 2px solid @selected_bg_color;
   -1    66     border-right: 3px solid @selected_bg_color;
   59    67     border-left: 0;
   60    68 }