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

Commit

Permalink
Fixes #38 - btn__link color
Browse files Browse the repository at this point in the history
- Fixes #38 - btn__link color
- Updates changelog with unreleased changes.
- regenerates assets.
  • Loading branch information
anselmbradford committed Apr 15, 2015
1 parent 0cad0c8 commit ca8360b
Show file tree
Hide file tree
Showing 13 changed files with 305 additions and 56 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
All notable changes to this project will be documented in this file.
We follow the [Semantic Versioning 2.0.0](http://semver.org/) format.

## Unreleased - unreleased

### Fixed
- Updated `btn__link` to use link styles from cf-core, instead of btn-bg styles.


## 1.4.1 - 2015-03-05

Expand Down
124 changes: 111 additions & 13 deletions demo/static/css/main.css

Large diffs are not rendered by default.

Binary file modified demo/static/fonts/cf-icons.eot
Binary file not shown.
44 changes: 34 additions & 10 deletions demo/static/fonts/cf-icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/static/fonts/cf-icons.ttf
Binary file not shown.
Binary file modified demo/static/fonts/cf-icons.woff
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1210,9 +1210,9 @@ <h3 class="docs-pattern_header">Active state</h3>
.btn__link,
.btn__link:link,
.btn__link:visited {
border-bottom-color: #c7336e;
border-bottom-color: #cf447c;
background-color: transparent;
color: #c7336e;
color: #cf447c;
}
.btn__link:hover,
.btn__link.hover {
Expand Down
124 changes: 111 additions & 13 deletions docs/static/css/main.css

Large diffs are not rendered by default.

Binary file modified docs/static/fonts/cf-icons.eot
Binary file not shown.
44 changes: 34 additions & 10 deletions docs/static/fonts/cf-icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/static/fonts/cf-icons.ttf
Binary file not shown.
Binary file modified docs/static/fonts/cf-icons.woff
Binary file not shown.
16 changes: 8 additions & 8 deletions src/cf-buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@
.btn__link {

padding: 0;
border-bottom: 1px dotted @btn-bg;
border-bottom: 1px dotted @link-underline;
border-radius: 0;
// This margin is necessary to vertically align link buttons with
// regular buttons.
Expand All @@ -856,30 +856,30 @@
&,
&:link,
&:visited {
border-bottom-color: @btn-bg;
border-bottom-color: @link-underline-visited;
background-color: transparent;
color: @btn-bg;
color: @link-text-visited;
}

&:hover,
&.hover {
border-bottom: 1px solid @btn-bg-hover;
border-bottom: 1px solid @link-underline-hover;
background-color: transparent;
color: @btn-bg-hover;
color: @link-text-hover;
}

&:focus,
&.focus {
border-bottom-style: solid;
background-color: transparent;
outline: thin dotted @btn-bg;
outline: thin dotted @link-underline;
}

&:active,
&.active {
border-bottom: 1px solid @btn-bg-active;
border-bottom: 1px solid @link-underline-active;
background-color: transparent;
color: @btn-bg-active;
color: @link-text-active;
}

}
Expand Down

0 comments on commit ca8360b

Please sign in to comment.