-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #877 from sul-dlss/additive-link-style
Refactor link style to be additive rather than subtractive
- Loading branch information
Showing
19 changed files
with
33 additions
and
47 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 |
---|---|---|
|
@@ -29,7 +29,3 @@ | |
.record-metadata { | ||
margin-bottom: 2em; | ||
} | ||
|
||
.altmetric-embed a { | ||
border-bottom: none; | ||
} |
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
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
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
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,4 +1,3 @@ | ||
.btn-link, .btn-link:hover, .btn-link:focus { | ||
color: $sul-link-color; | ||
text-decoration: none; | ||
} | ||
} |
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
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
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,2 +1,2 @@ | ||
<h2>The item you requested is not available.</h2> | ||
<p>This item is in processing or does not exist. If you believe you have reached this page in error, please send <%= link_to 'Feedback', feedback_path, data: { bs_toggle: 'collapse', bs_target: '#feedback-form' } %>.</p> | ||
<p>This item is in processing or does not exist. If you believe you have reached this page in error, please send <%= link_to 'Feedback', feedback_path, class: 'su-underline', data: { bs_toggle: 'collapse', bs_target: '#feedback-form' } %>.</p> |
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
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
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
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,5 +1,5 @@ | ||
<% if document.collection? && document.released_to?('Searchworks') %> | ||
<%= render SectionComponent.new(label: 'Items in collection') do %> | ||
<%= link_to 'View items in this collection in SearchWorks', document.collection_items_link %> | ||
<%= link_to 'View items in this collection in SearchWorks', document.collection_items_link, class: 'su-underline' %> | ||
<% end %> | ||
<% end %> |
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
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
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
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
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
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,35 +1,35 @@ | ||
<%# For home & search results page %> | ||
<% if params['controller'] == 'catalog' and params['action'] == 'index' %> | ||
<div id="skip-link"> | ||
<a href="#search_field" class="element-invisible element-focusable">Skip to search</a> | ||
<a href="#main-container" class="element-invisible element-focusable">Skip to main content</a> | ||
<a href="#search_field" class="su-underline element-invisible element-focusable">Skip to search</a> | ||
<a href="#main-container" class="su-underline element-invisible element-focusable">Skip to main content</a> | ||
|
||
<% if !params['f'].blank? or !params['q'].blank? %> | ||
<a href="#documents" class="element-invisible element-focusable">Skip to first result</a> | ||
<a href="#documents" class="su-underline element-invisible element-focusable">Skip to first result</a> | ||
<% end %> | ||
</div> | ||
<% end %> | ||
|
||
<%# For selections page %> | ||
<% if params['controller'] == 'bookmarks' and params['action'] == 'index' %> | ||
<div id="skip-link"> | ||
<a href="#search_field" class="element-invisible element-focusable">Skip to search</a> | ||
<a href="#main-container" class="element-invisible element-focusable">Skip to main content</a> | ||
<a href="#documents" class="element-invisible element-focusable">Skip to first result</a> | ||
<a href="#search_field" class="su-underline element-invisible element-focusable">Skip to search</a> | ||
<a href="#main-container" class="su-underline element-invisible element-focusable">Skip to main content</a> | ||
<a href="#documents" class="su-underline element-invisible element-focusable">Skip to first result</a> | ||
</div> | ||
<% end %> | ||
|
||
<%# For record view page %> | ||
<% if params['controller'] == 'catalog' and params['action'] == 'show' %> | ||
<div id="skip-link"> | ||
<a href="#search_field" class="element-invisible element-focusable">Skip to search</a> | ||
<a href="#document" class="element-invisible element-focusable">Skip to main content</a> | ||
<a href="#search_field" class="su-underline element-invisible element-focusable">Skip to search</a> | ||
<a href="#document" class="su-underline element-invisible element-focusable">Skip to main content</a> | ||
</div> | ||
<% end %> | ||
|
||
<%# For advanced search page %> | ||
<% if params['controller'] == 'advanced' and params['action'] == 'index' %> | ||
<div id="skip-link"> | ||
<a href="#advanced-search-form" class="element-invisible element-focusable">Skip to advanced search form</a> | ||
<a href="#advanced-search-form" class="su-underline element-invisible element-focusable">Skip to advanced search form</a> | ||
</div> | ||
<% end %> |
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