Lapo Calamandrei
e8c5db0425
Adwaita: drop active style fixes
...
taking care of:
* entries
* buttons (misses some linking logic still)
* comboboxes (untested)
* spinbuttons
2016-03-11 14:44:58 +01:00
Lapo Calamandrei
85d0220800
Adwaita: gtkcolorscale styling.
2016-03-10 13:35:46 +01:00
Lapo Calamandrei
1879de1f17
Adwaita: radiobutton and checkbutton style fixes
...
padding and margins tweaks and treat the hover when placed in
popovers.
2016-03-09 17:29:46 +01:00
Lapo Calamandrei
473e346203
Adwaita: added a border to sidebars...
...
...hopefully when needed.
By default I assume a left hand side placement on ltr languages
and the opposite in rtl, for other placements left/right style
classes can be used.
2016-03-09 15:38:03 +01:00
Lapo Calamandrei
9ab920164a
Adwaita: regenerate css
...
since a bit was missing from the previous commit
2016-03-08 20:39:24 +01:00
Lapo Calamandrei
8508ea1554
Adwaita: add a top border to actionbars
2016-03-08 20:09:18 +01:00
Lapo Calamandrei
5923b73fc1
Adwaita: make links on infobars visible
2016-03-08 19:56:33 +01:00
Lapo Calamandrei
6fdf1e4462
Adwaita: path-bar style fixes
...
what we used to do here doesn't really work anymore, so this adapt
to gtk+ and theme changes.
2016-03-08 16:08:24 +01:00
Lapo Calamandrei
01ad22df1f
Adwaita: vertical paddings on menu
...
mostly to fix combobox menu positioning, looks nice anyway.
2016-03-08 14:27:24 +01:00
Lapo Calamandrei
1f3c93583a
Adwaita: fix a typo
2016-03-08 14:00:01 +01:00
Cosimo Cecchi
a9b50b6f69
scale: port scale values to gadgets
...
And add a default color like it was before.
This also fixes other issues with scale values interacting with scale
mark labels, which were buggy at least since 3.18.
2016-03-06 11:09:46 -08:00
Cosimo Cecchi
31fd41e547
Adwaita: fix glitch in fine-tune scrollbar theming
...
The fine-tune mode should not change the overall dimensions of the
scrollbar.
2016-03-05 12:05:26 -08:00
Lapo Calamandrei
303fdfbe8b
Adwaita: treeview column header scrollbar top border
...
add a top border in vertical scrollbars in treeviews.
2016-03-05 02:10:24 +01:00
Lapo Calamandrei
eef3153265
Adwaita: shrink scroolbars
...
erroneusly pushed 15px scrollbars with the previous commit, back
to 13px now.
2016-03-05 02:01:16 +01:00
Lapo Calamandrei
035ce8f18d
Adwaita: fix a typo
2016-03-05 01:50:18 +01:00
Lapo Calamandrei
0c987f94c8
Adwaita: scrollbar style rewrite
...
works correctly with the new gadgettified GtkRange Cosimo nicelly
delivered, as a bonus steppers are styled for overlay indicator
usage as well.
2016-03-05 01:39:13 +01:00
Lapo Calamandrei
59badc320e
Adwaita: shrink back scale trough
...
like it was before the GtkRange gadgettification.
2016-03-04 20:09:16 +01:00
Lapo Calamandrei
54858574a3
Adwaita: really fix scale with marks
...
added a min-height/width compensation too when in fine-tune mode,
so scale with marks and no labels doesn't make the scale node grow
when in fine-tune.
2016-03-04 19:18:43 +01:00
Lapo Calamandrei
88d51a8604
Adwaita: fix a thinko wrt fine-tune scales
...
added a scale node padding compensation for the trough growth in
fine-tune mode, so now the scale node doesn't grow anymore when
mark labels are present.
2016-03-04 18:36:36 +01:00
Cosimo Cecchi
757b74bed9
Adwaita: fix thinko in fine-tune scale selector
...
Marks always get class top/bottom, regardless of the scale orientation.
2016-03-03 22:06:16 -08:00
Lapo Calamandrei
8b6603bbd6
Adwaita: fix a thinko about toolbar items spacing with margins
2016-03-03 18:02:43 +01:00
Lapo Calamandrei
08613dce92
Adwaita: uniform paddings on image-buttons
...
fixes https://bugzilla.gnome.org/show_bug.cgi?id=762811
2016-03-03 16:12:20 +01:00
Lapo Calamandrei
3549490aa8
Adwaita: use margin for spacing widgets on toolbars
...
kind of a workaround, this approach is pretty unmaintainable, I
hope we'll get a CSS property for spacing directly on the parent
container (a toolbar in this particular case).
See https://bugzilla.gnome.org/show_bug.cgi?id=762397
2016-03-03 16:01:46 +01:00
Lapo Calamandrei
76ea3a15cb
Adwaita: more scale style fixes
2016-03-02 23:10:26 +01:00
Lapo Calamandrei
597151c736
Adwaita: fix scale with marks size
2016-03-02 21:54:19 +01:00
Lapo Calamandrei
fde1aac57a
Adwaita: scale with marks style fixes
...
after GtkRange gadgettification the theme needs some adjustments
for the new widget structure.
2016-03-02 21:35:38 +01:00
Lapo Calamandrei
d3ca8aaf83
Adwaita: fix combos styling
...
since now the combobox childrens are in a box.
2016-03-02 20:55:19 +01:00
Benjamin Otte
89121e058a
win32 theme: Add a naive switch implementation
...
I couldn't come up with anything better than a button on a button.
But the Windows theme sucks...
2016-03-02 14:49:37 +01:00
Benjamin Otte
8e3bc96d78
win32 theme: Implement horizontal spinbuttons
2016-03-02 14:49:37 +01:00
Cosimo Cecchi
5889d2520f
Adwaita: fix outline for scale trough
2016-03-01 12:54:01 -08:00
Cosimo Cecchi
bb55a1a958
scale: add gadgets for indicator/label in scale marks
...
This will allow us to theme them indepdendently, and specify a size for
the indicator from the theme.
2016-02-29 10:45:14 -08:00
Cosimo Cecchi
74a8bbfd38
Adwaita: add minimum size for marks
...
It's still suboptimal, because there's no way to control the size of the
indicator alone, but this does the job for now.
2016-02-29 10:45:14 -08:00
Lapo Calamandrei
0468ff1545
Adwaita: some more WIP theme work for the new scale
2016-02-29 10:45:13 -08:00
Lapo Calamandrei
622f5aef4e
Adwaita: WIP for new range theme
2016-02-29 10:45:13 -08:00
Cosimo Cecchi
f0d9afd300
scrollbar: deprecate min-slider-length style property
...
In favor of min-height/min-width, like we did for other similar
properties.
2016-02-29 10:45:12 -08:00
Cosimo Cecchi
d1c5ecfaef
scale: deprecate slider-length style property
...
This can be achieved using min-height/min-width CSS properties now.
2016-02-29 10:45:12 -08:00
Cosimo Cecchi
c1eff2cce5
range: deprecate more style properties
...
These are never read now.
2016-02-29 10:45:12 -08:00
Cosimo Cecchi
413b9d5b3c
range: continue porting to GtkGadgets
...
This commit rewrites a lot of the GtkRange internals to make full use
of the gadget structure.
2016-02-29 10:45:12 -08:00
Cosimo Cecchi
d0c671ddfe
range: deprecate trough-under-steppers
...
It's not clear what this would do in a CSS world, and all the themes set
it to TRUE anyway...
2016-02-29 10:45:11 -08:00
Cosimo Cecchi
4bb0a8db47
range: first pass at porting to gadgets
...
There's still a lot to be done, but this is functional and we'll improve
the loose ends in the next commits.
2016-02-29 10:45:11 -08:00
Benjamin Otte
3463031929
win32 theme: Implement GtkFrame
2016-02-27 17:23:44 +01:00
Benjamin Otte
39bfac0876
win32 theme: Remove special case for notebooks
...
The special case is coded into Wine, but it makes notebooks
disappear wrong. So remove it.
2016-02-27 17:03:49 +01:00
Benjamin Otte
053e549dbc
notebook: Redo notebook implementation
...
So far, this only reworks the tabs at top implementation.
Windows doesn't have support for theming tabs at left/right/bottom
so we need to figure out what to do there. Wine falls back to
unthemed code.
2016-02-27 05:15:57 +01:00
Benjamin Otte
cdb1cda68b
notebook: The active tab is now :checked
...
:active is reserved for "mouse button down on node", so we have to use
something else. And stack switcher and radio buttons use :checked for
the active widget, so it makes sense to use :checked for the active tab,
too.
Themes have been adapted.
TODO: Implement :active for tabs.
2016-02-27 03:48:46 +01:00
Lapo Calamandrei
4fd5ad2f07
Adwaita: notebook tab sizing fix
2016-02-26 19:01:55 +01:00
Lapo Calamandrei
9f606b8270
Adwaita: stricter selector for split headerbar separator
...
with a descendant select was erroneusly catching normal headerbar
separators in paned split headerabar case, see gedit. Using a child
selector fixes.
2016-02-26 13:15:37 +01:00
Lapo Calamandrei
296a7c24f9
Adwaita: simplify mixed buttons styling
2016-02-26 13:07:09 +01:00
Lapo Calamandrei
1a0b6568fa
Adwaita: fix separator in non paned using split headerbar
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=762593
2016-02-26 12:53:02 +01:00
Benjamin Otte
34e204952e
win32 theme: Make titlebuttons look like they're the right size
...
This is a hack because we can't really rtesize the buttons.
Instead, we draw the background only over the area that they would
be drawn if they were drawn by Windows. The button is still selectable
outside of this area, but what can you do...
2016-02-26 03:20:42 +01:00
Benjamin Otte
ad204c88ca
win32 theme: Fix decorations
...
... and draw them properly.
2016-02-26 03:20:42 +01:00