From 83a5516a90884010dedd908112d0f9910453203f Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Thu, 24 Jun 2021 09:07:21 -0600 Subject: [PATCH 1/4] modernize tabs --- gtk-2.0/gtkrc | 245 ++++++++++++++++++++++++++++++++++++++++ gtk-3.0/gtk.css | 27 +++-- img/base.png | Bin 0 -> 546 bytes img/tab-active-180.png | Bin 0 -> 5366 bytes img/tab-active-270.png | Bin 0 -> 5350 bytes img/tab-active-90.png | Bin 0 -> 5361 bytes img/tab-active.png | Bin 0 -> 560 bytes img/tab-inactive-90.png | Bin 0 -> 5337 bytes img/tab-inactive.png | Bin 0 -> 553 bytes 9 files changed, 258 insertions(+), 14 deletions(-) create mode 100644 img/base.png create mode 100644 img/tab-active-180.png create mode 100644 img/tab-active-270.png create mode 100644 img/tab-active-90.png create mode 100644 img/tab-active.png create mode 100644 img/tab-inactive-90.png create mode 100644 img/tab-inactive.png diff --git a/gtk-2.0/gtkrc b/gtk-2.0/gtkrc index faee811..e7a5aed 100644 --- a/gtk-2.0/gtkrc +++ b/gtk-2.0/gtkrc @@ -97,7 +97,129 @@ style "default" { GtkProgressBar::min-horizontal-bar-height = 6 GtkProgressBar::min-vertical-bar-width = 6 + + engine "pixmap" { + image { + function = EXTENSION + state = NORMAL + file = "../img/tab-active.png" + border = { 0,0,0,2 } + stretch = TRUE + gap_side = BOTTOM + } + image { + function = EXTENSION + file = "../img/tab-inactive.png" + border = { 0,0,0,2 } + stretch = TRUE + gap_side = BOTTOM + } + + image { + function = EXTENSION + state = NORMAL + file = "../img/tab-active-180.png" + border = { 0,0,2,0 } + stretch = TRUE + gap_side = TOP + } + + image { + function = EXTENSION + file = "../img/tab-inactive.png" + border = { 0,0,2,0 } + stretch = TRUE + gap_side = TOP + } + + image { + function = EXTENSION + state = NORMAL + file = "../img/tab-active-90.png" + border = { 0,2,0,0 } + stretch = TRUE + gap_side = LEFT + } + + image { + function = EXTENSION + file = "../img/tab-inactive-90.png" + border = { 0,2,0,0 } + stretch = TRUE + gap_side = LEFT + } + + image { + function = EXTENSION + state = NORMAL + file = "../img/tab-active-279.png" + border = { 2,0,0,0 } + stretch = TRUE + gap_side = RIGHT + } + + image { + function = EXTENSION + file = "../img/tab-inactive-90.png" + border = { 2,0,0,0 } + stretch = TRUE + gap_side = RIGHT + } + + image { + function = BOX_GAP + detail = "notebook" + file = "../img/base.png" + border = {0,0,0,0} + stretch = TRUE + gap_file = "../img/base" + gap_border = {0,0,0,0} + gap_side = LEFT + } + + image { + function = BOX_GAP + detail = "notebook" + file = "../img/base.png" + border = {0,0,0,0} + stretch = TRUE + gap_file = "../img/base" + gap_border = {0,0,0,0} + gap_side = RIGHT + } + + image { + function = BOX_GAP + detail = "notebook" + file = "../img/base.png" + border = {0,0,0,0} + stretch = TRUE + gap_file = "../img/base" + gap_border = {0,0,0,0} + gap_side = TOP + } + + image { + function = BOX_GAP + detail = "notebook" + file = "../img/base.png" + border = {0,0,0,0} + stretch = TRUE + gap_file = "../img/base" + gap_border = {0,0,0,0} + gap_side = BOTTOM + } + + # Standalone frame + image { + function = BOX + detail = "notebook" + file = "./img/base.png" + border = {0,0,0,0} + stretch = TRUE + } +} } style "button" { @@ -322,6 +444,129 @@ style "notebook" { fg[ACTIVE] = @black_color fg[PRELIGHT] = @black_color bg[ACTIVE] = @darker_color # pour variantes de couleur + + engine "pixmap" { + image { + function = EXTENSION + state = NORMAL + file = "../img/tab-active.png" + border = { 0,0,0,2 } + stretch = TRUE + gap_side = BOTTOM + } + + image { + function = EXTENSION + file = "../img/tab-inactive.png" + border = { 0,0,0,2 } + stretch = TRUE + gap_side = BOTTOM + } + + image { + function = EXTENSION + state = NORMAL + file = "../img/tab-active-180.png" + border = { 0,0,2,0 } + stretch = TRUE + gap_side = TOP + } + + image { + function = EXTENSION + file = "../img/tab-inactive.png" + border = { 0,0,2,0 } + stretch = TRUE + gap_side = TOP + } + + image { + function = EXTENSION + state = NORMAL + file = "../img/tab-active-90.png" + border = { 0,2,0,0 } + stretch = TRUE + gap_side = LEFT + } + + image { + function = EXTENSION + file = "../img/tab-inactive-90.png" + border = { 0,2,0,0 } + stretch = TRUE + gap_side = LEFT + } + + image { + function = EXTENSION + state = NORMAL + file = "../img/tab-active-279.png" + border = { 2,0,0,0 } + stretch = TRUE + gap_side = RIGHT + } + + image { + function = EXTENSION + file = "../img/tab-inactive-90.png" + border = { 2,0,0,0 } + stretch = TRUE + gap_side = RIGHT + } + + image { + function = BOX_GAP + detail = "notebook" + file = "../img/base.png" + border = {0,0,0,0} + stretch = TRUE + gap_file = "../img/base" + gap_border = {0,0,0,0} + gap_side = LEFT + } + + image { + function = BOX_GAP + detail = "notebook" + file = "../img/base.png" + border = {0,0,0,0} + stretch = TRUE + gap_file = "../img/base" + gap_border = {0,0,0,0} + gap_side = RIGHT + } + + image { + function = BOX_GAP + detail = "notebook" + file = "../img/base.png" + border = {0,0,0,0} + stretch = TRUE + gap_file = "../img/base" + gap_border = {0,0,0,0} + gap_side = TOP + } + + image { + function = BOX_GAP + detail = "notebook" + file = "../img/base.png" + border = {0,0,0,0} + stretch = TRUE + gap_file = "../img/base" + gap_border = {0,0,0,0} + gap_side = BOTTOM + } + + # Standalone frame + image { + function = BOX + detail = "notebook" + file = "./img/base.png" + border = {0,0,0,0} + stretch = TRUE + } +} } diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index a0c7f55..d1ecfe3 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -508,19 +508,18 @@ notebook { notebook frame { background-color: @base_color; - border-left: 1px solid @outset_lighter_color; - border-top: 1px solid @outset_lighter_color; - border-right: 1.3px solid @trueblack; - border-bottom: 1.3px solid @trueblack; + border-left: none; + border-top: none; + border-right: none; + border-bottom: none; } notebook tab { - background-color: @darker_color; - border: 1px solid @outset_darker_color; - border-right: 1px solid @trueblack; - border-bottom: 1px solid @outset_lighter_color; - border-left: none; - border-top: 1px solid @darker_color; + background-color: @base_color; + border-right: 0px solid @base_color; + border-bottom: 2px solid @base_color; + border-left: 0px solid @base_color; + border-top: 0px solid @base_color; padding: 3px; margin: 0px; } @@ -528,10 +527,10 @@ notebook tab { notebook tab:checked, notebook tab:active { background-color: @base_color; - border-left: 1px solid @outset_lighter_color; - border-top: 1px solid @base_color; - border-bottom: 1px solid @base_color; - border-right: 1px solid @trueblack; + border-right: 0px solid @base_color; + border-bottom: 2px solid @scale_color; + border-left: 0px solid @base_color; + border-top: 0px solid @base_color; } frame diff --git a/img/base.png b/img/base.png new file mode 100644 index 0000000000000000000000000000000000000000..5ebc1e22599b8abad0f918d781924816793da2fc GIT binary patch literal 546 zcmV+-0^R+IP)EX>4Tx04R}tkv&MmKpe$iQ?(*h2MZQ)$WWauh>AFB6^c-y)C#RSm|Xe=O&XFE z7e~Rh;NZt%)xpJCR|i)?5c~jfb8}L3krMxx6k5c1aNLh~_a1le0HI!Hs@X9PsG4P@ z;xRFkT@?eb=t3BM7(|!EOnokyOu%z|-NVP%yC~1{KKJM7RdOZ+d?N8I(+!JwgLrz= z(mC%FhgeZkh|h_~47wokBiCh@-#8Z>7Ib`5 zkz)ZBsE`~#_#gc4*33^%xJkhn(D`E9A0t3u7iiRM`}^3o8z+GO8Mx9~{z@H~`6Rv8 z(jrGd|2A-O-O}Ve;Bp5DKk1SoIg+2Ikk13}XY@^3VBi+$S#x`9?&I_UNK;pd8{ps& z7%foty2rb_+k5->OtZfqBXM$vr&Ku600009a7bBm001r{001r{0eGc9b^rhX2XskI zMF-^u7!Dl(WkTy$0000PbVXQnLvL+uWo~o;Lvm$dbY)~9cWHEJAV*0}P*;Ht7XSbN k3`s;mR0!8&P*PF?007VcXOf8jDF6Tf07*qoM6N<$f~xP`kpKVy literal 0 HcmV?d00001 diff --git a/img/tab-active-180.png b/img/tab-active-180.png new file mode 100644 index 0000000000000000000000000000000000000000..38e16ba3d91f2082ba022bb3766c5875bf93054b GIT binary patch literal 5366 zcmeHKc~}$I77uknLBR#wYU>bOP?=Cqojj(jq>e zh`3ZARZF#21z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W-AqzojAnM6|>cW150LVig5gy;?JQ^Ptr-FLXXkLS9np=w`VPJ_Smraf+8$T!K ES6G>`D*ylh literal 0 HcmV?d00001 diff --git a/img/tab-inactive.png b/img/tab-inactive.png new file mode 100644 index 0000000000000000000000000000000000000000..a4c90e99d8df89478ea9d30d77020ad0b6c8e942 GIT binary patch literal 553 zcmV+^0@nSBP)EX>4Tx04R}tkv&MmP!xqvTWdwC4t6NwkfAzR5EXIMDionYs1;guFnQ@8G-*gu zTpR`0f`dPcRRK=8%3KSqGiF3_yo_V=-EH&1}TGjOG~{nZ9A^GSNW zt;LRjfow!>l~*KK!#?Ox&aOj zfzcvmuY0_^r*m%q_O#~r1L@ataLH8=9RL6T32;bRa{vG?BLDy{BLR4&KXw2B00(qQ zO+^Rg1{ehd0vs94f&c&j8FWQhbVF}#ZDnqB07G(RVRU6=Aa`kWXdp*PO;A^X4i^9b r01`<=K~xCWV^C63Vq#!mAQuAw9JBz1;?_ Date: Thu, 24 Jun 2021 19:13:26 -0600 Subject: [PATCH 2/4] modernize tabs --- gtk-2.0/gtkrc | 20 ++++++++++---------- gtk-3.0/gtk.css | 5 +---- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/gtk-2.0/gtkrc b/gtk-2.0/gtkrc index e7a5aed..a5a4446 100644 --- a/gtk-2.0/gtkrc +++ b/gtk-2.0/gtkrc @@ -173,7 +173,7 @@ style "default" { file = "../img/base.png" border = {0,0,0,0} stretch = TRUE - gap_file = "../img/base" + gap_file = "../img/base.png" gap_border = {0,0,0,0} gap_side = LEFT } @@ -184,7 +184,7 @@ style "default" { file = "../img/base.png" border = {0,0,0,0} stretch = TRUE - gap_file = "../img/base" + gap_file = "../img/base.png" gap_border = {0,0,0,0} gap_side = RIGHT } @@ -195,7 +195,7 @@ style "default" { file = "../img/base.png" border = {0,0,0,0} stretch = TRUE - gap_file = "../img/base" + gap_file = "../img/base.png" gap_border = {0,0,0,0} gap_side = TOP } @@ -206,7 +206,7 @@ style "default" { file = "../img/base.png" border = {0,0,0,0} stretch = TRUE - gap_file = "../img/base" + gap_file = "../img/base.png" gap_border = {0,0,0,0} gap_side = BOTTOM } @@ -215,7 +215,7 @@ style "default" { image { function = BOX detail = "notebook" - file = "./img/base.png" + file = "../img/base.png" border = {0,0,0,0} stretch = TRUE } @@ -520,7 +520,7 @@ style "notebook" { file = "../img/base.png" border = {0,0,0,0} stretch = TRUE - gap_file = "../img/base" + gap_file = "../img/base.png" gap_border = {0,0,0,0} gap_side = LEFT } @@ -531,7 +531,7 @@ style "notebook" { file = "../img/base.png" border = {0,0,0,0} stretch = TRUE - gap_file = "../img/base" + gap_file = "../img/base.png" gap_border = {0,0,0,0} gap_side = RIGHT } @@ -542,7 +542,7 @@ style "notebook" { file = "../img/base.png" border = {0,0,0,0} stretch = TRUE - gap_file = "../img/base" + gap_file = "../img/base.png" gap_border = {0,0,0,0} gap_side = TOP } @@ -553,7 +553,7 @@ style "notebook" { file = "../img/base.png" border = {0,0,0,0} stretch = TRUE - gap_file = "../img/base" + gap_file = "../img/base.png" gap_border = {0,0,0,0} gap_side = BOTTOM } @@ -562,7 +562,7 @@ style "notebook" { image { function = BOX detail = "notebook" - file = "./img/base.png" + file = "../img/base.png" border = {0,0,0,0} stretch = TRUE } diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index d1ecfe3..4474c79 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -500,10 +500,7 @@ notebook { background-color: @base_color; color: @black_color; padding: 0px; - border-left: 1px solid @outset_lighter_color; - border-top: 1px solid @outset_lighter_color; - border-right: 1.3px solid @trueblack; - border-bottom: 1.3px solid @trueblack; + border: none; } notebook frame { From 24edd6cbe54f0de27d60693fb278a4c6523608ed Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Sat, 26 Jun 2021 14:45:13 -0600 Subject: [PATCH 3/4] fix typo in 270-rotated tabs bg image for gtk2 --- README.md | 2 ++ gtk-2.0/gtkrc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 054c1a5..c714b7f 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ Feel free to change and share the code. ## changelog +0.70 modernize tabs + 0.65 add `darker` Qt5 colorscheme for Kate and installer script, tweak GTK2 theme and Qt5 colorscheme 0.632 fix selected text color diff --git a/gtk-2.0/gtkrc b/gtk-2.0/gtkrc index a5a4446..9c91f0e 100644 --- a/gtk-2.0/gtkrc +++ b/gtk-2.0/gtkrc @@ -153,7 +153,7 @@ style "default" { image { function = EXTENSION state = NORMAL - file = "../img/tab-active-279.png" + file = "../img/tab-active-270.png" border = { 2,0,0,0 } stretch = TRUE gap_side = RIGHT @@ -500,7 +500,7 @@ style "notebook" { image { function = EXTENSION state = NORMAL - file = "../img/tab-active-279.png" + file = "../img/tab-active-270.png" border = { 2,0,0,0 } stretch = TRUE gap_side = RIGHT From 534d2a5cf4644fb3848f26eae2c27fb28d2836f2 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Tue, 3 Aug 2021 22:58:26 -0600 Subject: [PATCH 4/4] fix left/right tabs --- README.md | 2 ++ gtk-2.0/gtkrc | 16 ++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c714b7f..7e6f9ee 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ Feel free to change and share the code. ## changelog +0.71 fix left/right anchored tabs + 0.70 modernize tabs 0.65 add `darker` Qt5 colorscheme for Kate and installer script, tweak GTK2 theme and Qt5 colorscheme diff --git a/gtk-2.0/gtkrc b/gtk-2.0/gtkrc index 9c91f0e..c1e2913 100644 --- a/gtk-2.0/gtkrc +++ b/gtk-2.0/gtkrc @@ -137,7 +137,7 @@ style "default" { function = EXTENSION state = NORMAL file = "../img/tab-active-90.png" - border = { 0,2,0,0 } + border = { 2,0,0,0 } stretch = TRUE gap_side = LEFT } @@ -145,7 +145,7 @@ style "default" { image { function = EXTENSION file = "../img/tab-inactive-90.png" - border = { 0,2,0,0 } + border = { 2,0,0,0 } stretch = TRUE gap_side = LEFT } @@ -154,7 +154,7 @@ style "default" { function = EXTENSION state = NORMAL file = "../img/tab-active-270.png" - border = { 2,0,0,0 } + border = { 0,2,0,0 } stretch = TRUE gap_side = RIGHT } @@ -162,7 +162,7 @@ style "default" { image { function = EXTENSION file = "../img/tab-inactive-90.png" - border = { 2,0,0,0 } + border = { 0,2,0,0 } stretch = TRUE gap_side = RIGHT } @@ -484,7 +484,7 @@ style "notebook" { function = EXTENSION state = NORMAL file = "../img/tab-active-90.png" - border = { 0,2,0,0 } + border = { 2,0,0,0 } stretch = TRUE gap_side = LEFT } @@ -492,7 +492,7 @@ style "notebook" { image { function = EXTENSION file = "../img/tab-inactive-90.png" - border = { 0,2,0,0 } + border = { 2,0,0,0 } stretch = TRUE gap_side = LEFT } @@ -501,7 +501,7 @@ style "notebook" { function = EXTENSION state = NORMAL file = "../img/tab-active-270.png" - border = { 2,0,0,0 } + border = { 0,2,0,0 } stretch = TRUE gap_side = RIGHT } @@ -509,7 +509,7 @@ style "notebook" { image { function = EXTENSION file = "../img/tab-inactive-90.png" - border = { 2,0,0,0 } + border = { 0,2,0,0 } stretch = TRUE gap_side = RIGHT }