Huge graphic redesign

This commit is contained in:
Boris Kubiak 2018-02-24 15:33:25 +01:00
parent fec3e1e5e6
commit 81acdf3d41
13 changed files with 66 additions and 47 deletions

View file

@ -1,14 +1,14 @@
# Vanity-ETH # Vanity-ETH
[![Build Status](https://img.shields.io/travis/bokub/vanity-eth/master.svg?style=flat-square)](https://travis-ci.org/bokub/vanity-eth) [![Build Status](https://img.shields.io/travis/bokub/vanity-eth/master.svg?style=flat-square)](https://travis-ci.org/bokub/vanity-eth)
[![License](https://img.shields.io/badge/license-MIT-f49068.svg?style=flat-square)](https://raw.githubusercontent.com/bokub/vanity-eth/master/LICENSE) [![License](https://img.shields.io/badge/license-MIT-f68084.svg?style=flat-square)](https://raw.githubusercontent.com/bokub/vanity-eth/master/LICENSE)
[![Maintainability](https://api.codeclimate.com/v1/badges/818874f09ea56c310072/maintainability)](https://codeclimate.com/github/bokub/vanity-eth/maintainability) [![Maintainability](https://api.codeclimate.com/v1/badges/818874f09ea56c310072/maintainability)](https://codeclimate.com/github/bokub/vanity-eth/maintainability)
Browser-based ETH vanity address generator Browser-based ETH vanity address generator
Just type [`git.io/veth`](https://git.io/veth) to use it ⚡️ Just type [`git.io/veth`](https://git.io/veth) to use it ⚡️
[![Vanity-ETH](https://i.imgur.com/hxgxohl.png)](https://git.io/veth) [![Vanity-ETH](https://i.imgur.com/lv6Gej5.png)](https://git.io/veth)
## Usage ## Usage
@ -29,7 +29,7 @@ As explained above, everything is computed in your browser. Nothing ever leaves
Once the web page is loaded, you can turn off the internet and continue playing. Once the web page is loaded, you can turn off the internet and continue playing.
You can also download the latest build of Vanity-ETH [here](https://github.com/bokub/vanity-eth/wiki/Download-Vanity-ETH) You can also download the latest build of Vanity-ETH [here](https://git.io/veth-dl)
and use it completely offline. and use it completely offline.
Vanity-ETH uses a cryptographically secure pseudorandom number generator (CSPRNG) to generate Ethereum addresses. Vanity-ETH uses a cryptographically secure pseudorandom number generator (CSPRNG) to generate Ethereum addresses.

View file

@ -236,6 +236,7 @@
body body
padding: 0 padding: 0
font-family: 'Lato', sans-serif font-family: 'Lato', sans-serif
background: $bg-1
background: $background background: $background
h1, h2, h3, h4, h5, h6, p, label h1, h2, h3, h4, h5, h6, p, label
@ -243,50 +244,55 @@
font-weight: normal font-weight: normal
a, a:visited, a:hover a, a:visited, a:hover
color: $grey-text color: $text-alt
text-decoration: underline text-decoration: underline
a:hover a:hover
color: $white-text color: $text
.panel .panel
padding: 1.5em 3em padding: 1.5em 3em
background-color: $panel-background background-color: $panel-background
margin-top: 2em margin-top: 2em
color: $white-text color: $text
font-weight: 400 font-weight: 400
box-shadow: $shadow
transition: box-shadow 0.2s ease-in-out
&:hover
box-shadow: $shadow-big
#content #content
margin-top: 8em margin-top: 8em
margin-bottom: 6em margin-bottom: 6em
.text-input-large .text-input-large
width: 100% width: 100%
color: $white-text color: $text
background: $panel-background-clear background: $panel-background-alt
outline: none outline: none
font-size: 1.3em font-size: 1.3em
padding: 0.5em padding: 0.5em
border: none border: none
margin-bottom: 10px margin-bottom: 10px
-webkit-appearance: none -webkit-appearance: none
&::placeholder
color: $placeholder
.button-large .button-large
border: none border: none
outline: none outline: none
color: $white-text color: $text-opposite
padding: 0.6em padding: 0.6em
font-size: 1.3em font-size: 1.3em
font-weight: 500 font-weight: 500
margin: 1.3em 0 0 0 margin: 1.3em 0 0 0
cursor: pointer cursor: pointer
-webkit-appearance: none -webkit-appearance: none
background: $teal background: $primary
width: 100% width: 100%
&:hover &:hover
background: $yellow background: $secondary
&:disabled &:disabled
background: $panel-background-clear background: $disabled
cursor: auto cursor: auto
/*-- Fonts --*/ /*-- Fonts --*/

Binary file not shown.

View file

@ -1,10 +1,22 @@
$white-text: #fff $text: #353535
$grey-text: #888 $text-alt: #5d5d5d
$border-grey: #97A2A8 $text-opposite: #fff
$background: #000 $logo: #fff
$panel-background: #191919 $border-grey: #97a2a8
$panel-background-clear: #2d2c2c
$teal: #198a88 $panel-background: #fff
$yellow: #d78716 $panel-background-alt: #e0e0e0
$red: #ec4a41 $disabled: #c3c3c3
$placeholder: #b2b2b2
$bg-1: #b490ca
$bg-2: #f68084
$background: linear-gradient(to top, $bg-2 0%, $bg-1 100%)
$primary: #ea969b
$secondary: #ffa0a0
$error: #ff4a40
$shadow: 1px 5px 10px rgba(0, 0, 0, 0.15)
$shadow-big: 2px 10px 15px rgba(0, 0, 0, 0.15)

View file

@ -4,9 +4,9 @@
<svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"> <svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" fill="#fff"></path> <path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" fill="#fff"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" <path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="#000" style="transform-origin: 130px 106px;" class="octo-arm"></path> fill="#b490ca" style="transform-origin: 130px 106px;" class="octo-arm"></path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" <path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="#000" class="octo-body"></path> fill="#b490ca" class="octo-body"></path>
</svg> </svg>
</a> </a>
</template> </template>

View file

@ -1,7 +1,7 @@
<template> <template>
<div class="panel"> <div class="panel">
<p> <p>
Vanity-ETH is a browser-based tool to generate Ethereum vanity addresses. Vanity-ETH is an open source tool using your web browser to generate Ethereum vanity addresses.
</p> </p>
<h2>Usage</h2> <h2>Usage</h2>
<p> <p>
@ -20,7 +20,7 @@
Once the web page is loaded, you can turn off the internet and continue Once the web page is loaded, you can turn off the internet and continue
playing.<br> playing.<br>
You can also download the latest build of Vanity-ETH on You can also download the latest build of Vanity-ETH on
<a href="https://github.com/bokub/vanity-eth/wiki/download-Vanity-ETH" target="_blank">Github</a> and use it <a href="https://git.io/veth-dl" target="_blank">Github</a> and use it
completely offline.<br> completely offline.<br>
Vanity-ETH uses a cryptographically secure pseudorandom number generator (CSPRNG) to generate Vanity-ETH uses a cryptographically secure pseudorandom number generator (CSPRNG) to generate
Ethereum addresses.<br> Ethereum addresses.<br>
@ -49,5 +49,5 @@
@import "../css/variables" @import "../css/variables"
p p
margin: 15px 0 20px margin: 15px 0 20px
color: $grey-text color: $text-alt
</style> </style>

View file

@ -23,8 +23,8 @@
<style lang="sass" scoped> <style lang="sass" scoped>
@import "../css/variables" @import "../css/variables"
.panel .panel
background-color: $red background-color: $error
color: $text-opposite
a, a:visited, a:hover a, a:visited, a:hover
color: $white-text
text-decoration: underline text-decoration: underline
</style> </style>

View file

@ -37,16 +37,17 @@
footer footer
padding: 1rem 0 0.5rem padding: 1rem 0 0.5rem
background-color: $panel-background background-color: $panel-background
color: $grey-text color: $text-alt
a a
text-decoration: none text-decoration: none
.address .address
margin-bottom: 20px margin-bottom: 20px
color: $white-text color: $text
a a
font-family: "Courier New", "Courier", monospace font-family: "Courier New", "Courier", monospace
margin-left: 15px margin-left: 15px
word-break: break-all word-break: break-all
font-weight: bold
.links .links
text-align: right text-align: right
a a

View file

@ -16,14 +16,14 @@
div div
margin-bottom: 8em margin-bottom: 8em
color: $white-text color: $logo
font-family: 'Montserrat', sans-serif font-family: 'Montserrat', sans-serif
text-align: center text-align: center
h1 h1
font-size: 3em font-size: 3em
font-weight: 700 font-weight: 700
border: 4px solid $white-text border: 4px solid $logo
width: 7.8em width: 7.8em
margin: 0 auto margin: 0 auto
@ -44,7 +44,7 @@
margin-bottom: 4em margin-bottom: 4em
h1 h1
font-size: 2.5em font-size: 2.5em
border: 3px solid $white-text border-width: 3px
p p
font-size: 1.4em font-size: 1.4em
margin-top: 0.8em margin-top: 0.8em
@ -61,7 +61,7 @@
@media screen and (max-width: 480px) @media screen and (max-width: 480px)
h1 h1
font-size: 2em font-size: 2em
border: 2px solid $white-text border-width: 2px
p p
font-size: 1.2em font-size: 1.2em

View file

@ -85,11 +85,11 @@
.error-text .error-text
display: none display: none
font-size: 0.85em font-size: 0.85em
color: $red color: $error
.error .error
input[type="text"] input[type="text"]
border: 1px solid $red border: 1px solid $error
.error-text .error-text
display: block display: block
@ -103,7 +103,7 @@
cursor: pointer cursor: pointer
position: relative position: relative
font-size: 1.2em font-size: 1.2em
color: $white-text color: $text
font-weight: 400 font-weight: 400
&:last-child &:last-child
margin-bottom: 0 margin-bottom: 0

View file

@ -49,13 +49,14 @@
width: 48px width: 48px
height: 48px height: 48px
margin: 0 15px margin: 0 15px
background-color: $panel-background-clear background-color: $panel-background-alt
.output .output
font-family: "Courier New", "Courier", monospace font-family: "Courier New", "Courier", monospace
color: $grey-text color: $text-alt
margin-left: 15px margin-left: 15px
word-break: break-all word-break: break-all
font-weight: bold
.panel > div:not(:last-child) .panel > div:not(:last-child)
margin-bottom: 15px margin-bottom: 15px

View file

@ -60,7 +60,7 @@
.remodal .remodal
background-color: $panel-background background-color: $panel-background
color: $white-text color: $text
.title .title
margin-bottom: 45px margin-bottom: 45px
.remodal-close .remodal-close
@ -68,7 +68,7 @@
&:before &:before
font-size: 2em font-size: 2em
&:hover &:hover
color: $white-text color: $text
.hidden .hidden
display: none display: none

View file

@ -89,14 +89,14 @@
width: 85% width: 85%
margin: 5px 0 margin: 5px 0
height: 18px height: 18px
background: $panel-background-clear background: $panel-background-alt
float: left float: left
.probability-bar .probability-bar
height: 100% height: 100%
width: 0 width: 0
display: block display: block
background-color: #d78716 background-color: $secondary
.percentage .percentage
float: right float: right
@ -108,17 +108,16 @@
div div
font-size: 0.75em font-size: 0.75em
h5 h5
color: $white-text color: $text
font-weight: 500 font-weight: 500
.output .output
font-family: "Courier New", "Courier", monospace font-family: "Courier New", "Courier", monospace
font-size: 1.1em font-size: 1.1em
color: $grey-text color: $text-alt
margin-left: 15px margin-left: 15px
word-break: break-all word-break: break-all
@media screen and (max-width: 480px) @media screen and (max-width: 480px)
.percentage .percentage
left: -5px left: -5px