Matthias Clasen
2ddff872cd
css: Drop the -gtk-icon-theme property
...
We want to always use the current icon theme, and only
have the minimum amount of custom properties.
2020-04-22 12:35:30 -04:00
Matthias Clasen
84fd7cf704
Shorten CSS docs
...
Fold the two CSS chapters into one, make more compact
tables of selectors and properties, and stop explaining
general CSS syntax.
2020-04-18 12:34:17 -04:00
Matthias Clasen
e83d87c20a
Add :focus-visible to css docs
2020-04-15 23:14:34 -04:00
Benjamin Otte
799cb39e08
Remove win32 themeing support
...
It was unused through all of GTK 3, so it is not worth supporting.
The best Windows themes do not make use of it at all.
2019-03-22 22:30:01 +01:00
Matthias Clasen
b64f852d60
Remove docs for css keybindings
...
This functionality has been removed.
2019-02-21 13:56:56 -05:00
Emmanuele Bassi
0f24fddaf7
docs: Drop the '+' from GTK
...
We need to adapt to both the change in the name of the project, and to
the name change in the pkg-config file.
2019-02-05 10:14:31 +01:00
Arnaud Rebillout
ed5f07e0e7
css docs: fix some formatting inconsistencies along the way
...
Mostly spaces.
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
2017-12-29 12:51:31 -05:00
Arnaud Rebillout
b3871a76c4
css docs: Fix refentry and refname
...
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
2017-12-29 12:51:30 -05:00
Arnaud Rebillout
ccf3b10528
css docs: Ensure the first column does not break for every table
...
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
2017-12-29 12:51:30 -05:00
Arnaud Rebillout
98a28f4168
css docs: Get rid of non-breaking hyphens
...
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
2017-12-29 12:51:30 -05:00
Arnaud Rebillout
3c7c4a019c
css docs: Get rid of non-breaking spaces
...
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
2017-12-29 12:51:30 -05:00
Daniel Boles
b5afe75700
docs: css-overview: Don’t recommend broken syntax
...
Using this produced warnings about the Pango syntax of <Family> <size>
being deprecated, and the size being invalid due to no unit specified.
Also, that multi-word font family presumably wouldn’t work as expected.
2017-09-03 12:26:07 +01:00
Daniel Boles
d7b175a3fb
css-overview: Don’t document deleted pseudoclasses
...
Commit b52966a318
stopped the parser from
handling various deprecated pseudoclasses, which were aliases of others,
but it did not update the documentation to reflect that they were gone.
2017-06-22 23:56:44 +01:00
Daniel Boles
6eb58fa67b
css-overview: Fix typo “{with=>which} is disabled”
2017-06-22 20:40:06 +01:00
Jeremy Bicha
fc70267158
docs: Use https for more links
...
https://bugzilla.gnome.org/show_bug.cgi?id=780878
2017-04-03 16:02:22 -04:00
Daniel Boles
a2b72f89e2
css-overview: Fix inconsistent British English use
2017-03-18 12:31:29 +00:00
Daniel Boles
c3892874cb
css-overview: Fix+Explain color expr number ranges
...
Last try, promise. They don’t all use 0 to 1. We should probably explain
the effects too. Hopefully this manages that while not being too verbose
2017-03-18 01:17:14 +00:00
Daniel Boles
e5ae946be3
css-overview: Elaborate how color expressions work
2017-03-17 23:56:25 +00:00
Daniel Boles
a69083c95e
docs/css-overview: Fix color functions’ arg orders
...
shade/alpha/mix() take colour(s) and a number that is the ratio by which
to transform them. It was written here that these shall be passed in the
order (number, colour). That was wrong: they must be passed in the order
(colour[s], number) to work, and for the Inspector not to flag an error.
2017-03-17 23:31:41 +00:00
Matthias Clasen
fa7d77d407
Revert "Update the CSS docs for the demise of define-color"
...
This reverts commit 12d9451b1c
.
2016-11-07 15:05:37 -05:00
Matthias Clasen
12d9451b1c
Update the CSS docs for the demise of define-color
2016-11-07 14:49:46 -05:00
Matthias Clasen
069c5e48d4
Update CSS docs to reflect the demise of -gtk-gradient
2016-11-07 14:46:41 -05:00
Robert Roth
07724de3d9
Fix css documentation typo for color definition
...
'ligher' should be 'lighter', of course.
https://bugzilla.gnome.org/show_bug.cgi?id=773246
2016-10-21 11:43:03 -04:00
Matthias Clasen
c501867192
docs: Expand icon-palette example
...
Add a warning color, and show that hex colors work here.
2016-10-21 11:08:07 -04:00
Lapo Calamandrei
40955ad737
Fix a typo in the css docs
2016-10-21 13:55:03 +02:00
Matthias Clasen
9aceb34429
Fix another type in the css docs
2016-09-22 11:01:45 -07:00
Matthias Clasen
c0048b426b
Fix a typo in the css docs
2016-09-22 10:58:41 -07:00
Matthias Clasen
2d1f1f3b81
Update CSS docs regarding type names
...
We no longer use type names at all.
2016-02-06 09:28:51 +01:00
Matthias Clasen
2e4b1e72f4
css: Support the image() notation
...
This lets us do fallback in case an image format is not
supported, and also lets us provide solid-color images.
We don't support image fragment notations.
See ttps://www.w3.org/TR/css3-images/#image-notation
https://bugzilla.gnome.org/show_bug.cgi?id=761318
2016-01-30 00:29:04 -05:00
Matthias Clasen
5842e68a0d
Document -gtk-recolor syntax
2016-01-14 16:06:16 -05:00
Matthias Clasen
25ccbf4e3f
Improve docs for icon-related CSS properties
...
Clarify the relation between the various properties and the
icon loading functions.
2016-01-13 16:25:41 -05:00
Matthias Clasen
3a774abbfe
CSS documenation improvements
...
Work around some problems with the formatting of the online
docs, and split off the properties as a separate chapter.
2016-01-08 23:32:40 -05:00