| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
|
|
| |
The shadow was being cut off because it extended beyond the image;
take some padding out of the button's general padding and add it
specifically to the image widget. Make sure the hit area is still
correct.
[endlessm/eos-sdk#504]
|
|
|
|
|
|
| |
For better code organization and cleaner CSS; add style classes.
[endlessm/eos-sdk#504]
|
|
|
|
|
|
|
|
|
| |
This requires some restructuring because the SVG image and the label
need to have different CSS. I ported the CompositeButton class from the
photo app, in order to have the button transfer its prelight/active
state flags to its children.
[endlessm/eos-sdk#504]
|
|
|
|
|
|
| |
Increase font sizes of category description and article list titles.
[endlessm/eos-sdk#506]
|
|\
| |
| | |
Change the shadow separator
|
| |
| |
| |
| |
| |
| |
| |
| | |
Also, remove the now unused asset, and as long as we are renaming the
constant, call it a RESOURCE_PATH instead of a URI, because that's what
it is.
[endlessm/eos-sdk#502]
|
|/
|
|
|
|
| |
Color #464646, opacity 80%
[endlessm/eos-sdk#498]
|
|
|
|
| |
[endlessm/eos-sdk#494]
|
|
|
|
|
| |
It did not extend vertically or all the way to the left of the screen
[endlessm/eos-sdk#458]
|
|
|
|
|
|
| |
Updated the Wikipedia CSS for domain-specific Wikipedia apps to automatically resize fonts using em.
[endlessm/eos-sdk#468]
|
|
|
|
|
|
| |
Our dialog boxes are still adwaita themed, so we need to not change
their color defines
[endlessm/eos-sdk#451]
|
|
|
|
|
|
| |
Changes the color of the gaps between categories to black, to
match the specs
[endlessm/eos-sdk#446]
|
|
|
|
|
|
|
|
|
|
|
|
| |
This sets the background color to a dark gray and imports the CSS
styling for the window border and shadow, because switching to
client-side decorations made the window background completely
transparent.
The resize grip is invisible because that's what the default in
eos-theme was, but the window can still be resized.
[endlessm/eos-sdk#28]
|
|\
| |
| | |
Only reset Adwaita for widgets inside an EosWindow
|
| |
| |
| |
| |
| |
| | |
This way popups will still have the Adwaita theme, instead of
looking mainly black
[endlessm/eos-sdk#425]
|
|/
|
|
|
|
| |
Subclass button, so we don't need our own event boxes and event
handling
[endlessm/eos-sdk#407]
|
|
|
|
|
| |
blackish background
per cosimo
|
|
|
|
|
|
|
|
|
|
| |
- Fonts are changed to be 150px and 48px for ODROID's 1920x1080
resolution
- Word-wrapping widths are set to approximately reproduce the deck
[endlessm/eos-sdk#394]
[endlessm/eos-sdk#394]
|
|
|
|
|
|
| |
Nothing changed that was actually used in the apps right now, but
the webhelper docs and the action button css had old fonts
[endlessm/eos-sdk#360]
|
|\
| |
| | |
wikipedia: Use Lato fonts
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fonts are changed according to the conversion table. It turns out that
what we thought was the "Benton Sans correction" does not only apply to
Benton Sans - I think it is due to GTK's lack of baseline alignment,
something that has been rectified in GTK 3.10.
[endlessm/eos-sdk#361]
|
|/
|
|
|
|
| |
Not 'font-style'
[endlessm/eos-sdk#362]
|
|
|
|
|
|
|
| |
So the font on all the topbar buttons should have a common look
and feel. Still not foolproof, star selecting widgets inside an
app's css and changing the font family will override this
[endlessm/eos-sdk#358]
|
|
|
|
|
|
|
|
|
|
| |
Previously, the back button on the top window bar
was not styled correctly according to designs.
This commit changes the BackButton widget to now
suclass Endless Asset Button and have the right
styling.
[endlessm/eos-sdk#301]
|
|
|
|
|
|
|
|
|
| |
Previously this asset button did not have a name
and we were just styling it by styling the Gjs AssetButton.
However, this will not work when we want to add other asset
buttons with different styling, so giving it its own name
[endlessm/eos-sdk#301]
|
|
|
|
|
|
|
|
|
| |
Designers wanted a back button the categories page
to make it easier for users to navigate back to
the home page. This button is an asset button
from our SDK.
[endlessm/eos-sdk#270]
|
|
|
|
|
|
|
|
|
|
|
| |
We were encountering a bizarre bug where the textview would enlarge
when you click the button on the category page. It seems to be
due to the set_size_request call on the textview or containing
widget. To correct, I took out that set_size_request call and
instead subclassed the textview to override the get_preferred_width
function.
The button image is a placeholder till we get the right asset from
design.
|
|
|
|
|
|
|
|
| |
If there are articles for an app's main category, then it becomes clickable and acts like any other category.
If there are no articles for a category, it isn't cilckable and has no hover animations.
We no longer use the Title Label View since the main category is now a category button like any other.
[endlessm/eos-sdk#259]
|
|
|
|
|
|
|
| |
And set its styles (no specs available)! Add right margin to the text
view so that the scrollbar is not right up against the text.
[endlessm/eos-sdk#249]
|
|\
| |
| | |
Add fade effect on category buttons
|
| |
| |
| |
| | |
[endlessm/eos-sdk#241]
|
|\ \
| | |
| | | |
Added padding to titles so that accents appear #243
|
| |/
| |
| |
| |
| |
| | |
Very hacky fix to make accents appear on front page. We have to do this because
Benton Sans font doesn't correctly render accents on uppercase characters without it
[endlessm/eos-sdk#243]
|
|/
|
|
| |
[endlessm/eos-sdk#245]
|
|\
| |
| |
| | |
Backdrop states of top bar buttons #224
Reviewed by @matthewarkin, thanks!
|
| |
| |
| |
| |
| |
| |
| |
| | |
The shadow should be the same as in the non-backdrop state. The colors
in the backdrop+hover and backdrop+active states should be the same as
in the non-backdrop states.
[endlessm/eos-sdk#224]
|
| |
| |
| |
| |
| |
| |
| | |
The proper Benton Sans was not showing up. The title label didn't have the
proper CSS class.
[endlessm/eos-sdk#228]
|
|/ |
|
|
|
|
| |
[endlessm/eos-sdk#220]
|
|\
| |
| | |
Merge Wikipedia into dev
|