Code Monkey home page Code Monkey logo

dashboard-css's Introduction

Dashboard CSS

Build Status

A small CSS framework for dashboard and control applications. Great for web-based IoT projects.

Produces a full-width page of "panels" arranged on a responsive grid. Each panel contains output information and/or control form elements.

Here's a demo.

Why

I often run a web server on Raspberry PIs, usually to view data or expose some controls to my smartphone or laptop via the browser. I couldn't find an existing CSS framework that quite suited my needs for the web apps I want to serve from my PIs, so I built this one.

Design goals

  • Just 1 minified CSS file
  • No externally-loaded dependencies
  • Semantic HTML just works where appropriate, no add-on classes needed
  • Responsive, flexbox grid
  • rem units
  • Limit browser support to avoid hacks and simplify maintainability

Installation and usage

Add the /dist/dashboard.min.css file to your html page.

<link rel="stylesheet" href="css/dashboard.min.css" type="text/css">

Usage

TODO - layout, grid, panels

Development

You'll need Ruby and node.js installed. Then:

gem install scss_lint
npm install

All working files are in the /src directory.

  • Use gulp serve to watch and build source changes while observing a demo page that includes the styles on port 3000.
  • Use gulp build to re-create distribution files in dist.
  • The build task includes a Sass linter. Make sure all errors and warnings are cleared before issuing any pull requests.
  • The build task also includes CSS Comb, a CSS sorting and syntax tool that will directly modify the Sass files in /src.

Contributing

  • Fork and name your branch something meaningful
  • Follow the SCSS style guide (http://sass-guidelin.es/)
  • Make sure the gulp build task completes without any linting issues
  • Issue a pull request

TODO

  • Grid
  • Panels
  • Demo image
  • Documentation
  • GH static page, domain

Thanks

License

Copyright (c) Henry Poydar, released under the MIT license

dashboard-css's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.