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
Benjamin Otte
3a9ceffe12
win32 theme: Make entries and textview work
2016-02-25 16:53:22 +01:00
Lapo Calamandrei
5906b15c5e
Adwaita: avoids up pointing scale slider to jump down on hover
...
and comment back sass debugging stuff in the process...
2016-02-22 11:29:43 +01:00
Lapo Calamandrei
9fb9d208fd
Adwaita: fix scale with marks sliders
...
looks like sass was confused by the way I structured the loops,
this works that around.
2016-02-22 11:16:32 +01:00
Lapo Calamandrei
7f89856b29
Adwaita: color scale slider fixes
...
use the pointy slider on colorscales, this way it picks the
correct slider on rtl.
2016-02-22 10:55:58 +01:00
Benjamin Otte
6c0270bbcb
win32 theme: Make tooltips look right
...
Includes adding fallback support
2016-02-22 04:37:57 +01:00
Benjamin Otte
808017d1d0
win32 theme: Size titlebar icons correctly.
...
Sizing according to
http://web.archive.org/web/20070301202835/http://shellrevealed.com/photos/blog_images/images/4538/original.aspx
2016-02-22 04:37:57 +01:00
Benjamin Otte
cdb12fec9e
win32 theme: Replace metric ids with metric names
...
Makes it more obvious what's actually happening.
2016-02-22 04:37:57 +01:00
Benjamin Otte
63934ba36c
win32 theme: Replace color ids with color names
...
Makes it more obvious what's actually happening.
2016-02-22 02:36:11 +01:00
Benjamin Otte
828f2e1801
win32 theme: Sanitize a few colors
2016-02-21 20:44:36 +01:00
Matthias Clasen
0c91584532
Adwaita: Drop decoration.ssd selector
...
We've settled on window.ssd decoration instead.
https://bugzilla.gnome.org/show_bug.cgi?id=760714
2016-02-21 00:55:41 -05:00
Benjamin Otte
f3d67cc2ac
win32 theme: Add rudimentary titlebar support
2016-02-21 03:02:36 +01:00
Lapo Calamandrei
7698ac447a
Adwaita: remove unused selector in _common.scss
2016-02-20 19:52:46 +01:00
Lapo Calamandrei
effee1f35e
Revert "Adwaita: resurrect scale-has-marks-above/below classes"
...
This reverts commit edcc0c2783
.
Since the colorscale styling is wrong in rtl, need to do things
differntly.
2016-02-20 19:50:49 +01:00
Lapo Calamandrei
44f6fcfbd3
Adwaita: move 1px up the check asset
2016-02-20 19:37:21 +01:00
Lapo Calamandrei
b23300c89d
Adwaita: fix entry progressbar
...
it now moves using the whole entry lenght, in the process the
style was tweaked to not need a special case for focused entries.
2016-02-20 19:31:58 +01:00
Lapo Calamandrei
edcc0c2783
Adwaita: resurrect scale-has-marks-above/below classes
...
the colorscales use said classes.
2016-02-20 17:25:51 +01:00
Lapo Calamandrei
079e90b780
Adwaita: scale slider assets refresh
...
...and update the theme accordingly.
2016-02-20 16:07:00 +01:00
Lapo Calamandrei
a979cff748
Adwaita: check/radio/slider gradient tweaks
2016-02-19 18:03:38 +01:00
Lapo Calamandrei
09cd17a001
Revert "Adwaita: restrict button transition"
...
Shouldn't be needed with recent Benjamin work.
This reverts commit 79ca3f03a8
.
2016-02-19 14:39:47 +01:00
Lapo Calamandrei
826913135b
Revert "Adwaita: only needed properties on entry transition"
...
Shouldn't be needed with recent Benjamin work.
This reverts commit d57f4a781c
.
2016-02-19 14:38:22 +01:00
Lapo Calamandrei
d57f4a781c
Adwaita: only needed properties on entry transition
...
made things properly in the process creating a sass function to
handle transition properties stacking.
2016-02-18 14:30:23 +01:00
Lapo Calamandrei
79ca3f03a8
Adwaita: restrict button transition
...
we use to animate "all" in the transition, this seems to trigger
some weird gtk sizing issue, restricting the transition to just
the needed properties fixes.
2016-02-18 13:24:42 +01:00
Lapo Calamandrei
a93fdd8201
Adwaita: housekeeping
...
cleaned up unneded selectors and leftovers from previous versions.
2016-02-18 12:26:19 +01:00
Lapo Calamandrei
56c54a20d1
Adwaita: reset the shadow on disabled scales
2016-02-17 20:00:57 +01:00