Merge pull request #1925 from maxgrapps/master

Dai theme and dai logo
pull/1941/head
Victor Baranov 6 years ago committed by GitHub
commit 45689bbb4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 111
      apps/block_scout_web/assets/css/theme/_dai_variables.scss
  3. 50
      apps/block_scout_web/assets/static/images/dai_logo.svg

@ -1,6 +1,7 @@
## Current
### Features
- [#1925](https://github.com/poanetwork/blockscout/pull/1925) - added dai theme and logo
- [#1922](https://github.com/poanetwork/blockscout/pull/1922) - added ethereum classic theme and logo
- [#1907](https://github.com/poanetwork/blockscout/pull/1907) - dropdown color bug fix (lukso theme) and tooltip color bug fix
- [#1903](https://github.com/poanetwork/blockscout/pull/1903) - added rsk theme and rsk logo

@ -1,61 +1,50 @@
$primary: #fec042;
$secondary: #53546a;
$tertiary: #1755e4;
.navbar.navbar-primary {
background-color: #f2f6f8;
&.navbar-dark .navbar-nav .nav-link {
color: $secondary;
&:hover,
&:focus {
color: rgba($secondary, 0.75);
}
}
.form-control {
color: $secondary;
&::-webkit-input-placeholder {
/* Chrome/Opera/Safari */
color: transparentize($secondary, 0.5);
}
&::-moz-placeholder {
/* Firefox 19+ */
color: transparentize($secondary, 0.5);
}
&:-ms-input-placeholder {
/* IE 10+ */
color: transparentize($secondary, 0.5);
}
&:-moz-placeholder {
/* Firefox 18- */
color: transparentize($secondary, 0.5);
}
}
}
.navbar-logo {
height: 1.75em;
}
.navbar.navbar-dark .navbar-toggler {
color: $secondary;
border-color: $secondary;
.navbar-toggler-icon {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{transparentize($secondary, 0.5)}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
}
.button.button-secondary {
color: $secondary;
border-color: $secondary;
&:hover,
&:focus {
background-color: $secondary;
border-color: $secondary;
}
}
// general
$primary: #2b2b2b;
$secondary: #ffb045;
$tertiary: #929292;
$additional-font: #ffffff;
// footer
$footer-background-color: $primary;
$footer-title-color: #fff;
$footer-text-color: #7e7e7e;
$footer-item-disc-color: $secondary;
.footer-logo { filter: brightness(0) invert(1); }
// dashboard
$dashboard-line-color-price: $tertiary; // price left border
$dashboard-banner-chart-legend-value-color: $additional-font; // chart labels
$dashboard-stats-item-value-color: $additional-font; // stat values
$dashboard-stats-item-border-color: $secondary; // stat border
$dashboard-banner-gradient-start: $primary; // gradient begin
$dashboard-banner-gradient-end: lighten($primary, 5); // gradient end
$dashboard-banner-network-plain-container-background-color: #424242; // stats bg
// navigation
.navbar { box-shadow: 0px 0px 30px 0px rgba(21, 53, 80, 0.12); } // header shadow
$header-icon-border-color-hover: $secondary; // top border on hover
$header-icon-color-hover: $secondary; // nav icon on hover
.dropdown-item:hover, .dropdown-item:focus { background-color: $secondary !important; } // dropdown item on hover
// buttons
$btn-line-bg: #fff; // button bg
$btn-line-color: #424242; // button border and font color && hover bg color
$btn-copy-color: #424242; // btn copy
$btn-qr-color: #424242; // btn qr-code
//links & tile
.tile a { color: #4b89fb !important; } // links color for badges
.tile-type-block {
border-left: 4px solid $secondary;
} // tab active bg
// card
$card-background-1: $secondary;
$card-tab-active: $secondary;

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Loading…
Cancel
Save