GithubHelp home page GithubHelp logo

ed.gridpak's Introduction

Gridpak

Version: 0.2.7b

The easy way to produce customisable Responsive layouts

The project is live at Gridpak.com

In your Gridpak you get

  • A CSS file with your media queries, and grid points
  • A LESS (.less) file that compiles down to CSS
  • A SCSS (.scss) file that compiles down to CSS
  • A JavaScript (.js) file that will overlay your grids at the touch of a button
  • Some PNGs for your baseline backgrounds as well as for use in your designs

Usage instructions

Running Gridpak locally

Gridpak is a Django application with a frontend controlled mostly by Backbone.js.

We prefer to run our Django projects using virtualenv, and while we won't go into detail on installing it, (you're all clever people: surely you can find a tutorial that suits you) here's the basic rundown:

  1. Create the directory to house Gridpak mkdir gridpak && cd gridpak
  2. Clone this repo into your directory, careful to use the name gridpak, otherwise Django will throw a hissy fit git clone [email protected]:erskinedesign/ed.gridpak.git gridpak
  3. Start a new virtual environment virtualenv --distribute env
  4. Activate that virtual environment source env/bin/activate you should then see that you're in the env environent in your bash
  5. Install all the requisit packages pip install -r gridpak/packages
  6. Create a local_settings.py file (you can copy the local_settings.sample.txt and it should work fine)
  7. Compile the LESS file so you don't get an error about not being able to find the layout stylesheets with less ./static/css/screen.less > ./static/css/screen.css
  8. You should now be able to run the app cd gridpak && python manage.py runserver
  9. Visit the url in your browser (http://localhost:8000 by default,) and you're away

Feedback

We'd love feedback on the project, which you can send by email to gridpak [at] erskinedesign.com, or from the issues on this GitHub project.

ed.gridpak's People

Contributors

qbyt avatar linssen avatar chrisrowe avatar ggamel avatar mrqwest avatar immunda avatar

Stargazers

Rogelio Flores avatar  avatar TylerZhou avatar  avatar Anik Samiur Rahman avatar Tom avatar jump-and-jump avatar  avatar  avatar zhengyanchuang avatar  avatar Gao liqing avatar 刘培青 avatar Amnash Anwar avatar Matt Ross avatar Fabiana Oliveira avatar Fantasma_ avatar Michael Horstmann avatar Oswaldo Roberto Marques avatar Alberto avatar fkei avatar Tristan Bailey avatar Dániel Kis-Nagy avatar  avatar Danny Hotea avatar Stanley Shyiko avatar  avatar Nev Stokes avatar Pishen Tsai avatar Andrew Volozhanin avatar Martin avatar Matt West avatar  avatar 0x627832 avatar NM avatar André Abt avatar Gilbert Seilheimer avatar  avatar  avatar Dave Kinsella avatar wangshijun avatar Alex Rosario avatar Frédéric Perrin avatar Anna Völkl avatar Bernardo Zuniga avatar Rachel Ann Smit avatar Stephan Lück avatar Martijn Bokma avatar inoperable avatar Larry Botha avatar Simon Pioli avatar Jaime A. Escobar C. avatar Marianne Røsvik avatar Jamie Marcus avatar Chuck Dowe avatar Kenley Earl Tan avatar  avatar Ricardo Magalhães avatar etowner avatar ciptard avatar Cody Buell avatar David Higginbotham avatar Fulgor avatar Joshua Hansen avatar jasonsee avatar Thomas Klemm avatar François R. Caron avatar Dean Neitman avatar Nicolas avatar Cristiano Baptista avatar Anton Vasyunin avatar Sebastjan Mislej avatar Dmitriy Plekhanov avatar  avatar Piotr Łukańko avatar  avatar Ivan Zazueta avatar Nathan Gibbs avatar Adrian Rosian avatar knx avatar John Ossoway avatar Víctor García avatar Vitor Britto avatar  avatar Zlatko Mašek avatar  avatar nasch avatar João Sardinha avatar ruffo avatar Matt Waite avatar Andrei avatar Jonathan Hernandez avatar LnLsn avatar Vincent Simard avatar  avatar Roland Kainbacher avatar Braunson Yager avatar Ernesto Simionato avatar Maximilian Stauss avatar Chris Witko avatar

Watchers

Matt Ross avatar  avatar Tom Davies avatar  avatar Florian Holzner avatar Sam Quayle avatar Andrew Hubbell avatar James Cloos avatar Phil Swan avatar Yamini avatar  avatar Nishith Desai avatar

ed.gridpak's Issues

don't use min/max media queries all the time

When you specify both min/max, I have to specify classes for every scenario.
Note - that will require some modification for the name. (like xs, sm etc..)

Bootstrap for example will specify max for the first scenario ( 0 - max ), from then on only 'min'

so that if I like the setup I have for medium screens, I don't have to specify another for large.

I can currently achieve this by modifying the css you generate, but it would be awesome if I can define it all on the generator and have it prepared.

# of columns validation error message displays when it shouldn't

Hello. I noticed that the Must be between 1 and 99 cols message that appears when the columns are less than 1 or greater than 99 doesn't disappear until the number of columns is returned to 2 or 98 via the provided arrows, instead of 1 or 99. It's a small bug but a bug nonetheless.

Permalinks to pre-filled generator in generated grid resources

It would be great if the generated resources (js, css, less, and scss) included permalinks to the Gridpak generator with all of the same settings that were used to generate that set of resources pre-filled. It would allow users to easily get the latest code when there are updates.

For inspiration, other generators such as Modernizr and ThemeRoller offer similar functionality.

compatibility IE8

Hi,

I just see that Gridpak isn't compatible with IE8 and I find a workaround.
In the .col mixin, you use "rgba(0,0,0,0)" and IE8 can't understand it, if you switch to "transparent" it will works like a charm :)

Regards,
Florian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.