Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Commit

Permalink
Merge pull request #36 from Scotchester/gh-pages
Browse files Browse the repository at this point in the history
Improve .expandable_target focus styles
  • Loading branch information
himedlooff committed Oct 8, 2014
2 parents bf017d7 + 8a3407d commit a7c3ec7
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 5 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ All notable changes to this project will be documented in this file.
We follow the [Semantic Versioning 2.0.0](http://semver.org/) format.


## 0.5.2 - 2014-10-08

### Added
- Nothing.

### Deprecated
- Nothing.

### Removed
- Nothing.

### Fixed
- Improved focus states on `.expandable_target`.


## 0.5.1 - 2014-10-03

### Added
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cf-expandables",
"version": "0.5.1",
"version": "0.5.2",
"description": "Standard expandable (show/hide) component for Capital Framework.",
"keywords": ["capital-framework", "capital", "expandables", "jquery", "js", "less"],
"authors": [
Expand Down
13 changes: 12 additions & 1 deletion demo/static/css/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/static/js/component.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ <h3 class="docs-pattern_header">.expandable__expanded (modifier)</h3>
background-color: transparent;
cursor: pointer;
}
.expandable_target:focus {
outline: 1px dotted #101820;
outline-offset: 1px;
}
.expandable_cue-close {
display: none;
}
Expand Down Expand Up @@ -480,6 +484,13 @@ <h3 class="docs-pattern_header">.expandable__padded (modifier)</h3>
}
.expandable__padded .expandable_content {
margin: 0 1em 1.375em;
}
.expandable__padded .expandable_content:before {
content: '';
display: block;
height: 1px;
margin-bottom: 1em;
background: #babbbd;
}</code></pre>
</div>
</div>
Expand Down
13 changes: 12 additions & 1 deletion docs/static/css/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/static/js/component.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions src/less/cf-expandables.less
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@
border: 0;
background-color: transparent;
cursor: pointer;

&:focus {
outline: 1px dotted @black;
outline-offset: 1px;
}
}

.expandable_cue-close {
Expand Down Expand Up @@ -298,6 +303,14 @@
margin: 0
unit(16px / @base-font-size-px, em)
unit(22px / @base-font-size-px, em);

&:before {
content: '';
display: block;
height: 1px;
margin-bottom: unit(16px / @base-font-size-px, em);
background: @gray-50;
}
}
}

Expand Down

0 comments on commit a7c3ec7

Please sign in to comment.