-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kenny Wang
authored and
August Toman-Yih
committed
Aug 13, 2015
1 parent
da960be
commit f2ff18a
Showing
3 changed files
with
43 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
```html | ||
<!-- Please put an example here --> | ||
<div class="btn-group" role="group" aria-label="..."> | ||
<button type="button" class="btn btn-default">Left</button> | ||
<button type="button" class="btn btn-default">Middle</button> | ||
<button type="button" class="btn btn-default">Right</button> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,37 @@ | ||
/* PUT NEW COMPONENTS HERE!!!! */ | ||
@import "../pui-variables"; | ||
|
||
/*doc | ||
--- | ||
title: Button Group | ||
name: button-group | ||
categories: | ||
- Elements | ||
- All | ||
--- | ||
<code class="pam"> | ||
<i class="fa fa-download" alt="Install the Component"> | ||
npm install pui-css-buttons-group --save | ||
</i> | ||
</code> | ||
Button groups wrap a series of buttons. | ||
```html_example | ||
<div class="btn-group btn-group-lg" role="group" aria-label="..."> | ||
<button type="button" class="btn btn-default">Left</button> | ||
<button type="button" class="btn btn-default">Middle</button> | ||
<button type="button" class="btn btn-default">Right</button> | ||
</div> | ||
``` | ||
*/ | ||
|
||
.btn-group { | ||
.btn { | ||
&.active, &:active { | ||
color: $neutral-11; | ||
background-color: $btn-default-color; | ||
} | ||
} | ||
} |
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,7 +1,8 @@ | ||
{ | ||
"description": "A playground for alpha examples", | ||
"homepage": "http://styleguide.pivotal.io/", | ||
"homepage": "http://styleguide.pivotal.io/elements#button-group", | ||
"dependencies": { | ||
"pui-css-bootstrap": "1.10.0" | ||
}, | ||
"version": "0.0.1" | ||
} |