Little fixes: html and templates config support.

This commit is contained in:
Gustavo Cortez 2014-04-29 09:52:28 -03:00
parent 8509820f00
commit 0010c0f688
4 changed files with 56 additions and 35 deletions

View File

@ -36,7 +36,7 @@ var config = {
port: 3001 port: 3001
}, },
verbose: 1, verbose: 1,
theme: ['default', 'clean'] themes: ['default']
}; };
var log = function () { var log = function () {

View File

@ -1,30 +1,10 @@
@font-face { /*
font-family: 'Ubuntu'; *
font-style: normal; * Copay main CSS
font-weight: 300; *
src: local('Ubuntu Light'), local('Ubuntu-Light'), url(../font/ubuntu-light.woff) format('woff'); */
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 400;
src: local('Ubuntu'), url(../font/ubuntu.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 700;
src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(../font/ubuntu-bold.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-style: italic;
font-weight: 700;
src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'), url(../font/ubuntu-bold-italic.woff) format('woff');
}
* { * {
font-family: 'Ubuntu', Helvetica, sans-serif !important;
margin:0; margin:0;
padding:0; padding:0;
} }
@ -81,6 +61,19 @@ html, body {height: 100%;}
font-size: 0.9rem; font-size: 0.9rem;
} }
.header h1, h5, p {
font-weight: 100;
margin-bottom: 0;
}
.header button, .button {
margin-bottom: 0;
}
.header h6 {
font-weight: 100;
}
.top-bar { .top-bar {
height: auto; height: auto;
width: 100%; width: 100%;

View File

@ -1,3 +1,38 @@
/*
*
* Copay Default Template
*
*/
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 300;
src: local('Ubuntu Light'), local('Ubuntu-Light'), url(../font/ubuntu-light.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 400;
src: local('Ubuntu'), url(../font/ubuntu.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 700;
src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(../font/ubuntu-bold.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-style: italic;
font-weight: 700;
src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'), url(../font/ubuntu-bold-italic.woff) format('woff');
}
* {
font-family: 'Ubuntu', Helvetica, sans-serif !important;
}
body { body {
background: #F5F5F5; background: #F5F5F5;
} }
@ -32,17 +67,10 @@ body {
.header h1, h5, p { .header h1, h5, p {
color: #93A9BD; color: #93A9BD;
font-weight: 100;
margin-bottom: 0;
}
.header button, .button {
margin-bottom: 0;
} }
.header h6 { .header h6 {
color: #fff; color: #fff;
font-weight: 100;
} }
.header .line-dashed-v { .header .line-dashed-v {

View File

@ -14,10 +14,10 @@
<div data-ng-init="init()" data-ng-controller="HeaderController"> <div data-ng-init="init()" data-ng-controller="HeaderController">
<div class="header"> <div class="header">
<div class="header-content"> <div class="header-content">
<div class="left large-3 columns"> <div class="large-3 columns">
<a href="#" class="logo" title="copay"></a> <a href="#" class="logo" title="copay"></a>
</div> </div>
<div class="right text-center large-9 columns m10t" ng-show="$root.wallet"> <div class="text-center large-9 columns m10t" ng-show="$root.wallet">
<h6 class="large-6 columns line-dashed-v"> <h6 class="large-6 columns line-dashed-v">
<span ng-if="!$root.wallet.name && $root.wallet.id">{{$root.wallet.id}}</span> <span ng-if="!$root.wallet.name && $root.wallet.id">{{$root.wallet.id}}</span>
<span ng-if="$root.wallet.name">Wallet: {{$root.wallet.name}} &lt;{{$root.wallet.id}}&gt;</span> <span ng-if="$root.wallet.name">Wallet: {{$root.wallet.name}} &lt;{{$root.wallet.id}}&gt;</span>