Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ewlarson committed Jan 31, 2025
1 parent 2534082 commit 9e3d94d
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 16 deletions.
13 changes: 11 additions & 2 deletions app/assets/stylesheets/_customizations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ h1, h2, h3, h4, h5, h6,
margin:1rem 0 !important;

dt {
font-family: $font-family-sans-serif;
font-weight: bold;
font-size: 1.25rem;
text-align: left !important;
Expand Down Expand Up @@ -177,8 +178,12 @@ h1, h2, h3, h4, h5, h6,
h3 {
color: #fff;
}
background: linear-gradient(to top, #003c5b, #004c6b);
padding: 0.5rem 1rem 1rem 1rem;
background-image: asset_url('footer/elevation_map_mpls_blueish.png');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;

padding: 0.5rem 1rem 2rem 1rem;

.equal-height-card {
border-radius: 0px;
Expand Down Expand Up @@ -274,3 +279,7 @@ h1, h2, h3, h4, h5, h6,
padding: 1.25rem 0.5rem 1.25rem 1.25rem;
}
}

.card-body {
padding: 0.5rem 1rem !important;
}
5 changes: 1 addition & 4 deletions app/assets/stylesheets/geoportal/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ section#footer-app {
background-color: $btaa-blue;
border-top: 1rem solid $btaa-blue-dark;
border-bottom: 0.5rem solid $btaa-blue-dark;
background-image: asset_url('footer/elevation_map_mpls_blueish.png');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background: linear-gradient(to top, #003c5b, #004c6b);

// Link styling
a {
Expand Down
5 changes: 1 addition & 4 deletions app/assets/stylesheets/geoportal/_todo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ a {
}
a.btn {
text-decoration: none;
&:visited {
color: $white;
border-color: $white;
}
}

a.btn.btn-primary {
color: $white;
background-color: $btaa-blue;
Expand Down
2 changes: 1 addition & 1 deletion app/views/brand/_search_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</div>
</span>
<span class="input-group-append">
<button type="submit" class="btn btn-primary search-btn" id="search">
<button type="submit" class="btn btn-primary search-btn m-0" id="search">
<span class="submit-search-text">Search</span>
<span class="blacklight-icons blacklight-icon-search" aria-hidden="true">
<!--?xml version="1.0"?-->
Expand Down
7 changes: 5 additions & 2 deletions app/views/brand/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
border: none !important;
}
}

.dl-invert > dt {
font-weight: 700 !important;
font-family: $font-family-sans-serif !important;
}
</style>

<div class="row">
Expand Down Expand Up @@ -530,7 +535,5 @@ Notable differences: Overall slightly less condensed than Benton Sans, and the u
</dl>
</div>
</div>

<%= render 'brand/partials/more_like_this' %>
</div>
</div>
2 changes: 1 addition & 1 deletion app/views/catalog/_show_breadcrumb.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<% end %>
<% if @document[Settings.FIELDS.SPATIAL_COVERAGE].present? %>
&gt;
<%= @document[Settings.FIELDS.SPATIAL_COVERAGE].map do |value|
<%= @document[Settings.FIELDS.SPATIAL_COVERAGE][0..0].map do |value|
search_params = search_params.merge("f[#{Settings.FIELDS.SPATIAL_COVERAGE}][]" => value)
faceted_search_link(Settings.FIELDS.SPATIAL_COVERAGE, value, search_params)
end.join(', ').html_safe %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/catalog/_show_header_default.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= render 'catalog/show_breadcrumb' %>

<h2>
<h2 class="h1">
<span itemprop="name"><%= document_presenter(document).heading %></span>
</h2>

Expand Down
2 changes: 1 addition & 1 deletion app/views/catalog/_show_sidebar_citation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
</p>
</li>

<li class="list-group-item">
<li class="list-group-item mt-2">
<h5 class="h6">Permalink <span id="copy-message" style="opacity: 0; transition: opacity 0.5s;"></span></h5>
<div class="input-group permalink-container">
<input type="text" class="form-control" id="permalink-text" value="<%= url_for(:only_path => false).split("/citation")[0] %>" readonly>
Expand Down

0 comments on commit 9e3d94d

Please sign in to comment.