Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from asyncLiz/master
Browse files Browse the repository at this point in the history
Update to MDC v4
  • Loading branch information
AVGP authored Jan 29, 2020
2 parents 4eab32e + 7d65bb5 commit 8e1e0ba
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3,466 deletions.
34 changes: 15 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,20 @@
<aside class="mdc-drawer mdc-drawer--dismissible">
<div class="mdc-drawer__content">
<h2 class="mdc-top-app-bar__title">Topics</h2>
<ul class="mdc-list">
<li>
<a class="mdc-list-item mdc-list-item--activated" href="#" aria-selected="true">
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">grade</i>
<span class="mdc-list-item__text">The Keyword</span>
</a>
</li>
<nav class="mdc-list">
<a class="mdc-list-item mdc-list-item--activated" href="#" aria-selected="true">
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">grade</i>
<span class="mdc-list-item__text">The Keyword</span>
</a>

<li>
<a class="mdc-list-item" href="#chrome">
<span class="mdc-list-item__text">Google Chrome</span>
</a>
</li>
<li>
<a class="mdc-list-item" href="#search">
<span class="mdc-list-item__text">Google Search</span>
</a>
</li>
</ul>
<a class="mdc-list-item" href="#chrome">
<span class="mdc-list-item__text">Google Chrome</span>
</a>

<a class="mdc-list-item" href="#search">
<span class="mdc-list-item__text">Google Search</span>
</a>
</nav>
</div>
</aside>

Expand All @@ -59,7 +54,7 @@ <h2 class="mdc-top-app-bar__title">Topics</h2>
<header class="mdc-top-app-bar app-bar" id="app-bar">
<div class="mdc-top-app-bar__row">
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start">
<button id="menuToggle" class="material-icons mdc-top-app-bar__navigation-icon">menu</button>
<button id="menuToggle" class="material-icons mdc-top-app-bar__navigation-icon mdc-icon-button">menu</button>
<h1 class="mdc-top-app-bar__title">The Keyword</h1>
</section>
</div>
Expand All @@ -82,6 +77,7 @@ <h2 class="mdc-typography mdc-typography--headline6"></h2>
<h3 class="mdc-typography mdc-typography--subtitle2"></h3>
<div class="summary"></div>
<button class="mdc-button mdc-button--outlined">
<div class="mdc-button__ripple"></div>
<span class="mdc-button__label">More</span>
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ h2 {
margin-top: 1em;
}

button {
.mdc-button {
display: inline-block;
margin-top: 0.5em;
}
Expand Down
17 changes: 10 additions & 7 deletions third_party/material-components-web.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 8e1e0ba

Please sign in to comment.