Commit Graph

140 Commits (0b6dd0d3fc72bb67c6816a091e0c66cec40ecb6e)

Author SHA1 Message Date
Alexander Surma 2e32b8e22b Revert "Show WIP banner in production"
This reverts commit fdb794aca5.

Conflicts:
	docs/_assets/main.css
	docs/_assets/main.js
2015-06-30 13:56:38 +01:00
Addy Osmani c4079b6c2a Ensure content gets centered
http://i.imgur.com/loY0Ul9.png (Closes #501)
2015-06-30 11:44:22 +01:00
Nicolas Garnier 058035df8b Streamline download button into the Getting started experience 2015-06-29 17:36:24 +02:00
Addy Osmani b80760fca4 Use minified version of material.js 2015-06-29 15:20:30 +01:00
Addy Osmani e87705417a Resolve further conflicts (Closes #533) 2015-06-29 15:19:15 +01:00
Nicolas Garnier 00373b3b64 Fix all links by adding index.html which we need because of GCS hosting.
Also fixed Components navigation which was removing the index.html
2015-06-29 15:40:12 +02:00
Nicolas Garnier 16e745460d Make sure we show developers to include the MD Font after the MDL libs 2015-06-29 14:51:39 +02:00
Alexander Surma 5b301b2b6e Initialze customizer with default colors (fixes #515) (Closes #518) 2015-06-29 10:26:58 +01:00
Nicolas Garnier 1fb6187924 Added some text above the CDN CSS.
Added #ref link to this section from the text.
2015-06-27 18:22:15 +02:00
Nicolas Garnier e015021c77 Remove copy-to-codepen on customizer CDN box. 2015-06-27 17:56:56 +02:00
Nicolas Garnier ea61d309f7 Inline JS cleanup and comments. 2015-06-27 10:59:07 +02:00
Alexander Surma 40e99ba41a Show default styling url when nothing is selected (fixes #486) (Closes #500) 2015-06-26 16:44:55 +01:00
Sérgio Gomes 1e6860b7f9 Adding ripple to customizer preview button 2015-06-26 11:18:18 +01:00
Alexander Surma 4a8ededd30 Inline customizer (fixes #476) (Closes #479) 2015-06-26 11:00:24 +01:00
Nicolas Garnier 0fea59555f Make sure codepen isn't shown in some blocks of the getting started guide. 2015-06-25 18:31:09 +01:00
Nicolas Garnier 35b232fec0 Updated button readme.md so that demos look better. Added an option to disable the codeine button (`.codepen-button-disabled` on `<pre>`) 2015-06-25 18:31:09 +01:00
Addy Osmani b9c24b0cd9 Revert of 165a9811d8 2015-06-25 18:16:15 +01:00
Addy Osmani 90f527ff5d Merge branch 'master' of https://github.com/google/material-design-lite
* 'master' of https://github.com/google/material-design-lite:
  Adding the concept of a demo file to snippets.
  Fixing menu z-index
  Update android.com screenshots Fixes #468
  Turn card actions into buttons on android template (fixes #463)
  Handle raised buttons appropriately
  Revamping card demos based on new mocks.
  Further card styling fixes.
  Add vertical align to snippets demo cells.
  Fix primary/accent colored flat buttons (fixes #466)
  Fix dashboard card (fixes #464)
  Lint gulpfile.js & fix linting errors
2015-06-25 17:42:00 +01:00
Sérgio Gomes 93b91710b4 Adding the concept of a demo file to snippets.
This allows us to have demo files with more code and styling than
the snippet, to make it look good without showing extraneous
details to the user.
2015-06-25 16:57:01 +01:00
Addy Osmani 165a9811d8 Experiments 2015-06-25 14:16:41 +01:00
Nicolas Garnier b231be6e00 Add Button Snippets to the Getting Started Guide. Depends on #411. (Closes #436) 2015-06-25 11:14:55 +01:00
Alexander Surma 0093ab2377 Fix scrollbar issue in mobile nav 2015-06-24 18:21:16 +01:00
Nicolas Garnier bcf169e42c Merge pull request #457 from google/getting-started-update
Templating the URL prefix of the Hosted libs...
2015-06-24 18:12:59 +01:00
Nicolas Garnier 6577c697a7 Templating the URL prefix of the Hosted libs
Add MD font to getting tarted guide snippets
2015-06-24 18:07:42 +01:00
Nicolas Garnier 4fdcd7848e Fix issue where same copy-pasted was used every time. 2015-06-24 16:15:06 +01:00
Nicolas Garnier a6a7738bae Fix issue where same code snippets was shown every time. 2015-06-24 16:09:15 +01:00
Nicolas Garnier 705448b583 Fixing escaping of copy paste (Closes #411) 2015-06-24 15:55:07 +01:00
Nicolas Garnier 68ff5322a1 Using `.copy-to-clipboard-button` class to select button element for the highlight code feature. 2015-06-24 15:55:07 +01:00
Nicolas Garnier c67ec357b9 Now embed the code in the <pre> block and in the flash element (for copy paste) directly instead of relying on JS to copy it. 2015-06-24 15:55:07 +01:00
Nicolas Garnier 310c6c89a9 Generate demo widget based on snippets. 2015-06-24 15:55:07 +01:00
Surma 45345361e8 Merge pull request #448 from google/microsite-review
Microsite review
2015-06-24 15:20:45 +01:00
Alexander Surma ea1cbf41bc Move Github and Download item to main nav 2015-06-24 11:13:42 +01:00
Nicolas Garnier 387d98ee2a Adding a TOC to Component pages that have multiple elements. (Closes #434) 2015-06-24 11:00:41 +01:00
Nicolas Garnier 8ca415f532 Small fix to animation demo since JS is already included in demo file. 2015-06-23 17:13:16 +01:00
Sérgio Gomes 821cd4bfcf Ensure the autoprefixer runs on demos and components pages.
Fixes #432
2015-06-23 16:30:52 +01:00
Addy Osmani 6f2c21dafb Fixes #430 - remove extraneous = sign 2015-06-23 11:35:14 +01:00
Jonathan Garbee f3087c190f Add English value to language attribute. (Closes #429) 2015-06-23 10:27:03 +01:00
Alexander Surma 9e93570d5b Fix emberrassing typo in customizer 2015-06-22 19:46:15 +01:00
Alexander Surma fdb794aca5 Show WIP banner in production 2015-06-22 12:08:09 +01:00
Alexander Surma 19de3ac99b Show CDN url in customizer (Closes #414) 2015-06-21 13:35:20 +01:00
Nicolas Garnier 023b5f3a7b Merge pull request #409 from google/getting-started-review
Getting started guide post-commit review.
2015-06-21 02:46:58 +02:00
Marc Cohen f130c8dd84 add publish:gcs gulp task to push microsite to gcs bucket
added publish dep on default task (per Surma comments)

add support for cache control tuning

remove redundant comma

use {read:false} on gulp.src to avoid wasting time reading file contents

remove publish dep on default and rename two publish tasks per Alex' comment
2015-06-19 21:47:29 +01:00
Nicolas Garnier ea4229edd7 Getting started guide post-commit review. 2015-06-19 16:23:18 +02:00
Sérgio Gomes 2a06a263bf Fixing minor bugs in documentation 2015-06-17 18:18:27 +01:00
Alexander Surma 49d0ebc71d Implement microsite review (closes #372)
commit 0989b81b4e0b9a6e01e8d601182d827da0c3ec2b
Author: Alexander Surma <surma@surmair.de>
Date:   Wed Jun 17 17:28:34 2015 +0100

    Fix header images

commit 01b9dcd54e9ad385f4d03840bede88eec4b6d094
Author: Alexander Surma <surma@surmair.de>
Date:   Wed Jun 17 17:14:06 2015 +0100

    Fix microsite from visual diffing

commit bfdda8a8e7fad9e2d9541d72d77acefdfb0122a5
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Jun 15 18:50:48 2015 +0100

    Minify javascript on microsite as well

commit 03f3730c097a50f585d7cf8a3dd82e8bc12eeceb
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Jun 15 18:47:49 2015 +0100

    Add scrolling buttons to mobile navbar on microsite

commit 63bd2c58f1fe773767b1035947e708cc95ddfcc9
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Jun 9 13:06:05 2015 -0700

    Implement review for microsite
2015-06-17 17:49:23 +01:00
Alexander Surma 786db4d3e9 Implement refreshed customiser
Add select indicator

Animate selector circle

Support for selecting 2 colors

Make marker all nice and pretty

Show selector numbers

Add shadows to selected fields

Don't allow reselection of secondary color

Fix font baseline issue

Avoid some white lines in wheel

Add overlap to tiles

New SVG filter for shadow

Incorporate code into MaterialCustomizer prototype

Revert "New SVG filter for shadow"

This reverts commit bc23f0d2ba36e6181b527fb87f7b41eb3333cea2.

Stronger shadow

Refactor init procedure into subroutines

First steps of customizer logic recycling

Actually call template generation

Implement forbidden accents

Remove dead code

Clean up CSS

Make wheel scale

Implement new customizer preview

Cross browser check

Remove slashes

Give max-width to customizer

Make jshint behave
2015-06-16 21:05:47 +01:00
Nicolas Garnier 2a41c1a531 Getting Started guide UX/UI review fixes. 2015-06-16 17:55:50 +02:00
Nicolas Garnier 32f85b3871 Adding version number to the header 2015-06-16 15:33:52 +02:00
Nicolas Garnier b3cbc48dea Adding a Getting started guide. 2015-06-15 23:21:34 +02:00
Sérgio Gomes a1ef93803c More scoping changes to docs 2015-06-15 13:43:23 +01:00
Nicolas Garnier cb7f673f1b Improve the behavior of deep-linking:
- If hash is empty (or unknown) first item gets displayed
 - On deep linking we don't display "badges" to start then change the page. Now the page is blank and then we load the correct deep-linked page.
2015-06-13 00:35:45 +02:00
Sérgio Gomes 93b26d8933 Adding generation for individual demos.
This enables much easier per-component testing.
2015-06-11 16:02:19 +01:00
Nicolas Garnier d55a161018 Adds Syntax highlighting for code blocks. Closes #375
- Using the Prism lib
 - Moved Prism from the Component page only to the common layout
 - Transalte prism "markup" annotation to "html"
 - Translate markdown code blocks class names to Prism code block class names
2015-06-11 15:43:36 +02:00
Sérgio Gomes 3c7b27ae36 Fixing docs links with '//'; small docs fixes. 2015-06-10 16:57:23 +01:00
Sérgio Gomes a51536eb4c Scoping docs CSS properly. Fixes #346 2015-06-09 15:55:32 +01:00
Sérgio Gomes 41cd1bbb49 Major changes to component documentation:
- Reorganized components in categories
- Updated all icons (per category, now)
- Fixed menu and tooltip demos
2015-06-09 14:21:07 +01:00
Sérgio Gomes 8b4fe8f2bd Reimplementing components page.
The currently implementation is massively over-engineered.
2015-06-09 11:11:03 +01:00
Surma 6f244cdcd9 Merge pull request #290 from google/microsite-ui-review
Microsite ui review
2015-06-05 09:23:06 -07:00
Sérgio Gomes 033c8e6240 Fixing up button demo
- Now linking to minified prism js
- Don't use prism's ugly line feed markers
- Make buttons use Material icons instead of the '+' character
- Prefix all styles for the button demo with demo-button, to avoid collisions
- Make preview boxes width 100%, to avoid jumping to different sizes depending on code content
2015-06-03 17:21:51 +01:00
Sérgio Gomes 4a1eafc84d Some cleanups to new documentation:
- Removed unnecessary imports
- Load general demo styling
- Load demo-specific CSS and JS if available
2015-06-03 16:30:02 +01:00
Sérgio Gomes e550304d4b Squashing all of @marcacohen 's work on partial component pages so far.
The commit history was a bit too complicated, which made it hard to rebase.
2015-06-03 15:51:38 +01:00
Alexander Surma 6f9a0752f4 Add favicon and touch icons 2015-06-02 16:09:44 -07:00
Alexander Surma c3228abf89 Make template preview images responsive 2015-06-02 16:09:44 -07:00
Alexander Surma f5b63ba5ce Fix template previews 2015-06-02 16:09:44 -07:00
Alexander Surma 1eb6786153 Review template page 2015-06-02 16:09:43 -07:00
Alexander Surma e7a6c9957c Fix rest of about page 2015-06-02 16:09:43 -07:00
Alexander Surma 7c370754b9 Update micropage header 2015-06-02 16:09:43 -07:00
Sérgio Gomes 9f61b972eb Switching to official MD icon font ("Material Icons")
- Removed all icon font files
- Removed icon font tasks and dependencies in the gulpfile
- Updated all sources, demos and templates to the official font
2015-06-02 11:05:24 +01:00
Addy Osmani fd5892aa83 Merge pull request #309 from google/comps
First pass of responsive component drawer
2015-05-18 07:45:07 -07:00
Brian Hall 59f5229b26 Implement sticky header and navigation swapping for the components page. 2015-05-13 08:10:01 -05:00
Alexander Surma fbf8069c0c Fix visual on component pages (fixes #277) 2015-05-12 13:35:27 +01:00
Sérgio Gomes 99a84c6dc8 Rewriting headers and updating all content to match.
This implementation should be much saner and less buggy.

Changes:
- Using header rows is now mandatory
- Headers now stretch to fit their content, rather than needing to
  specify a header height
- Tabs should now be inside the header
2015-05-11 15:37:27 +01:00
Alexander Surma f5e61ebedd Minor path fixes on templates 2015-05-07 21:04:54 +01:00
Marc Cohen 21c6395603 Merge branch 'master' of http://github.com/google/material-design-lite into comps
Conflicts:
	css/material.css
	css/material.css.template
	css/material.min.css.map
	css/material.min.css.template.map
	docs/_pages/components.md
2015-05-07 16:16:02 +01:00
Marc Cohen 39c25bdfbd intial rough layout for new comps page 2015-05-07 16:10:17 +01:00
Alexander Surma cd6ddd6d35 Fix active tab on frontpage 2015-05-06 23:16:25 +01:00
Alexander Surma d9b1c92b6a Fix a lot of path issues in microsite 2015-05-06 23:08:25 +01:00
Alexander Surma 8398407574 Fix pathing issues on microsite 2015-05-06 15:13:17 +01:00
Alexander Surma 50bfaeb9d7 Build boilerplate for microsite
commit d2da95318bd4ebe394ba05ec2bc0547dcabeb06b
Merge: ecf5cf7 b2e7d87
Author: Alexander Surma <surma@surmair.de>
Date:   Wed Apr 29 10:55:52 2015 +0100

    Merge branch 'master' into microsite

    Conflicts:
    	docs/_templates/layout.html

commit ecf5cf7508737072d174e83bd22b5704976934c9
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Apr 28 13:50:20 2015 +0100

    Fix max-width for template listing

commit 78a64d264077854755075e6fc9f950d02c2a9c23
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Apr 28 13:49:17 2015 +0100

    Put index.md click handlers in separate JS file

commit e1faa43e1680cf12978bea33c07fbf91d7e3fc2e
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Apr 28 12:05:54 2015 +0100

    Turn dt into one-liner

commit eb683be5271029a7b95c70a15d7e7a19067bfc68
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Apr 28 12:05:33 2015 +0100

    Add TODO to index.md

commit bb89b1bbd0c6458a0a550d945bdcf6ba2e8fb83e
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Apr 28 12:04:13 2015 +0100

    Fix template listing

commit 0daecfb80f7c2a03d2ab24004fe412c16942f14e
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Apr 28 11:59:23 2015 +0100

    Optimize SVGs in microsite

commit a1d05be3be0222ac11f13931044b88e4e957b1a2
Merge: 4bbebf0 b5a1abd
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Apr 27 17:53:55 2015 +0100

    Merge branch 'master' into microsite

    Conflicts:
    	docs/_pages/index.md
    	docs/_templates/layout.html

commit 4bbebf0971239c3e91aca7832d6d0e4e079aaf1c
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Apr 27 17:47:04 2015 +0100

    Make about page panels clickable

commit b8ca6d11af5cfebec03207bf9d501bfc5a07f8d0
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Apr 27 17:25:31 2015 +0100

    Define own template for templates listing

commit 4d7ed02486ee410c7142165f2743ab84e5611ec2
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Apr 27 17:17:40 2015 +0100

    Start template page

commit 3431192bcfd636a04e9279191f92d1ac21893f56
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Apr 27 15:37:56 2015 +0100

    Add pages

commit ce540db478d99af1a60299a66f57e44c5c20579f
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Apr 27 15:14:41 2015 +0100

    Add header images for subpages

commit 6313ccdc69845cb941b2ba71cb0dbe651e8f672f
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Apr 27 13:19:46 2015 +0100

    Update SVGs for consistent sizing

commit deeb99fb048b7cd0e2dacb5172640c5679db7cf4
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Apr 27 13:19:40 2015 +0100

    Use grid

commit 097b3b30c33b3e9d6ad9726e84c7ee0e37dfd1ed
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Apr 27 12:02:26 2015 +0100

    Fix box-shadow on header

commit 1acf79698917e05fd289bcfea09ea596205611b5
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Apr 21 18:00:18 2015 +0100

    Add actual hover pictures to microsite

commit 4be107e481c61f3eead1b5e121b6f7b80c53a480
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Apr 21 16:23:55 2015 +0100

    Implement landing page

commit 8aa6eb86dd231a17b1fb0576a71f944d38f87980
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Apr 20 16:46:26 2015 +0100

    Implement layout

commit 63504ea1754f017d3a4788b392f61fc113b7d4e4
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Apr 20 16:13:51 2015 +0100

    Make gulp.watch() work properly with microsite
2015-04-29 11:00:31 +01:00
Addy Osmani 0cd95d48cf Update customizer to use new shadows 2015-04-28 15:57:14 +01:00
Sérgio Gomes 1992fb70ea Reverting f562f49d8a 2015-04-28 11:12:01 +01:00
Sérgio Gomes f562f49d8a Makes typography definitions optional, through mdl-typography class.
Also adds mdl-base class, which is currently set to include just the
mdl-typography definitions, but will later be extended to include
other global definitions.

All demos, tests and templates have been updated to use mdl-base.
2015-04-23 14:28:11 +01:00
Sérgio Gomes 7e0232ac35 Adding the customizer to the docs.
Still uses an iframe, unfortunately, to prevent preview styles
from interfering with the main page styles.
2015-04-16 14:58:34 +01:00
Alexander Surma 1600f653e6 Add publish task for gh pages 2015-04-15 15:15:08 +01:00
Addy Osmani abf8c5b834 Add content and typography overrides 2015-04-10 23:49:56 +01:00
Addy Osmani 50a3e8720e Web Starter Kit -> Material Design Lite 2015-04-10 10:54:44 +01:00
Addy Osmani ef43a51d45 Rename wsk -> mdl 2015-04-10 10:54:01 +01:00
Brian Hall 3adb9cf5c8 Remove automatically added classes. 2015-04-08 14:40:41 -05:00
Brian Hall 2e88cecc9f The docs template contains some manually-added elements that MDL adds automatically. Also, fixed two typos in .gitignore. 2015-04-08 14:36:54 -05:00
Ewa Gasperowicz 9fbe74cca4 Adding MDL microsite stub 2015-04-01 12:57:33 +01:00