Merge pull request #310 from MetaMask/fontChange

Font change
feature/default_network_editable
Dan Finlay 9 years ago committed by GitHub
commit fd01e45cd5
  1. 2
      CHANGELOG.md
  2. BIN
      app/fonts/Montserrat/Montserrat-Bold.ttf
  3. BIN
      app/fonts/Montserrat/Montserrat-Bold.woff
  4. BIN
      app/fonts/Montserrat/Montserrat-Regular.ttf
  5. BIN
      app/fonts/Montserrat/Montserrat-Regular.woff
  6. 92
      app/fonts/Montserrat/OFL.txt
  7. BIN
      app/fonts/Transat Black/transat_black-webfont.eot
  8. 2592
      app/fonts/Transat Black/transat_black-webfont.svg
  9. BIN
      app/fonts/Transat Black/transat_black-webfont.ttf
  10. BIN
      app/fonts/Transat Black/transat_black-webfont.woff
  11. BIN
      app/fonts/Transat Black/transat_black-webfont.woff2
  12. BIN
      app/fonts/Transat Light/transat_light-webfont.eot
  13. 2399
      app/fonts/Transat Light/transat_light-webfont.svg
  14. BIN
      app/fonts/Transat Light/transat_light-webfont.ttf
  15. BIN
      app/fonts/Transat Light/transat_light-webfont.woff
  16. BIN
      app/fonts/Transat Light/transat_light-webfont.woff2
  17. BIN
      app/fonts/Transat Medium/transat_medium-webfont.eot
  18. 2813
      app/fonts/Transat Medium/transat_medium-webfont.svg
  19. BIN
      app/fonts/Transat Medium/transat_medium-webfont.ttf
  20. BIN
      app/fonts/Transat Medium/transat_medium-webfont.woff
  21. BIN
      app/fonts/Transat Medium/transat_medium-webfont.woff2
  22. BIN
      app/fonts/Transat Standard/transat_standard-webfont.eot
  23. 2827
      app/fonts/Transat Standard/transat_standard-webfont.svg
  24. BIN
      app/fonts/Transat Standard/transat_standard-webfont.ttf
  25. BIN
      app/fonts/Transat Standard/transat_standard-webfont.woff
  26. BIN
      app/fonts/Transat Standard/transat_standard-webfont.woff2
  27. 2
      ui/app/components/drop-menu-item.js
  28. 4
      ui/app/components/transaction-list-item.js
  29. 40
      ui/app/css/fonts.css
  30. 16
      ui/app/css/index.css
  31. 12
      ui/app/info.js

@ -2,6 +2,8 @@
## Current Master ## Current Master
- Switch out font family Transat for Montserrat
## 2.4.2 2016-06-22 ## 2.4.2 2016-06-22
- Change out export icon for key. - Change out export icon for key.

@ -0,0 +1,92 @@
Copyright (c) 2011-2012, Julieta Ulanovsky (julieta.ulanovsky@gmail.com), with Reserved Font Names 'Montserrat'
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 160 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 151 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 169 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 171 KiB

