Matthias Clasen
643454147c
HighContrast: Drop deprecated style properties
2016-01-05 20:39:16 -05:00
Matthias Clasen
56ca40996d
HighContrast: Add a dark variant
...
This is just a quick experiment, and so I have another theme with
a dark variant to play with.
2016-01-05 19:25:06 -05:00
Matthias Clasen
474d6bec85
HighContrast: Add a missing unit
2016-01-05 16:54:40 -05:00
Matthias Clasen
907fade7d0
HighContrast: Fix sidebar borders
2016-01-05 16:53:03 -05:00
Matthias Clasen
39b76ec082
HighContrast: Fix checkboxes in selected context
...
Set a proper color so checks and radios don't disappear on the
black selection background.
2016-01-05 14:37:22 -05:00
Matthias Clasen
9ebb63c71f
HighConstast: Some fixes for treeview headers
2016-01-05 14:19:58 -05:00
Matthias Clasen
d60fe93937
HighContrast: Keep spinbuttons from resizing on hover
2016-01-05 13:42:57 -05:00
Matthias Clasen
37ab99d1d2
HighContrast: Fix checks and radios
2016-01-05 13:42:57 -05:00
Matthias Clasen
c25b8e25f5
HighContrast: Some menu fixes
2016-01-05 13:42:57 -05:00
Matthias Clasen
fd57a552cf
HighContrast: paned fixes
...
Mostly copied from Adwaita.
2016-01-05 13:42:57 -05:00
Cosimo Cecchi
0f3f2e7f9c
HighContrast: more combobox fixes
...
Taken from Adwaita.
2016-01-05 10:01:54 -08:00
Matthias Clasen
4a9c6777a7
HighContrast: Some combobox fixes
...
Mostly copied from Adwaita.
2016-01-04 23:52:28 -05:00
Matthias Clasen
d17f89f6bf
HighContrast: Fix frame styling
2016-01-04 23:45:13 -05:00
Matthias Clasen
a11c30d0df
HighContrast: fix up color chooser theming
...
Mostly copied from Adwaita.
2016-01-04 23:28:32 -05:00
Matthias Clasen
32177aa03b
HighContrast: Fix up stackswitcher
...
Copy Some of the more recent additions from Adwaita.
2016-01-04 22:08:53 -05:00
Matthias Clasen
c110ffcb1a
HighContrast: No blue spinners
...
Spinners are drawing backgrounds now, so setting a blue
background color is pretty distracting.
2016-01-04 21:35:55 -05:00
Cosimo Cecchi
beeefa1629
HighContrast: update to use -gtk-outline-radius
2016-01-04 17:50:24 -08:00
Cosimo Cecchi
bc66c0c31e
HighContrast: update to use :hover
2016-01-04 17:49:41 -08:00
Cosimo Cecchi
2780865534
HighContrast: update to use :indeterminate
2016-01-04 17:48:59 -08:00
Cosimo Cecchi
b2b1b0e238
HighContrast: update to use :disabled
2016-01-04 17:46:43 -08: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
4328a3a24b
HighContrast: remove unused selector
...
There's no header-bar-separator style class.
2016-01-03 00:42:51 -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
28911c595b
HighContrast: update for separators deprecations
...
HighContrast still has a long way to go, but let's get at least
separators working again.
2016-01-03 00:42:51 -08:00
Cosimo Cecchi
7dacc7836f
HighContrast: reparse theme
...
For some reason, this got accidentally changed in a previous commit.
This is just the output of running parse-sass.sh again.
2016-01-03 00:42:51 -08:00
Cosimo Cecchi
39beebd2cb
win32: remove ineffective selector
...
That style property is deprecated, but the combobox does not have a
separator anymore.
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
Ben Iofel
1e1af62bee
Raleigh: Don't use deprecated pseudo classes
2015-12-28 20:30:51 -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
Matthias Clasen
cc50652db5
Adwaita: Fix overwrite cursors in entries
...
GtkEntry uses the background color to render the text over
the block cursor. A transparent background color makes that
not work.
2015-12-21 20:17:35 -05: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
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
Benjamin Otte
2396265523
css: Rename -gtk-image-effect to -gtk-icon-effect
...
This is a property for icons, so we should name it as such.
2015-12-02 00:29:31 +01:00
Matthias Clasen
8ea14162d3
Adwaita: No background for spinners
...
Blue background for spinners doesn't make sense.
2015-11-26 15:08:54 -05:00
Matthias Clasen
8e12943a09
Raleigh: Avoid deprecated icon-shadow
2015-11-23 17:01:22 -05:00
Matthias Clasen
ba1fb4b0a7
HighContrast: use -gtk-icon-shadow
...
The name icon-shadow has been deprecated and causes warnings.
2015-11-20 20:35:39 -05:00
Matthias Clasen
b1f0283630
Adwaita: use -gtk-icon-shadow
...
The name icon-shadow has been deprecated and causes warnings.
2015-11-20 20:35:39 -05:00
Cosimo Cecchi
bb441f4488
HighContrast: remove deprecated progressbar style properties
...
These are ignored and trigger a runtime warning.
2015-11-18 09:16:51 -08:00
Matthias Clasen
f79aef67f8
HighContrast: remove deprecated style properties
2015-11-17 21:47:02 -05:00
Matthias Clasen
49bb6d287c
Adwaita: Drop deprecated style properties
2015-11-17 19:41:08 -05:00
Matthias Clasen
e24c248013
Adwaita: Remove deprecated style properties
...
These are now triggering warnings, so clean them up.
2015-11-16 15:14:41 -05:00
Matthias Clasen
aa5af9da4f
HighContrast: Fix selection styling in icon views
...
This makes selected items in icon view show up again.
2015-11-14 18:35:03 -05:00
Matthias Clasen
55667352aa
HighContrast: Fix selection styling in treeviews
...
This makes selected rows in treeviews show up again.
2015-11-14 18:29:27 -05:00
Matthias Clasen
65635546b4
HighContrast: Fix selection styling in some places
...
Make selected flow box children and list box rows show up again.
2015-11-14 18:25:59 -05:00
Matthias Clasen
4cee658f5f
Adwaita: Misc cleanups
...
Various cleanups and simplifications.
2015-11-14 18:25:24 -05:00
Matthias Clasen
afab635f9d
HighContrast: Fix shadow size
...
Ensure that the shadow extents don't change as we go to backdrop,
to prevent windows from jumping.
2015-11-14 18:05:06 -05:00
Matthias Clasen
718ca64bb7
Adwaita: Fix selection styling in icon views
...
This was also broken by recent selection styling changes.
2015-11-14 17:36:35 -05:00
Matthias Clasen
919be04a3d
Adwaita: Fix selection styling in flow boxes
...
This was broken by recent selection styling changes.
2015-11-14 17:33:00 -05:00
Matthias Clasen
dc836abbb4
Adwaita: Fix window shadow size
...
Ensure that the shadow extents don't change as we go to backdrop,
to prevent windows from jumping.
2015-11-14 12:55:34 -05:00
Matthias Clasen
386b9ef075
Adwaita: Fix styling of selected rows in treeviews
...
This broke in some of the recent selection handling changes.
2015-11-13 07:07:53 -05:00
Matthias Clasen
a0cdd4ac51
HighContrast: Update levelbar styling
...
Adapt to changes in the previous commit.
2015-11-13 01:05:30 -05:00
Matthias Clasen
d5ab5fee3b
Adwaita: Update levelbar styling
...
Adapt to the changes in the previous commit. In particular, fix
the handling of low and high offsets. Anything below the low offset
gets warning color, anything below high gets selected background,
and anything below the new full offset gets success color.
2015-11-13 00:56:54 -05:00
Matthias Clasen
373a3517b3
HighContrast: Update levelbar styling
...
Adapt to the changes in the previous release.
2015-11-11 00:30:24 -05:00
Matthias Clasen
2a0024ebe2
Adwaita: Update levelbar rendering
...
Adapt to the changes in the previous commit.
2015-11-11 00:26:32 -05:00
Matthias Clasen
f3c915f18c
HighContrast: Update textview selection styling
...
Use the selection element name.
2015-11-10 21:52:45 -05:00
Matthias Clasen
fbd6a814c6
Adwaita: Update textview selection styling
...
Use the selection name.
2015-11-10 21:51:36 -05:00
Matthias Clasen
514c0f761f
HighContrast: Update label selection styling
...
Adapt to changes in the previous commit.
2015-11-10 20:33:12 -05:00
Matthias Clasen
218d584b54
Adwaita: Update label selection styling
...
Adapt to the changes in the previous commit.
2015-11-10 20:29:31 -05:00
Matthias Clasen
6cbfc780c5
HighContrast: Update entry selection styling
...
Adapt to changes in the previous commit.
2015-11-10 13:39:10 -05:00
Matthias Clasen
e7854aeb42
Adwaita: Update entry selection rendering
...
Adapt to the changes in the previous commit.
2015-11-10 13:37:15 -05:00
Matthias Clasen
3552f524c3
Adwaita: Update tooltip styling more
...
Now that tooltips are csd again, the CSS wasn't quite working
anymore.
2015-11-10 12:48:40 -05:00
Matthias Clasen
69cbf0a129
Adwaita: update tooltip styling
...
Adapt to the changes in the previous commit. Note that tooltip
appearance is currently affected by tooltips having lost their
csd nature, due to a regression.
2015-11-10 12:26:05 -05:00
Matthias Clasen
ec065d4cbf
HighContrast: Update treeview rubberband styling
...
Adapt to the changes in the previous commit.
2015-11-10 07:31:32 -05:00
Matthias Clasen
8efb1b1f92
Adwaita: Update treeview rubberband styling
...
Adapt to the changes in the previous commit.
2015-11-10 07:30:29 -05:00
Matthias Clasen
921c2a1db4
HighContrast: Update flowbox rubberband styling
...
Adapt to the changes in the previous commit.
2015-11-10 00:55:29 -05:00
Matthias Clasen
f6201e4ccd
Adwaita: Update flowbox rubberband styling
...
Adapt to the changes in the previous commit.
2015-11-10 00:52:09 -05:00
Matthias Clasen
75d465eee4
HighContrast: Update rubberband styling
...
Adapt to the changes in the previous commit.
2015-11-10 00:30:39 -05:00
Matthias Clasen
f4076dff42
Adwaita: Update rubberband styling
...
Adapt to the changes in the previous commit.
2015-11-10 00:28:46 -05:00
Matthias Clasen
ee76f9bfed
HighContrast: Update text handle styling
...
Adapt to the changes in the previous release.
2015-11-09 23:49:29 -05:00
Matthias Clasen
3daff48aca
Adwaita: Update text handle styling
...
Adapt to the changes in the previous commit.
2015-11-09 23:47:08 -05:00
Matthias Clasen
db70ec9666
HighContrast: Update notebook styling
...
Some fixes for arrows and for headers.
2015-11-08 21:08:38 -05:00
Matthias Clasen
f564f16b5c
Adwaita: Update notebook styling
...
Adapt to the changes in the previous commit.
2015-11-08 21:08:38 -05:00
Matthias Clasen
4802b515e4
notebook: Use CSS nodes for arrows
...
This converts the drawing of scroll arrows to use separate CSS
nodes.
2015-11-08 21:08:38 -05:00
Matthias Clasen
e892b918dc
HighContrast: update notebook styling
...
Adapt to the changes in the previous commit.
2015-11-08 21:08:38 -05:00
Matthias Clasen
6592c6f51f
Adwaita: Adapt notebook styling a bit
...
This needs a lot more work.
2015-11-08 21:08:38 -05:00
Matthias Clasen
f5af2612f4
Adwaita: Update print dialog styling
...
Adapt to the changes in the previous commit. With the changes here,
we always render the paper as white, even in the dark theme.
2015-11-07 00:58:00 -05:00
Matthias Clasen
c63c932a05
Adwaita: Update expander styling
...
Adapt to the changes in the previous commit.
2015-11-07 00:42:37 -05:00
Matthias Clasen
f95a22a3ab
Adwaita: Update range styling
...
Adapt to the new CSS nodes for trough rendering. This commit
also brings back visible fill-level rendering for scales, which
was not working for a while. The styling provided for that
(scale trough fill) is just a placeholder to aid in debugging
the implementation.
2015-11-06 19:28:56 -05:00
Matthias Clasen
11d7f6df7c
range: Use CSS nodes for all trough rendering
...
This replaces the somewhat freewheeling use of style classes to
render a part of the trough highlighted and show a fill level.
2015-11-06 19:25:58 -05:00
Matthias Clasen
ffd517cc3f
Adwaita: Update scale styling
...
Use :first-child/:last-child on the trough for determining
which slider we need.
2015-11-06 07:04:14 -05:00
Matthias Clasen
fd5729baef
Adwaita: Fix up filechooser styling
...
Several details of sidebar and places view styling were lost
along the way. Bring back the circular buttons.
2015-11-05 23:44:16 -05:00
Matthias Clasen
6be2073740
Adwaita: Redo combo box entry styling
...
Instead of relying on .linked or + (which doesn't work right in rtl),
use :not(:only-child) to select a button that is not alone inside a
combobox.
2015-11-05 21:59:56 -05:00
Matthias Clasen
7cd177e0d7
Fix a typo
2015-11-05 21:59:56 -05:00
Matthias Clasen
5d62c808b1
Adwaita: Update window styling
...
We no longer inherit the style classes on the decoration subnodes,
so we have to adjust some selectors.
2015-11-05 16:07:29 -05:00
Matthias Clasen
527f4f44c1
Adwaita: Update listbox styling
...
Adapt to the changes in the previous commit.
2015-11-05 13:53:43 -05:00
Matthias Clasen
199e35fa5c
HighContrast: Update places sidebar styling
...
Use the new element name.
2015-11-05 10:43:02 -05:00
Matthias Clasen
35eaca27e4
Adwaita: Update places sidebar styling
...
Use the new element name.
2015-11-05 10:43:02 -05:00
Matthias Clasen
66d2c9e6fa
Adwaita: Update stack sidebar styling
...
We no longer use the .sidebar-item style class.
2015-11-05 08:18:38 -05:00
Matthias Clasen
37c923ad8a
HighContrast: Update filechooser styling
...
Update for changes in previous commit.
2015-11-05 07:45:39 -05:00
Matthias Clasen
87c6ae1c18
Adwaita: Update searchbar styling
...
Adapt to the changes in the previous commit.
2015-11-05 07:44:29 -05:00
Matthias Clasen
8afb4a69e8
HighContrast: Update scale styling
2015-11-05 07:26:10 -05:00
Matthias Clasen
53ae100e64
Adwaita: Update scale styling
...
Adapt to the introduction of trough nodes.
2015-11-05 07:26:10 -05:00
Matthias Clasen
9f3deaa496
HighContrast: Update range styling
...
Adjust to the changes in the previous commit.
2015-11-05 07:26:10 -05:00
Matthias Clasen
1261aa6fdf
Adwaita: Update range styling
...
Adjust to the changes in the previous commit. This partially
undoes the earlier range changes.
2015-11-05 07:26:10 -05:00
Matthias Clasen
894bd13240
HighContrast: Update progressbar styling
...
Adjust to the chagnes in the previous commit. This partially
undoes the earlier progressbar changes.
2015-11-04 12:43:06 -05:00
Matthias Clasen
48e605b7a4
Adwaita: Update progressbar styling
...
Adjust to the changes in the previous commit. This partially
undoes the earlier progressbar changes.
2015-11-04 12:33:06 -05:00
Matthias Clasen
399ab49fbb
HighContrast: Update scrolled window styling
...
Adapt to the changes in the previous commit.
2015-11-04 07:38:15 -05:00
Matthias Clasen
2ef86c94ed
Adwaita: Update scrolledwindow styling
...
Adapt to the changes in the previous commit.
2015-11-04 07:38:15 -05:00
Matthias Clasen
8dfb0e728c
HighContrast: Update range styling
...
Adapt to changes in the previous commit.
2015-11-03 23:17:09 -05:00
Matthias Clasen
37ad3628a0
Adwaita: Update range styling
...
Adapt to the changes in the previous commit.
2015-11-03 23:17:09 -05:00
Matthias Clasen
9f04efd316
Adwaita: Update menubar styling
...
Adapt to the changes in the previous commit.
2015-11-02 23:49:38 -05:00
Matthias Clasen
b6112c6ed6
Adwaita: Update menu item styling
...
Adapt to the changes in the previous commit.
2015-11-02 23:43:58 -05:00
Matthias Clasen
0e41ff015c
HighContrast: Update menu styling
...
Support the element names introduced in the previous commit.
2015-11-02 21:34:14 -05:00
Matthias Clasen
f8c3e48bd2
Adwaita: Update menu styling
...
Support the element names introduced in the previous commit.
2015-11-02 20:47:56 -05:00
Matthias Clasen
5ebb713df5
HighContrast: Update combobox styling
...
Adapt to the changes in the previous commit.
2015-11-02 14:26:50 -05:00
Matthias Clasen
0d12cc3354
Adwaita: Update combobox styling
...
Adapt to the changes in the previous commit. Some further fixes will
be necessary here.
2015-11-02 14:22:49 -05:00
Matthias Clasen
113c88c2cf
HighContrast: Update magnifier styling
...
Adapt to changes in the previous commit.
2015-11-02 12:47:14 -05:00
Matthias Clasen
85bfe9ee38
Adwaita: Update magnifier styling
...
Adapt to changes in the previous commit.
2015-11-02 12:46:45 -05:00
Matthias Clasen
957135a57c
Adwaita: Fix menu separators
...
These were inadvertedly broken by the element name conversion
for regular separators.
2015-11-02 12:21:39 -05:00
Matthias Clasen
cacc63ea4b
HighContrast: Update toolbutton styling
2015-10-31 20:55:51 -04:00
Matthias Clasen
1bc2913f52
Adwaita: Update tool button styling
2015-10-31 20:52:41 -04:00
Matthias Clasen
dba8eba6db
HighContrast: Update toolbar styling
...
Adapt to the changes in the previous commit.
2015-10-31 20:43:07 -04:00
Matthias Clasen
5ffd54aca8
Adwaita: Update toolbar styling
...
Adapt to the changes in the previous commit.
2015-10-31 20:42:41 -04:00
Matthias Clasen
ca385af3c4
HighContrast: Update progressbar styling
...
Adapt to the changes in the previous commit.
2015-10-31 20:24:46 -04:00
Matthias Clasen
71afd762ed
Adwaita: Update progressbar styling
...
Adapt to the changes in the previous commit.
2015-10-31 20:24:19 -04:00
Matthias Clasen
d3abd83330
Adwaita: Fix up color button styling
...
There was one forgotten instance of the GtkColorSwatch type name.
2015-10-31 19:13:32 -04:00
Matthias Clasen
7465601c1e
HighContrast: Update the frame styling
...
Adapt to the changes in the previous commit.
2015-10-31 19:11:18 -04:00
Matthias Clasen
3de78decd4
Adwaita: Update frame styling
...
Adapt to the changes in the previous commit.
2015-10-31 19:10:52 -04:00
Matthias Clasen
c265b58181
HighContrast: adjust message dialog styling
2015-10-30 23:49:44 -04:00
Matthias Clasen
d70d5ea6ec
adwaita: Adjust message dialog styling
2015-10-30 23:49:17 -04:00
Matthias Clasen
dfedda3dee
color editor: Redo the non-activatable color swatch
...
Use a .activatable style class on the color swatch and tie the
hover effect to it. The color editor simply removes this class
now to get an inert color swatch.
This is more flexible and lets us avoid referring to the
GtkColorEditor type in the theme.
2015-10-30 22:19:07 -04:00
Matthias Clasen
42a231a61c
HighContrast: Adapt to color swatch changes
...
This needs more work and simplification.
2015-10-30 21:46:36 -04:00
Matthias Clasen
4e8aea012e
Adwaita: Adapt to color swatch changes
...
This needs more work and simplification.
2015-10-30 21:44:19 -04:00
Matthias Clasen
a4a3736461
HighContrast: Update textview styling
...
Some updates to make text appear as usual.
2015-10-30 19:58:11 -04:00
Matthias Clasen
b39601bcc1
Adwaita: Update textview styling
...
Some updates to make text appear as usual. The border windows
probably need some more work.
2015-10-30 19:55:42 -04:00
Matthias Clasen
f97e2599e3
HighContrast: Adapt to changed treeview names
2015-10-30 17:38:04 -04:00
Matthias Clasen
739e0c17a1
Adwaita: Adapt to changed treeview names
2015-10-30 17:37:32 -04:00
Matthias Clasen
a24dba28ae
HighContrast: Update font button styling
...
Use the new element name and style class.
2015-10-30 17:18:06 -04:00
Matthias Clasen
2cff7a68f2
Adwaita: Update font button styling
...
Use the new element name and style class.
2015-10-30 17:17:41 -04:00
Matthias Clasen
85d971b40b
HighContrast: Update paned styling
...
Adapt to the new element names.
2015-10-30 15:53:28 -04:00
Matthias Clasen
828faaba64
Adwaita: Update paned styling
...
Adapt to the new element names in the previous commit.
This also adds back a selected state which gets used
for when the focus is placed on the separator with F8,
just so this functionality is not forgotten.
2015-10-30 15:53:28 -04:00
Matthias Clasen
97c1782246
Update the generated css for the previous commit
2015-10-30 14:51:41 -04:00
Timm Bäder
33ac663b13
popover: Use element name
...
Pick "popover" and add .menu for popover menus
2015-10-30 15:10:35 +01:00
Lapo Calamandrei
84380b345d
Adwaita: fix vertical switch styling
2015-10-30 13:17:52 +01:00
Lapo Calamandrei
0a845fb563
Adwaita: fix switch sizing
...
moving -GtkSwitch-slider-width and -GtkSwitch-slider-height from
the GtkSwitch selector to the * wildcard selector as other style
props.
2015-10-30 12:53:44 +01:00
Matthias Clasen
c925a840b2
HighContrast: Update color button styling
...
Adapt to the previous commit.
2015-10-30 06:16:10 -04:00
Matthias Clasen
e148876dd4
Adwaita: Update color button styling
...
Adapt to the previous commit.
2015-10-30 06:16:10 -04:00
Matthias Clasen
43e2ee31bc
HighContrast: Update headerbar styling
...
Adapt to the previous commit.
2015-10-30 01:09:18 -04:00
Matthias Clasen
40f9a0fe69
Adwaita: Update headerbar styling
...
Adapt to the previous commit.
2015-10-30 01:08:30 -04:00
Matthias Clasen
9e5914ebde
HighContrast: Updates for recent changes
...
This is bit of a grab-bag, it includes fixes for spin buttons,
entries, buttons.
2015-10-30 00:40:50 -04:00
Matthias Clasen
d0e91ec088
Adwaita: Adapt to the button changes
...
The updates here cover the various button variants.
2015-10-30 00:40:50 -04:00
Matthias Clasen
cc2f189144
Adwaita: button fixes
2015-10-29 23:17:41 -04:00
Florian Müllner
a0a78a8973
Adwaita: Update double-border tweak for scrolled windows
...
Since commit b6dbfc791f
, GtkViewPort uses an element name.
2015-10-29 18:24:40 +01:00
Benjamin Otte
fc6f41c751
spinbutton: Don't set .entry
...
Also fix Adwaita to not use .entry anymore
2015-10-29 16:03:15 +01:00
Matthias Clasen
bb7d7851ac
entry, spinbutton: Finish css node conversion
...
This commit creates entry and button subnodes for the buttons
in GtkSpinButton. The nodes are ordered like this for horizontal
spinbutton
+ entry
+ image.left
+ image.right
+ progress
+ button.down
+ button.up
and like this for vertical ones:
spinbutton
+ button.down
+ entry
+ button.up
This arrangement requires cooperation from GtkEntry to place
the entry subnodes correctly, and some small changes in the theme.
This commit also fixes progress rendering in vertical spin buttons.
2015-10-28 23:43:32 -04:00
Matthias Clasen
ebcad63e31
wip: spinbutton
2015-10-28 21:55:13 -04:00
Matthias Clasen
854c7d1f0f
Revert "HighContrast: Update tooltip styling"
...
This reverts commit 93d80380ee
.
2015-10-28 11:53:33 -04:00
Matthias Clasen
cab40f0743
Revert "Adwaita: Update tooltip theming"
...
This reverts commit d974610741
.
2015-10-28 11:48:52 -04:00
Matthias Clasen
20e46ce8ae
shortcuts: Redo the stack switcher theming
...
Use style classes on the button instead of the stack switcher,
this makes it easier to reuse elsewhere.
2015-10-28 10:19:00 -04:00
Matthias Clasen
62ec4a2415
shortcuts label: Redo the keycap theming
...
Use a style class directly on the frame. This is easier to reuse.
2015-10-28 10:19:00 -04:00
Matthias Clasen
4e950da4d1
Adwaita: Update shortcuts window theming
...
Use the newly added element name.
2015-10-28 10:19:00 -04:00
Matthias Clasen
b3619f9050
HighContrast: Update calendar theming
...
Use the newly introduced element name instead of hardcoding the type.
2015-10-28 06:45:37 -04:00
Matthias Clasen
085edf0212
Adwaita: Update calendar theming
...
Use the newly introduced element name instead of hardcoding the type.
2015-10-28 06:45:25 -04:00
Matthias Clasen
93d80380ee
HighContrast: Update tooltip styling
...
Use the newly added element name instead of hardcoding the type.
2015-10-27 20:06:24 -04:00
Matthias Clasen
d974610741
Adwaita: Update tooltip theming
...
Use the newly introduced element name instead of hardcoding the type.
2015-10-27 20:06:24 -04:00
Matthias Clasen
9848fe006e
Adwaita: Update GtkAssistant theming
...
Use the new element name, instead of hardcoding the type.
2015-10-27 14:37:58 -04:00
Benjamin Otte
a648afae12
widget: Add name to widget paths
...
This changes widget paths for widgets with a CSS name to return that CSS
name, now that we have added API for it.
This means that style properties are now matches using the CSS name.
Also fix the theme to use the correct name when matching style properties.
2015-10-27 03:13:42 +01:00
Matthias Clasen
c72d094ae0
entry: Use better element name for progress
...
Change the name of the CSS subnode for progress rendering from
progressbar to progress. This will align better with GtkProgressBar.
2015-10-26 21:34:16 -04:00
Matthias Clasen
76619cf1ae
entry: Bring back icon padding
...
Not sure why this is necessary now, but it is.
2015-10-26 16:51:28 -04:00
Matthias Clasen
bf65b06781
HighContrast: Don't use GtkInfoBar type name
...
We have a proper element name for it now.
2015-10-25 17:19:34 -04:00
Matthias Clasen
91ec104dd3
Adwaita: Don't use GtkInfoBar type name
...
We have a proper element name for it now.
2015-10-25 17:19:01 -04:00
Matthias Clasen
2de0f06af9
HighContrast: Update separator rendering
...
Adapt HighContrast t othe changes in the pre-previous commit.
2015-10-25 16:29:11 -04:00
Matthias Clasen
0ba03aac16
Adwaita: Update separator styling
...
Adapt Adwaita to the changes in the previous commit.
2015-10-25 16:28:38 -04:00
Matthias Clasen
aa67ad0011
Adwaita: Update accel label styling
...
Adapt Adwaita to the changes in the previous commit.
2015-10-25 15:45:13 -04:00
Matthias Clasen
2b20bd54c5
HighContrast: Update spinner rendering
...
Adapt HighContrast to the changes in the pre-previous commit.
2015-10-25 15:45:13 -04:00
Matthias Clasen
bd80b1d037
Adwaita: Update spinner styling
...
Adapt Adwaita to the changes in the previous commit.
2015-10-25 15:45:13 -04:00
Matthias Clasen
9f738da11b
HighContrast: Update notebook styling
...
The switch from .notebook to notebook requires minor changes,
such as moving the style properties into a separate selector.
2015-10-24 10:39:18 -04:00
Matthias Clasen
a22e07f374
Adwaita: Update notebook styling
...
The switch from .notebook to notebook requires minor changes,
such as moving the style properties into a separate selector.
2015-10-24 10:39:18 -04:00
Matthias Clasen
78309d8b00
HighContrast: Update entry progress rendering
...
Adapt HighContrast to the changes in the pre-previous commit.
2015-10-23 16:16:55 -04:00
Matthias Clasen
d8a3a4e7aa
Adwaita: Update entry progress rendering
...
Adapt Adwaita to the changes in the previous commit.
2015-10-23 16:13:43 -04:00
Matthias Clasen
e39ca899ad
Adwaita: Update for entry icon changes
2015-10-23 15:41:05 -04:00
Matthias Clasen
8a8518ed40
HighContrast: Update entry styling
...
Use the new element name instead of the style class.
2015-10-23 14:53:06 -04:00
Matthias Clasen
c6a7ceedc9
Adwaita: Update entry styling
...
Use the new element name instead of the style class.
There is some minor fallout for vertical spin buttons that
will need a second look.
2015-10-23 14:52:27 -04:00
Lapo Calamandrei
5b0a26f8a3
Adwaita: fix switch styling
...
looks like switch stare are not passed to the slider anymore so
rewrite selectors accordingly.
2015-10-23 17:12:01 +02:00
Lapo Calamandrei
4959fe3267
Adwaita: generalize .has-open-popup
...
so it works for any list-row istead of just the ones in a sidebar.
2015-10-23 16:58:17 +02:00
Matthias Clasen
57057f73e4
HighContrast: Update image styling
...
Use the new element name instead of the type name.
2015-10-23 00:05:46 -04:00
Matthias Clasen
6f90b3ca31
Adwaita: Update image styling
...
Use the new element name instead of the type name.
2015-10-23 00:05:18 -04:00
Matthias Clasen
a8b5c04694
HighContrast: Update label styling
...
Use the new element name instead of the style class.
2015-10-22 23:27:43 -04:00
Matthias Clasen
bacc9d4edd
Adwaita: Update label styling
...
Use the new element name instead of the style class.
2015-10-22 23:27:43 -04:00
Matthias Clasen
b5e1fd5b7f
HighContrast: Update switch styling
...
Use the new element names instead of the type name and style
classes, just like we did for Adwaita in the previous commit.
2015-10-22 21:44:03 -04:00
Matthias Clasen
99d7648517
Adwaita: Update switch styling
...
Use the new element names instead of the type name and style
classes.
Note that there is one problem with moving away from type names
here: it turns out that style properties only work if the selector
uses the type name.
2015-10-22 21:42:20 -04:00
Benjamin Otte
371f501632
window: Name the decoration style
2015-10-22 16:42:48 +02:00
Benjamin Otte
ed574408f2
notebook: Remove "prelight-page" class
...
Instead, just use the "tab:hover" selector
2015-10-22 16:42:48 +02:00
Benjamin Otte
182f9a7f39
notebook: Remove "active-page" class
...
Instead, just use the "tab:active" selector
2015-10-22 16:42:48 +02:00
Benjamin Otte
983de6f4a0
treeview: Use a cssnode instead of regions
...
This makes Treeview headers work again like before region support was
removed.
2015-10-22 16:42:47 +02:00
Matthias Clasen
d1c81446d7
Add some styling for GtkShortcutsWindow
...
Add some keycap frame around keysyms, and make the stack switcher
buttons rounds. This is very provisional.
2015-10-21 15:32:33 -04:00
Carlos Soriano
d29d54a97b
gtkplacesview: remove hover color from rows
...
Since other views are not using hover neither
https://bugzilla.gnome.org/show_bug.cgi?id=756568
2015-10-15 19:18:54 +02:00
Carlos Soriano
f9b6c07c8a
gtkplacesview: rotate server list icon on toggled
...
Disclosure triangles are usually used pointing down, however
in this case the popover spawns in the upper direction, which
makes it odd looking.
Instead of pointing always down or up, point down when not toggled and
animate a rotation when toggled.
https://bugzilla.gnome.org/show_bug.cgi?id=756568
2015-10-15 19:18:54 +02:00
Lapo Calamandrei
74e02842bb
Adwaita: osd spinbutton fixes
2015-10-10 17:42:40 +02:00
Lapo Calamandrei
b2d379a340
Adwaita: stop consider buttons on osd 'linked'
...
we used to consider every button inside osd containers linked,
this is not true anymore, now those buttons behave normally.
This will clearly cause breakage in applications.
2015-10-09 16:30:54 +02:00
Lapo Calamandrei
f45e26885c
Adwaita: simplify spibutton styling a bit
2015-10-08 17:18:50 +02:00
Jakub Steiner
9dfa8e200d
HC: use round buttons on sidebars
...
Copy Adwaita in how sidebar icon buttons look
https://bugzilla.gnome.org/show_bug.cgi?id=755268
2015-09-23 23:31:27 -04:00
Matthias Clasen
0db331d244
file chooser: make rows with popovers visible
...
Without this, the popovers are just dangling in the middle of
nowhere.
https://bugzilla.gnome.org/show_bug.cgi?id=754411
2015-09-13 22:53:42 -04:00
Jakub Steiner
3ffef0ca03
HighContrast: make sidebar list rows taller
...
sync with Adwaita
https://bugzilla.gnome.org/show_bug.cgi?id=754866
2015-09-11 12:40:48 +02:00
Lapo Calamandrei
f7894a7588
Adwaita: special case selection mode lists checks
...
...otherwise the special selection mode 40x40px checks are used
shrinked to 16x16.
See https://bugzilla.gnome.org/show_bug.cgi?id=754610
2015-09-09 16:37:49 +02:00
Lapo Calamandrei
50983101d4
Adwaita: set -GtkRange-trough-border: 0 for scrollbars
...
which fixes firefox scrollbar not being fittsy when maximixed.
2015-09-08 22:12:12 +02:00
Jakub Steiner
eef64df5f2
HighContrast: remove edge highlight
...
https://bugzilla.gnome.org/show_bug.cgi?id=754551
2015-09-08 17:24:19 +02:00
Jakub Steiner
5b7bed68a9
HighContrast: make linked entries align
...
- reshuffled the stylesheet to easily allow having a thicker
border, but decided to keep the 1px borders on entries
as it makes easier to spot the buttons despite being flat.
https://bugzilla.gnome.org/show_bug.cgi?id=753129
2015-09-04 15:26:19 +02:00
Lapo Calamandrei
57894ec55b
HC: fix pathbar paddings.
...
See https://bugzilla.gnome.org/show_bug.cgi?id=753397 for
details.
2015-09-03 16:47:52 +02:00
Lapo Calamandrei
1cd9d8a474
Adwaita: fix documents and the like rubberband.
2015-09-02 19:35:35 +02:00
Lapo Calamandrei
b931852e1b
Adwaita: add .content-view:hover styling.
...
Just to make thumbs in various app hilight on hover.
2015-09-02 17:25:06 +02:00
Lapo Calamandrei
b4da542980
Adwaita: sync sidebar color vars.
2015-09-02 12:06:49 +02:00
Lapo Calamandrei
4d31b2ca0d
Adwaita: scales on selected list rows.
2015-09-02 11:01:08 +02:00
Lapo Calamandrei
a9fd764b77
Adwaita: use currentColor for scale marks.
...
So it should work ok when used in selected items.
2015-09-01 18:52:20 +02:00
Lapo Calamandrei
30ac073dd4
Adwaita: contemplate selected insensitive items.
2015-09-01 18:43:48 +02:00
Lapo Calamandrei
c92c25b5d7
Adwaita: fix GtkPlacesSidebar styling.
2015-09-01 18:14:45 +02:00
Lapo Calamandrei
71c64aa677
Adwaita: remove unneded background from list-row
2015-09-01 16:03:02 +02:00
Lapo Calamandrei
cca97c5b0f
Adwaita: remove bogus box-shadow in GtkComboBox
2015-09-01 15:47:53 +02:00
Lapo Calamandrei
b8f4e943fe
Adwaita: remove bogus @at-root from sidebar styling.
...
See https://bugzilla.gnome.org/show_bug.cgi?id=754292 for
details.
2015-09-01 13:30:07 +02:00
Jakub Steiner
c21a16e2bc
Adwaita: make focus visible in GtkColorSwatch
...
- use the same fg color as the selection icon
- both dark & light to use the same opacity
2015-09-01 10:17:48 +02:00
Jakub Steiner
4d307db13c
Adwaita: rerender css
...
- fixes previous commit
- for some reason sass won't overwrite a confliced css
2015-08-31 10:47:01 +02:00
Jakub Steiner
c5d195ccfe
Adwaita, HighContrast: day names in GtkCalendar
...
Ideally I'd like to mimic the treeview column-header style,
but font-weight: bold; doesn't seem to work. Making them plain
for now.
https://bugzilla.gnome.org/show_bug.cgi?id=753357
2015-08-31 10:11:27 +02:00
Kalev Lember
ed168197ab
Adwaita: Fix a few typos in README
2015-08-30 21:12:35 +02:00
Jakub Steiner
ecc5abfe3b
Adwaita, HighContrast: day names in GtkCalendar
...
Ideally I'd like to mimic the treeview column-header style,
but font-weight: bold; doesn't seem to work. Making them plain
for now.
https://bugzilla.gnome.org/show_bug.cgi?id=753357
2015-08-28 20:14:53 -04:00
Lapo Calamandrei
c32fa1aa8d
Adwaita: remove .list-row.activatable reset.
...
Since being 'activatable' istead of 'button' now that reset
is not needed anymore, the patch is pretty noisy since sass
interpreter changes, those look innocuous though.
2015-08-28 19:18:35 +02:00
Benjamin Otte
34941efc3a
Adwaita: Make selector more specific
...
A * selector applies to all widgets, so even GtkBox or GtkGrid - and
most importantly GtkListBoxRow - need to recompute their style because
of the * selector.
By using a more specific one, these common cases aren't affected
anymore.
Fixes slowdowns in gtk3-demo's listbox demo and in gnome-software.
2015-08-27 20:18:40 +02:00
Benjamin Otte
9ce91a1251
combobox: Add a special class for the button in the combobox
...
That way, the GTK engine doesn't think that the general .button CSS
might potentially apply to it.
And because combobox button is overly complex and stupid, it cannot be
cached.
So buttons thought they cannot ever cache anything because they might
suddenly end up inside a combobox without noticing and then they'd need
to round their corners differently. Of course they're just regular
"Remove" buttons like all the other 100s of "Remove" buttons in
gnome-software. But hey, better not cache anything for them and
recompute their CSS every time the :hover state changes on one of the
rows.
2015-08-27 20:08:15 +02:00
Jakub Steiner
f7d5d83dd0
HighContrast: GtkListBox fixes
...
Make flat buttons in list-rows work.
2015-08-27 11:09:39 +02:00
Matthias Clasen
407d3fae81
Adwaita: Theme calendar day names differently
...
Just to show how its done. This will need some tweaks.
2015-08-26 22:59:55 -04:00
Benjamin Otte
207e593075
listbox: Mark activatable rows with a .activatable style class
...
Do not use .button anymore.
This is for 2 reasons:
1. The styling is seperate in our themes, so it doesn't make sense to
share the style class.
2. Due to the shared styling of .buton, listbox rows inherit all the
special case styles that exist for buttons - such as linked buttons,
header buttons, entry buttons, spinbutton buttons, etc. This means
that the code has to check all these special cases all the time and
for listbox rows, this is very slow.
2015-08-26 15:46:07 +02:00
Matthias Clasen
843a8791a6
Adwaita: Don't leak underlines
...
The .button:link .label selector matches any label "inside" a
link button. And a label inside the context menu counts as inside
for this purpose. This causes the text-decoration property to
leak into the context menu, even though the property is not
inherited. Avoid this by tightening the selector to
.button:link > .label.
https://bugzilla.gnome.org/show_bug.cgi?id=753451
2015-08-10 16:41:18 +02:00
Matthias Clasen
b54fab2b89
HighContrast: Fix undershoot in sidebars
...
This was just not implemented, and the sidebars solid white
background color was inherited by undershoot rectangle.
https://bugzilla.gnome.org/show_bug.cgi?id=753391
2015-08-08 23:10:00 +02:00
Matthias Clasen
27afd624cd
HighContrast: Improve GtkCalendar drawing
...
Make days gray that are not in the current month.
https://bugzilla.gnome.org/show_bug.cgi?id=753357
2015-08-08 10:02:49 +02:00
Jakub Steiner
01371085ee
Adwaita: calendar button fix
...
- provide insensitive button state for GtkCalendar buttons
https://bugzilla.gnome.org/show_bug.cgi?id=753230
2015-08-05 14:05:57 +02:00
Matthias Clasen
ba45fa09b4
HighContrast: Avoid resizing treeview headers
...
https://bugzilla.gnome.org/show_bug.cgi?id=753060
2015-08-03 22:16:34 -04:00
Jasper St. Pierre
9cbd9c4187
Adwaita: Remove non-working selector
...
This was suppsed to be ".list-row.button", I'd imagine, but the missing
dot meant it never worked in the first place. Just clean it up.
2015-08-02 12:57:32 -07:00
Jakub Steiner
9dd2645c4a
HC: shade spinbuttons as entries
...
https://bugzilla.gnome.org/show_bug.cgi?id=746491
2015-08-01 02:22:34 +02:00
Jakub Steiner
230c248326
HC: custom color button fixes
...
https://bugzilla.gnome.org/show_bug.cgi?id=753051
2015-07-31 15:43:44 +02:00
Jakub Steiner
ffec25b015
HC: no need for green in scales
2015-07-30 14:02:58 +02:00
Jakub Steiner
cd08b427c9
HC: fix typo
2015-07-30 13:54:29 +02:00
Jakub Steiner
b5a684de68
HC: make progressbar labels more visible
...
- use the same colro as regular labels, no
need to be more subtle
https://bugzilla.gnome.org/show_bug.cgi?id=752978
2015-07-29 13:32:34 +02:00
Jakub Steiner
a0ee054bb1
HC: make pushed columns visible
...
https://bugzilla.gnome.org/show_bug.cgi?id=752977
2015-07-29 13:27:17 +02:00
Jakub Steiner
66cacaf725
HC: provide explicit treeview styling
...
deals with some details like:
- DND stuff
- progressbar
- expanders
- separators
https://bugzilla.gnome.org/show_bug.cgi?id=752975
2015-07-29 13:24:11 +02:00
Jakub Steiner
2cd86139fa
HC: :checked:hover color fix for menuitems
...
https://bugzilla.gnome.org/show_bug.cgi?id=752969
2015-07-29 12:40:16 +02:00
Jakub Steiner
9dabc4efd5
HC: make link buttons distinct
...
https://bugzilla.gnome.org/show_bug.cgi?id=752965
2015-07-29 12:34:44 +02:00
Jakub Steiner
3cf28a835f
HC: whitespace for sidebar
...
- make some room around the sidebar icons
https://bugzilla.gnome.org/show_bug.cgi?id=752960
2015-07-29 12:20:28 +02:00
Lars Uebernickel
2dda89cbd5
GtkButtonBox: remove spacing when buttons are linked
...
GtkButtonBox adds the "linked" class to its style context when its
layout is set to GTK_BUTTONBOX_EXPAND. It shouldn't ever make sense to
have spacing between buttons in that case, as themes generally draw
linked elements with a continuous border.
Thus, always set spacing to 0 and ignore GtkDialog's button-spacing
style property when the layout is set to EXPAND.
Also remove the now-redundant css rules which set button-spacing to 0
for message dialogs.
https://bugzilla.gnome.org/show_bug.cgi?id=752131
2015-07-14 15:12:56 +02:00
Paolo Borelli
77658b76ae
linkbutton: use the text-decoration-line css
...
Remove the custom add() implementation and use css to underline the
label.
2015-07-06 00:04:06 +02:00
Cosimo Cecchi
9913b02e3b
switch: add a style property for the switch height
...
Instead of hardcoding an aspect ratio.
This will be replaced by min-height/max-height when we have them.
https://bugzilla.gnome.org/show_bug.cgi?id=751689
2015-06-30 13:28:26 -07:00
Lapo Calamandrei
029800c426
Adwaita: entry linking fixes
...
Set the right border color on the linked entry after the focused
one.
2015-06-25 20:04:32 +02:00
Lapo Calamandrei
56a3fd888a
Adwaita: rubberbands!
...
Darken the rubberband a bit to make it visible on the selected
color background, fix treeview rubberband border issue.
2015-06-25 19:57:07 +02:00
Lapo Calamandrei
ec9a39977a
Adwaita: scale marks visible on the dark variant
2015-06-23 19:11:15 +02:00
Jakub Steiner
dc8cc6291b
Adwaita: indentation
...
- lapo was shouting at me.
2015-06-18 13:09:22 +02:00
Lapo Calamandrei
3a462b174d
Adwaita: volume button and scale button padding
...
I was assuming that GtkVolumeButton and GtkScaleButton could only
contain a icon, now they get the image-button padding by default,
but if the text-button class is applied it is not overridden.
2015-06-18 12:46:00 +02:00
Lapo Calamandrei
5e616e0298
Adwaita: scale popup quick fix
2015-06-18 12:33:59 +02:00
Jakub Steiner
58813a0db1
Adwaita: markup cleanup
...
- move touch selection selectors to its own section
- use scss style markup for .button common elsewhere
(more compact and legible)
2015-06-18 12:01:12 +02:00
Jakub Steiner
ff20abda8e
HC: touch text selection styling
...
- sync with Adwaita
- try to avoid using image assets
https://bugzilla.gnome.org/show_bug.cgi?id=750883
2015-06-18 11:56:20 +02:00
Matthias Clasen
0f7857f66a
GtkPlacesSidebar: Fix rtl appearance
...
Apply the necessary directional variants for asymmetric
css padding.
https://bugzilla.gnome.org/show_bug.cgi?id=751084
2015-06-17 20:14:54 -04:00
Carlos Soriano
fbbad5deec
gtkplacesidebar: use GtkListBox
...
We were using GTkTreeView in a simple list. Also, as we know,
GtkCellRenderers are not the best way to theme and manipulate
widgets.
So instead use a GtkListBox to modernize the GtkPlacesSidebar,
and in the way clean up some parts of the code (like headings)
which were not used anymore.
Also we don't use a model anymore, since the data is simple
enough to manage it in a subclass of the row itself.
2015-06-16 16:19:37 +02:00
Carlos Soriano
d881b15349
theme: decrease list row transition
...
It was somewhat annoying given the "trace" of it. Decrease
the time to avoid too much "trace"
2015-06-16 16:19:37 +02:00
Carlos Garnacho
cd5f70357c
Adwaita: support rtl on text handles
...
Just use the opposite variant for the opposite LTR side.
2015-06-11 17:14:23 +02:00
Jakub Steiner
c8d70c8d8c
Adwaita: update text selection handles
...
- we'll put both handles to teh bottom
- renamed top, bottom to start and end. will be easier
for rtl too.
https://bugzilla.gnome.org/show_bug.cgi?id=750692
2015-06-11 17:12:06 +02:00
Jakub Steiner
ac798dc307
adwaita: style tweaks to touch selections
...
- use dark theme assets for the checkboxes and radios
- darken the popover for legibility (white bg/black text is
really the most problematic background to have).
unfortunatley in terms of SCSS structure this is further digging us into the
hole of specificity. It would be much nicer to set the .osd class on the popover
and have everything just work. I'm sure we'll end up using OSD styled popovers
outside the touch context.
https://bugzilla.gnome.org/show_bug.cgi?id=750396
2015-06-09 15:36:25 -04:00
Matthias Clasen
1ff1040c20
Adwaita: Some touch selection updates
...
Make touch selection popovers use osd style.
2015-06-07 01:11:32 -04:00
Jakub Steiner
9c53f76cbd
Adwaita: updates style for text selection
...
- use consistent widget style. unfortunately using assets
- light/dark variant
- new assets for text selestions, using existing slider asset for
insertion point
https://bugzilla.gnome.org/show_bug.cgi?id=750396
2015-06-05 08:57:43 -04:00
Lapo Calamandrei
6d4d2766e0
Adwaita: entry linking logic change.
...
Use the same linking logic of buttons for entries, this avoids
specialcasing rtl.
2015-06-04 16:19:05 +02:00
Cosimo Cecchi
02be88983e
parse-sass: don't hardcode bash path
...
It's /bin/bash on some systems; just use /bin/sh instead.
https://bugzilla.gnome.org/show_bug.cgi?id=749593
2015-05-24 12:08:33 -07:00
Jakub Steiner
0c922a9443
Adwaita: tone down popover dropshadow
2015-05-07 10:17:22 +02:00
Jakub Steiner
5cce2051dd
HC: implement overlay scrollbar theming
...
while the behavior was in place, the specific theming for
overlay scrollbars was missing, and content was hidden.
2015-05-04 14:39:40 +02:00
Lapo Calamandrei
bfc6413787
Adwaita: remove duplicated selector.
2015-04-30 14:39:05 +02:00
Lapo Calamandrei
aa6219db1c
Adwaita: .title and .subtitle paddings
...
Only set side paddings for title and subtitle classes, we had 0
vertical padding set there, no idea why, so let's find out...
2015-04-28 16:52:46 +02:00
Jakub Steiner
f9ef67d2fa
HC: include a missing sass function
...
- used in the color widget
2015-04-28 00:33:45 +02:00
Jakub Steiner
136a32112f
HC: tone down backdrop for gtk switches
...
https://bugzilla.gnome.org/show_bug.cgi?id=746925
2015-04-27 17:34:22 +02:00
Lapo Calamandrei
7dac876caf
Adwaita: fix selected backdrop list rows.
...
A misplaced selector was making backdrop selected list rows vanish
on hover, fixed. Thanks to Florian for spotting.
2015-04-23 22:45:23 +02:00
Lapo Calamandrei
556fde096a
Adwaita: entry: some sass refactoring.
2015-04-22 17:43:37 +02:00
Lapo Calamandrei
fa1f2c0df6
Adwaita: vertically linked entries fix.
...
I was axing the edge hilight on the last linked entry which needs
to be there, fixed.
2015-04-22 16:09:29 +02:00
Lapo Calamandrei
5e5cfc62a9
Adwaita: .entry.error/.entry.warning dark variant love
2015-04-22 15:54:04 +02:00
Lapo Calamandrei
4128ff93dd
Adwaita: simplify entry vertical linking.
...
Now it should be "right" in basically every combination of entries
and buttons.
2015-04-22 14:46:01 +02:00
Lapo Calamandrei
b8a6ebea7c
Adwaita: simplify entries.
...
By drawing the background w/o using 3 inset shadows, same or better effect,
cleaner and simpler scss, possibly better rendering performances.
2015-04-20 18:38:13 +02:00
Lapo Calamandrei
e2e649441e
Adwaita: scrollbar contrast bump
2015-04-17 15:33:04 +02:00
Sebastian Keller
5dbccc868e
Adwaita: fix outline radius for dialog-action-area buttons
...
https://bugzilla.gnome.org/show_bug.cgi?id=748013
2015-04-16 22:07:25 -04:00
Lapo Calamandrei
993721c746
Adwaita: colorpicker fixes.
...
Added another :not() to fix the first and last swatches in the
first section of colorpicker.
Dodge the artifacts due to stacked anti-aliased rounded corners by
increasing the radius of the base object by 1px.
2015-04-16 09:59:45 +02:00
Jakub Steiner
296fe08695
HighContrast: sync color picker changes with Adwaita
2015-04-16 00:47:40 +02:00
Lapo Calamandrei
a5685ba05a
Adwaita: clearer comment for colorbutton hack
2015-04-15 21:53:11 +02:00
Lapo Calamandrei
a9addf14b7
Adwaita: colorpicker and colorbutton fixes.
...
With nasty gross ugly code, no other ways, sorry.
2015-04-15 21:43:59 +02:00
Lapo Calamandrei
149e7df608
Adwaita: GtkPlacesSidebar insensitive items.
...
Set the right colors there.
2015-04-15 20:20:52 +02:00
Jakub Steiner
62a367105f
HighContrast: don't need to work around ffox
...
No need for the workaround for ffox 36, works in 37
https://bugzilla.gnome.org/show_bug.cgi?id=747827
2015-04-15 14:55:35 +02:00
Jakub Steiner
efe0009e31
HC: fix selected list-rows
...
https://bugzilla.gnome.org/show_bug.cgi?id=747689
2015-04-13 17:09:59 +02:00
Jakub Steiner
6c8790f62c
HighContrast: fix scrollbar slider 'padding'
2015-04-10 20:19:42 +02:00
Jakub Steiner
26e8037cf9
HighContrast: insensitive backdrop list rows have a border
...
https://bugzilla.gnome.org/show_bug.cgi?id=747288
2015-04-10 16:58:04 +02:00
Lapo Calamandrei
fe028b961b
Adwaita: reset .list-row.button props more aggressively...
...
...otherwise we run into problem with `.button` inherited style
properties, see https://bugzilla.gnome.org/show_bug.cgi?id=747288
which applies to Adwaita as well.
2015-04-10 16:42:00 +02:00
Jakub Steiner
f87b08ddd3
notebook: prevent tab closebutton :hover to change metric
2015-04-10 16:28:56 +02:00
Lapo Calamandrei
2c61a52ff6
Adwaita: stronger entry focus indication
...
See https://bugzilla.gnome.org/show_bug.cgi?id=746202 for details.
2015-04-02 18:50:37 +02:00
Jakub Steiner
40a83ef5a6
Revert "Adwaita: desaturate selected color for backdrop"
...
This reverts commit 6f478db2fa
.
As per discussion on bug 746202, the real solution to the case
in bug 704352 is what the reporter suggests.
2015-03-30 14:54:25 +02:00