Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit bc73159

Browse files
demo(*): add icons to buttons
1 parent d07e66d commit bc73159

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

misc/demo-assets/demo.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ section {
7070
line-height: 1;
7171
}
7272

73+
.icon-github {
74+
background: no-repeat url('github-16px.png');
75+
width: 16px;
76+
height: 16px;
77+
}
78+
7379
/* Not enough room on mobile for markup tab, js tab, and plunk btn.
7480
And no one cares about plunk button on a phone anyway */
7581
@media only screen and (max-device-width: 480px) {

misc/demo-assets/github-16px.png

398 Bytes
Loading

misc/demo-template.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ <h1>
4848
href="http://angular-ui.github.com">AngularUI Team</a></strong></p>
4949

5050
<p class="btn-group">
51-
<a class="btn btn-large" href="https://github.com/angular-ui/bootstrap"><i class="icon-github"></i>Code on Github</a>
52-
<a class="btn btn-large btn-primary" href="https://github.com/angular-ui/bootstrap/tree/gh-pages">
53-
<i class="icon-download-alt icon-white"></i>Download <small>(<%= version%>)</small>
51+
<a class="btn" href="https://github.com/angular-ui/bootstrap"><i class="icon-github"></i> Code on Github</a>
52+
<a class="btn btn-primary" href="https://github.com/angular-ui/bootstrap/tree/gh-pages">
53+
<i class="icon-download-alt icon-white"></i> Download <small>(<%= version%>)</small>
5454
</a>
55-
<a class="btn btn-large" ng-click="showBuildModal()">Create a Build</a>
55+
<a class="btn" ng-click="showBuildModal()"><i class="icon-wrench"></i> Create a Build</a>
5656
</p>
5757
</div>
5858
<div class="bs-docs-social">

0 commit comments

Comments
 (0)