-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4069 from google/fix-list
Improves the list to bring it closer to spec. Fixes #4056.
- Loading branch information
Showing
10 changed files
with
133 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,32 @@ | ||
<!-- List Items with action --> | ||
<!-- List items with avatar and action --> | ||
<style> | ||
.demo-list-action { | ||
width: 300px; | ||
} | ||
</style> | ||
|
||
<div class="demo-list-action mdl-list"> | ||
<div class="mdl-list__item mdl-list__item-two-line "> | ||
<div class="mdl-list__item"> | ||
<span class="mdl-list__item-primary-content"> | ||
<i class="material-icons ">person</i> | ||
<i class="material-icons mdl-list__item-avatar">person</i> | ||
<span>Bryan Cranston</span> | ||
<span class="mdl-list__item-sub-title">62 Episodes</span> | ||
</span> | ||
<a class="mdl-list__item-secondary-action" href="#"><i class="material-icons ">star</i></a> | ||
<a class="mdl-list__item-secondary-action" href="#"><i class="material-icons">star</i></a> | ||
</div> | ||
<div class="mdl-list__item mdl-list__item-two-line "> | ||
<div class="mdl-list__item"> | ||
<span class="mdl-list__item-primary-content"> | ||
<i class="material-icons mdl-list__item-avatar">person</i> | ||
<i class="material-icons mdl-list__item-avatar">person</i> | ||
<span>Aaron Paul</span> | ||
<span class="mdl-list__item-sub-title">62 Episodes</span> | ||
</span> | ||
<a class="mdl-list__item-secondary-action" href="#"><i class="material-icons ">star</i></a> | ||
<a class="mdl-list__item-secondary-action" href="#"><i class="material-icons">star</i></a> | ||
</div> | ||
<div class="mdl-list__item mdl-list__item-two-line "> | ||
<div class="mdl-list__item"> | ||
<span class="mdl-list__item-primary-content"> | ||
<i class="material-icons mdl-list__item-avatar">person</i> | ||
<i class="material-icons mdl-list__item-avatar">person</i> | ||
<span>Bob Odenkirk</span> | ||
<span class="mdl-list__item-sub-title">43 Episodes</span> | ||
</span> | ||
<span class="mdl-list__item-secondary-content"> | ||
<a class="mdl-list__item-secondary-action" href="#"><i class="material-icons ">star</i></a> | ||
<a class="mdl-list__item-secondary-action" href="#"><i class="material-icons">star</i></a> | ||
</span> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!-- List with action --> | ||
<!-- List with avatar and controls --> | ||
<style> | ||
.demo-list-control { | ||
width: 300px; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!-- List with action --> | ||
<!-- Simple list --> | ||
<style> | ||
.demo-list-item { | ||
width: 300px; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.