Commit Graph

411 Commits

Author SHA1 Message Date
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
Alexander Surma
b2f722d22a Only block clicks that would select the same color twice (Closes #449) 2015-06-24 16:07:04 +01:00
Nicolas Garnier
705448b583 Fixing escaping of copy paste (Closes #411) 2015-06-24 15:55:07 +01:00
Nicolas Garnier
46fa630bd7 80 character column fix 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
f7bf0190f1 More expressive variable names 2015-06-24 15:18:58 +01:00
Alexander Surma
c0a82ce46a Namespace .spacer class 2015-06-24 15:17:56 +01:00
Alexander Surma
69fc02a8d5 Make customizer adjust iframe size 2015-06-24 12:15:59 +01:00
Alexander Surma
989ac10c7c Update template listing 2015-06-24 11:25:21 +01:00
Alexander Surma
40dc255c42 Increase spacing of template image and text to 40px 2015-06-24 11:22:56 +01:00
Alexander Surma
e5dcea76a1 Line-height of intro text to 2em 2015-06-24 11:21:49 +01:00
Alexander Surma
b9a5a4acc1 Set download button to 54% black 2015-06-24 11:20:48 +01:00
Alexander Surma
e04f468515 Minify navbar on mobile 2015-06-24 11:13:42 +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
Alexander Surma
8666271420 Decrease nav item spacing to 24px 2015-06-24 10:53:35 +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
Nicolas Garnier
91f7c1e1a9 Small screen CSS fixes for Getting started guide. 2015-06-23 17:03:16 +01:00
Nicolas Garnier
f9b9472441 Move hiding lf and cr Prism tokens to the main CSS. 2015-06-23 17:01:57 +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
Surma
c28e37ee5d Merge pull request #427 from google/wip-banner
Show WIP banner in production
2015-06-22 17:33:58 +01:00
Alexander Surma
60067a239d Set height for wheel container (fixes #425) (Closes #428) 2015-06-22 15:23:06 +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
Sérgio Gomes
f17e472f86 Adding link to android.com sample in templates page 2015-06-19 17:33:41 +01:00
Nicolas Garnier
ea4229edd7 Getting started guide post-commit review. 2015-06-19 16:23:18 +02:00
Sérgio Gomes
7b6aac355e Removing SASS directive from CSS file 2015-06-18 14:10:17 +01: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 0989b81b4e
Author: Alexander Surma <surma@surmair.de>
Date:   Wed Jun 17 17:28:34 2015 +0100

    Fix header images

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

    Fix microsite from visual diffing

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

    Minify javascript on microsite as well

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

    Add scrolling buttons to mobile navbar on microsite

commit 63bd2c58f1
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
Nicolas Garnier
b78fd0c182 Fixing the subpageheader in the Templates and the Component's page. 2015-06-17 17:08:20 +02: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
Nicolas Garnier
cdd8a73e9c Add deep linking and back button support in the Components page. 2015-06-12 18:08:01 +02:00
Jonathan Garbee
75d6e7701e Fix overflow bars on code samples. 2015-06-12 10:12:16 +01:00
Jonathan Garbee
9a76787924 Fixing demo so card headers display as they should. 2015-06-12 10:11:28 +01: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
Nicolas Garnier
6cf9f6cee8 Small tweak of Code blocks styling. 2015-06-11 02:06:29 +02:00
Sérgio Gomes
3c7b27ae36 Fixing docs links with '//'; small docs fixes. 2015-06-10 16:57:23 +01:00
Nicolas Garnier
2f1e588590 Adding GitHub markdown-style styling for code blocks. 2015-06-10 17:30:53 +02: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
Sérgio Gomes
99df82af45 Adding badge component 2015-06-08 13:17:39 +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
c4c95cf432 Renaming tab image to match components.md 2015-06-05 17:17:35 +01:00
Sérgio Gomes
2ab24047fa Adding missing components to docs and fixing some CSS issues 2015-06-05 17:05:13 +01: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
Marc Cohen
0fbb65aeab Move demo.js from src to docs/_assets 2015-06-03 15:52:33 +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
a798f23e8d Implement Zach's template review 2015-06-02 16:12:11 -07:00
Alexander Surma
7b14bfa3ec Implement small header 2015-06-02 16:09:45 -07:00
Alexander Surma
fd804d64b6 Adjust search panel 2015-06-02 16:09:44 -07: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
34e3bff521 Add new templates to listing 2015-04-30 14:49:27 +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 ecf5cf7508
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Apr 28 13:50:20 2015 +0100

    Fix max-width for template listing

commit 78a64d2640
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 e1faa43e16
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Apr 28 12:05:54 2015 +0100

    Turn dt into one-liner

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

    Add TODO to index.md

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

    Fix template listing

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

    Optimize SVGs in microsite

commit a1d05be3be
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 4bbebf0971
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Apr 27 17:47:04 2015 +0100

    Make about page panels clickable

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

    Define own template for templates listing

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

    Start template page

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

    Add pages

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

    Add header images for subpages

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

    Update SVGs for consistent sizing

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

    Use grid

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

    Fix box-shadow on header

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

    Add actual hover pictures to microsite

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

    Implement landing page

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

    Implement layout

commit 63504ea175
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
Jonathan Garbee
7ebd13c619 Abbreviate BEM heading and add link to wiki. 2015-04-20 18:59:44 -04: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
696a82ae8f Update TOC formatting 2015-04-11 02:26:32 +01:00
Addy Osmani
51c39450c1 Update homepage content 2015-04-11 02:26:12 +01:00
Addy Osmani
e7466596f0 Add download button 2015-04-11 00:18:42 +01:00
Addy Osmani
abf8c5b834 Add content and typography overrides 2015-04-10 23:49:56 +01:00
Addy Osmani
5a417a56ac Add temporary Material shapes 2015-04-10 23:49:09 +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
Addy Osmani
7c0287a886 Drop docs/install.md 2015-02-04 10:15:15 +00:00
Addy Osmani
f0f40df9a8 Files clean-up. 2015-02-04 10:13:34 +00:00
Addy Osmani
aefb70b529 Link to Sindre's npm guide 2015-01-26 10:35:14 +00:00
Sindre Sorhus
31454949c5 Install docs - add tldr for quick setup 2014-11-04 16:51:41 +07:00
Sindre Sorhus
4eaa0d892a Improve and simplify install guide #526
It's currently both outdated and incorrect.
2014-11-04 16:45:02 +07:00
Cory
9f5868fffb Remove Ruby references 2014-10-29 04:06:44 -04:00
Arthur Verschaeve
2381a601b3 Use https where possible 2014-10-22 15:14:09 +02:00
Umar
0def5a86c5 Use correct ordering in installation instructions 2014-09-04 17:37:11 +01:00
Jonathan Garbee
2bcb2aa91d Added docs folder with initial files. Pulled content from readme. 2014-08-26 12:54:17 -04:00