Skip to content

Commit

Permalink
Update elementary styles
Browse files Browse the repository at this point in the history
  • Loading branch information
1j01 committed Nov 25, 2015
1 parent f080d23 commit 79fd2e0
Show file tree
Hide file tree
Showing 6 changed files with 196 additions and 9 deletions.
179 changes: 179 additions & 0 deletions app/img/gear.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion app/src/components/Launcher.coffee
Expand Up @@ -49,7 +49,8 @@ class @Launcher extends React.Component
title: title
E "i", class: [icon, ("mega-octicon" if icon?.match /octicon-/)]
if has_menu
E "ul.launcher-context-menu.menu.window-frame.csd",
E "ul.launcher-context-menu.context-menu.menu.window-frame.csd",
style: display: "block"
class: "open" if @state.menu_open
for item, i in menu then do (item, i)=>
hovered = @state.hovered_menu_item_i is i
Expand Down
14 changes: 11 additions & 3 deletions app/src/components/ProjectNexus.coffee
Expand Up @@ -14,9 +14,17 @@ class @ProjectNexus extends React.Component
E Window,
E Header,
E "h1.title", "Project Nexus"
E TitleButton,
action: Settings.toggle
E "i.mega-octicon.octicon-gear"
E "button.button.titlebutton",
style:
margin: 0
padding: 0
alignSelf: "center"
onClick: Settings.toggle
E "img",
src: "img/gear.svg"
style:
verticalAlign: "middle"
pointerEvents: "none"
if projects_read_error or projects?.length is 0
dir_not_found = projects_read_error?.code is "ENOENT"
E "GtkInfoBar",
Expand Down
3 changes: 1 addition & 2 deletions app/styles/app.css
Expand Up @@ -206,8 +206,7 @@ pre {
}

.launcher-context-menu {
border-radius: 0 !important;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
font-family: inherit !important;
}
li.menuitem.menuitem.menuitem {
background-color: transparent; /* override .menuitem:active style */
Expand Down
6 changes: 3 additions & 3 deletions package.json
@@ -1,7 +1,7 @@
{
"name": "project-nexus",
"description": "A hub for all your programming projects",
"version": "1.7.13",
"version": "1.7.14",
"repository": {
"type": "git",
"url": "http://github.com/1j01/project-nexus.git"
Expand Down Expand Up @@ -51,14 +51,14 @@
"icon": "app/img/cube.png"
},
"devDependencies": {
"nw-dev": "^1.2.3"
"nw-dev": "^1.3.0"
},
"dependencies": {
"async": "^1.4.0",
"chokidar": "^1.0.5",
"chrome-location": "^1.2.1",
"coffee-script": "^1.9.3",
"elementary.css": "^1.2.0",
"elementary.css": "^2.0.0",
"get-port": "^1.0.0",
"is-running": "^1.0.5",
"live-server": "^0.8.1",
Expand Down
Binary file modified project-nexus.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 79fd2e0

Please sign in to comment.