diff --git a/docs/reference/gtk/css-overview.xml b/docs/reference/gtk/css-overview.xml index 9b4444be4c..6afa20a6fe 100644 --- a/docs/reference/gtk/css-overview.xml +++ b/docs/reference/gtk/css-overview.xml @@ -682,7 +682,6 @@ button { Gradients are images that smoothly fades from one color to another. CSS provides ways to specify repeating and non-repeating linear and radial gradients. Radial gradients can be circular, or axis-aligned ellipses. - In addition to CSS gradients, GTK+ has its own -gtk-gradient extensions. @@ -734,76 +733,9 @@ label { GTK+ extends the CSS syntax for images and also uses it for specifying icons. -〈gtk image〉 = 〈gtk gradient〉 | 〈themed icon〉 | 〈scaled image〉 | 〈recolored image〉 | 〈win32 theme part〉 +〈gtk image〉 = 〈themed icon〉 | 〈scaled image〉 | 〈recolored image〉 | 〈win32 theme part〉 - - GTK+ supports an alternative syntax for linear and radial gradients (which - was implemented before CSS gradients were supported). - - -〈gtk gradient〉 = 〈gtk linear gradient〉 | 〈gtk radial gradient〉 -〈gtk linear gradient〉 = -gtk-gradient(linear, - [ 〈x position〉 〈y position〉 , ]{2} - 〈gtk color stops〉 ) -〈gtk radial gradient〉 = -gtk-gradient(radial, - [ 〈x position〉 〈y position〉 , 〈radius〉 , ]{2} - 〈gtk color stops〉 ) -〈x position〉 = left | right | center | 〈number〉 -〈y position〉 = top | bottom | center | 〈number〉 -〈radius 〉 = 〈number〉 -〈gtk color stops〉 = 〈gtk color stop〉 [ , 〈gtk color stop〉 ]+ -〈gtk color stop〉 = color-stop( 〈number〉 , 〈color〉 ) | from( 〈color〉 ) | to( 〈color〉 ) - - - - The numbers used to specify x and y positions, radii, as well as the - positions of color stops, must be between 0 and 1. The keywords for for - x and y positions (left, right, top, bottom, center), map to numeric - values of 0, 1 and 0.5 in the obvious way. Color stops using the from() and - to() syntax are abbreviations for color-stop with numeric positions of - 0 and 1, respectively. - - - - Linear gradients - - - - - Radial gradients - - - GTK+ has extensive support for loading icons from icon themes. It is accessible from CSS with the -gtk-icontheme syntax. diff --git a/docs/reference/gtk/css-properties.xml b/docs/reference/gtk/css-properties.xml index 9475fbeb76..1f9a662a7d 100644 --- a/docs/reference/gtk/css-properties.xml +++ b/docs/reference/gtk/css-properties.xml @@ -1107,7 +1107,7 @@ We use for syntax productions, and each line is put in a CSS2, CSS3 - not supported: urls without quotes, CSS radial gradients, colors in crossfades + not supported: urls without quotes, colors in crossfades background-blend-mode