Git Product home page Git Product logo

mdl-components-ext's Introduction

Introduction

The Material Design Lite (MDL) from Google is a really great thing if you want to create semantic websites with nice looking elements that also fit for mobile devices.

But sooner or later you may face the problem that the components provided by the MDL are not covers all your needs. For example you will need a component that works similar to your phones contact form when you deal with multiple similar data, like phone numbers: add and remove, change type, set value. Or you need a file uploader that has the style of the MDL. And so on.

This library provides different components as extensions to the official MDL library. Please read the The Material Design Lite license.

Requirements

Installation

  • Download and unzip the source files or clone the repository
  • Download and unzip the Material Design Lite into the vendor folder or use the composer by running the php composer.phar install command to get the required MDL packages
  • Use the YUI Compressor in the library folder

How to use

  • Run the following commands to compile the scss files and compress css and js files:
sass src/kvl/_kvl.scss:src/kvl/snippets/static/material.kvl.css

java -jar library/yuicompressor.jar src/kvl/snippets/static/material.kvl.css -o src/kvl/snippets/static/material.kvl.min.css
java -jar library/yuicompressor.jar src/kvl/kvl.js -o src/kvl/snippets/static/material.kvl.min.js

sass src/file/_file.scss:src/file/snippets/static/material.file.css

java -jar library/yuicompressor.jar src/file/snippets/static/material.file.css -o src/file/snippets/static/material.file.min.css
java -jar library/yuicompressor.jar src/file/file.js -o src/file/snippets/static/material.file.min.js
  • Include the generated files into your HTML and use the syntax described in each components' README.md file.

Change Log

mdl-components-ext's People

Contributors

alekskorovin avatar

Watchers

James Cloos 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.