Skip to content

Commit

Permalink
0.994
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbluemarine authored Dec 6, 2022
1 parent c9ccb2a commit f69f305
Show file tree
Hide file tree
Showing 37 changed files with 2,622 additions and 4 deletions.
8 changes: 4 additions & 4 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down Expand Up @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
along with this program. If not, see <http://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

Expand All @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
<http://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
351 changes: 351 additions & 0 deletions gtk-2.0/gtkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,351 @@
#======================================#
# OneStepBack theme: gtk2 part #
# jpsb: July 2015 - nov 2020 #
#======================================#

#======================================#
# Color definitions
#======================================#

gtk-color-scheme = "white_color:#ffffff
lighter_color:#d8d4d8
base_color:#aeaaae
darker_color:#8b8a8b
black_color:#000000
scale_color:#4b6983
"

#======================================#
# Derived colors
#======================================#

gtk-color-scheme = "button_selected_bg_color:#686868
text_selected_bg_color:#686868
text_selected_fg_color:#ffffff
menuitem_selected_bg_color:#c8c8c8
menuitem_selected_fg_color:#000000
listitem_selected_bg_color:#686868
listitem_selected_fg_color:#ffffff
"

#======================================#
# Styles
#======================================#

style "default" {

base[NORMAL] = @lighter_color
text[NORMAL] = @black_color
bg[NORMAL] = @base_color
fg[NORMAL] = @black_color

base[PRELIGHT] = @lighter_color
text[PRELIGHT] = @black_color
bg[PRELIGHT] = @base_color
fg[PRELIGHT] = @black_color

base[SELECTED] = @listitem_selected_bg_color
text[SELECTED] = @listitem_selected_fg_color
bg[SELECTED] = @darker_color
fg[SELECTED] = @lighter_color

base[ACTIVE] = @listitem_selected_bg_color
text[ACTIVE] = @listitem_selected_fg_color
bg[ACTIVE] = @button_selected_bg_color
fg[ACTIVE] = @black_color

base[INSENSITIVE] = @darker_color
text[INSENSITIVE] = @black_color
bg[INSENSITIVE] = @base_color
fg[INSENSITIVE] = @darker_color

GtkWidget::focus-line-width = 0
GtkWidget::link-color = @black_color
GtkWidget::visited-link-color = @darker_color
GtkScrollbar::min-slider-length = 30

GtkScrollbar::has_backward_stepper = 0
GtkScrollbar::has_forward_stepper = 1
GtkScrollbar::has_secondary_forward_stepper = 0
GtkScrollbar::has_secondary_backward_stepper = 1

}

style "scalebar-scrollbar" {

bg[NORMAL] = @base_color
fg[NORMAL] = @black_color

bg[PRELIGHT] = @lighter_color

bg[ACTIVE] = @darker_color

engine "pixmap" {

image {
function = SLIDER
state = NORMAL
file = "../img/scrollbar_horizontal.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
overlay_file = "../img/scrollbar_thumb.png"
overlay_stretch = FALSE
orientation = HORIZONTAL
}
image {
function = SLIDER
state = INSENSITIVE
file = "../img/scrollbar_horizontal.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
overlay_file = "../img/scrollbar_thumb.png"
overlay_stretch = FALSE
orientation = HORIZONTAL
}
image {
function = SLIDER
state = PRELIGHT
file = "../img/scrollbar_horizontal.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
overlay_file = "../img/scrollbar_thumb.png"
overlay_stretch = FALSE
orientation = HORIZONTAL
}
image {
function = SLIDER
state = ACTIVE
file = "../img/scrollbar_horizontal.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
overlay_file = "../img/scrollbar_thumb.png"
overlay_stretch = FALSE
orientation = HORIZONTAL
}
image {
function = SLIDER
state = NORMAL
file = "../img/scrollbar_vertical.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
overlay_file = "../img/scrollbar_thumb.png"
overlay_stretch = FALSE
orientation = VERTICAL
}
image {
function = SLIDER
state = INSENSITIVE
file = "../img/scrollbar_vertical.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
overlay_file = "../img/scrollbar_thumb.png"
overlay_stretch = FALSE
orientation = VERTICAL
}
image {
function = SLIDER
state = PRELIGHT
file = "../img/scrollbar_vertical.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
overlay_file = "../img/scrollbar_thumb.png"
overlay_stretch = FALSE
orientation = VERTICAL
}
image {
function = SLIDER
state = ACTIVE
file = "../img/scrollbar_vertical.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
overlay_file = "../img/scrollbar_thumb.png"
overlay_stretch = FALSE
orientation = VERTICAL
}
}
}

style "progressbar" {

bg[NORMAL] = @darker_color
fg[NORMAL] = @black_color # XXX

bg[PRELIGHT] = @scale_color # XXX
fg[PRELIGHT] = @lighter_color

}