@ -18,7 +18,7 @@ DropMenuItem.prototype.render = function () {
style: { style: {
listStyle: 'none', listStyle: 'none',
padding: '6px 16px 6px 5px', padding: '6px 16px 6px 5px',
fontFamily: 'Transat Medium', fontFamily: 'Montserrat Regular',
color: 'rgb(125, 128, 130)', color: 'rgb(125, 128, 130)',
cursor: 'pointer', cursor: 'pointer',
}, },

@ -77,7 +77,7 @@ TransactionListItem.prototype.render = function () {
function domainField (txParams) { function domainField (txParams) {
return h('div', { return h('div', {
style: { style: {
fontSize: 'small', fontSize: 'x-small',
color: '#ABA9AA', color: '#ABA9AA',
}, },
}, [ }, [
@ -98,7 +98,7 @@ function recipientField (txParams, transaction, isTx, isMsg) {
return h('div', { return h('div', {
style: { style: {
fontSize: 'small', fontSize: 'x-small',
color: '#ABA9AA', color: '#ABA9AA',
}, },
}, [ }, [

@ -2,45 +2,19 @@
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css); @import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);
@font-face { @font-face {
font-family: 'Transat Standard'; font-family: 'Montserrat Regular';
src: url('/fonts/Transat Standard/transat_standard-webfont.eot'); src: url('/fonts/Montserrat/Montserrat-Regular.woff') format('woff');
src: url('/fonts/Transat Standard/transat_standard-webfont.eot?#iefix') format('embedded-opentype'), src: url('/fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
url('/fonts/Transat Standard/transat_standard-webfont.woff') format('woff'),
url('/fonts/Transat Standard/transat_standard-webfont.ttf') format('truetype'),
url('/fonts/Transat Standard/transat_standard-webfont.svg#ywftsvg') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} font-size: 'small',
@font-face {
font-family: 'Transat Black';
src: url('/fonts/Transat Black/transat_black-webfont.eot');
src: url('/fonts/Transat Black/transat_black-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/Transat Black/transat_black-webfont.woff') format('woff'),
url('/fonts/Transat Black/transat_black-webfont.ttf') format('truetype'),
url('/fonts/Transat Black/transat_black-webfont.svg#ywftsvg') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Transat Medium';
src: url('/fonts/Transat Medium/transat_medium-webfont.eot');
src: url('/fonts/Transat Medium/transat_medium-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/Transat Medium/transat_medium-webfont.woff') format('woff'),
url('/fonts/Transat Medium/transat_medium-webfont.ttf') format('truetype'),
url('/fonts/Transat Medium/transat_medium-webfont.svg#ywftsvg') format('svg');
font-weight: normal;
font-style: normal;
} }
@font-face { @font-face {
font-family: 'Transat Light'; font-family: 'Montserrat Bold';
src: url('/fonts/Transat Light/transat_light-webfont.eot'); src: url('/fonts/Montserrat/Montserrat-Bold.woff') format('woff');
src: url('/fonts/Transat Light/transat_light-webfont.eot?#iefix') format('embedded-opentype'), src: url('/fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
url('/fonts/Transat Light/transat_light-webfont.woff') format('woff'),
url('/fonts/Transat Light/transat_light-webfont.ttf') format('truetype'),
url('/fonts/Transat Light/transat_light-webfont.svg#ywftsvg') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

@ -14,7 +14,7 @@ application specific styles
} }
html, body { html, body {
font-family: 'Transat Standard', Arial; font-family: 'Montserrat Regular', Arial;
color: #4D4D4D; color: #4D4D4D;
font-weight: 300; font-weight: 300;
line-height: 1.4em; line-height: 1.4em;
@ -33,7 +33,7 @@ input:focus, textarea:focus {
} }
button { button {
font-family: 'Transat Black'; font-family: 'Montserrat Bold';
outline: none; outline: none;
cursor: pointer; cursor: pointer;
box-shadow: 0px 3px 6px rgba(247, 134, 28, 0.36); box-shadow: 0px 3px 6px rgba(247, 134, 28, 0.36);
@ -80,7 +80,7 @@ button.primary {
box-shadow: 0px 3px 6px rgba(247, 134, 28, 0.36); box-shadow: 0px 3px 6px rgba(247, 134, 28, 0.36);
color: white; color: white;
font-size: 1.1em; font-size: 1.1em;
font-family: 'Transat Standard'; font-family: 'Montserrat Regular';
text-transform: uppercase; text-transform: uppercase;
} }
@ -101,13 +101,13 @@ button.btn-thin {
} }
.app-header h1 { .app-header h1 {
font-family: 'Transat Medium'; font-family: 'Montserrat Regular';
text-transform: uppercase; text-transform: uppercase;
color: #AEAEAE; color: #AEAEAE;
} }
h2.page-subtitle { h2.page-subtitle {
font-family: 'Transat Light'; font-family: 'Montserrat Regular';
text-transform: uppercase; text-transform: uppercase;
color: #AEAEAE; color: #AEAEAE;
font-size: 1em; font-size: 1em;
@ -428,7 +428,7 @@ input.large-input {
/* Info screen */ /* Info screen */
.info-gray{ .info-gray{
font-family: 'Transat Medium'; font-family: 'Montserrat Regular';
text-transform: uppercase; text-transform: uppercase;
color: #AEAEAE; color: #AEAEAE;
} }
@ -438,10 +438,8 @@ input.large-input {
} }
.info{ .info{
font-family: 'Transat Standard', Arial; font-family: 'Montserrat Regular', Arial;
font-weight: bolder;
padding-bottom: 10px; padding-bottom: 10px;
display: inline-block; display: inline-block;
padding-left: 5px; padding-left: 5px;
} }

@ -56,10 +56,7 @@ InfoScreen.prototype.render = function () {
}, },
}), }),
h('.info', { h('.info',
style: {
marginBottom: '20px',
}},
`For more information on MetaMask `For more information on MetaMask
you can visit our web site. If you want to you can visit our web site. If you want to
contact us with questions or just contact us with questions or just
@ -79,11 +76,7 @@ InfoScreen.prototype.render = function () {
h('img.icon-size', { h('img.icon-size', {
src: manifest.icons[128], src: manifest.icons[128],
}), }),
h('div.info', { h('div.info', 'Visit our web site'),
style: {
fontWeight: 800,
},
}, 'Visit our web site'),
]), ]),
]), ]),
h('div.fa.fa-slack', [ h('div.fa.fa-slack', [
@ -106,6 +99,7 @@ InfoScreen.prototype.render = function () {
h('a.info', { h('a.info', {
href: 'mailto:hello@metamask.io?subject=Feedback', href: 'mailto:hello@metamask.io?subject=Feedback',
target: '_blank', target: '_blank',
style: { width: '85vw' },
}, 'Email us any questions or comments!'), }, 'Email us any questions or comments!'),
]), ]),

Loading…
Cancel
Save