Skip to content

Commit

Permalink
[#4453] Update Where to find it color scheme to be the same as the bo…
Browse files Browse the repository at this point in the history
…otstrap btn-primary button
  • Loading branch information
christinach committed Oct 22, 2024
1 parent c02b513 commit b531af5
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@

@import "datatables";
@import "lux_customizations";
@import "stackmap_customizations";
34 changes: 34 additions & 0 deletions app/assets/stylesheets/stackmap_customizations.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// stackmap customizations until the vendor changes them

.SMsearchbtn{
height:auto;
cursor:pointer;
border-radius:3px;
display:inline-block;
white-space:nowrap;
margin:4px 0 4px 15px;
// padding:4px;text-shadow:0 1px 1px rgba(0,0,0,.2);
text-shadow:none;
font-size:1rem;
// font-weight:700;
color:#ffffff;
background-color: #3072AB;
border-color: #3072AB;
border-radius: 0.25rem;
}

.SMsearchbtn:hover{
background-color:#285e8d;
color:#ffffff;
text-decoration: none;
}
.SMsearchbtn:active{
background-color: #255783;
border-color: #225179;
}
.SMsearchbtn:focus{
color: #ffffff;
background-color: #285e8d;
border-color: #255783;
box-shadow: 0 0 0 0.2rem rgba(79, 135, 184, 0.5);
}
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<%= opensearch_description_tag application_name, main_app.opensearch_catalog_url(:format => 'xml') %>
<%= favicon_link_tag 'favicon.ico' %>
<link rel="stylesheet" href="https://use.typekit.net/yhr7zwc.css">
<link rel="stylesheet" media="all" type="text/css" href="https://www.stackmapintegration.com/princeton-blacklight/StackMap.min.css" />
<%= stylesheet_link_tag "application", media: "screen" %>
<%= stylesheet_link_tag "print", media: "print" %>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<script defer src="https://www.stackmapintegration.com/princeton-blacklight/StackMap.min.js" type="text/javascript"></script>
<link rel="stylesheet" media="all" type="text/css" href="https://www.stackmapintegration.com/princeton-blacklight/StackMap.min.css" />
<% if controller.controller_name == "form" %>
<%= javascript_include_tag 'requests/application' %>
<%= vite_javascript_tag 'requests' %>
Expand Down

0 comments on commit b531af5

Please sign in to comment.