Benjamin Otte
d26a4b5555
spinner: Active spinners should be :checked, not :active
...
If that sounds confusing, it's because GTK and CSS can sometimes not
agree on naming.
:active for CSS means that a button is currently pressed on an element.
And that is clearly not the case for spinning spinners.
2015-12-02 00:39:25 +01:00
Benjamin Otte
2396265523
css: Rename -gtk-image-effect to -gtk-icon-effect
...
This is a property for icons, so we should name it as such.
2015-12-02 00:29:31 +01:00
Matthias Clasen
ba1fb4b0a7
HighContrast: use -gtk-icon-shadow
...
The name icon-shadow has been deprecated and causes warnings.
2015-11-20 20:35:39 -05:00
Cosimo Cecchi
bb441f4488
HighContrast: remove deprecated progressbar style properties
...
These are ignored and trigger a runtime warning.
2015-11-18 09:16:51 -08:00
Matthias Clasen
f79aef67f8
HighContrast: remove deprecated style properties
2015-11-17 21:47:02 -05:00
Matthias Clasen
aa5af9da4f
HighContrast: Fix selection styling in icon views
...
This makes selected items in icon view show up again.
2015-11-14 18:35:03 -05:00
Matthias Clasen
55667352aa
HighContrast: Fix selection styling in treeviews
...
This makes selected rows in treeviews show up again.
2015-11-14 18:29:27 -05:00
Matthias Clasen
65635546b4
HighContrast: Fix selection styling in some places
...
Make selected flow box children and list box rows show up again.
2015-11-14 18:25:59 -05:00
Matthias Clasen
afab635f9d
HighContrast: Fix shadow size
...
Ensure that the shadow extents don't change as we go to backdrop,
to prevent windows from jumping.
2015-11-14 18:05:06 -05:00
Matthias Clasen
a0cdd4ac51
HighContrast: Update levelbar styling
...
Adapt to changes in the previous commit.
2015-11-13 01:05:30 -05:00
Matthias Clasen
373a3517b3
HighContrast: Update levelbar styling
...
Adapt to the changes in the previous release.
2015-11-11 00:30:24 -05:00
Matthias Clasen
f3c915f18c
HighContrast: Update textview selection styling
...
Use the selection element name.
2015-11-10 21:52:45 -05:00
Matthias Clasen
514c0f761f
HighContrast: Update label selection styling
...
Adapt to changes in the previous commit.
2015-11-10 20:33:12 -05:00
Matthias Clasen
6cbfc780c5
HighContrast: Update entry selection styling
...
Adapt to changes in the previous commit.
2015-11-10 13:39:10 -05:00
Matthias Clasen
ec065d4cbf
HighContrast: Update treeview rubberband styling
...
Adapt to the changes in the previous commit.
2015-11-10 07:31:32 -05:00
Matthias Clasen
921c2a1db4
HighContrast: Update flowbox rubberband styling
...
Adapt to the changes in the previous commit.
2015-11-10 00:55:29 -05:00
Matthias Clasen
75d465eee4
HighContrast: Update rubberband styling
...
Adapt to the changes in the previous commit.
2015-11-10 00:30:39 -05:00
Matthias Clasen
ee76f9bfed
HighContrast: Update text handle styling
...
Adapt to the changes in the previous release.
2015-11-09 23:49:29 -05:00
Matthias Clasen
db70ec9666
HighContrast: Update notebook styling
...
Some fixes for arrows and for headers.
2015-11-08 21:08:38 -05:00
Matthias Clasen
e892b918dc
HighContrast: update notebook styling
...
Adapt to the changes in the previous commit.
2015-11-08 21:08:38 -05:00
Matthias Clasen
199e35fa5c
HighContrast: Update places sidebar styling
...
Use the new element name.
2015-11-05 10:43:02 -05:00
Matthias Clasen
37c923ad8a
HighContrast: Update filechooser styling
...
Update for changes in previous commit.
2015-11-05 07:45:39 -05:00
Matthias Clasen
8afb4a69e8
HighContrast: Update scale styling
2015-11-05 07:26:10 -05:00
Matthias Clasen
9f3deaa496
HighContrast: Update range styling
...
Adjust to the changes in the previous commit.
2015-11-05 07:26:10 -05:00
Matthias Clasen
894bd13240
HighContrast: Update progressbar styling
...
Adjust to the chagnes in the previous commit. This partially
undoes the earlier progressbar changes.
2015-11-04 12:43:06 -05:00
Matthias Clasen
399ab49fbb
HighContrast: Update scrolled window styling
...
Adapt to the changes in the previous commit.
2015-11-04 07:38:15 -05:00
Matthias Clasen
8dfb0e728c
HighContrast: Update range styling
...
Adapt to changes in the previous commit.
2015-11-03 23:17:09 -05:00
Matthias Clasen
0e41ff015c
HighContrast: Update menu styling
...
Support the element names introduced in the previous commit.
2015-11-02 21:34:14 -05:00
Matthias Clasen
5ebb713df5
HighContrast: Update combobox styling
...
Adapt to the changes in the previous commit.
2015-11-02 14:26:50 -05:00
Matthias Clasen
113c88c2cf
HighContrast: Update magnifier styling
...
Adapt to changes in the previous commit.
2015-11-02 12:47:14 -05:00
Matthias Clasen
cacc63ea4b
HighContrast: Update toolbutton styling
2015-10-31 20:55:51 -04:00
Matthias Clasen
dba8eba6db
HighContrast: Update toolbar styling
...
Adapt to the changes in the previous commit.
2015-10-31 20:43:07 -04:00
Matthias Clasen
ca385af3c4
HighContrast: Update progressbar styling
...
Adapt to the changes in the previous commit.
2015-10-31 20:24:46 -04:00
Matthias Clasen
7465601c1e
HighContrast: Update the frame styling
...
Adapt to the changes in the previous commit.
2015-10-31 19:11:18 -04:00
Matthias Clasen
c265b58181
HighContrast: adjust message dialog styling
2015-10-30 23:49:44 -04:00
Matthias Clasen
dfedda3dee
color editor: Redo the non-activatable color swatch
...
Use a .activatable style class on the color swatch and tie the
hover effect to it. The color editor simply removes this class
now to get an inert color swatch.
This is more flexible and lets us avoid referring to the
GtkColorEditor type in the theme.
2015-10-30 22:19:07 -04:00
Matthias Clasen
42a231a61c
HighContrast: Adapt to color swatch changes
...
This needs more work and simplification.
2015-10-30 21:46:36 -04:00
Matthias Clasen
a4a3736461
HighContrast: Update textview styling
...
Some updates to make text appear as usual.
2015-10-30 19:58:11 -04:00
Matthias Clasen
f97e2599e3
HighContrast: Adapt to changed treeview names
2015-10-30 17:38:04 -04:00
Matthias Clasen
a24dba28ae
HighContrast: Update font button styling
...
Use the new element name and style class.
2015-10-30 17:18:06 -04:00
Matthias Clasen
85d971b40b
HighContrast: Update paned styling
...
Adapt to the new element names.
2015-10-30 15:53:28 -04:00
Timm Bäder
33ac663b13
popover: Use element name
...
Pick "popover" and add .menu for popover menus
2015-10-30 15:10:35 +01:00
Matthias Clasen
c925a840b2
HighContrast: Update color button styling
...
Adapt to the previous commit.
2015-10-30 06:16:10 -04:00
Matthias Clasen
43e2ee31bc
HighContrast: Update headerbar styling
...
Adapt to the previous commit.
2015-10-30 01:09:18 -04:00
Matthias Clasen
9e5914ebde
HighContrast: Updates for recent changes
...
This is bit of a grab-bag, it includes fixes for spin buttons,
entries, buttons.
2015-10-30 00:40:50 -04:00
Matthias Clasen
854c7d1f0f
Revert "HighContrast: Update tooltip styling"
...
This reverts commit 93d80380ee
.
2015-10-28 11:53:33 -04:00
Matthias Clasen
b3619f9050
HighContrast: Update calendar theming
...
Use the newly introduced element name instead of hardcoding the type.
2015-10-28 06:45:37 -04:00
Matthias Clasen
93d80380ee
HighContrast: Update tooltip styling
...
Use the newly added element name instead of hardcoding the type.
2015-10-27 20:06:24 -04:00
Benjamin Otte
a648afae12
widget: Add name to widget paths
...
This changes widget paths for widgets with a CSS name to return that CSS
name, now that we have added API for it.
This means that style properties are now matches using the CSS name.
Also fix the theme to use the correct name when matching style properties.
2015-10-27 03:13:42 +01:00
Matthias Clasen
c72d094ae0
entry: Use better element name for progress
...
Change the name of the CSS subnode for progress rendering from
progressbar to progress. This will align better with GtkProgressBar.
2015-10-26 21:34:16 -04:00
Matthias Clasen
bf65b06781
HighContrast: Don't use GtkInfoBar type name
...
We have a proper element name for it now.
2015-10-25 17:19:34 -04:00
Matthias Clasen
2de0f06af9
HighContrast: Update separator rendering
...
Adapt HighContrast t othe changes in the pre-previous commit.
2015-10-25 16:29:11 -04:00
Matthias Clasen
2b20bd54c5
HighContrast: Update spinner rendering
...
Adapt HighContrast to the changes in the pre-previous commit.
2015-10-25 15:45:13 -04:00
Matthias Clasen
9f738da11b
HighContrast: Update notebook styling
...
The switch from .notebook to notebook requires minor changes,
such as moving the style properties into a separate selector.
2015-10-24 10:39:18 -04:00
Matthias Clasen
78309d8b00
HighContrast: Update entry progress rendering
...
Adapt HighContrast to the changes in the pre-previous commit.
2015-10-23 16:16:55 -04:00
Matthias Clasen
8a8518ed40
HighContrast: Update entry styling
...
Use the new element name instead of the style class.
2015-10-23 14:53:06 -04:00
Matthias Clasen
57057f73e4
HighContrast: Update image styling
...
Use the new element name instead of the type name.
2015-10-23 00:05:46 -04:00
Matthias Clasen
a8b5c04694
HighContrast: Update label styling
...
Use the new element name instead of the style class.
2015-10-22 23:27:43 -04:00
Matthias Clasen
b5e1fd5b7f
HighContrast: Update switch styling
...
Use the new element names instead of the type name and style
classes, just like we did for Adwaita in the previous commit.
2015-10-22 21:44:03 -04:00
Benjamin Otte
371f501632
window: Name the decoration style
2015-10-22 16:42:48 +02:00
Benjamin Otte
ed574408f2
notebook: Remove "prelight-page" class
...
Instead, just use the "tab:hover" selector
2015-10-22 16:42:48 +02:00
Benjamin Otte
182f9a7f39
notebook: Remove "active-page" class
...
Instead, just use the "tab:active" selector
2015-10-22 16:42:48 +02:00
Benjamin Otte
983de6f4a0
treeview: Use a cssnode instead of regions
...
This makes Treeview headers work again like before region support was
removed.
2015-10-22 16:42:47 +02:00
Jakub Steiner
9dfa8e200d
HC: use round buttons on sidebars
...
Copy Adwaita in how sidebar icon buttons look
https://bugzilla.gnome.org/show_bug.cgi?id=755268
2015-09-23 23:31:27 -04:00
Jakub Steiner
3ffef0ca03
HighContrast: make sidebar list rows taller
...
sync with Adwaita
https://bugzilla.gnome.org/show_bug.cgi?id=754866
2015-09-11 12:40:48 +02:00
Jakub Steiner
eef64df5f2
HighContrast: remove edge highlight
...
https://bugzilla.gnome.org/show_bug.cgi?id=754551
2015-09-08 17:24:19 +02:00
Jakub Steiner
5b7bed68a9
HighContrast: make linked entries align
...
- reshuffled the stylesheet to easily allow having a thicker
border, but decided to keep the 1px borders on entries
as it makes easier to spot the buttons despite being flat.
https://bugzilla.gnome.org/show_bug.cgi?id=753129
2015-09-04 15:26:19 +02:00
Lapo Calamandrei
57894ec55b
HC: fix pathbar paddings.
...
See https://bugzilla.gnome.org/show_bug.cgi?id=753397 for
details.
2015-09-03 16:47:52 +02:00
Jakub Steiner
ecc5abfe3b
Adwaita, HighContrast: day names in GtkCalendar
...
Ideally I'd like to mimic the treeview column-header style,
but font-weight: bold; doesn't seem to work. Making them plain
for now.
https://bugzilla.gnome.org/show_bug.cgi?id=753357
2015-08-28 20:14:53 -04:00
Jakub Steiner
f7d5d83dd0
HighContrast: GtkListBox fixes
...
Make flat buttons in list-rows work.
2015-08-27 11:09:39 +02:00
Benjamin Otte
207e593075
listbox: Mark activatable rows with a .activatable style class
...
Do not use .button anymore.
This is for 2 reasons:
1. The styling is seperate in our themes, so it doesn't make sense to
share the style class.
2. Due to the shared styling of .buton, listbox rows inherit all the
special case styles that exist for buttons - such as linked buttons,
header buttons, entry buttons, spinbutton buttons, etc. This means
that the code has to check all these special cases all the time and
for listbox rows, this is very slow.
2015-08-26 15:46:07 +02:00
Matthias Clasen
b54fab2b89
HighContrast: Fix undershoot in sidebars
...
This was just not implemented, and the sidebars solid white
background color was inherited by undershoot rectangle.
https://bugzilla.gnome.org/show_bug.cgi?id=753391
2015-08-08 23:10:00 +02:00
Matthias Clasen
27afd624cd
HighContrast: Improve GtkCalendar drawing
...
Make days gray that are not in the current month.
https://bugzilla.gnome.org/show_bug.cgi?id=753357
2015-08-08 10:02:49 +02:00
Matthias Clasen
ba45fa09b4
HighContrast: Avoid resizing treeview headers
...
https://bugzilla.gnome.org/show_bug.cgi?id=753060
2015-08-03 22:16:34 -04:00
Jakub Steiner
9dd2645c4a
HC: shade spinbuttons as entries
...
https://bugzilla.gnome.org/show_bug.cgi?id=746491
2015-08-01 02:22:34 +02:00
Jakub Steiner
230c248326
HC: custom color button fixes
...
https://bugzilla.gnome.org/show_bug.cgi?id=753051
2015-07-31 15:43:44 +02:00
Jakub Steiner
ffec25b015
HC: no need for green in scales
2015-07-30 14:02:58 +02:00
Jakub Steiner
cd08b427c9
HC: fix typo
2015-07-30 13:54:29 +02:00
Jakub Steiner
b5a684de68
HC: make progressbar labels more visible
...
- use the same colro as regular labels, no
need to be more subtle
https://bugzilla.gnome.org/show_bug.cgi?id=752978
2015-07-29 13:32:34 +02:00
Jakub Steiner
a0ee054bb1
HC: make pushed columns visible
...
https://bugzilla.gnome.org/show_bug.cgi?id=752977
2015-07-29 13:27:17 +02:00
Jakub Steiner
66cacaf725
HC: provide explicit treeview styling
...
deals with some details like:
- DND stuff
- progressbar
- expanders
- separators
https://bugzilla.gnome.org/show_bug.cgi?id=752975
2015-07-29 13:24:11 +02:00
Jakub Steiner
2cd86139fa
HC: :checked:hover color fix for menuitems
...
https://bugzilla.gnome.org/show_bug.cgi?id=752969
2015-07-29 12:40:16 +02:00
Jakub Steiner
9dabc4efd5
HC: make link buttons distinct
...
https://bugzilla.gnome.org/show_bug.cgi?id=752965
2015-07-29 12:34:44 +02:00
Jakub Steiner
3cf28a835f
HC: whitespace for sidebar
...
- make some room around the sidebar icons
https://bugzilla.gnome.org/show_bug.cgi?id=752960
2015-07-29 12:20:28 +02:00
Lars Uebernickel
2dda89cbd5
GtkButtonBox: remove spacing when buttons are linked
...
GtkButtonBox adds the "linked" class to its style context when its
layout is set to GTK_BUTTONBOX_EXPAND. It shouldn't ever make sense to
have spacing between buttons in that case, as themes generally draw
linked elements with a continuous border.
Thus, always set spacing to 0 and ignore GtkDialog's button-spacing
style property when the layout is set to EXPAND.
Also remove the now-redundant css rules which set button-spacing to 0
for message dialogs.
https://bugzilla.gnome.org/show_bug.cgi?id=752131
2015-07-14 15:12:56 +02:00
Cosimo Cecchi
9913b02e3b
switch: add a style property for the switch height
...
Instead of hardcoding an aspect ratio.
This will be replaced by min-height/max-height when we have them.
https://bugzilla.gnome.org/show_bug.cgi?id=751689
2015-06-30 13:28:26 -07:00
Jakub Steiner
ff20abda8e
HC: touch text selection styling
...
- sync with Adwaita
- try to avoid using image assets
https://bugzilla.gnome.org/show_bug.cgi?id=750883
2015-06-18 11:56:20 +02:00
Jakub Steiner
5cce2051dd
HC: implement overlay scrollbar theming
...
while the behavior was in place, the specific theming for
overlay scrollbars was missing, and content was hidden.
2015-05-04 14:39:40 +02:00
Jakub Steiner
136a32112f
HC: tone down backdrop for gtk switches
...
https://bugzilla.gnome.org/show_bug.cgi?id=746925
2015-04-27 17:34:22 +02:00
Jakub Steiner
296fe08695
HighContrast: sync color picker changes with Adwaita
2015-04-16 00:47:40 +02:00
Jakub Steiner
62a367105f
HighContrast: don't need to work around ffox
...
No need for the workaround for ffox 36, works in 37
https://bugzilla.gnome.org/show_bug.cgi?id=747827
2015-04-15 14:55:35 +02:00
Jakub Steiner
efe0009e31
HC: fix selected list-rows
...
https://bugzilla.gnome.org/show_bug.cgi?id=747689
2015-04-13 17:09:59 +02:00
Jakub Steiner
6c8790f62c
HighContrast: fix scrollbar slider 'padding'
2015-04-10 20:19:42 +02:00
Jakub Steiner
26e8037cf9
HighContrast: insensitive backdrop list rows have a border
...
https://bugzilla.gnome.org/show_bug.cgi?id=747288
2015-04-10 16:58:04 +02:00
Jakub Steiner
f87b08ddd3
notebook: prevent tab closebutton :hover to change metric
2015-04-10 16:28:56 +02:00
Olivier Fourdan
03213b9509
Improve CSD decorations without a compositor
...
It turned out that using mwm hints to instruct wms to
create border-only decorations is not really working
universally. So, instead of doing this, render a solid
frame without shadow on the client-side to handle this
case.
https://bugzilla.gnome.org/show_bug.cgi?id=746222
Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
2015-03-22 01:34:37 -04:00
Matthias Clasen
8c8e6588dc
HighContrast: Fix a typo
...
Commit 0a39d7d9
introduced a selected_bg_color with a missing $
in front of it.
2015-03-20 20:49:56 -04:00
Jakub Steiner
3f13349f27
fix insensitive and backdrop states
...
- checkboxes, labels and buttons were a mixed bag for
:insensitive and :backdrop
https://bugzilla.gnome.org/show_bug.cgi?id=746188
2015-03-20 13:25:52 +01:00
Matthias Clasen
d6bfc2b9c9
HighContrast: fix insensitive labels
...
Make insensitive labels differerent from regular labels.
https://bugzilla.gnome.org/show_bug.cgi?id=746493
2015-03-20 06:20:30 -04:00
Matthias Clasen
00544e9090
HighContrast: Fix calendar selection
...
The selected day was not differentiated from other
days at all. Render it white on black instead.
https://bugzilla.gnome.org/show_bug.cgi?id=746369
2015-03-17 19:38:18 -04:00