Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions apis/client/view/header/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,8 @@
font-size: 1em;
border: 1px solid #ddd;
border-radius: 3px;
a {
color: @gray;
text-decoration: none;
&:hover { text-decoration: none; color: @gray; }
&:focus { text-decoration: none; color: @gray; }
&:active { text-decoration: none; color: @gray; }
&:visited { text-decoration: none; color: @gray; }
button {
border: 0;
}

.bookmark-button {
Expand All @@ -71,11 +66,6 @@
padding-right: 0.9em;
padding-bottom: 0.5em;
padding-top: 0.5em;
text-decoration: none;
&:hover { text-decoration: none; color: darken(@gray, 10%); }
&:focus { text-decoration: none; color: darken(@gray, 10%); }
&:active { text-decoration: none; color: darken(@gray, 10%); }
&:visited { text-decoration: none; color: darken(@gray, 10%); }
}

.bookmark-counter {
Expand Down
8 changes: 4 additions & 4 deletions bookmarks/client/bookmark.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<template name="bookmark">
{{# if isBookmarked }}
<a href="#" class="bookmark-button bookmark bookmarked">
<button class="bookmark-button bookmark bookmarked">
<i class="fa fa-bookmark"></i>
{{# unless catalogueView }}
&nbsp;{{_ "bookmark_buttonText_unbookmark" }}
{{/ unless }}
</a>
</button>
{{ else }}
<a href="#" class="bookmark-button bookmark">
<button class="bookmark-button bookmark">
<i class="fa fa-bookmark-o"></i>
{{# unless catalogueView }}
&nbsp;{{_ "bookmark_buttonText_bookmark" }}
{{/ unless }}
</a>
</button>
{{/ if }}
<span class="bookmark-counter">
{{ api.bookmarkCount }}
Expand Down
9 changes: 3 additions & 6 deletions catalogue/client/catalogue.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,8 @@
background-color: #fafafa !important;
}

.api-card-bookmark a {
.api-card-bookmark button {
color: @gray;
text-decoration: none;
&:hover { text-decoration: none; color: @gray; }
&:focus { text-decoration: none; color: @gray; }
&:active { text-decoration: none; color: @gray; }
&:visited { text-decoration: none; color: @gray; }
background-color: white;
border: 0;
}