gtk-theme-clearcodes

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

commit
10f3b8e8c6e9dc77aaded2cedbce60741469a9e6
parent
73a6cac6af2e63a87741db168a4aeb2310044bcc
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2021-09-18 07:18
s/.horizontal/:not(.vertical)/g

Diffstat

M gtk-3.0/widgets/button.css 24 ++++++++++++------------
M gtk-3.0/widgets/progress_bar.css 4 ++--

2 files changed, 14 insertions, 14 deletions


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

@@ -67,29 +67,29 @@ button.link > label {
   67    67 
   68    68 .linked > button,
   69    69 .linked > entry,
   70    -1 .linked.horizontal > combobox button.combo,
   -1    70 .linked:not(.vertical) > combobox button.combo,
   71    71 .linked.vertical > combobox button.combo {
   72    72     border-radius: 0;
   73    73 }
   74    74 
   75    -1 .linked.horizontal > button:first-child,
   76    -1 .linked.horizontal > entry:first-child,
   77    -1 .linked.horizontal > combobox:first-child button.combo {
   -1    75 .linked:not(.vertical) > button:first-child,
   -1    76 .linked:not(.vertical) > entry:first-child,
   -1    77 .linked:not(.vertical) > combobox:first-child button.combo {
   78    78     border-top-left-radius: 3px;
   79    79     border-bottom-left-radius: 3px;
   80    80 }
   81    -1 .linked.horizontal > button:last-child,
   82    -1 .linked.horizontal > entry:last-child,
   83    -1 .linked.horizontal > combobox:last-child button.combo {
   -1    81 .linked:not(.vertical) > button:last-child,
   -1    82 .linked:not(.vertical) > entry:last-child,
   -1    83 .linked:not(.vertical) > combobox:last-child button.combo {
   84    84     border-top-right-radius: 3px;
   85    85     border-bottom-right-radius: 3px;
   86    86 }
   87    -1 .linked.horizontal > button,
   88    -1 .linked.horizontal > entry {
   -1    87 .linked:not(.vertical) > button,
   -1    88 .linked:not(.vertical) > entry {
   89    89     border-right-width: 0;
   90    90 }
   91    -1 .linked.horizontal > :focus + button,
   92    -1 .linked.horizontal > :focus + entry {
   -1    91 .linked:not(.vertical) > :focus + button,
   -1    92 .linked:not(.vertical) > :focus + entry {
   93    93     border-left: 0;
   94    94 }
   95    95 
@@ -130,7 +130,7 @@ spinbutton entry {
  130   130 spinbutton button {
  131   131     border-radius: 0;
  132   132 }
  133    -1 spinbutton.horizontal button {
   -1   133 spinbutton:not(.vertical) button {
  134   134     border-width: 0 0 0 1px;
  135   135 }
  136   136 spinbutton.vertical button.up {

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

@@ -20,13 +20,13 @@ entry progress {
   20    20     border-bottom: 2px solid @selected_bg_color;
   21    21 }
   22    22 
   23    -1 levelbar.horizontal block {
   -1    23 levelbar:not(.vertical) block {
   24    24     min-height: 0.5em;
   25    25 }
   26    26 levelbar.vertical block {
   27    27     min-width: 0.5em;
   28    28 }
   29    -1 levelbar.discrete.horizontal block:not(:first-child) {
   -1    29 levelbar.discrete:not(.vertical) block:not(:first-child) {
   30    30     border-left-width: 1px;
   31    31 }
   32    32 levelbar.discrete.vertical block:not(:first-child) {