Cosimo Cecchi
a9b50b6f69
scale: port scale values to gadgets
...
And add a default color like it was before.
This also fixes other issues with scale values interacting with scale
mark labels, which were buggy at least since 3.18.
2016-03-06 11:09:46 -08:00
Cosimo Cecchi
31fd41e547
Adwaita: fix glitch in fine-tune scrollbar theming
...
The fine-tune mode should not change the overall dimensions of the
scrollbar.
2016-03-05 12:05:26 -08:00
Lapo Calamandrei
303fdfbe8b
Adwaita: treeview column header scrollbar top border
...
add a top border in vertical scrollbars in treeviews.
2016-03-05 02:10:24 +01:00
Lapo Calamandrei
eef3153265
Adwaita: shrink scroolbars
...
erroneusly pushed 15px scrollbars with the previous commit, back
to 13px now.
2016-03-05 02:01:16 +01:00
Lapo Calamandrei
035ce8f18d
Adwaita: fix a typo
2016-03-05 01:50:18 +01:00
Lapo Calamandrei
0c987f94c8
Adwaita: scrollbar style rewrite
...
works correctly with the new gadgettified GtkRange Cosimo nicelly
delivered, as a bonus steppers are styled for overlay indicator
usage as well.
2016-03-05 01:39:13 +01:00
Lapo Calamandrei
59badc320e
Adwaita: shrink back scale trough
...
like it was before the GtkRange gadgettification.
2016-03-04 20:09:16 +01:00
Lapo Calamandrei
54858574a3
Adwaita: really fix scale with marks
...
added a min-height/width compensation too when in fine-tune mode,
so scale with marks and no labels doesn't make the scale node grow
when in fine-tune.
2016-03-04 19:18:43 +01:00
Lapo Calamandrei
88d51a8604
Adwaita: fix a thinko wrt fine-tune scales
...
added a scale node padding compensation for the trough growth in
fine-tune mode, so now the scale node doesn't grow anymore when
mark labels are present.
2016-03-04 18:36:36 +01:00
Cosimo Cecchi
757b74bed9
Adwaita: fix thinko in fine-tune scale selector
...
Marks always get class top/bottom, regardless of the scale orientation.
2016-03-03 22:06:16 -08:00
Lapo Calamandrei
8b6603bbd6
Adwaita: fix a thinko about toolbar items spacing with margins
2016-03-03 18:02:43 +01:00
Lapo Calamandrei
08613dce92
Adwaita: uniform paddings on image-buttons
...
fixes https://bugzilla.gnome.org/show_bug.cgi?id=762811
2016-03-03 16:12:20 +01:00
Lapo Calamandrei
3549490aa8
Adwaita: use margin for spacing widgets on toolbars
...
kind of a workaround, this approach is pretty unmaintainable, I
hope we'll get a CSS property for spacing directly on the parent
container (a toolbar in this particular case).
See https://bugzilla.gnome.org/show_bug.cgi?id=762397
2016-03-03 16:01:46 +01:00
Lapo Calamandrei
76ea3a15cb
Adwaita: more scale style fixes
2016-03-02 23:10:26 +01:00
Lapo Calamandrei
597151c736
Adwaita: fix scale with marks size
2016-03-02 21:54:19 +01:00
Lapo Calamandrei
fde1aac57a
Adwaita: scale with marks style fixes
...
after GtkRange gadgettification the theme needs some adjustments
for the new widget structure.
2016-03-02 21:35:38 +01:00
Lapo Calamandrei
d3ca8aaf83
Adwaita: fix combos styling
...
since now the combobox childrens are in a box.
2016-03-02 20:55:19 +01:00
Cosimo Cecchi
5889d2520f
Adwaita: fix outline for scale trough
2016-03-01 12:54:01 -08:00
Cosimo Cecchi
bb55a1a958
scale: add gadgets for indicator/label in scale marks
...
This will allow us to theme them indepdendently, and specify a size for
the indicator from the theme.
2016-02-29 10:45:14 -08:00
Cosimo Cecchi
74a8bbfd38
Adwaita: add minimum size for marks
...
It's still suboptimal, because there's no way to control the size of the
indicator alone, but this does the job for now.
2016-02-29 10:45:14 -08:00
Lapo Calamandrei
0468ff1545
Adwaita: some more WIP theme work for the new scale
2016-02-29 10:45:13 -08:00
Lapo Calamandrei
622f5aef4e
Adwaita: WIP for new range theme
2016-02-29 10:45:13 -08:00
Cosimo Cecchi
f0d9afd300
scrollbar: deprecate min-slider-length style property
...
In favor of min-height/min-width, like we did for other similar
properties.
2016-02-29 10:45:12 -08:00
Cosimo Cecchi
d1c5ecfaef
scale: deprecate slider-length style property
...
This can be achieved using min-height/min-width CSS properties now.
2016-02-29 10:45:12 -08:00
Cosimo Cecchi
c1eff2cce5
range: deprecate more style properties
...
These are never read now.
2016-02-29 10:45:12 -08:00
Cosimo Cecchi
413b9d5b3c
range: continue porting to GtkGadgets
...
This commit rewrites a lot of the GtkRange internals to make full use
of the gadget structure.
2016-02-29 10:45:12 -08:00
Cosimo Cecchi
d0c671ddfe
range: deprecate trough-under-steppers
...
It's not clear what this would do in a CSS world, and all the themes set
it to TRUE anyway...
2016-02-29 10:45:11 -08:00
Cosimo Cecchi
4bb0a8db47
range: first pass at porting to gadgets
...
There's still a lot to be done, but this is functional and we'll improve
the loose ends in the next commits.
2016-02-29 10:45:11 -08:00
Benjamin Otte
cdb1cda68b
notebook: The active tab is now :checked
...
:active is reserved for "mouse button down on node", so we have to use
something else. And stack switcher and radio buttons use :checked for
the active widget, so it makes sense to use :checked for the active tab,
too.
Themes have been adapted.
TODO: Implement :active for tabs.
2016-02-27 03:48:46 +01:00
Lapo Calamandrei
4fd5ad2f07
Adwaita: notebook tab sizing fix
2016-02-26 19:01:55 +01:00
Lapo Calamandrei
9f606b8270
Adwaita: stricter selector for split headerbar separator
...
with a descendant select was erroneusly catching normal headerbar
separators in paned split headerabar case, see gedit. Using a child
selector fixes.
2016-02-26 13:15:37 +01:00
Lapo Calamandrei
296a7c24f9
Adwaita: simplify mixed buttons styling
2016-02-26 13:07:09 +01:00
Lapo Calamandrei
1a0b6568fa
Adwaita: fix separator in non paned using split headerbar
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=762593
2016-02-26 12:53:02 +01:00
Lapo Calamandrei
5906b15c5e
Adwaita: avoids up pointing scale slider to jump down on hover
...
and comment back sass debugging stuff in the process...
2016-02-22 11:29:43 +01:00
Lapo Calamandrei
9fb9d208fd
Adwaita: fix scale with marks sliders
...
looks like sass was confused by the way I structured the loops,
this works that around.
2016-02-22 11:16:32 +01:00
Lapo Calamandrei
7f89856b29
Adwaita: color scale slider fixes
...
use the pointy slider on colorscales, this way it picks the
correct slider on rtl.
2016-02-22 10:55:58 +01:00
Matthias Clasen
0c91584532
Adwaita: Drop decoration.ssd selector
...
We've settled on window.ssd decoration instead.
https://bugzilla.gnome.org/show_bug.cgi?id=760714
2016-02-21 00:55:41 -05:00
Lapo Calamandrei
7698ac447a
Adwaita: remove unused selector in _common.scss
2016-02-20 19:52:46 +01:00
Lapo Calamandrei
effee1f35e
Revert "Adwaita: resurrect scale-has-marks-above/below classes"
...
This reverts commit edcc0c2783
.
Since the colorscale styling is wrong in rtl, need to do things
differntly.
2016-02-20 19:50:49 +01:00
Lapo Calamandrei
44f6fcfbd3
Adwaita: move 1px up the check asset
2016-02-20 19:37:21 +01:00
Lapo Calamandrei
b23300c89d
Adwaita: fix entry progressbar
...
it now moves using the whole entry lenght, in the process the
style was tweaked to not need a special case for focused entries.
2016-02-20 19:31:58 +01:00
Lapo Calamandrei
edcc0c2783
Adwaita: resurrect scale-has-marks-above/below classes
...
the colorscales use said classes.
2016-02-20 17:25:51 +01:00
Lapo Calamandrei
079e90b780
Adwaita: scale slider assets refresh
...
...and update the theme accordingly.
2016-02-20 16:07:00 +01:00
Lapo Calamandrei
a979cff748
Adwaita: check/radio/slider gradient tweaks
2016-02-19 18:03:38 +01:00
Lapo Calamandrei
09cd17a001
Revert "Adwaita: restrict button transition"
...
Shouldn't be needed with recent Benjamin work.
This reverts commit 79ca3f03a8
.
2016-02-19 14:39:47 +01:00
Lapo Calamandrei
826913135b
Revert "Adwaita: only needed properties on entry transition"
...
Shouldn't be needed with recent Benjamin work.
This reverts commit d57f4a781c
.
2016-02-19 14:38:22 +01:00
Lapo Calamandrei
d57f4a781c
Adwaita: only needed properties on entry transition
...
made things properly in the process creating a sass function to
handle transition properties stacking.
2016-02-18 14:30:23 +01:00
Lapo Calamandrei
79ca3f03a8
Adwaita: restrict button transition
...
we use to animate "all" in the transition, this seems to trigger
some weird gtk sizing issue, restricting the transition to just
the needed properties fixes.
2016-02-18 13:24:42 +01:00
Lapo Calamandrei
a93fdd8201
Adwaita: housekeeping
...
cleaned up unneded selectors and leftovers from previous versions.
2016-02-18 12:26:19 +01:00
Lapo Calamandrei
56c54a20d1
Adwaita: reset the shadow on disabled scales
2016-02-17 20:00:57 +01:00
Lapo Calamandrei
9bb139c6aa
Adwaita: unused assets cleanup
2016-02-17 15:22:36 +01:00
Lapo Calamandrei
d3c247ed21
Adwaita: added a new mixin for check/radio/sliders
...
some clean up in the process. The gradient still need some love.
2016-02-17 15:18:59 +01:00
Lapo Calamandrei
6bf33ac30c
Adwaita: _drawing cleanup
2016-02-17 14:36:10 +01:00
Lapo Calamandrei
f945fb6ec4
Adwaita: add a top border to the filechooser bottom bar
2016-02-16 20:49:05 +01:00
Lapo Calamandrei
5de7a5fdea
Adwaita: use Matthias provided ID for the previous commit style
2016-02-16 20:44:16 +01:00
Lapo Calamandrei
bdee6b11ac
Adwaita: add back a bottom border on the pathbar/entry box
2016-02-16 20:40:19 +01:00
Lapo Calamandrei
03ec21d612
Adwaita: make tab child not cover the active tab indication
...
in the process make the focus outline clearer.
2016-02-16 20:27:06 +01:00
Lapo Calamandrei
af2cc8140a
Adwaita: places sidebar eject button sizing
2016-02-16 20:17:43 +01:00
Lapo Calamandrei
d3a153a45e
Adwaita: places sidebar sizing with min-height...
...
...more to come.
2016-02-16 18:23:09 +01:00
Lapo Calamandrei
7c799bbc65
Adwaita: make tab buttons square once again
2016-02-16 17:54:31 +01:00
Lapo Calamandrei
6085bba0a5
Adwaita: be more specific about menu items height
...
setting a 16px min-height (same as a check/radio) and resetting
margins on check/radio to workaround a sizing issues there.
2016-02-16 17:42:52 +01:00
Lapo Calamandrei
a1cbcc18b3
Adwaita: stop using assets for treeview check/radio...
...
...the sizing is still off, waiting for Benjamin to add the magic,
probably the icon shadow is missing, not sure since it's blurry.
This needs to be reverted in case the sizing won't get fixed.
2016-02-16 02:14:02 +01:00
Lapo Calamandrei
d26801c923
Adwaita: correctly style arrows wrt tab position
2016-02-15 18:42:12 +01:00
Lapo Calamandrei
1b1d6551c7
Adwaita: correct size for ssd titlebars
...
fixes https://bugzilla.gnome.org/show_bug.cgi?id=762032
2016-02-15 16:56:47 +01:00
Lapo Calamandrei
1140a514ea
Adwaita: notebook fixes
...
make the tab close button a tad bigger, use header 'paddings' in
place of 'tabs' margins for spacing.
2016-02-15 14:27:14 +01:00
Lapo Calamandrei
88c68f2eef
Adwaita: sidebar background-color
...
it was covered by the contained list background, which is now
transparent.
2016-02-15 13:52:41 +01:00
Lapo Calamandrei
0b1aeceb6e
Adwaita: no rounded corner for tiled backdrop windows
...
fixes https://bugzilla.gnome.org/show_bug.cgi?id=762067
2016-02-15 13:31:42 +01:00
Lapo Calamandrei
aed7ca1b3d
Revert "Adwaita: no rounded corners for backdrop tiled windows"
...
This reverts commit aa4b385398
.
Erroneusly pushed unfinished stuff...
2016-02-15 13:28:46 +01:00
Lapo Calamandrei
4d26640045
Adwaita: shortcutswindow fixes
...
use darker text and tweak the keycap vertical centering,
addresses https://bugzilla.gnome.org/show_bug.cgi?id=761778
2016-02-15 13:07:37 +01:00
Lapo Calamandrei
aa4b385398
Adwaita: no rounded corners for backdrop tiled windows
...
fixes https://bugzilla.gnome.org/show_bug.cgi?id=762067
2016-02-15 12:36:06 +01:00
Lapo Calamandrei
915fe87a62
Adwaita: fix treeview dnd column headers
2016-02-14 22:30:32 +01:00
Lapo Calamandrei
54b378b3df
Adwaita: flatten up search bars and inline toolbars
2016-02-14 21:48:31 +01:00
Lapo Calamandrei
f1b34a719e
Adwaita: image-button sizing fix
2016-02-14 21:07:11 +01:00
Matthias Clasen
3c9a63bcb1
Adwaita: Fix a padding problem in action bars
...
Padding adds up. A selector like "actionbar box" matches any box
inside an actionbar, so nested boxes accumulate more and more
padding. The intention clearly was to just give padding to the
topmost box that is the direct child of the actionbar's revealer.
https://bugzilla.gnome.org/show_bug.cgi?id=762036
2016-02-14 14:54:49 -05:00
Lapo Calamandrei
601e762973
Adwaita: correct spacing for mixed buttons
2016-02-14 16:39:19 +01:00
Lapo Calamandrei
1bfbd23a0c
Adwaita: don't set a border for drop targets
...
to avoid active drop targets to grow.
2016-02-14 14:44:57 +01:00
Lapo Calamandrei
bf45d06a79
Adwaita: scss cosmetic changes
2016-02-14 14:33:30 +01:00
Lapo Calamandrei
72db203672
Adwaita: fix scale popup button size
2016-02-14 14:21:01 +01:00
Lapo Calamandrei
7f2d4400ba
Adwaita: try being smarter wrt extending buttons.
2016-02-14 02:35:28 +01:00
Lapo Calamandrei
adddd1a9eb
Revert "Adwaita: remove an unneded selector."
...
This reverts commit 05dff4ccb0
.
It was needed actually...
2016-02-14 01:20:02 +01:00
Lapo Calamandrei
05dff4ccb0
Adwaita: remove an unneded selector.
2016-02-14 00:34:29 +01:00
Lapo Calamandrei
12daac76d7
Adwaita: notebook arrow styling.
2016-02-14 00:25:04 +01:00
Matthias Clasen
4c37719639
Adwaita: Insensitive notebook arrows
...
Just make insensitive notebook arrows gray until better
styling appears.
https://bugzilla.gnome.org/show_bug.cgi?id=761716
2016-02-12 18:24:20 -05:00
Jakub Steiner
eb90c4f9ed
Adwaita: make popovers less 1995
...
- use regular bgcolor
2016-02-12 14:38:03 +01:00
Matthias Clasen
452d25b13d
placessidebar: Increase padding
...
This should bring us back to the look of 3.18.
https://bugzilla.gnome.org/show_bug.cgi?id=761791
2016-02-11 22:51:35 -05:00
Matthias Clasen
32804e098e
Adwaita: Don't grow flat entries
...
Entries in treeviews and similar embedded situations don't really
work well if their height is forced to be big. Take out the min-height
for these.
https://bugzilla.gnome.org/show_bug.cgi?id=761686
2016-02-11 22:36:07 -05:00
Matthias Clasen
23d2f2d0e1
Adwaita: tone down treeview separators
2016-02-11 22:03:47 -05:00
Lapo Calamandrei
1bd0431ab2
Adwaita: fix bogus selector...
...
...ruining the indeterminate check animation
2016-02-11 18:38:31 +01:00
Lapo Calamandrei
460aa64c58
Adwaita: animate check and radios
2016-02-11 18:27:25 +01:00
Matthias Clasen
667069cff2
Adwaita: No rounded corners for fullscreen
...
If the theme has rounded corners for fullscreen, we don't tell the
window manager that we are now fully opaque, which then makes things
less efficient than they should be.
https://bugzilla.gnome.org//show_bug.cgi?id=761571
2016-02-07 18:00:29 +01:00
Lapo Calamandrei
56b1b08bb8
Adwaita: darker background for popovers
2016-02-05 14:11:30 +01:00
Lapo Calamandrei
6cdca1e124
Adwaita: removed some old cruft from _drawing.scss
...
resulting in a nice number of non working selectors ditched.
2016-02-04 14:14:59 +01:00
Lapo Calamandrei
207a842bfd
Adwaita: fix headerbar spinbutton size
...
fixes https://bugzilla.gnome.org/show_bug.cgi?id=761484
2016-02-03 18:32:51 +01:00
Matthias Clasen
0bcd8603eb
print dialog: Fix layout preview drawing
...
Use the CSS name paper for this as well, and make sure Adwaita
sets a color that makes the text visible in the dark theme as well.
2016-02-03 16:07:51 +01:00
Lapo Calamandrei
a0363e5f0a
Adwaita: notebook with hidden header style fix
...
the stack styling is applied only when there is a header, hence
when the stack node is not the notebook only child, should cure
https://bugzilla.gnome.org/show_bug.cgi?id=760996
2016-02-03 15:23:17 +01:00
Lapo Calamandrei
f734db1604
Adwaita: fix vertical spinbutton style
...
correct sizing and workaround disabled entry text colors.
2016-02-03 15:03:39 +01:00
Matthias Clasen
051b6071b7
Adwaita: Add symbolic png assets
...
And use them as fallback for the svg ones. This lets us
avoid a hard dependency on librsvg - the theme will work
without svg support.
2016-01-30 00:29:04 -05:00
Lapo Calamandrei
fac5ed6165
Adwaita: reset padding on notebook tab close button
2016-01-29 18:09:28 +01:00
Lapo Calamandrei
813cc34857
Adwaita: fix border radius on #editor-color-sample
2016-01-29 17:48:45 +01:00
Lapo Calamandrei
31cc642288
Adwaita: notebook style rewrite
2016-01-29 17:17:47 +01:00