Commit Graph

411 Commits

Author SHA1 Message Date
Surma
81abf26621 Merge pull request #733 from google/cust-link-glitch
fatal typo in css link on customizer page
2015-07-06 16:42:28 +01:00
Marc Cohen
70a0fa7fb1 fatal typo in css link on customizer page 2015-07-06 16:40:23 +01:00
Surma
2e73a7155e Reduce margin on mobile (Closes #720) 2015-07-06 16:33:21 +01:00
Surma
ab231de615 Adjust components index page (fixes #639) 2015-07-06 16:33:21 +01:00
Nicolas Garnier
d3410d4837 Merge pull request #711 from google/fix-encoding-copy-paste
Replace HTML escaping to use URL escaping…
2015-07-06 16:22:39 +02:00
Nicolas Garnier
d615fc3f6a Merge pull request #724 from google/add-analytics-components
Track clicks to the components page as pageviews.
2015-07-06 16:22:17 +02:00
Surma
c24499eb41 Update FAQ styling (fixes #675) (Closes #725) 2015-07-06 14:47:58 +01:00
Surma
430b8e2cb5 Use summed size (Closes #717) 2015-07-06 14:37:35 +01:00
Surma
3694805d9a Add filesizes to the microsite 2015-07-06 14:37:34 +01:00
Nicolas Garnier
cf87a03942 Track clicks to the components page as pageviews.
Also track correctly a direct page load to a component.
2015-07-06 15:36:55 +02:00
Nicolas Garnier
39fdd50599 Add syntax highlighting for bash code blocks. (Closes #721) 2015-07-06 14:25:52 +01:00
Nicolas Garnier
11ced2560b Merge pull request #716 from google/issue-712
Scrolling back to the top of the page after opening a component page.
2015-07-06 15:18:08 +02:00
Surma
8e81a23809 Resize logo when header gets small (Closes #718) 2015-07-06 13:56:33 +01:00
Surma
df9d3d71a5 Track download clicks (Closes #714) 2015-07-06 13:55:58 +01:00
Surma
093c424faa Emit GA events on customizer 2015-07-06 13:55:58 +01:00
Surma
546dc935c3 Move GA to the top and add error tracking 2015-07-06 13:55:58 +01:00
Nicolas Garnier
90dde83d05 Scrolling back to the top of the page after opening a component page on mobile. 2015-07-06 14:41:40 +02:00
Surma
5657220a99 Update microsite logo (fixes #709) (Closes #715) 2015-07-06 12:53:11 +01:00
Nicolas Garnier
483f5da26d Replace HTML escaping to use URL escaping for the copy-paste text passed to the flash object. 2015-07-06 12:24:34 +02:00
Nicolas Garnier
86a26ac61f Merge pull request #696 from google/fix-code-break-word
Allow breaking words if needed on code blocks.
2015-07-06 11:56:56 +02:00
Nicolas Garnier
b2558babe1 Removing special codepen style
Because this breaks the menu demos in codepen
2015-07-05 23:54:51 +02:00
Nicolas Garnier
b181081447 Allow breaking words if needed on code blocks. 2015-07-04 22:36:16 +02:00
Addy Osmani
d82877f717 Add missing License headers (Closes #692) 2015-07-04 16:23:34 +01:00
Alexander Surma
ed28a9a1ec Fix styling page (closes #671) (Closes #689) 2015-07-04 12:07:37 +01:00
Nicolas Garnier
997b8e4b73 Merge pull request #685 from google/issue-683
Fix all the misalignments and make consistent across pages (fixes #683)
2015-07-03 22:38:43 +02:00
Alexander Surma
6accda6388 Fix padding on template list on mobile (fixes #676) (Closes #688) 2015-07-03 21:26:30 +01:00
Nicolas Garnier
3d4fa8ad6f Small fix to the vertical centering of the new copy-to-clipboard icon. 2015-07-03 21:50:42 +02:00
Alexander Surma
e4880b197b Fix all the misalignments and make consistent across pages (fixes #683) 2015-07-03 19:57:03 +01:00
Nicolas Garnier
cb730d1e8b Removing Test libs in Codepen.
Please hold on merging this until we fix #627 (Closes #654)
2015-07-03 19:44:01 +01:00
Sérgio Gomes
8bd5a15fa2 Tweaking demos for codepen (Closes #684) 2015-07-03 19:31:48 +01:00
Sérgio Gomes
3d6b3eaf60 Updating layout component name in docs (Closes #677) 2015-07-03 18:43:42 +01:00
Alexander Surma
180cc33dc8 Add padding to footer (Closes #664) 2015-07-03 17:43:35 +01:00
Alexander Surma
e5c17e2a28 Rework progress demos (fixes #660) 2015-07-03 17:43:35 +01:00
Alexander Surma
72e7770198 Style <h1>s as well 2015-07-03 17:43:35 +01:00
Alexander Surma
4eaa5ff973 Remove "elements" header on multi-component pages 2015-07-03 17:43:34 +01:00
Alexander Surma
e4537f1f7f Improve copy icon (fixes #680) (Closes #682) 2015-07-03 17:31:27 +01:00
Alexander Surma
c996e3769e Don't capitalize external links in nav (Closes #678) 2015-07-03 17:14:01 +01:00
Alexander Surma
29b140ab5e Add padding to the top of components nav 2015-07-03 17:14:01 +01:00
Alexander Surma
f1dbb19f48 Move text in components nav bar (fixes #636) 2015-07-03 17:14:01 +01:00
Alexander Surma
a0d2818993 Hide icons in nav on mobile 2015-07-03 17:14:01 +01:00
Alexander Surma
41fa15a4ff Fix padding in mobile view 2015-07-03 17:14:01 +01:00
Alexander Surma
f2728f0844 Align nav with logo 2015-07-03 17:14:01 +01:00
Alexander Surma
d06dbc3d58 Remove underlines from hover 2015-07-03 17:14:01 +01:00
Alexander Surma
4c95f8ede7 Set nav item padding 2015-07-03 17:14:01 +01:00
Addy Osmani
34aff79f5a Merge pull request #674 from google/issue-672
Getting started regression fix
2015-07-03 16:21:00 +01:00
Nicolas Garnier
04e820ef7f Switch to fixed padding for snippets demos in small screens since this does't work in FF. 2015-07-03 17:19:22 +02:00
Alexander Surma
e3901a6306 Add relative positioning to pre block on getting started 2015-07-03 16:14:01 +01:00
Nicolas Garnier
02c4a4afde Made tag extraction logic more generic Keep indentation Added styling to elements (Closes #662) 2015-07-03 15:59:04 +01:00
Nicolas Garnier
3bea5d14c8 Further codepen fixes: - Extract the <script> tags into the JS codepen tab - Add margin in between each components to avoid them looking squashed (for example the 2 progress bars) 2015-07-03 15:59:04 +01:00
Alexander Surma
7e13ba8997 Make forbidden accents in customizer transparent (fixes #644) (Closes #669) 2015-07-03 15:45:59 +01:00
Alexander Surma
b4dc3dd615 Revert typo (Closes #670) 2015-07-03 15:45:09 +01:00
Alexander Surma
fd60306715 Give slider demos a bigger width (fxies #661) 2015-07-03 15:45:09 +01:00
Alexander Surma
325b0f71f2 Hide codepen text outside of container (fixes #673) 2015-07-03 15:30:29 +01:00
Alexander Surma
ed1e9ddfc3 Fix getting started page (fixes #672) 2015-07-03 15:28:36 +01:00
Nicolas Garnier
887bfacb4c Adding syntax highlighting for CSS and JS (Closes #623) 2015-07-03 14:45:02 +01:00
Nicolas Garnier
1f4f7ce73f Fix the syntax highlighting so that it does not generate links for each HTML tags. We had to switch to a "local" version since the version o cloud flare contains the plugin which generates the links by default. 2015-07-03 14:45:01 +01:00
Sérgio Gomes
dc6ff524be Adding a maximum header height for about page (Closes #642) 2015-07-03 14:10:47 +01:00
Alexander Surma
02093e53a1 Add artwork to ribbons on styles page (Closes #561) 2015-07-03 14:09:08 +01:00
Addy Osmani
4525fd05ce Merge pull request #645 from google/ie10-component-demos
Use browserhack to accomodate for IE10 in component demo
2015-07-03 14:05:02 +01:00
Surma
4f1b03d7d8 Merge pull request #625 from google/badge-demo
Use proper demo files for badge demos
2015-07-03 14:03:57 +01:00
Alexander Surma
932d4abd88 Fix title link color (fixes #633) (Closes #652) 2015-07-03 13:34:48 +01:00
Alexander Surma
4f25475073 Fix target of header title link 2015-07-03 13:34:48 +01:00
Alexander Surma
663adbf614 Make FAQ toc responsive (fixes #641) (Closes #653) 2015-07-03 13:03:59 +01:00
alex
2a0b27b55c Hardcode HTTPS in codepen font as well (Closes #640) 2015-07-03 11:45:35 +01:00
alex
dc6e889b2c Serve hosted over HTTPS
Based on proposal in #629.
Closes #629.
2015-07-03 11:45:35 +01:00
Alexander Surma
23bb5bd115 Use browserhack to accomodate for IE10 in component demo 2015-07-03 11:38:17 +01:00
Sérgio Gomes
78ba190dee Merge pull request #634 from google/links
Remove slash from About link
2015-07-03 10:49:18 +01:00
Alexander Surma
0035171a75 Remove slash from About link 2015-07-03 10:18:30 +01:00
Alexander Surma
e75ea35e49 Fix the cropping on mobile 2015-07-03 10:14:10 +01:00
Marc Cohen
71588374d2 Merge pull request #621 from google/loading
add snippet code samples to laoding component page
2015-07-02 20:41:12 +01:00
Marc Cohen
4996aaf7b8 split 3 progress bars into two rows for smaller devices 2015-07-02 20:32:00 +01:00
Marc Cohen
1daea4625f added demo containers to limit progress bar width 2015-07-02 20:18:30 +01:00
Marc Cohen
b6f6c4b6c1 add snippet code samples to laoding component page 2015-07-02 20:06:38 +01:00
Alexander Surma
c2aac92425 Preload hover images via CSS (fixes #568) (Closes #626) 2015-07-02 20:05:24 +01:00
Nicolas Garnier
329cebea38 Improve codepen implementation: - Open in new tab - Replaces relative image URLs - Processing only done when the button is clicked - Inserting body padding only for demos that are not full-width - Allow inserting custom codepen CSS for each snippet with
Switch to using .bind()

Fix comment (Closes #618)
2015-07-02 19:39:00 +01:00
Sérgio Gomes
066cc76603 Adding some sanity to components page
- Removing phantom index component
- Removing phantom index nav entry
- Moving index content to components page
- Reworking image to work better across screen sizes and browsers (Closes #624)
2015-07-02 19:17:26 +01:00
Addy Osmani
21c5bcd402 Resolve conflicts 2015-07-02 19:02:20 +01:00
Addy Osmani
234ecca063 Add new questions 2015-07-02 19:00:17 +01:00
Addy Osmani
5d1020b3b7 Rename images and update alt tags 2015-07-02 19:00:17 +01:00
Addy Osmani
5141ac2296 address feedback 2015-07-02 19:00:17 +01:00
Addy Osmani
4fe3a97cee Improve answer for new components 2015-07-02 19:00:17 +01:00
Addy Osmani
9ff355fe81 Fix ToC links & refresh Polymer section 2015-07-02 19:00:17 +01:00
Addy Osmani
bf1b499ced Rebase against master 2015-07-02 18:59:09 +01:00
Alexander Surma
c2c0b8eea7 Use proper demo files for badge demos 2015-07-02 18:51:26 +01:00
Addy Osmani
0baa5217d1 Add new questions 2015-07-02 18:48:22 +01:00
Alexander Surma
ac66ef3a98 Fix header styling rule 2015-07-02 18:44:10 +01:00
Addy Osmani
7bd2550255 Rename images and update alt tags 2015-07-02 18:42:55 +01:00
Addy Osmani
7f51296a11 address feedback 2015-07-02 18:37:19 +01:00
Alexander Surma
d59a9ab335 Revamp the styles page
Fix header fonts

Implement styles mock

Fix mobile code paddings

Set a max-width for large monitors

Typos

Don't make li styling bleed into other pages

Add missing last step to SVG icons setup

Fix heading weight
2015-07-02 18:30:03 +01:00
Alexander Surma
7c71c9b62a Refactor customiser
Decouple rendering from DOM

Don't do DOM operations if no DOM has been given

Make downloading someone else's responsibility

Generate ALL the stylesheets (closes #394)

Fix downloading on IE

Add utility functions

Move constants to the top

Add TODO comment to gen task
2015-07-02 18:09:42 +01:00
Addy Osmani
79208ee873 Improve answer for new components 2015-07-02 17:55:34 +01:00
Addy Osmani
0fda3af4c9 Fix ToC links & refresh Polymer section 2015-07-02 17:26:22 +01:00
Marc Cohen
510a38ad17 Merge pull request #587 from google/textfield
revised demo widgets on textfield comp page
2015-07-02 17:01:36 +01:00
Surma
e880276dd1 Merge pull request #620 from google/issue-611
Make components small screen CSS rule more specific.
2015-07-02 16:07:08 +01:00
Marc Cohen
60a896753f Merge pull request #603 from google/sliders
add snippet demos to sliders component page
2015-07-02 16:02:43 +01:00
Addy Osmani
7682cae866 Merge pull request #619 from google/tabs-demo-rework
Adding revised content tabs demo
2015-07-02 16:00:37 +01:00
Sérgio Gomes
7b2aeadb7b Adding revised grid demo (Closes #610) 2015-07-02 15:47:57 +01:00
Nicolas Garnier
9f65ac3012 Make components small screen CSS rule more specific.
Fixes #611
2015-07-02 16:46:02 +02:00
Marc Cohen
7e9d678087 Merge pull request #599 from google/toggles
adding snippets based demos to toggles component page
2015-07-02 15:38:37 +01:00
Sérgio Gomes
aaa77706fb Adding revised content tabs demo 2015-07-02 15:24:05 +01:00
Sérgio Gomes
a48a9bd30e Adding revised footer demo (Closes #613) 2015-07-02 15:02:33 +01:00
Nicolas Garnier
23ab494c01 Removed hash in components link (Closes #572) 2015-07-02 12:14:53 +01:00
Nicolas Garnier
68e006086e Fix components page history behavior: - Avoid duplicate history entries and loop when clicking the compspage index - avoid duplicate history entries and loop when entering an unknown hash fragment - Avoid entire page reload when clicking on the compspage index 2015-07-02 12:14:53 +01:00
Addy Osmani
6b2bd142df Merge branch 'master' of github.com:google/material-design-lite
* 'master' of github.com:google/material-design-lite:
  Renaming content class, and adding comment
  Adding remaining layout demos.
2015-07-02 12:14:31 +01:00
Nicolas Garnier
a28f9d665f Removed hash in components link (Closes #572) 2015-07-02 12:14:20 +01:00
Nicolas Garnier
4c85ccb3d6 Fix components page history behavior: - Avoid duplicate history entries and loop when clicking the compspage index - avoid duplicate history entries and loop when entering an unknown hash fragment - Avoid entire page reload when clicking on the compspage index 2015-07-02 12:14:20 +01:00
Sérgio Gomes
d5f653e3ad Merge pull request #588 from google/layout-missing-demos
Adding remaining layout demos.
2015-07-02 12:13:40 +01:00
Alexander Surma
e0f3f21a33 Implement badge component section review (fixes #444, again) (Closes #601) 2015-07-02 12:02:44 +01:00
Alexander Surma
1513c1c37b Template list wording and order (fixes #569) (Closes #605) 2015-07-02 11:50:39 +01:00
Alexander Surma
69c34ee359 Implement full-width code blocks on mobile 2015-07-02 11:09:50 +01:00
Marc Cohen
fb8495fdd4 add snippet demos to sliders component page 2015-07-01 23:49:36 +01:00
Addy Osmani
eb8397e03a Add FAQ page 2015-07-01 20:18:59 +01:00
Marc Cohen
219d23ee47 adding snippets based demos to toggles component page 2015-07-01 19:57:08 +01:00
Alexander Surma
cfbea5b996 Implement components scaffolding review (fixes #573) 2015-07-01 19:49:59 +01:00
Marc Cohen
548734f1d1 add demos files to textfield page to improve layout on mobile 2015-07-01 17:52:35 +01:00
Marc Cohen
7efa0f2bf1 additional fine tuning of demo widgets 2015-07-01 16:28:57 +01:00
Marc Cohen
eef1c3103d reduced widget demo set 2015-07-01 16:28:57 +01:00
Marc Cohen
11755b86da rework textfield component page to use snippets 2015-07-01 16:28:57 +01:00
Sérgio Gomes
c000510b99 Merge pull request #589 from google/table
snippet and demo widget for table comp page
2015-07-01 16:23:40 +01:00
Alexander Surma
81fb4a40b1 Remove search bar (fixes #566) (Closes #591) 2015-07-01 16:19:00 +01:00
Marc Cohen
f7aa40cbb6 snippets for table comp page 2015-07-01 16:12:40 +01:00
Sérgio Gomes
eaed276de0 Adding remaining layout demos.
Also tweaking existing ones slightly.
2015-07-01 16:03:06 +01:00
Sérgio Gomes
ddb0ea1203 Fixing issue with CSS scoping in components 2015-07-01 15:06:03 +01:00
Sérgio Gomes
fd8baf1ba9 Merge pull request #565 from google/layout-demo-rework
Layout demo rework
2015-07-01 14:15:34 +01:00
Nicolas Garnier
6e2e1bcb46 Make codepen opt-in instead of opt-out.
This has for consequence to remove codepen from all the `<pre>` blocks that are generated from the components readme.md (Closes #563)
2015-07-01 14:07:12 +01:00
Sérgio Gomes
410c14565b Removing list component (Closes #581) 2015-07-01 13:59:16 +01:00
Nicolas Garnier
3f73349b43 Merge pull request #582 from google/linkfixes
fix about link when served by GCS, also build compindex page image more robustly
2015-07-01 14:53:46 +02:00
Marc Cohen
f54f637602 fix link to component index image and About page href 2015-07-01 13:44:13 +01:00
Jonathan Garbee
6276327d09 Merge branch 'master' into set-analytics-acct 2015-07-01 08:35:10 -04:00
Nicolas Garnier
8b4252c017 Set the analytics tracking code. 2015-07-01 08:30:30 -04:00
Nicolas Garnier
d0dc5e3cc1 Add space between body and footer on the customize page closes #574 2015-07-01 14:08:17 +02:00
Marc Cohen
1d65e187a9 switch to 2 groups of 2 demos for better formatting on mobile devices 2015-07-01 12:43:30 +01:00
Marc Cohen
3b617ca79c tooltip component page revised to use snippets 2015-07-01 12:43:30 +01:00
Sérgio Gomes
5372012bba Component image on every category, not every component 2015-07-01 11:46:11 +01:00
Sérgio Gomes
ac794fdfd4 Adding first four layout snippets 2015-07-01 11:02:59 +01:00
Sérgio Gomes
8cf007bdec Add some sanity to demo styles.
- Splits padding and demos into separate classes
- Splits padding and captions into separate classes
- Adds the ability for snippets to be full screen
2015-07-01 11:02:59 +01:00
Marc Cohen
338431d6d9 Merge pull request #490 from google/compspage
Modified components index page to match Hannah's new mock
2015-06-30 16:20:48 +01:00
Marc Cohen
3cf6b59ffd update components index page to match Hannah's latest mock
delete unused compindex.svg

fix relative ref to bg image asset

add 1x res version of compindex.png image

fine tuning text and bg image placement

s/html injection/README.md file/ and fine tune text and image

fix comp navigation issue

move css to components.css and do bg image styling vi css vs. JS

fix MD spec link to use .com domain

change from bg image to explicit img tag to float image below text

fixed markup to float dt above dl on small displays (per nivco@) and moved css to components.css file

improving header centering per nivco@ comment

fixed glitch on compindex image
2015-06-30 16:10:19 +01:00
Sérgio Gomes
1e9aa1af0f Merge pull request #555 from google/remove-button-demos
Removing raised icons buttons and accent colored minifab.
2015-06-30 14:47:55 +01:00
Nicolas Garnier
7da8f9e198 Removing raised icons buttons and accent colored minifab. 2015-06-30 15:42:05 +02:00
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
Nicolas Garnier
a4771df45a Fix width of <pre> blocks on narrow devices (getting started and customizer) (Closes #536) 2015-06-30 11:51:56 +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
Addy Osmani
4ab28263bd Add first part of Styles page 2015-06-30 11:44:22 +01:00
Nicolas Garnier
6bfb654c8a Merge pull request #537 from google/get-started-dwnload
Streamline download buttons into the Getting started experience
2015-06-30 11:55:13 +02:00
Nicolas Garnier
e73bedb5b7 Make sure the tabs in the getting started guide are centered on narrow screens. 2015-06-30 11:46:48 +02:00
Nicolas Garnier
058035df8b Streamline download button into the Getting started experience 2015-06-29 17:36:24 +02:00
Nicolas Garnier
0e6c942738 Make sure customize subpageheader is centered with te rest of the body 2015-06-29 17:17:12 +02:00
Surma
8da4a820b0 Merge pull request #532 from google/codepen-button
Make codepen buttons hide under navbar
2015-06-29 15:21:41 +01:00
Addy Osmani
b80760fca4 Use minified version of material.js 2015-06-29 15:20:30 +01:00