pull/2077/head
maxgrapps 6 years ago
parent 71ce04da4c
commit f1b0e37396
  1. 7
      apps/block_scout_web/assets/css/components/_btn_dropdown_line.scss
  2. 4
      apps/block_scout_web/assets/css/components/_card.scss
  3. 8
      apps/block_scout_web/assets/css/components/_dropdown.scss
  4. 7
      apps/block_scout_web/assets/css/components/_modal.scss
  5. 12
      apps/block_scout_web/assets/css/theme/_neutral_variables.scss
  6. 6
      apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex
  7. 2
      apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex

@ -3,4 +3,11 @@ $btn-dropdown-line-color: $primary !default;
.btn-dropdown-line { .btn-dropdown-line {
@include btn-line($btn-dropdown-line-bg, $btn-dropdown-line-color); @include btn-line($btn-dropdown-line-bg, $btn-dropdown-line-color);
outline: none !important;
color: #333;
border-color: #e2e5ec;
&:hover {
background-color: transparent;
color: #333;
}
} }

@ -175,7 +175,9 @@ $card-background-1-text-color: #fff !default;
text-align: center; text-align: center;
&:hover { &:hover {
text-decoration: underline; background-color: rgba($card-tab-active, .1);
color: $card-tab-active;
text-decoration: none;
} }
@include media-breakpoint-down(sm) { @include media-breakpoint-down(sm) {

@ -1,6 +1,6 @@
// These styles extend the default Bootstrap styles // These styles extend the default Bootstrap styles
.dropdown-menu { .dropdown-menu {
border-radius: 8px !important; border-radius: 0 0 8px 8px !important;
border: none; border: none;
box-shadow: $box-shadow; box-shadow: $box-shadow;
padding: 0; padding: 0;
@ -32,8 +32,8 @@
} }
&:first-child { &:first-child {
border-top-left-radius: 8px; border-top-left-radius: 0;
border-top-right-radius: 8px; border-top-right-radius: 0;
} }
&:last-child { &:last-child {
@ -46,7 +46,7 @@
&:hover, &:hover,
&:active { &:active {
padding-left: 10px; padding-left: 10px;
background-color: transparent; background-color: #fff !important;
cursor: default; cursor: default;
color: #333; color: #333;
font-weight: 700; font-weight: 700;

@ -17,12 +17,17 @@ $modal-gray-background: #f6f7f9 !default;
padding: #{$modal-vertical-padding} #{$modal-horizontal-padding}; padding: #{$modal-vertical-padding} #{$modal-horizontal-padding};
} }
.close.close-modal { .close.close-modal{
left: auto; left: auto;
opacity: 1; opacity: 1;
position: absolute; position: absolute;
right: -35px; right: -35px;
top: -35px; top: -35px;
outline: none !important;
}
.close {
outline: none !important;
} }
.modal-body { .modal-body {

@ -57,3 +57,15 @@ $btn-qr-color: $primary; // btn qr-code
// card // card
$card-background-1: $primary; $card-background-1: $primary;
$card-tab-active: $primary; $card-tab-active: $primary;
.footer {
.tooltip {
.tooltip-inner {
background-color: darken($footer-background-color, 10) !important;
}
.arrow::before {
border-top-color: darken($footer-background-color, 10) !important;
border-bottom-color: darken($footer-background-color, 10) !important;
}
}
}

@ -16,13 +16,13 @@
<div class="col-md-<%= col_size %>"> <div class="col-md-<%= col_size %>">
<p class="footer-info-text"><%= gettext("Blockscout is a tool for inspecting and analyzing EVM based blockchains. Blockchain explorer for Ethereum Networks.") %></p> <p class="footer-info-text"><%= gettext("Blockscout is a tool for inspecting and analyzing EVM based blockchains. Blockchain explorer for Ethereum Networks.") %></p>
<div class="footer-social-icons"> <div class="footer-social-icons">
<a href="https://github.com/poanetwork/blockscout" rel="noreferrer" target="_blank" class="footer-social-icon" data-toggle="tooltip" data-placement="top" title='<%= gettext("Github") %>'> <a href="https://github.com/poanetwork/blockscout" rel="noreferrer" target="_blank" class="footer-social-icon" title='<%= gettext("Github") %>'>
<i class="fab fa-github"></i> <i class="fab fa-github"></i>
</a> </a>
<a href="https://www.twitter.com/_blockscout/" rel="noreferrer" target="_blank" class="footer-social-icon" data-toggle="tooltip" data-placement="top" title='<%= gettext("Twitter") %>'> <a href="https://www.twitter.com/_blockscout/" rel="noreferrer" target="_blank" class="footer-social-icon" title='<%= gettext("Twitter") %>'>
<i class="fab fa-twitter"></i> <i class="fab fa-twitter"></i>
</a> </a>
<a href="https://t.me/poa_network" rel="noreferrer" target="_blank" class="footer-social-icon" data-toggle="tooltip" data-placement="top" title='<%= gettext("Telegram") %>'> <a href="https://t.me/poa_network" rel="noreferrer" target="_blank" class="footer-social-icon" title='<%= gettext("Telegram") %>'>
<i class="fab fa-telegram-plane"></i> <i class="fab fa-telegram-plane"></i>
</a> </a>
</div> </div>

@ -92,7 +92,7 @@
<%= for %{url: url, title: title} <- test_nets(dropdown_nets()) do %> <%= for %{url: url, title: title} <- test_nets(dropdown_nets()) do %>
<a class="dropdown-item" href="<%= url%>"><%= title %></a> <a class="dropdown-item" href="<%= url%>"><%= title %></a>
<% end %> <% end %>
<a class="dropdown-item header division">Other networks</a> <a class="dropdown-item header division">Other Networks</a>
<%= for %{url: url, title: title} <- dropdown_other_nets() do %> <%= for %{url: url, title: title} <- dropdown_other_nets() do %>
<a class="dropdown-item" href="<%= url%>"><%= title %></a> <a class="dropdown-item" href="<%= url%>"><%= title %></a>
<% end %> <% end %>

Loading…
Cancel
Save