Implement new designs for pages for creating, joining and sharing groups
* Implement new look for the Create, Join and Share groups pages. The forms are functional without JS but contain a small amount of JS logic for enhancements such as selecting the content of the share pane. * Merge the 'Login to join' and 'Join' pages into a single form. The only difference between the two is that when the user is not signed in, the button label changes from 'Join <Group Name>' to 'Sign in to join <Group Name>' which redirects to the login page. * Create a new site.scss file which is intended to contain only styling for the website and a site-bundle.js bundle which contains JS code used only for the site. * Extract out the button styles used by <dropdown-menu-btn> into a separate .scss file for re-use * Add additional colors used by the new group forms to variables.scss. To avoid the problems with naming that arise when trying to insert additional colors into a list with names like 'light', 'lighter' etc. I'm starting to use http://chir.ag/projects/name-that-color for memorable names. * Start to use a '$color-' prefix for colors, in preparation for extracting colors into their own file. Card 93
Showing
h/static/scripts/site.js
0 → 100644
h/static/styles/site.scss
0 → 100644
... | ... | @@ -35,6 +35,7 @@ |
"extend": "^2.0.0", | ||
"frame-rpc": "^1.3.1", | ||
"hammerjs": "^2.0.4", | ||
"isomorphic-fetch": "^2.1.1", | ||
"jquery": "1.11.1", | ||
"js-polyfills": "^0.1.11", | ||
"moment": "^2.10.6", | ||
... | ... | @@ -64,7 +65,8 @@ |
"proxyquire": "^1.6.0", | ||
"proxyquire-universal": "^1.0.8", | ||
"proxyquireify": "^3.0.0", | ||
"sinon": "1.16.1" | ||
"sinon": "1.16.1", | ||
"swig": "^1.4.2" | ||
}, | ||
"engines": { | ||
"node": "0.10.x" | ||
... | ... |
Please register or sign in to comment