Commit Graph

383 Commits

Author SHA1 Message Date
Michael Natterer 231b82a7fe themes: draw a wider border around GimpFgBgColor's active color
Not quite optimal but at least some indication of the active color,
or at least of the fact that there are two different states.
2018-10-25 12:02:41 +02:00
Michael Natterer b6c099c4b9 app: fix width of GimpThumbBox' thumbnail generation progressbar
using CSS and GTK_ALIGN_FILL. The progress is currently not visible,
there is a bug in Adwaita that is about to be fixed upstream.
2018-07-03 19:43:05 +02:00
Michael Natterer acd3a6f169 Clean up color selector styling
- remove redundant frames, 3d-frames are gone anyway, so no need to
  keep double out/in frames around
- give all color selector classes CSS names
- add/fix some theme CSS styles
2018-06-24 15:41:04 +02:00
Michael Natterer 72bc216f4a app: make GimpFgBgEditor and GimpFgBgView honor border and padding
and give them CSS names. Set an appropriate padding for GimpFgBgView
in notebook tabs in the theme CSS.
2018-06-24 13:58:21 +02:00
Michael Natterer 7b54272a01 app, themes: make the color tag button in item properties smaller
and stop re-packing them into a hbox, simply change the original box'
orientation.
2018-06-19 23:22:50 +02:00
Michael Natterer 9c8d2a6e89 themes: make stuff in GimpTextStyleEditor smaller
like in docks and tool/overlay dialogs
2018-06-18 01:04:08 +02:00
Michael Natterer c42baf6676 themes: fix the toolbox button selector, remove special style
Thanks to Sergey Bugaev on IRC.
2018-06-13 15:38:12 +02:00
Michael Natterer e490aa8393 themes: make tool buttons great again
Excluding them from becoming smaller by selecting
"GimpDock :not(toolpalette) button" doesn't work, so
make them large again using "GimpDock toolpalette button", I
have no idea why...
2018-06-13 15:22:50 +02:00
Michael Natterer d5fb349e1b themes: make the buttons in tool dialog header bars slightly larger again
but reduce the overall height of the headerbar.
2018-06-11 12:46:24 +02:00
Michael Natterer 03d470074f themes: use the same smaller styling we use for docks for tool dialogs
Clearly work-in-progress, this doesn't look right yet...
2018-06-10 23:56:57 +02:00
Michael Natterer cc3bc015f4 themes: tweak some more widgets in space-critical places
- Make the color history buttons use much less padding
- Make entries, spinbuttons and all buttons in docks a lot smaller
2018-06-10 16:42:39 +02:00
Michael Natterer b391d24485 themes: use "large-toolbar" for toolbox buttons, "button" is too small 2018-05-31 15:24:13 +02:00
Jehan cba95fb8a5 themes: prefer symbolic icons when available.
This is a first step to make our 2 symbolic themes into one and properly
"announce" them as symbolic through icon naming (which will allow
recoloring according to style colors).
With this CSS style, GTK+ widgets will search for symbolic icon variants
when using the generic name (with "*-symbolic" suffix).
2018-05-28 21:09:08 +02:00
Michael Natterer 3e45427a36 app: fix drawing of GimpColorFrame's number
simply draw FG with alpha and remove the "number-color" style property.
2018-05-24 00:09:24 +02:00
Michael Natterer 080f7ae909 libgimpwidgets: undeprecate GimpNumberPairEntry and style the font with CSS 2018-05-21 19:31:15 +02:00
Michael Natterer 0ea8b4e0e5 themes: some GimpDhsplayShell and children CSS hackery 2018-05-20 21:06:35 +02:00
Michael Natterer e76c1305a5 app: derive GimpStatusbar from GtkFrame not GtkStatusbar
we were not using a single GtkStatusBar features, it was only in the
way. Remove broken size allocation logic and simply set a minimum
height of 3em in CSS. Also ellipsize the label, long labels had funny
effects since changing the overall GimpDisplayShell packing to pure
GtkGrid.
2018-05-20 21:06:35 +02:00
Michael Natterer 4133a032de Undeprecate/improve GimpScaleComboBox and GimpUnitComboBox
Remove label-scale style properties and gtk_widget_modify_font()
hacks and theme them using CSS.
2018-05-20 21:06:35 +02:00
Michael Natterer 69795ee376 themes: remove deprecated style properties from System/gimp.css 2018-05-20 21:06:34 +02:00
Michael Natterer 5509d586f9 themes: clean up gimp.css, with some added commented experiments 2018-05-20 21:06:34 +02:00
Michael Natterer 65d4450b3e app, themes: move GimpDisplayShell styling to CSS
Looks half-decent again now.
2018-05-20 21:06:30 +02:00
Jehan 818b283e3f themes: uncomment one more deprecated CSS rule.
"GtkButton-inner-border" is deprecated and output warnings.
2018-05-20 21:06:30 +02:00
Jehan 0edde674b7 themes: remove Dark, Gray and Light themes.
These are not working anymore since we now need CSS themes.
Also we'll prefer to use theme variants anyway.
I also remove a remnant of the old "Small" theme, which was not
installed anymore anyway, and is not useful anymore.
2018-05-20 21:06:30 +02:00
Michael Natterer 4f0a87ffa6 app, libgimpwidgets, themes: fix some themeing
Add CSS names using gtk_widget_class_set_css_name(), remove styling in
code and instead do it properly in CSS, so far in the System theme.
All horribly incomplete but a start.
2018-05-20 21:06:30 +02:00
Michael Natterer 0f84a985bd themes: comment out deprecated stuff in the "System" theme 2018-05-20 21:06:30 +02:00
Michael Natterer 8e83866605 themes: set an explicit background for rulers
because they can't be rendered with transparent background currently.
2018-05-20 21:06:29 +02:00
Michael Natterer cc010a4288 Incomplete notebook and tab theming commit, to be improved 2018-05-20 21:06:29 +02:00
Michael Natterer 590b5ff2a4 themes: document the new stlye properties and indent the CSS files properly 2018-05-20 21:06:28 +02:00
Michael Natterer 19d8b78a0b themes: document the new GimpHistogramView property in the theme CSS 2018-05-20 21:06:28 +02:00
Michael Natterer 1cd367845d app: port GimpColorFrame away from GtkStyle, using a new style property 2018-05-20 21:06:28 +02:00
Michael Natterer 21e51d2c0f port gtkrc files to CSS (incompletely and stuff commented out) 2018-05-20 21:06:28 +02:00
Ville Pätsi bd03ea7617 Clear kde_hacks and change treeview selected color 2018-04-25 12:51:47 +02:00
Michael Natterer 0a39874bda themes: fix "Dark" selected colors in "kde_hack_1" too, whatever that is 2018-04-18 14:54:34 +02:00
Michael Natterer 434728da08 themes: switch Dark's base[SELECTED] and text[SELECTED] colors
so selected text is totally obvious. Also improves histogram and other
places which use base/text's higher contrast.
2018-04-17 19:59:06 +02:00
Elle Stone 54ca0a7f68 Add Gray theme back to GIMP
that was removed by commit 7aecc90e10
2018-04-10 00:16:26 +02:00
Ville Pätsi cf21dcbe37 Rework and rename the default Dark theme 2018-04-05 23:59:27 +03:00
Ville Pätsi 7aecc90e10 Remove Lighter, Darker, and Gray themes 2018-04-05 23:59:22 +03:00
Jehan 657c39dc74 plug-ins, themes: use the "normal text" color as stdout color of...
... the python console.
It was using "selected text", which is most often inverted color (close
if not identical to the background color). As a consequence, it made
stdout output unreadable by default, forcing themes to always define a
style for the python console. Using "normal text" is a much better
choice to default to something readable from a parent style.