style "menuitem" {

text[NORMAL] = @black_color
bg[NORMAL] = @darker_color
fg[NORMAL] = @black_color

text[PRELIGHT] = @menuitem_selected_fg_color
bg[PRELIGHT] = @menuitem_selected_bg_color
fg[PRELIGHT] = @menuitem_selected_fg_color

fg[SELECTED] = @menuitem_selected_fg_color # fg menu sélectionné libre office
}

style "check-radio" {

bg[PRELIGHT] = @base_color

base[INSENSITIVE] = @lighter_color
text[INSENSITIVE] = @darker_color
fg[INSENSITIVE] = @base_color
}

style "menubar" {

fg[PRELIGHT] = @menuitem_selected_fg_color # menu sélectionné geogebra

fg[SELECTED] = @menuitem_selected_fg_color # menu sélectionné thunderbird
}

style "paned" {

bg[PRELIGHT] = @base_color # séparateurs mobiles hover

}

style "gimp-loadingbar" {

bg[PRELIGHT] = @scale_color # loadingbar de gimp !

}

style "notebook" {

bg[ACTIVE] = @darker_color # pour variantes de couleur

}

style "entry" {

base[PRELIGHT] = @text_selected_bg_color
text[PRELIGHT] = @text_selected_fg_color

base[SELECTED] = @text_selected_bg_color
text[SELECTED] = @text_selected_fg_color

base[ACTIVE] = @text_selected_bg_color
text[ACTIVE] = @text_selected_fg_color
}

style "combobox" {

text[PRELIGHT] = @black_color

}

#======================================#
# Styles for testing
#======================================#

style "red" {

base[NORMAL] = "red"
text[NORMAL] = "red"
fg[NORMAL] = "red"
bg[NORMAL] = "red"

base[PRELIGHT] = "red"
text[PRELIGHT] = "red"
bg[PRELIGHT] = "red"
fg[PRELIGHT] = "red"

base[SELECTED] = "red"
text[SELECTED] = "red"
bg[SELECTED] = "red"
fg[SELECTED] = "red"

base[ACTIVE] = "red"
text[ACTIVE] = "red"
bg[ACTIVE] = "red"
fg[ACTIVE] = "red"

base[INSENSITIVE] = "red"
text[INSENSITIVE] = "red"
bg[INSENSITIVE] = "red"
fg[INSENSITIVE] = "red"

}

style "test" {

base[NORMAL] = "aqua"
text[NORMAL] = "green"
bg[NORMAL] = "magenta"
fg[NORMAL] = "blue"

base[PRELIGHT] = "green"
text[PRELIGHT] = "red"
bg[PRELIGHT] = "lime"
fg[PRELIGHT] = "maroon"

base[SELECTED] = "navy"
text[SELECTED] = "red"
bg[SELECTED] = "olive"
fg[SELECTED] = "purple"

base[ACTIVE] = "red"
text[ACTIVE] = "green"
bg[ACTIVE] = "teal"
fg[ACTIVE] = "yellow"

base[INSENSITIVE] = "purple"
text[INSENSITIVE] = "green"
bg[INSENSITIVE] = "yellow"
fg[INSENSITIVE] = "white"

}

#======================================#
# Widgets
#======================================#

class "*" style "default"
widget_class "*Scale*" style "scalebar-scrollbar"
widget_class "*Scrollbar*" style "scalebar-scrollbar"
widget_class "*ProgressBar*" style "progressbar"
widget_class "*MenuItem*" style "menuitem"
widget_class "*MenuBar*" style "menubar"
widget_class "*Paned*" style "paned"
class "GtkCheck*" style "check-radio"
class "GtkRadio*" style "check-radio"
widget_class "*Gimp*Paned*Bar*" style "gimp-loadingbar"
widget_class "*Notebook*" style "notebook"
widget_class "*Entry*" style "entry"
widget_class "*ComboBox*" style "combobox"

#widget_class "*Link*" style "red"
#widget_class "*Button*" style "red"
#widget_class "*Separator*" style "red"
#widget_class "*ToolButton*" style "red"
#widget_class "*Option*" style "red"
#widget_class "*ScaleButton*" style "red"
#widget_class "*List*" style "red"
#widget_class "*Notebook*" style "test"
#widget_class "*Frame*" style "red"
#widget_class "*Label*" style "red"
#widget_class "*Window" style "red"

# jpsb le 12 sept 2015: bug curieux: la barre d'avancement de xsane ne respecte la couleur demandée qu'après un redémarrage du thème, sinon la couleur est lime !

# qt4 et flèches d'ascenseurs incompatible avec engine "pixmap"
# barre de prog qt4

#======================================#
# tweaks
#======================================#
# avoid wrong background color in rox when switching theme
style "rox"
{
base[NORMAL] = @lighter_color
bg[NORMAL] = @lighter_color
}

widget_class "*ViewCollection*" style "rox"

Loading

0 comments on commit f69f305

Please sign in to comment.