Timm Bäder
f637006b3e
popover: Add a contents node
...
Remove the special case in gtkwidget.c where we didn't draw any css
background/border for popovers. Instead, rely on themes to not style the
popover node and add a contents gizmo that gets the actual css styling.
We then requeste enough space for the popover to draw both the contents
and the arrow on the side.
2017-07-19 21:27:15 -04:00
Timm Bäder
995903e971
scale: Fix mark positions
...
Someone else will have to fix the css.
2017-07-19 21:27:15 -04:00
Timm Bäder
aa5cb1648c
adwaita: Adjust entry progress styling
...
Now that the entry>progress node is a full GtkProgressBar, we need to
apply the style to its trough>progress node.
2017-07-19 21:27:15 -04:00
Timm Bäder
7b9b116ad6
adwaita: Remove style properties
...
They don't exist anymore.
2017-07-19 21:27:14 -04:00
Timm Bäder
a3b9adaa68
adwaita: Fix typo
...
marks_lenght -> marks_length
2017-07-19 21:27:13 -04:00
Timm Bäder
2bf1c09f65
adwaita: Fix notebook theming
...
the header and the stack nodes are now inside a box node.
2017-07-19 21:27:12 -04:00
Daniel Boles
6f71c543e8
Adwaita: Add missing rule for fullscreen headerbar
...
Another selector forces round corners for headerbars in a stack, and it
has higher priority than the selector covering the non-stack case from
commit 796f9b5bfb
. Totem’s MainToolbar
happens to be in a stack, and we should maintain symmetry here anyway.
So, as window classes .maximized and .tiled are excluded from this other
selector, the newly handled .fullscreen case must be excluded here also.
https://bugzilla.gnome.org/show_bug.cgi?id=770513
2017-05-31 19:02:58 +01:00
Daniel Boles
796f9b5bfb
themes: Square corners on fullscreen win headerbar
...
Totem uses a fullscreen window with a headerbar at the top, and without
this change, that headerbar has rounded corners, which look different
from a maximised window and let video content show through beneath.
https://bugzilla.gnome.org/show_bug.cgi?id=770513
2017-05-31 08:16:51 +01:00
Lapo Calamandrei
251fe5e664
Adwaita: Avoid accindental border on last treeview header
...
The :last-child selector supposed to reset the border was
overridden by the :hover selector. This is fixed by moving the
:last-child selector after the overriding one.
Thanks to Sebastian Keller for spotting.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=779078 .
2017-05-17 18:14:21 +02:00
Lapo Calamandrei
3a1946b076
Adwaita: restyle entry-tag
...
Fix the sizing and spacing, blue tags for the bright variant,
similar to what gnome-documents was shipping, and inverted gray
tags for the dark variant, not vanishing on hover.
2017-05-11 15:26:20 +02:00
Lapo Calamandrei
ebcf17debd
Adwaita: add a comment
...
Add a comment pointing to the related bug for dropdown menu
margin.
2017-05-09 13:38:03 +02:00
Lapo Calamandrei
e9ee313be2
Revert "Adwaita: remove unneeded margin on dropdown menu"
...
This reverts commit af76e138f9
.
The margin was actually related to:
https://bugzilla.gnome.org/show_bug.cgi?id=591258
2017-05-09 13:34:49 +02:00
Lapo Calamandrei
af76e138f9
Adwaita: remove unneeded margin on dropdown menu
...
That margin was probably a left over to workaround some placement
issue on dropdowns which doesn't exist anymore.
2017-05-09 12:48:12 +02:00
Jakub Steiner
dee666f515
style entry-tags
...
https://bugzilla.gnome.org/show_bug.cgi?id=781214
2017-05-08 17:55:03 -04:00
Lapo Calamandrei
9be18363e7
Adwaita: add more space between check/radio and label in popovers
...
See https://bugzilla.gnome.org/show_bug.cgi?id=779570 for details.
2017-05-03 17:39:21 +02:00
Jakub Steiner
ee3994f715
Adwaita: border for selmode checkboxes
...
- there was an extra border for selection mode
2017-03-06 17:02:01 +00:00
Jakub Steiner
870447446d
Adwaita: style selectionmode checks for flowbox tiles
...
- continue being asset based rather than drawn by CSS
- using node 'check' rather than style '.check'
https://bugzilla.gnome.org/show_bug.cgi?id=779074
2017-03-02 19:42:50 +00:00
Jakub Steiner
6fe1d30e62
Adwaita: style flowbox tiles
...
+ fixups by Daniel Boles from gtk-3-22
https://bugzilla.gnome.org/show_bug.cgi?id=779073
2017-03-02 19:42:47 +00:00
Lapo Calamandrei
6eb9b57e72
adwaita: insensitive styling for views
...
Add an insensitive style to views, somehow we didn't ship one, so
for example, disabled textviews looked the same as sensitive ones.
2017-02-08 21:32:33 -05:00
Matthias Clasen
4f0cf475a5
Use the .symbolic.png assets in Adwaita
...
Using an image() fallback from svg to png doesn't make too
much sense, since the svg is always used (unless librsvg is
not present), while the png icon is faster and cheaper to
load and thus preferable.
2017-01-10 17:16:10 -05:00
Benjamin Otte
5b33127692
gtk: Replace -gtk-icon-effect with -gtk-icon-filter
...
Instead of
-gtk-icon-effect: dim;
-gtk-icon-effect: hilight;
we now use
-gtk-icon-filter: opacity(0.5);
-gtk-icon-filter: brightness(1.2);
respectively.
2016-12-31 02:49:47 +01:00
Benjamin Otte
96a94fc21d
frame: Remove the border node
...
It does weird clipping that
(a) nobody likes
(b) is hard to support in the new rendering world.
So we take the easy way out.
The actual frame is now drawn by the frame node around the label.
2016-12-19 05:36:06 +01:00
Cosimo Cecchi
7ebbd075b9
Adwaita: make rubberband selection work again for libgd apps
...
libgd views still use the old style class.
2016-11-25 18:55:12 +01:00
Lapo Calamandrei
eb5b8b22e2
Adwaita: progressbar style fix
...
Reset styling on the progress node when trough node has the `empty'
styleclass.
See https://bugzilla.gnome.org/show_bug.cgi?id=774695
2016-11-23 16:14:58 +01:00
Lapo Calamandrei
8d212ae5c2
Adwaita: tweak radial-gradient()'s
...
radial-gradient()'s are behaving, hence simplify the css.
2016-11-07 23:15:56 +01:00
Lapo Calamandrei
f4c6994e57
Adwaita: no more -gtk-gradient()
...
the only place where it was used was the `needs attention` dot
which is now drawn using radial-gradient().
2016-11-05 16:16:37 +01:00
Lapo Calamandrei
993f867744
Adwaita: correctly style headerbars in a stack
...
corners are correctly rounded now. Stacked splitted headerbars are
not supported yet though.
2016-11-03 14:04:32 -04:00
Lapo Calamandrei
5bb5213486
Adwaita: add more padding to popover menus...
...
...since Timm removed that from the actual code.
2016-10-29 17:34:49 +02:00
Lapo Calamandrei
91723bfcfc
Revert "Adwaita: add more padding to popovers"
...
Padding should be added back to menu popover only...
This reverts commit 670948586a
.
2016-10-29 17:33:26 +02:00
Lapo Calamandrei
da1348edb4
Adwaita: no rounded corners for solid-csd.
2016-10-29 17:18:58 +02:00
Lapo Calamandrei
670948586a
Adwaita: add more padding to popovers
...
...since Timm stole some.
2016-10-29 17:14:07 +02:00
Lapo Calamandrei
24cb9d4ba6
Adwaita: make circular button border looking nice
...
the darker bottom border used on buttons looks bad on circular ones
so now a gradient clipped on the border-box and a transparent
border is used in that partcular case.
See https://bugzilla.gnome.org/show_bug.cgi?id=771205 for details.
2016-10-19 16:07:52 +02:00
Lapo Calamandrei
a1b7f36afa
Adwaita: sass cleanup
...
aggregate circular button style to the main button structure.
2016-10-19 16:07:12 +02:00
Lapo Calamandrei
9054e49776
Adwaita: dodge drop active style for window and decoration nodes
...
to hilight drop target there is a wildcard selector which turns
the border and shadow to green, this clearly shouldn't happen when
the whole window is a drop target.
2016-10-12 19:34:10 +02:00
Jakub Steiner
63c18bba51
Adwaita,HC: fix icon name
...
- while we don't use steppers anymore, for some reason they are still
defined in the theme and if you sacrifice a chicken and jump on one
leg at full moon, you can enable them.
https://bugzilla.gnome.org/show_bug.cgi?id=769498
2016-09-02 19:11:29 -04:00
Lapo Calamandrei
a6409458f0
Adwaita: increase border radius on button.circular...
...
...to allow huge circular buttons.
See https://bugzilla.gnome.org/show_bug.cgi?id=770166
2016-08-22 14:17:34 +02:00
Lapo Calamandrei
15b2dbf9a8
Adwaita: use a transition to animate checks and radios
...
see https://bugzilla.gnome.org/show_bug.cgi?id=762260
2016-07-27 23:00:35 +02:00
Lapo Calamandrei
bab906f838
Adwaita: use margins for entry image spacing
...
there used to be a padding, since it was the only option in the
past, that makes little sense now, hence use margins.
2016-07-24 19:11:27 +02:00
Lapo Calamandrei
1b0ade8bdd
Adwaita: dim calendar uninteresting
days some more
...
see https://bugzilla.gnome.org/show_bug.cgi?id=769003
2016-07-22 14:10:56 +02:00
Lapo Calamandrei
80b28a17f7
Adwaita: clean calendar styling
...
remove some non working props and generally simplify and clean up
the code, in the process address:
https://bugzilla.gnome.org/show_bug.cgi?id=769003
2016-07-20 22:48:25 +02:00
Lapo Calamandrei
53a1f0ba78
Adwaita: remove old popover checkbutton/radiobutton style
...
remove some now disfunctional style regarding checkbuttons and
radiobuttons inside popovers which shouldn't be needed anymore.
2016-07-09 00:56:32 +02:00
Lapo Calamandrei
725d5b1477
Adwaita: remove some check and radio related cruft
...
remove superfluous padding which was there before the css node
conversion of the widget.
2016-07-08 22:11:07 +02:00
Lapo Calamandrei
ebccc8b23f
Adwaita: color the selection of entries with error...
...
...or warning style class applied.
This particular style bit wasn't converted to the saner 3.20 way
so `entry:selected` used in place of `entry selection`.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=768025
2016-06-25 18:29:51 +02:00
Lapo Calamandrei
d74e4af1a2
Adwaita: restrict infobar styling to, well, infobars
...
we used to style infobars by using the .info, .question, .warning
and .error selectors directly, which used to be ok when we had just
styleclasses all over the place, now it needs to be more specific
or it interferes with everything with those styleclasses applied
like entries.
2016-06-25 18:17:59 +02:00
Lapo Calamandrei
199ad2c14b
Adwaita: .osd button.color
...
remove box-shadow from colorbutton colorswatch when an ancestor has
the osd styleclass applied.
2016-06-08 13:39:39 +02:00
Lapo Calamandrei
a0ee8f7f0a
Adwaita: centralize outline-color
...
define outline-color generally using alpha(currentColor, 0.3),
which avoids setting it in a bunch of different places.
2016-06-08 13:28:07 +02:00
Lapo Calamandrei
69f8b4bb77
Adwaita: ensure menuitem labels are not overridden
...
see https://bugzilla.gnome.org/show_bug.cgi?id=767058
2016-05-31 20:59:23 +02:00
Lapo Calamandrei
0c387b27ee
Adwaita: explicitelly set label caret-color to currentColor
...
since it doesn't always inherit 'color' color as it should.
2016-05-30 14:20:33 +02:00
Lapo Calamandrei
f54e28177c
Adwaita: make selection on infobars visible
...
see https://bugzilla.gnome.org/show_bug.cgi?id=745622
2016-05-30 13:56:23 +02:00
Lapo Calamandrei
d1d763ce58
Adwaita: remove textview border
...
see https://bugzilla.gnome.org/show_bug.cgi?id=764203
2016-05-27 11:38:20 +02:00
Lapo Calamandrei
386ead4243
Adwaita: add vertical margins to switches on a headerbar
...
See https://bugzilla.gnome.org/show_bug.cgi?id=766642
2016-05-20 15:39:08 +02:00
Lapo Calamandrei
0d5b4779b8
Adwaita: shave 1px from the switch
...
make the switch height and width 1px smaller.
2016-05-20 15:28:58 +02:00
Lapo Calamandrei
5ae7f62f25
Adwaita: fix scale theming
...
rely on toplevel styleclass for scale with marks.
See https://bugzilla.gnome.org/show_bug.cgi?id=766440
2016-05-19 17:31:05 +02:00
Lapo Calamandrei
16afc59f04
Adwaita: bold size label on font button
...
looks more consistent with other special buttons with icons.
2016-05-12 11:45:34 +02:00
Lapo Calamandrei
b5146317bb
Adwaita: hide separator on button.font and button.file
...
we used to do that, got missed at some point during 3.20 cycle.
2016-05-12 11:40:28 +02:00
Lapo Calamandrei
1b8c9de09a
Adwaita: darken treeview exapanders
2016-05-06 19:34:12 +02:00
Lapo Calamandrei
55a76cbc31
Adwaita: cosmetic change
2016-05-06 19:01:19 +02:00
Lapo Calamandrei
5f5a02f3e5
Adwaita: relocate a selector
...
relocate treview acceleditor > label in the treeview section and
add a comment for a testcase.
2016-05-06 19:00:12 +02:00
Lapo Calamandrei
1de2f21994
Adwaita: tidy treeview style properties...
...
...removing a double definition in the process.
2016-05-06 15:36:26 +02:00
Lapo Calamandrei
71c1e86e62
Adwaita: refactor levelbar styling.
2016-04-28 15:45:12 +02:00
Lapo Calamandrei
0d55542359
Adwaita: add a background to cellrendertext
2016-04-27 20:05:44 +02:00
Lapo Calamandrei
517f33b1a6
Adwaita: spinbutton fixes
...
reset background-color on backdrop disable buttons and entry node.
2016-04-21 16:25:05 +02:00
Lapo Calamandrei
5fc18c7167
Adwaita: link button style fix
...
ensure the label color doesn't get overridden, fixes link button
label being gray in backdrop.
2016-04-19 22:58:33 +02:00
Lapo Calamandrei
c16c9e7c3f
Adwaita: scale with marks style fix
...
reset background-color on the slider.
2016-04-19 22:58:33 +02:00
Lapo Calamandrei
5199b66682
Adwaita: fix switch styling
...
ensure the last button has rounded corners and adapt to button
mixin changes.
2016-04-19 22:58:33 +02:00
Lapo Calamandrei
24c3906d5f
Adwaita: fix insensitive switch styling
...
misplaced backdrop disabled selector was overriding the disabled
one.
2016-04-19 22:58:33 +02:00
Lapo Calamandrei
b596fcada7
Adwaita: stop using images for solid backgrounds...
...
...unless it's needed.
2016-04-19 21:59:37 +02:00
Lapo Calamandrei
bdb451ad86
Adwaita: fix infobar text color in backdrop windows
...
see https://bugzilla.gnome.org/show_bug.cgi?id=765213
2016-04-19 00:15:54 +02:00
Benjamin Otte
f51b15808a
theme: Split out _solid() function
...
The function creates a solid color image. Currently this is done with
linear-gradient().
2016-04-18 20:52:34 +02:00
Matthias Clasen
df22f3017b
Adwaita: Fix use of font: shorthand
2016-04-18 11:46:58 -04:00
Lapo Calamandrei
fe74c81a70
Adwaita: cosmetics
2016-04-17 23:40:29 +02:00
Lapo Calamandrei
86ba132ded
Adwaita: colorbutton colorswatch shadow fix
...
reset colorswatch box-shadow on active and checked state as well
following latest style changes.
2016-04-17 23:14:02 +02:00
Lapo Calamandrei
a763bd7df1
Adwaita: increase opacity on scale label and marks
...
using the same opacity as dim-label.
2016-04-17 22:46:48 +02:00
Lapo Calamandrei
bad15d410e
Adwaita: fix scale slider border color
...
using the darker border color.
2016-04-17 18:19:38 +02:00
Lapo Calamandrei
a89d03d6b8
Adwaita: flatten colorswatches
2016-04-17 18:17:07 +02:00
Lapo Calamandrei
5b7c06118c
Adwaita: ensure dialogs titlebar rounded corners
...
broken from my previous commit about rounded corners, dialogs
doesn't use the "window" node, but the "dialog" node, so use the
.background styleclass in the selectors which is more generic.
2016-04-16 14:42:13 +02:00
Lapo Calamandrei
d5b26eb034
Adwaita: lighten border color a bit
2016-04-16 14:28:29 +02:00
Lapo Calamandrei
8394317cc2
Adwaita: flatten the switch base
2016-04-16 13:41:32 +02:00
Lapo Calamandrei
b744c07b44
Adwaita: flatten entries and similar widgets
2016-04-16 13:35:48 +02:00
Lapo Calamandrei
940c77ad43
Adwaita: flatten scale and progressbar trough
2016-04-16 13:19:41 +02:00
Lapo Calamandrei
8ee4e45f8a
Adwaita: ensure titlebar corners are not rounded...
...
...when the window is maximized or tiled, by using more specific
selectors, since there were cases of erroneusly rounded corners.
See https://bugzilla.gnome.org/show_bug.cgi?id=765038
2016-04-16 12:04:02 +02:00
Lapo Calamandrei
159c65dcb8
Adwaita: really fix solid-csd
...
add a specificity bump hack in the titlebar solid-csd styling to
avoid being overridden by the split titlebar theme logic.
2016-04-15 18:28:26 +02:00
Lapo Calamandrei
de78627494
Adwaita: fix backdrop solid-csd
...
titlebar rounded corners were not overridden for backdrop state.
2016-04-15 18:00:37 +02:00
Lapo Calamandrei
266ae74afc
Adwaita: better solid-csd styling
2016-04-15 16:51:29 +02:00
Lapo Calamandrei
85e37925f0
Adwaita: transparent textview border border
...
So it will play nicely with gedit color combinations.
See https://bugzilla.gnome.org/show_bug.cgi?id=764203
2016-04-04 12:03:11 +02:00
Lapo Calamandrei
d23c6c6246
Adwaita: style textview border
...
see https://bugzilla.gnome.org/show_bug.cgi?id=764203
2016-04-02 16:24:52 +02:00
Lapo Calamandrei
f2f1725b40
Adwaita: cosmetic fixes
2016-04-02 16:03:02 +02:00
Lapo Calamandrei
b1205a9c96
Adwaita: set secondary caret color to selection blue
...
see https://bugzilla.gnome.org/show_bug.cgi?id=764204
2016-04-01 16:48:13 +02:00
Matthias Clasen
d8da5879aa
Adwaita: theme acceleditor > label
...
We need to have an opaque background here, otherwise the underlying
cell shines through.
https://bugzilla.gnome.org/show_bug.cgi?id=764376
2016-03-30 19:50:22 -04:00
Lapo Calamandrei
38f94194a6
Adwaita: set caret-color for drop targets
2016-03-29 15:06:11 +02:00
Lapo Calamandrei
e7cd3dddd8
Adwaita: cosmetic fix
2016-03-29 15:01:57 +02:00
Lapo Calamandrei
16dc164292
Adwaita: avoid sizing transition on the scale...
...
... since it ends up jumpy.
2016-03-24 13:15:23 +01:00
Lapo Calamandrei
f5b6ab4557
Adwaita: placesview connect to server label padding
...
adds some padding to the "connect to server" label
2016-03-24 11:33:33 +01:00
Lapo Calamandrei
aa821429b1
Adwaita: fix menu scroll arrows positioning
...
adresses the style part of
https://bugzilla.gnome.org/show_bug.cgi?id=764118
2016-03-24 11:25:52 +01:00
Benjamin Otte
41195f6300
switch: An active switch is :checked
...
Fix an oversight that should have happened in the gadget refactoring:
An active switch should be :checked, just like togglebuttons,
checkbuttons, etc.
2016-03-23 18:14:57 +01:00
Lapo Calamandrei
ee94f9ff89
Adwaita: simplify treeview:drop(active) code
2016-03-21 19:42:54 +01:00
Matthias Clasen
4ae057f07b
Adwaita: Update treeview drop target styling
...
This reinstates the between-the-rows highlight that was lost
at some point.
https://bugzilla.gnome.org/show_bug.cgi?id=763808
2016-03-21 11:56:17 -04:00
Lapo Calamandrei
1dcd88961e
Adwaita: more evident colorswatch drag hilight
2016-03-21 01:19:12 +01:00
Lapo Calamandrei
4973b55ad9
Adwaita: titlebutton fix
...
use a better selector and fix the styling on selection-mode.
2016-03-21 01:02:30 +01:00
Lapo Calamandrei
44e225e50b
Adwaita: add a transition to the scale slider
2016-03-21 00:46:44 +01:00