| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Instead, EosTopBar should look like a normal GtkHeaderBar.
https://phabricator.endlessm.com/T21463
|
|
|
|
|
|
|
|
|
| |
This was used nowhere except in eos-knowledge-lib. We are going to make
many eos-knowledge-lib specific changes to it, so it's going to be
forked into there. After nothing uses it, it doesn't make sense to keep
it here given that we intend to slowly move away from using eos-sdk.
https://phabricator.endlessm.com/T20353
|
|
|
|
|
|
|
| |
Add class while window is being resized to change image scaling method in CSS
This would speed up resizing windows with background images.
https://phabricator.endlessm.com/T20677
|
|
|
|
|
|
|
| |
GtkEntry now uses a "selection" subnode for styling text
that is selected. Use this subnode instead.
https://phabricator.endlessm.com/T12815
|
|
|
|
|
| |
Not any min scrollbar size is removed in our theme reset.
https://phabricator.endlessm.com/T11000
|
|
|
|
| |
https://phabricator.endlessm.com/T11000
|
|
|
|
|
|
|
| |
Pixel font sizes were incorrectly getting rendered as points
previously. This is now fixed, but means our pixel font will render
75% smaller.
https://phabricator.endlessm.com/T11000
|
|
|
|
|
|
|
|
| |
Window blur and resize corners and a whole lot have moved to the
window decoration theme in 3.20. It would be a tricky job to
replicate this inside of eos-sdk's theme so for now let's just
leave the decorations the same as Adwaita.
https://phabricator.endlessm.com/T11000
|
|
|
|
| |
https://phabricator.endlessm.com/T11000
|
|
|
|
|
|
| |
Search image is now a node, and it won't place itself well without
some css changes.
https://phabricator.endlessm.com/T11000
|
|
|
|
|
| |
Another minor change and fixed warning.
https://phabricator.endlessm.com/T11000
|
|
|
|
|
| |
New name for the property. Fixes a warning.
https://phabricator.endlessm.com/T11000
|
|
|
|
|
|
| |
The way to specify gtk widgets has changed with the switch to
css nodes
https://phabricator.endlessm.com/T11000
|
|
|
|
|
|
|
|
|
|
| |
We had a stack and listened to enter leave to trigger a transition,
but that broke when GtkStack ditched its main GdkWindow with the
upgrade to 3.20.
Switch to doing this all with a regular button in css, cause that's
simpler
https://phabricator.endlessm.com/T11000
|
|
|
|
|
|
|
|
|
|
|
|
| |
It had gotten pretty stale compared to property changes, and this can
actually be done quite simply without a standalone file.
Just moving to endless-widgets.css
https://phabricator.endlessm.com/T11000
Conflicts: (appropriate changes made in endless-widgets.css)
data/css/reset.css
|
|
|
|
|
| |
We can rewrite the style update so it won't trigger a size change
[endlessm/eos-sdk#3590]
|
|
|
|
|
|
|
|
|
| |
As agreed with the design team, all apps should include a generic
home button at the top left corner of the app window. Therefore, we
add a new generic button in the sdk to be used in all the different
apps for consistency.
[endlessm/eos-sdk#4030]
|
|
|
|
|
|
|
|
|
|
| |
As per Design, the font size of the search bar widget should be 18px when in
composite mode.
Since all the apps should adopt this specification, it's better for it to live
here.
[endlessm/eos-sdk#3975]
|
|
|
|
|
|
| |
Less code, more data.
[endlessm/eos-sdk#3782]
|
|
|
|
|
|
|
| |
GtkWindow already adds a "titlebar" CSS class, so rolling our own is not
necessary. We can replace ".top-bar" with "EosWindow .titlebar".
[endlessm/eos-sdk#3782]
|
|
|
|
|
|
|
|
|
| |
GTK already provides a "maximized" CSS class on GtkWindow, so now that we
have the :not selector, we can use that instead of adding our own
"unmaximized" class. This allows us to cut out more code, including a
signal emission on every window state change.
[endlessm/eos-sdk#3782]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A lot of the functionality that we wrote in EosTopBar has been
implemented in GtkHeaderBar in the meantime. Using upstream code is
better because we don't have to maintain it, and can cut ~200 lines out
of our library.
Two discrepancies between the old and new EosTopBar is that the header
bar has now gained a right-click menu on which you can close the app (I
am leaving that in for now, as it's consistent with the other apps) and
there is a separator between the window minimize button and the credits
button. (The separator itself is invisible, but it adds another few
pixels of inter-widget space that weren't there before.)
[endlessm/eos-sdk#3782]
|
|
|
|
|
|
|
| |
There's now a different problem blocking the removal of the context menu
theming CSS.
[endlessm/eos-sdk#3634]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We previously had a custom spinner because we reset the Adwaita spinner
but couldn't copy its code into our theme because it was GPL.
This changes our reset.css so that it doesn't apply to spinners.
Unfortunately, changing the reset selector from "EosWindow *" to
"EosWindow :not(.spinner)" increases its specificity, so it would
override things like ".menu" in endless-widgets.css. To avoid that, we
have to use ":not(GtkSpinner)" since element type selectors are less
specific than class selectors. This has the drawback that other widgets
with the .spinner class will still get reset, but we don't currently use
any.
[endlessm/eos-sdk#3634]
|
|
|
|
|
|
|
| |
Don't let the .window-frame style we specify for SDK's client-decorated
windows also affect tooltips.
[endlessm/eos-sdk#3224]
|
|
|
|
|
|
|
|
| |
This removes the code that was copied from the LGPL eos-theme repository
and replaces it with a different simple spinner animation, adapted from
the MIT-licensed http://projects.lukehaas.me/css-loaders/
[endlessm/eos-sdk#2948]
|
|
|
|
|
|
|
| |
The topbar navigation buttons are flipped on right-to-left (rtl) locales.
On this version of GTK, we manually select the corresponding -rtl icon names.
Notice that styling is also flipped.
|
|\
| |
| | |
Added styling for spinner.
|
| | |
|
|/
|
|
|
|
|
| |
Was only selecting .context_menu but apparently that doesn't select
the context menus on webkit webview. Just selecting .menu instead
which gets everything
[endlessm/eos-sdk#617]
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current styling just left text as white, background as black
with no styling for hover and insensitive states, which looked
terrible. We've decided to just use the system theme instead
Unfortunately because there's no support for the :not selector
in css, there's no easy way to exempt our context menus from the
theming reset. So just duplicated the system theme for our context
menus for now
[endlessm/eos-sdk#617]
|
|
|
|
|
|
| |
Some hacky css selecting is involved, but gets us a much nicer
completion drop down
[endlessm/eos-sdk#1578]
|
|
|
|
|
|
| |
There's still no rounded corners, as theres no way to select
first-child and last-child, but hopefully all livable for now
[endlessm/eos-sdk#688]
|
|
|
|
|
|
| |
Commit history got a bit messed up, remove duplicate back forward
theme with improper padding
[endlessm/eos-sdk#688]
|
|
|
|
|
|
|
|
|
|
| |
TopBarNavButton can be used for browser-style back and forward
buttons in the title bar of a window.
TopBarNavButton currently uses CSS and rounded corners. 5-sided
button will be added later when assets are available.
[endlessm/eos-sdk#1294]
|
|
|
|
|
|
|
|
| |
Changed selector from *:insensitive to GtkLabel:insensitive to
only apply to text. Moved the style to the top of the stylesheet
so it can be overridden if necessary.
[endlessm/eos-sdk#1294]
|
|
|
|
|
|
|
|
|
| |
We reuse this same search box functionality in a
number of our apps so makes sense to stick it in the SDK.
Creates a search box that has autocompletion and provides
signals for when a search is triggered and when an
autocompletion entry is selected. Has its own default
styling which can be overridden.
|
|
|
|
|
| |
Distinguish between sensitive and insensitive text in CSS by
changing insensitive text to translucent white.
|
|
|
|
| |
[endlessm/eos-sdk#693]
|
|
|
|
|
| |
Wasn't getting used in any apps so we are taking it out
[endlessm/eos-sdk#985]
|
|
|
|
|
|
|
|
|
|
| |
Designs specified everything in 32nds of the total window allocation,
which there is no easy way to do at least with standard padding and
margins.
Used EM instead, which means the padding will scale with font size as
the window gets bigger and smaller
[endlessm/eos-sdk#526]
|
|
|
|
|
|
|
|
|
|
|
| |
The code to build the category page was getting a little cluttered,
to the point that it was hard to make changes. Restructured the gtk
code to make it a bit cleaner, and added new drop shadows as per
design
-Rory & Matt
[endlessm/eos-sdk#533]
|
|\
| |
| | |
Rounded corners on unmaximized top bar
|
| |
| |
| |
| |
| |
| | |
The window manager already does this for most programs. But we have
to do it ourselves in the SDK as we have self decorated windows
[endlessm/eos-sdk#551]
|
|/
|
|
|
|
|
|
|
| |
For some reason, on the NUC, we can't set opacity for hover state
in CSS. So this commit instead makes it so that we set the opacity
in Gtk. Note that this problem was only reproducible on a NUC so
this commit may eventually need to be reverted.
[endlessm/eos-sdk#540]
|
|
|
|
| |
[endlessm/eos-sdk#517]
|
|
|
|
|
|
|
|
| |
Design specified this should be 1/32 of the screen width away from
the left hand side. We don't have a great way to set percentage
margins, so just did this at 1080x1920 for now. So 1920/32=60 pixels
from the left
[endlessm/eos-sdk#519]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The category "go" arrow should never overlap the label text, so this
moves it out of its overlay and puts it in the same layer as the label.
The label now uses baseline alignment, and we can get rid of the hacky
extra padding in the CSS.
Currently, the innards of the category button look like this:
+---------------------------------------+
| Grid, hexpand: TRUE, halign: FILL |
| +------------------+ +--------------+ |
| | Label | | Arrow button | |
| | halign: START | | halign: END | |
| | valign: BASELINE | | valign: END | |
| +------------------+ +--------------+ |
+---------------------------------------+
The arrow button does not have valign BASELINE, because that would
align it so it was even with the first line of the label if the label
was wrapped over two lines:
(GOOD) (BAD)
HISTORY HISTORY >
& POLITICS > & POLITICS
Also, I have removed the "width-chars" property of the label, because,
as in the programming app in a commit which I cannot now find, when the
label wraps, the width-chars property makes it request a very odd size.
[endlessm/eos-sdk#505]
|
|
|
|
|
|
| |
This allows the arrow fade-in and fade-out to be specified in the CSS.
[endlessm/eos-sdk#505]
|
|
|
|
|
|
| |
Replace the old PNG asset with an SVG asset.
[endlessm/eos-sdk#505]
|