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
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
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
b1f0283630
Adwaita: use -gtk-icon-shadow
...
The name icon-shadow has been deprecated and causes warnings.
2015-11-20 20:35:39 -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
4cee658f5f
Adwaita: Misc cleanups
...
Various cleanups and simplifications.
2015-11-14 18:25:24 -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
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
2a0024ebe2
Adwaita: Update levelbar rendering
...
Adapt to the changes in the previous commit.
2015-11-11 00:26:32 -05:00
Matthias Clasen
fbd6a814c6
Adwaita: Update textview selection styling
...
Use the selection name.
2015-11-10 21:51:36 -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
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
8efb1b1f92
Adwaita: Update treeview rubberband styling
...
Adapt to the changes in the previous commit.
2015-11-10 07:30: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
f4076dff42
Adwaita: Update rubberband styling
...
Adapt to the changes in the previous commit.
2015-11-10 00:28:46 -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
f564f16b5c
Adwaita: 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
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
87c6ae1c18
Adwaita: Update searchbar styling
...
Adapt to the changes in the previous commit.
2015-11-05 07:44:29 -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
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
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
2ef86c94ed
Adwaita: Update scrolledwindow styling
...
Adapt to the changes in the previous commit.
2015-11-04 07:38:15 -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
f8c3e48bd2
Adwaita: Update menu styling
...
Support the element names introduced in the previous commit.
2015-11-02 20:47:56 -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
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
1bc2913f52
Adwaita: Update tool button styling
2015-10-31 20:52:41 -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
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
3de78decd4
Adwaita: Update frame styling
...
Adapt to the changes in the previous commit.
2015-10-31 19:10:52 -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
4e8aea012e
Adwaita: Adapt to color swatch changes
...
This needs more work and simplification.
2015-10-30 21:44:19 -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
739e0c17a1
Adwaita: Adapt to changed treeview names
2015-10-30 17:37:32 -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
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
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
e148876dd4
Adwaita: Update color button styling
...
Adapt to the previous commit.
2015-10-30 06:16:10 -04:00
Matthias Clasen
40f9a0fe69
Adwaita: Update headerbar styling
...
Adapt to the previous commit.
2015-10-30 01:08:30 -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
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
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
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
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
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
bd80b1d037
Adwaita: Update spinner styling
...
Adapt Adwaita to the changes in the previous commit.
2015-10-25 15:45:13 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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