Cosimo Cecchi
ce6cd49475
menuitem: port arrow gadget to GtkBuiltinIcon
...
Saves a lot of code.
2015-12-19 21:22:37 -08:00
Cosimo Cecchi
4ec99db368
checkmenuitem: deprecate indicator-size style property
...
We can now use min-width/min-height.
2015-12-19 21:22:37 -08:00
Cosimo Cecchi
5a87b5bbce
menuitem: deprecate toggle-spacing style property
...
We can move this to just use the actual GtkCssGadget of the menu item.
2015-12-19 21:21:16 -08:00
Cosimo Cecchi
3af5c83cd3
checkmenuitem: use a gadget for the check indicator
...
This will make margins and other CSS properties work correctly on the
indicator.
2015-12-19 21:21:16 -08:00
Cosimo Cecchi
0e24d6cd85
theme: fix menu check/radio styling
...
This is a leftover from the CssNode port of GtkCheckMenuItem and
GtkRadioMenuItem.
2015-12-19 21:21:16 -08:00
Cosimo Cecchi
7959c3fb6e
menuitem: deprecate arrow-scaling style property
...
With this, we can also remove the custom measure function of the arrow
gadget.
2015-12-19 21:21:16 -08:00
Cosimo Cecchi
2d5d7d8cf2
menuitem: convert arrow rendering to GtkCssGadget
...
This also deprecates the arrow-spacing style property, which can be now
replaced with a simple margin.
2015-12-19 21:21:16 -08:00
Cosimo Cecchi
f49a5bf116
menuitem: deprecate width-chars style property
...
Instead, we can just set min-width.
2015-12-19 21:21:16 -08:00
Matthias Clasen
f792d20507
statusbar: Deprecate style properties
...
We were not really using the shadow-type style property anyway,
so lets just deprecate it. Themes can directly theme the frame.
2015-12-19 23:53:31 -05:00
Matthias Clasen
57dd855d10
Adwaita: Drop some deprecated style properties
...
These can now be replaces with min-width/min-height.
2015-12-19 23:24:27 -05:00
Matthias Clasen
f0fba02dca
Adwaita: Try harder to fix arrow rendering
...
Fiddle with specificity to keep hovered modelbutton arrows
from rendering background.
2015-12-19 20:46:26 -05:00
Matthias Clasen
0b7226e96e
Adwaita: Fix treeview headers
...
The borders went missing on these, at some point.
https://bugzilla.gnome.org/show_bug.cgi?id=759567
2015-12-19 17:34:21 -05:00
Matthias Clasen
bca4755228
modelbutton: Use a builtin icon for the arrow
...
No need to do this manually.
2015-12-19 14:53:57 -05:00
Matthias Clasen
a3fd5a010b
Simplify actionbar
...
We don't need a frame widget here, just render a top border on the
box.
2015-12-18 22:57:16 -05:00
Matthias Clasen
b90fa7dcd1
Adwaita: fix action bar styling
...
Make action bar buttons have some padding again.
2015-12-18 22:37:57 -05:00
Matthias Clasen
576028bdec
frame: Convert to gadgets
...
As part of this conversion, remove the hardcoded padding around
the label.
Unfortunately, we cannot use the main gadget for drawing the frame
decoration, since we want to draw a custom border instead of the
stock css border that gadgets insist on drawing for us. Therefore,
add an extra gadget with name border and use it just for rendering
the frame.
2015-12-16 15:15:18 -05:00
Matthias Clasen
bb67a06bd6
check button: Deprecate and ignore ::indicator-spacing
...
This can be done just as well with CSS margins, so
do that instead for Adwaita.
2015-12-16 12:27:53 -05:00
Matthias Clasen
86ecdc7a44
model button: Document iconic layout
...
Document how the CSS nodes look if iconic is TRUE. Add
a .model style class for this case and use it in Adwaita.
2015-12-16 11:37:49 -05:00
Matthias Clasen
152326bd24
paned: Allocate the handle input area properly
...
Drop the margin misuse and use the border allocation of the
handle gadget. We use negative margins to make the border allocation
larger without pushing the paned children out.
2015-12-15 21:59:04 -05:00
Matthias Clasen
9b408d911a
shortcuts: Fix the circular stack switcher
...
The buttons need to set min-width now, to make this work.
2015-12-15 19:41:05 -05:00
Matthias Clasen
c2fc1cff32
paned: Convert to gadgets
2015-12-15 08:41:16 -05:00
Matthias Clasen
48e543fbc8
Adwaita: Update separator toolitem styling
...
Don't set a background for these, since we now draw background.
2015-12-15 08:41:16 -05:00
Matthias Clasen
e2bc77b9af
Adwaita: Remove nonsensical expander theming
...
No red backgrounds, please.
2015-12-15 08:41:16 -05:00
Matthias Clasen
f7466b236a
stackswitcher: Stop hardcoding 100px width
...
We can now set a min-width in the theme, so we don't have to
hardcode the size request here anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=726371
2015-12-15 08:41:16 -05:00
Matthias Clasen
0f7dbc3bbd
Adwaita: No padding for image buttons in popovers
2015-12-15 08:41:16 -05:00
Matthias Clasen
ff9f3c108f
Adwaita: Update color swatch styling
...
The adjustments here are provisional and need an artistic eye.
2015-12-15 08:41:16 -05:00
Matthias Clasen
20e1ff44e8
Adwaita: Update separator styling
...
Separators no longer draw a line with the foreground color,
but instead just draw background.
2015-12-15 08:41:16 -05:00
Lapo Calamandrei
bb16ba7e31
Adwaita: menu color change on the dark variant only
2015-12-11 21:08:53 +01:00
Lapo Calamandrei
191b9d84fa
Adwaita: make menu bg color the same as popovers
...
fixes https://bugzilla.gnome.org/show_bug.cgi?id=759260
2015-12-09 18:56:38 +01:00
Lapo Calamandrei
d266151fee
Adwaita: another try at color tweakings...
2015-12-09 17:43:40 +01:00
Lapo Calamandrei
f51dfb7af8
Adwaita: some more color tweaks and sass simplification
2015-12-09 17:38:38 +01:00
Lapo Calamandrei
07506a9088
Adwaita: fix popover styling
...
...in the process simplified the touch-selection styling, check
and radios not fixed there since I'm going to add proper osd assets
for those (istead of forcing the dark variant assets there as before).
2015-12-09 14:54:15 +01:00
Matthias Clasen
88c4d06973
accel cellrenderer: Fix rendering
...
We were getting the "New Accelerator" text mixed with the
content of the underlying cell, since plain labels don't
have a background. Go back to putting the label in selected
state, and fix the theme to render that white-on-blue. This
was lost when we switched to using a selection sub-node.
2015-12-07 07:04:43 -05:00
Lapo Calamandrei
830b6f10a1
Adwaita: simpler active switch background
...
...removing the progressbar_fill mixin in the process.
2015-12-05 17:56:32 +01:00
Lapo Calamandrei
8f2cd874f1
Adwaita: first stab at some visual updates
2015-12-05 17:56:32 +01:00
Lionel Landwerlin
55e06e5d52
adwaita: fix property spelling mistake
...
https://bugzilla.gnome.org/show_bug.cgi?id=759048
2015-12-04 21:04:06 +00:00
Lapo Calamandrei
5cb06a30a0
Adwaita: added back progressbar.osd style
2015-12-04 19:04:17 +01:00
Lapo Calamandrei
c64452c29d
Adwaita: fix scales with marks on the dark variant
2015-12-04 18:47:28 +01:00
Lapo Calamandrei
cfc17a0152
Adwaita: slight color tweaks
2015-12-04 18:43:24 +01:00
Lapo Calamandrei
07ee962ed3
Adwaita: some OSD rationalization
...
taking care of https://bugzilla.gnome.org/show_bug.cgi?id=732528 in
the process, any toolbar.osd with a positional style class attached
gets squared corners now.
2015-12-03 19:28:57 +01:00
Lapo Calamandrei
d46ab0f62a
Adwaita: scale with marks styling
...
I'm really sorry for the unlucky ones who would have to read that
code...
2015-12-03 18:41:35 +01:00
Lapo Calamandrei
37c943c8cd
Adwaita: added back scale marks style
2015-12-03 18:41:35 +01:00
Lapo Calamandrei
234c497474
Adwaita: scale fill style
2015-12-03 12:57:02 +01:00
Lapo Calamandrei
081bdb07c3
Adwaita: rename scale sass templates to be more specific
2015-12-03 11:43:53 +01:00
Lapo Calamandrei
b7a980d5d8
Adwaita: added back style for scales on selected list rows
2015-12-03 11:38:50 +01:00
Lapo Calamandrei
a291003ad4
Adwaita: first stab at GtkScale and GtkProgressBar rewrite
...
...scale has marks stuff missing, coming soon.
2015-12-03 10:54:33 +01:00
Matthias Clasen
0b9136842d
Use :dnd pseudoclass for drag highlighting
...
Instead of a ::draw handler with a hardcoded outline,
use CSS for drawing the highlight.
2015-12-02 23:49:07 -05:00
Lapo Calamandrei
8efdd94a31
Adwaita: button.color fix
...
border-radius: 0 for colorswatch overlay as well.
2015-12-02 17:42:42 +01:00
Lapo Calamandrei
a25fa9922d
Adwaita: vertically linked insensitive entries
...
Brighter border in that case as well.
2015-12-02 17:02:58 +01:00
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