Lapo Calamandrei
207a842bfd
Adwaita: fix headerbar spinbutton size
...
fixes https://bugzilla.gnome.org/show_bug.cgi?id=761484
2016-02-03 18:32:51 +01:00
Matthias Clasen
0bcd8603eb
print dialog: Fix layout preview drawing
...
Use the CSS name paper for this as well, and make sure Adwaita
sets a color that makes the text visible in the dark theme as well.
2016-02-03 16:07:51 +01:00
Lapo Calamandrei
a0363e5f0a
Adwaita: notebook with hidden header style fix
...
the stack styling is applied only when there is a header, hence
when the stack node is not the notebook only child, should cure
https://bugzilla.gnome.org/show_bug.cgi?id=760996
2016-02-03 15:23:17 +01:00
Lapo Calamandrei
f734db1604
Adwaita: fix vertical spinbutton style
...
correct sizing and workaround disabled entry text colors.
2016-02-03 15:03:39 +01:00
Matthias Clasen
051b6071b7
Adwaita: Add symbolic png assets
...
And use them as fallback for the svg ones. This lets us
avoid a hard dependency on librsvg - the theme will work
without svg support.
2016-01-30 00:29:04 -05:00
Lapo Calamandrei
fac5ed6165
Adwaita: reset padding on notebook tab close button
2016-01-29 18:09:28 +01:00
Lapo Calamandrei
813cc34857
Adwaita: fix border radius on #editor-color-sample
2016-01-29 17:48:45 +01:00
Lapo Calamandrei
31cc642288
Adwaita: notebook style rewrite
2016-01-29 17:17:47 +01:00
Matthias Clasen
3dce876555
print dialog: Stop using action_box in .ui
...
We can just use CSS margins nowadays to achieve the desired
appearance.
2016-01-28 22:29:30 -05:00
Cosimo Cecchi
2533289b62
Adwaita: fix spinbutton styling
...
Spinbuttons were quite broken after the latest changes. This commit
brings the style back around what it was for 3.18.
2016-01-27 12:26:21 +01:00
Matthias Clasen
4c192ea4c3
Adwaita: Add some themeing for entry undershoot
...
This is just copying what we do for scrolled windows.
It will need some tweaks to look good for entries.
2016-01-26 23:36:18 -05:00
Matthias Clasen
5469f26260
Adwaita: Move .ssd class around
...
Make the theme follow our documentation for the various .csd and
.ssd style classes: They all go on the window node. For now, just
add the new selector; the old one will be removed when mutter has
been updated.
https://bugzilla.gnome.org/show_bug.cgi?id=760714
2016-01-22 19:23:54 -05:00
Lapo Calamandrei
c7c17abdb9
Adwaita: fix checks and radios on selected row
2016-01-22 13:29:35 +01:00
Lapo Calamandrei
bd4aaa1285
Adwaita: first css check/radio implementation
...
draw checks and radios with css istead of relying on png assets.
2016-01-21 14:48:47 +01:00
Matthias Clasen
52326e909a
Adwaita: Set a text color for lists
...
Symbolic icons in list boxes came out white-on-white in the
inspector. Set an explicit text color to prevent that.
2016-01-20 22:53:47 -05:00
Matthias Clasen
9d26038a10
Adwaita: Keep entry progress visible
...
When the entry is focused, make the progress one pixel wider
so it doesn't get swallowed by the focus outline.
2016-01-16 19:23:26 -05:00
Lapo Calamandrei
93f8fa7576
Adwaita: stop axing toolbar separators
2016-01-16 04:16:55 +01:00
Lapo Calamandrei
d0f83d46a0
Adwaita: style textview derived widgets
2016-01-16 04:15:30 +01:00
Lapo Calamandrei
f32e1d42e6
Adwaita: combo style cleanup and fixes
...
fixes https://bugzilla.gnome.org/show_bug.cgi?id=760524
2016-01-16 01:03:08 +01:00
Lapo Calamandrei
04f6f38b56
Adwaita: remove messagedialog label squashing hack
...
since Matthias fixed this properly.
2016-01-15 18:37:49 +01:00
Lapo Calamandrei
fc804bba2d
Adwaita: some dialog love
...
addresses https://bugzilla.gnome.org/show_bug.cgi?id=760525
2016-01-15 17:57:25 +01:00
Lapo Calamandrei
c667f9f1d1
Adwaita: pathbar style cleanup
2016-01-14 17:54:31 +01:00
Lapo Calamandrei
bc2355e0b1
Adwaita: remove superfluous selector on keycap styling
...
now that keys are made directly with labels istead of frames.
2016-01-14 16:26:22 +01:00
Lapo Calamandrei
1c3bad3d90
Adwaita: popover style fixes
2016-01-12 01:03:47 +01:00
Lapo Calamandrei
21a2fce8ba
Adwaita: make selection visible in treeview derived widgets
...
See https://bugzilla.gnome.org/show_bug.cgi?id=757503
2016-01-12 00:16:12 +01:00
Hashem Nasarat
473433c93d
Adwaita: fix separator margin in popovers
...
Commit 0b96b8a1
set margins via css, but accidentally changed the
semantics of margins for separators in popovers so that any separator
in a gtkpopover had a margin. This meant that the separators in
GtkListBoxes in popovers also had a margin around their separators, and
this is not what we want because it doesn't match separators in
listboxes not in popovers.
https://bugzilla.gnome.org/show_bug.cgi?id=760427
2016-01-11 23:40:25 +01:00
Benjamin Otte
d74c1bfd84
notebook: Remove outdated style properties from themes
...
No replacement provided, the notebook will have to be redone anyway.
2016-01-11 17:06:46 +01:00
Benjamin Otte
93dc364b02
notebook: Deprecate and stop supporting has-tab-gap style property
2016-01-11 17:05:22 +01:00
Lapo Calamandrei
152171e60c
Adwaita: transparent background for progressbar.osd
...
Hopefully fixes https://bugzilla.gnome.org/show_bug.cgi?id=760331
Added the .osd style class to the progressbar docs.
2016-01-09 20:05:41 +01:00
Lapo Calamandrei
99365753bf
Adwaita: shortcut window related fixes
2016-01-09 18:03:26 +01:00
Lapo Calamandrei
44e0e1359c
Adwaita: avoid colorswatch growing when drop targets
2016-01-09 15:30:20 +01:00
Lapo Calamandrei
239303b3f8
Adwaita: more scss cosmetics
2016-01-09 14:36:05 +01:00
Lapo Calamandrei
2050ed04dd
Adwaita: rely on background-image for paned wide separators
...
this workaround fixes the rendering issue coming out using borders
2016-01-09 13:35:48 +01:00
Lapo Calamandrei
4355cb45d7
Adwaita: make the paned wide separator scss code correct
...
unfortunatelly the results are not, borders behaves in a weird way
here as well, if this don't get fixed I'll rely on background here
too.
2016-01-09 13:04:27 +01:00
Lapo Calamandrei
2b57ba61d5
Adwaita: some scss cosmetic changes
2016-01-09 12:38:49 +01:00
Lapo Calamandrei
f09483bb98
Adwaita: fix thin paned separators
2016-01-09 12:31:41 +01:00
Lapo Calamandrei
b143ed98b3
Adwaita: use stricter selectors on paned separators
...
this fixes the "fat" separator on gedit headerbar, since it was
cought by the paned separator styling.
2016-01-09 12:07:52 +01:00
Lapo Calamandrei
367543c0e8
Adwaita: remove old headerbar separator styling
...
which was actually selecting nothing now.
2016-01-09 11:55:40 +01:00
Lapo Calamandrei
4853303dd7
Adwaita: add vertical margins to headebar entries and separators
2016-01-09 11:25:08 +01:00
Lapo Calamandrei
bf48dd9d7c
Adwaita: add vertical margins to headerbar buttons
...
to avoid them spanning the whole headerbar height with the changes
introduced in my last commit.
2016-01-09 10:19:47 +01:00
Lapo Calamandrei
48fbe5137e
Adwaita: avoid too tall headerbars
...
the vertical padding from the headerbar has been removed, now the
sizing is done with min-height, this avoids title and subtitle
labels making the headbar.
2016-01-08 20:56:40 +01:00
Lapo Calamandrei
91123adba7
Adwaita: remove some now uneeded selectors
...
...related to image-button sizing which is handled differently now.
2016-01-08 16:48:01 +01:00
Lapo Calamandrei
5de71413fe
Adwaita: colorchooser and color button style rewrite
...
fixing https://bugzilla.gnome.org/show_bug.cgi?id=760169 in the
process.
2016-01-08 16:41:58 +01:00
Lapo Calamandrei
4925493e49
Adwaita: rounded corners on iconview selection
2016-01-08 01:39:16 +01:00
Lapo Calamandrei
c0275b508d
Adwaita: fix calendar invisible selection
2016-01-08 01:39:16 +01:00
Timm Bäder
0b96b8a1ee
GtkModelButton: Remove some margins
...
Now that we can use margins from css for this, remove the margins we set
in code and use css instead.
2016-01-07 19:37:18 +01:00
Cosimo Cecchi
a6e7e72d53
levelbar: port to use gadgets
...
We now use one gadget for the trough, and one for each block.
2016-01-03 00:45:43 -08:00
Cosimo Cecchi
a9d07b6ec6
Adwaita: remove unused selector
...
There's no header-bar-separator style class.
2016-01-03 00:42:51 -08:00
Cosimo Cecchi
908deb1bdc
widget: deprecate separator style properties
...
They're not used in GTK anymore. Also remove them from the default
theme.
2016-01-03 00:42:51 -08:00
Cosimo Cecchi
64a06adfc0
treeview: don't use wide-separators/separator-height
...
Those style properties are on their way out; instead, use min-height
with the separator style class to obtain the height.
2016-01-03 00:42:51 -08:00
Cosimo Cecchi
eff8865ab1
separatortoolitem: don't use custom sizing/rendering
...
Instead, just rely on the CSS gadget; we can stop using wide-separators,
separator-height and separator-width, and at the same time deprecate the
space-size style property of GtkToolbar.
2016-01-03 00:41:32 -08:00
Cosimo Cecchi
7c0f0e882a
scrolledwindow: deprecate scrollbars-within-bevel style property
...
These days all the themes set it to TRUE, and it's not clear what
happens with overlay scrollbars...
2015-12-29 13:51:06 -08:00
Matthias Clasen
39b4efb24e
Adwaita: Don't use deprecated pseudo classes
2015-12-25 22:58:28 -05:00
Lapo Calamandrei
81da0b86f3
Adwaita: fix notebook close button
2015-12-24 00:02:12 +01:00
Lapo Calamandrei
157276b455
Adwaita: use min-height/width for entry and button sizing
2015-12-23 20:35:06 +01:00
Lapo Calamandrei
08f928a4ea
Adwata: fix switch slider border clash
2015-12-23 18:57:04 +01:00
Matthias Clasen
ad87ebb5e7
Adwaita: Adapt to previous commit
...
Rename all outline*radius properties to -gtk-outline*radius.
2015-12-22 16:19:18 -05:00
Cosimo Cecchi
22c9169883
Adwaita: don't set deprecated style property
2015-12-22 11:53:07 -08:00
Matthias Clasen
c8206ca698
Adwaita: Fix app-notification theming
...
The way to disable the frame border has changed.
2015-12-22 13:53:43 -05:00
Cosimo Cecchi
8d0ad79238
Adwaita: remove combobox separator styling
...
The separator does not exist anymore.
2015-12-22 10:49:21 -08:00
Cosimo Cecchi
5764c09272
combobox: use GtkIcon to render button arrow
...
We can now use the newly introduced GtkIcon widget to properly render
the arrow in the combobox with CSS.
2015-12-22 09:29:43 -08:00
Lapo Calamandrei
a64bf81a9f
Adwaita: fix bogus rounded corners on split headerbars
...
we have to do some assumptions for css selectors limits for this
particular case, so for split headerbars to work correctly the
actual haderbars need not to have the titlebar class applied.
2015-12-22 11:53:27 +01:00
Cosimo Cecchi
485c28d300
menu: port arrow rendering to use a GtkBuiltinIcon
...
At the same time, remove one spurious background/frame rendering, and
simplify the code a great deal.
2015-12-21 09:22:16 -08:00
Lapo Calamandrei
8a0a11dae4
Adwaita: set scrollbar style props in a general wildcard
...
trying to make webkit happy.
2015-12-21 16:58:03 +01:00
Lapo Calamandrei
7c6ca26bfb
Adwaita: fix split headerbar styling
...
applications with split headerbars has a container in the titlebar
slot so the .titlebar style there needs to be reset. Since we can't
go backward with selectors I assumed that any csd application
sports a headerbar hence relying on that styling and resetting
the .titlebar styleclass.
2015-12-21 16:18:04 +01:00
Matthias Clasen
2599ca4d9f
Adwaita: Attempt a fixing split headers
...
Remove decorations from headerbars which are wrapped in some
other containers (like boxes, or paneds), to prevent double
decorations in those cases.
2015-12-21 07:46:37 -05:00
Lapo Calamandrei
a54fadced6
Adwaita: make progressbars and scales the same size
2015-12-21 11:50:56 +01:00
Lapo Calamandrei
124923213f
Adwaita: progressbar sizing and progress component positioning
...
shrinked progressbars a bit and moved the progress component start
and end over the trough border.
2015-12-21 11:28:45 +01:00
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
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
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
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