summaryrefslogtreecommitdiff
path: root/data
Commit message (Collapse)AuthorAge
* Remove "unmaximized" CSS classPhilip Chimento2015-12-07
| | | | | | | | | 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]
* EosTopBar inherits from GtkHeaderBarPhilip Chimento2015-12-07
| | | | | | | | | | | | | | | | 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]
* Update FIXME comment about Adwaita menusPhilip Chimento2015-09-21
| | | | | | | There's now a different problem blocking the removal of the context menu theming CSS. [endlessm/eos-sdk#3634]
* Remove custom spinner from CSS themePhilip Chimento2015-09-21
| | | | | | | | | | | | | | | | 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]
* css: restore border-radius and box-shadow for tooltipsCosimo Cecchi2015-06-19
| | | | | | | Don't let the .window-frame style we specify for SDK's client-decorated windows also affect tooltips. [endlessm/eos-sdk#3224]
* Remove GPL codePhilip Chimento2015-03-27
| | | | | | | | 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]
* Topbar nav buttons are flipped on RTL localesFernando Farfan2014-10-20
| | | | | | | 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.
* Merge pull request #1871 from endlessm/sdk/1862Fernando Farfan2014-07-31
|\ | | | | Added styling for spinner.
| * Added styling for spinner.Roberto2014-07-30
| |
* | Strengthen selector for context menu themesMatt Watson2014-07-30
|/ | | | | | | 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]
* Copy system theme for context menu stylingMatt Watson2014-07-28
| | | | | | | | | | | | 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]
* New style for the drop down completionMatt Watson2014-07-02
| | | | | | Some hacky css selecting is involved, but gets us a much nicer completion drop down [endlessm/eos-sdk#1578]
* Fix up themeing for topbar search box and dropdown menusMatt Watson2014-06-25
| | | | | | 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]
* Delete duplicated back forward themeMatt Watson2014-06-25
| | | | | | Commit history got a bit messed up, remove duplicate back forward theme with improper padding [endlessm/eos-sdk#688]
* Adds TopBarNavButton classKevin Beaulieu2014-06-24
| | | | | | | | | | 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]
* Lowered precendence of insensitive text in CSSKevin Beaulieu2014-06-24
| | | | | | | | 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]
* Add search box to SDK.Rory MacQueen2014-06-18
| | | | | | | | | 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.
* Change insensitive text to translucent white in CSSKevin Beaulieu2014-06-02
| | | | | Distinguish between sensitive and insensitive text in CSS by changing insensitive text to translucent white.
* Remove Endless Wikipedia library from SDKRory MacQueen2014-05-27
| | | | [endlessm/eos-sdk#693]
* Remove action buttonMatt Watson2014-05-13
| | | | | Wasn't getting used in any apps so we are taking it out [endlessm/eos-sdk#985]
* Padded category title and description to approximate designsMatt Watson2014-02-07
| | | | | | | | | | 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]
* Reorganize category page, add drop shadowsRory MacQueen2014-02-07
| | | | | | | | | | | 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]
* Merge pull request #552 from endlessm/issues/551Will Greenberg2014-02-05
|\ | | | | Rounded corners on unmaximized top bar
| * Rounded corners on unmaximized top barMatt Watson2014-02-05
| | | | | | | | | | | | 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]
* | Fix for making arrow hover states correct in NUCRory MacQueen2014-02-04
|/ | | | | | | | | 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]
* Increase font size of category button to match specRory MacQueen2014-01-30
| | | | [endlessm/eos-sdk#517]
* Fix position of "other categories" buttonMatt Watson2014-01-29
| | | | | | | | 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]
* Move and realign category buttonPhilip Chimento2014-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
* Change the category button to a CompositeButtonPhilip Chimento2014-01-22
| | | | | | This allows the arrow fade-in and fade-out to be specified in the CSS. [endlessm/eos-sdk#505]
* Replace category arrow assetPhilip Chimento2014-01-22
| | | | | | Replace the old PNG asset with an SVG asset. [endlessm/eos-sdk#505]
* Fix padding for shadow and hit areaPhilip Chimento2014-01-22
| | | | | | | | | 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]
* Move category back button to its own classPhilip Chimento2014-01-22
| | | | | | For better code organization and cleaner CSS; add style classes. [endlessm/eos-sdk#504]
* Replace back button PNG asset with SVGPhilip Chimento2014-01-22
| | | | | | | | | 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 sizesPhilip Chimento2014-01-21
| | | | | | Increase font sizes of category description and article list titles. [endlessm/eos-sdk#506]
* Merge pull request #503 from endlessm/issues/502Rory MacQueen2014-01-17
|\ | | | | Change the shadow separator
| * Change the shadow separatorPhilip Chimento2014-01-17
| | | | | | | | | | | | | | | | 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]
* | Change background of category descriptionPhilip Chimento2014-01-17
|/ | | | | | Color #464646, opacity 80% [endlessm/eos-sdk#498]
* Category button fade in/out 150 msPhilip Chimento2014-01-17
| | | | [endlessm/eos-sdk#494]
* Fixed hit box of the category back button for wiki appsMatt Watson2014-01-16
| | | | | It did not extend vertically or all the way to the left of the screen [endlessm/eos-sdk#458]
* Update Wikipedia CSS to resize font sizePatrick Ward2014-01-16
| | | | | | Updated the Wikipedia CSS for domain-specific Wikipedia apps to automatically resize fonts using em. [endlessm/eos-sdk#468]
* Changed our color defines in css to not conflict with AdwaitaMatt Watson2013-12-18
| | | | | | Our dialog boxes are still adwaita themed, so we need to not change their color defines [endlessm/eos-sdk#451]
* Set wiki background window to be blackMatt Watson2013-12-17
| | | | | | Changes the color of the gaps between categories to black, to match the specs [endlessm/eos-sdk#446]
* Set background color and import window border CSSPhilip Chimento2013-12-17
| | | | | | | | | | | | 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]
* Merge pull request #426 from endlessm/issues/425Rory MacQueen2013-12-05
|\ | | | | Only reset Adwaita for widgets inside an EosWindow
| * Only reset Adwaita for widgets inside an EosWindowMatt Watson2013-12-04
| | | | | | | | | | | | This way popups will still have the Adwaita theme, instead of looking mainly black [endlessm/eos-sdk#425]
* | Simplified category buttonMatt Watson2013-12-04
|/ | | | | | Subclass button, so we don't need our own event boxes and event handling [endlessm/eos-sdk#407]
* Wikipedia Tooltipmatthewarkin2013-11-22
| | | | | blackish background per cosimo
* Add word wrap widths to the front page categoriesPhilip Chimento2013-11-07
| | | | | | | | | | - 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]
* Removed the last vestiges of Source and Benton from the SDKMatt Watson2013-10-22
| | | | | | 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]
* Merge pull request #365 from endlessm/issues/361mattdangerw2013-10-22
|\ | | | | wikipedia: Use Lato fonts