Skip to content

Commit

Permalink
make preview button blue so it stands out. Increment version number
Browse files Browse the repository at this point in the history
  • Loading branch information
Phill committed Apr 13, 2015
1 parent 9291882 commit e3b940e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
11 changes: 9 additions & 2 deletions assets/publish.link_preview.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
display: none;
}

#breadcrumbs .link-preview {
margin-left: 20px;
.actions .link-preview {
background-color: #4d78b4;
background-image: linear-gradient(to bottom, #6f92c2 0%, #6f92c2 35%, #4d78b4 65%, #4d78b4 100%);

color: #fff;
}

.actions .link-preview:hover {
background-image: linear-gradient(to bottom, #6f92c2 0%, #6f92c2 15%, #4d78b4 65%, #4d78b4 100%);
}
2 changes: 1 addition & 1 deletion assets/publish.link_preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
var li = $('<li />'),
link = $('<a />')
.text(text)
.attr('class', 'button drawer vertical-right')
.attr('class', 'button drawer vertical-right link-preview')
.attr('href', url)
.attr('target', '_blank');

Expand Down
5 changes: 4 additions & 1 deletion extension.meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
<dependencies>
<!-- None -->
</dependencies>
<releases>
<releases>
<release version="1.2.2" date="2015-04-13" min="2.3.4" max="2.5.x">
- Added preview button to actions bar
</release>
<release version="1.2.1" date="2014-12-08" min="2.3.4" max="2.5.x">
- Added Compatibility with "Association Field"
- Allow ID-qualifier for associated entries
Expand Down

0 comments on commit e3b940e

Please sign in to comment.