As a consequence, I also removed "python-fu-console" styling from the
System theme, where there should be as few theming as possible.
2018-01-09 18:41:59 +01:00
Jehan a7677c865f themes: add new style "gimp-python-console" for all themes.
I mostly copy-pasted from Dark and Light theme which already had this
style set since previous commit. If anyone wants to finetune colors, be
my guest!
2018-01-09 18:20:23 +01:00
Massimo Valentini e663526de9 Bug 753736: GIMP Python green prompt is virtually...
... unreadable to those with certain type of color blindness
2018-01-09 17:44:37 +01:00
Jehan 32d575b64f Bug 785080 - 02-Gray Theme lacks foreground-background contrast.
Thanks to Massimo for the solution!
2017-12-02 16:09:03 +01:00
Jehan be6ccc491c themes: minor theme fix.
s/gtk-application-prefer-gimp-dark-theme/gtk-application-prefer-dark-theme/
I'm actually not sure if this property is supposed to be in the gtkrc
file. It looks like it is available only from GTK+3, and isn't it more
of an application settings in order to select the right theme variant,
rather than a specific theme settings?
Anyway let's at least set the right property name.
2017-07-15 14:39:16 +02:00
Jehan 11d34b0309 themes: add commented-out font_name property in "System" theme.
This is to be used as self-documentation code, so that people know
how to hack the font size since I am not sure GIMP will always provide
reasonable font display on every platform.
2017-03-24 04:38:51 +01:00
Jehan e58d8fcd24 themes: removing the "Small" theme.
As a result of "Bug 745835 - Resize icons as Option, not theme", the
Small theme is now useless and redundant with the icon sizing
preferences.
2017-03-24 04:33:51 +01:00
Massimo Valentini 3cc77b03bf Bug 759904: Some icons can't be set from the icon theme
make it possible to use themed standard named icons
so to have also gtk dialogs show icons in the same style
as GIMP ui.
2016-09-02 12:30:49 +02:00
Massimo Valentini 060291c34e Bug 768934: Invisible main menu bar menu...
...items except File menu item in Mint Cinnamon 18

set GtkMenuItem::horizontal-padding = 4
2016-08-03 18:38:03 +02:00
Jehan 0f67e21c98 themes: rename theme "Default" into "System".
Since we have many themes now, this new name better indicates that it
is meant to follow your desktop theme settings.
Also it will likely not remain the default theme.
2016-03-22 16:37:10 +01:00
Jehan 7b27e03799 themes: order themes by shades of gray.
Since current implementation orders by folder, let's prepend install
folders by numbers.
2016-03-22 01:40:18 +01:00
Jehan 4358c783e4 themes: redo fix from commit 9c617d0.
It got lost when renaming the theme on commit ab8aa3b.
2016-03-22 01:36:55 +01:00
Benoit Touchette ab8aa3bd83 Themes: Renamed themes. Added 3 themes (Lighter, Gray, Dark).
Updated themes, renamed The-Dark-Side-Of-Gimp to Darker, and renamed The-Light-Side-Of-Gimp
to Light. Added three themes, Lighter, Gray, and Dark.

https://bugzilla.gnome.org/show_bug.cgi?id=759648 (Light)
https://bugzilla.gnome.org/show_bug.cgi?id=759649 (Darker)
https://bugzilla.gnome.org/show_bug.cgi?id=759663 (Gray)
https://bugzilla.gnome.org/show_bug.cgi?id=759830 (Lighter)
https://bugzilla.gnome.org/show_bug.cgi?id=759996 (Dark)
2016-03-20 10:56:47 -04:00