Skip to content
Snippets Groups Projects
Commit 054128a3 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

UI: fix CSS light font color

parent 35d4cead
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@
"ACCOUNT": "My Account"
},
"HOME": {
"TITLE": "Home",
"TITLE": "",
"WELCOME": "Welcome",
"MESSAGE": "<b>Cesium</b> is still in development phase. There is not much to see right now. :-)",
"BTN_REGISTRY": "Registry",
......
......@@ -21,8 +21,8 @@
"ACCOUNT": "Mon compte"
},
"HOME": {
"TITLE": "Accueil",
"WELCOME": "Le Sou",
"TITLE": "",
"WELCOME": "Cesium",
"MESSAGE": "Application toujours en développement.<br/>Merci de votre compréhension...",
"BTN_REGISTRY": "Annuaire",
"BTN_MARKET": "Offres/demandes",
......
......@@ -18,7 +18,7 @@
<span class="item item-text-wrap">
{{'TRANSFER.FROM' | translate}}
<span class="badge"
ng-class="{'badge-assertive': (convertedBalance > 0 && formData.amount && convertedBalance < formData.amount), 'badge-balanced': (!formData.amount || convertedBalance >= formData.amount) }">
ng-class="{'badge-assertive': (convertedBalance <= 0 || (formData.amount && convertedBalance < formData.amount)), 'badge-balanced': (convertedBalance > 0 && (!formData.amount || convertedBalance >= formData.amount)) }">
{{walletData.pubkey| formatPubkey}}&nbsp;/&nbsp;
<span ng-if="!walletData.useRelative">{{convertedBalance | formatInteger}} {{unit | abbreviate}}</span>
<span ng-if="walletData.useRelative">{{convertedBalance | formatDecimal}} {{unit | abbreviate}}<sub>{{udUnit | abbreviate}}</sub></span>
......
......@@ -11,7 +11,7 @@
ng-class="{ assertive: !peer.online, balanced: (peer.online && peer.hasMainConsensusBlock), energized: (peer.online && !peer.hasMainConsensusBlock) }"
ui-sref="app.view_peer(peer)">
<i class="icon ion-android-globe"></i>
<h3><span ng-class="{ positive: peer.uid }">{{peer.uid || peer.pubkey.substr(0,8)}}</span> <span class="light">{{peer.dns && ' | ' + peer.dns}}</span></h3>
<h3><span ng-class="{ positive: peer.uid }">{{peer.uid || peer.pubkey.substr(0,8)}}</span> <span class="gray">{{peer.dns && ' | ' + peer.dns}}</span></h3>
<h4>{{peer.getURL()}}</h4>
<span class="badge" ng-class="{ 'badge-balanced': peer.hasMainConsensusBlock, 'badge-energized': peer.hasConsensusBlock }">{{peer.current.number}}</span>
</a>
......
......@@ -15,8 +15,8 @@
ng-class="{ assertive: !peer.online, balanced: peer.online }"
ng-href="http://{{peer.getURL()}}/blockchain/current">
<i class="icon ion-android-globe"></i>
<h3><span ng-class="{ positive: peer.uid }">{{peer.uid || peer.pubkey.substr(0,8)}}</span> <span class="light">{{peer.dns && ' | ' + peer.dns}}</span></h3>
<h4>{{peer.getURL()}} <span class="light">| {{'PEER.SIGNED_ON_BLOCK' | translate}}</span> #{{peer.blockNumber}}</h4>
<h3><span ng-class="{ positive: peer.uid }">{{peer.uid || peer.pubkey.substr(0,8)}}</span> <span class="gray">{{peer.dns && ' | ' + peer.dns}}</span></h3>
<h4>{{peer.getURL()}} <span class="gray">| {{'PEER.SIGNED_ON_BLOCK' | translate}}</span> #{{peer.blockNumber}}</h4>
<span class="badge" ng-class="{ 'badge-balanced': peer.hasMainConsensusBlock, 'badge-energized': peer.hasConsensusBlock }">{{peer.current.number}}</span>
</a>
</div>
......
......@@ -3,7 +3,7 @@
<!--img class="center" src="img/lesou-120px.png"/-->
<h2 translate>HOME.WELCOME</h2>
<p class="light" translate>HOME.MESSAGE</p>
<p class="gray" translate>HOME.MESSAGE</p>
<div class="padding">
......
......@@ -61,7 +61,7 @@
<div class="visible-xs item-text-wrap" ng-class="{'item-thumbnail-left': (found.pictures && found.pictures.length > 0)}">
<img ng-src="{{found.pictures[0].src}}" ng-if="found.pictures && found.pictures.length > 0"></img>
<h2 ng-bind-html="found.title"></h2>
<h4 class="light" ng-bind-html="found.location"></h4>
<h4 class="gray" ng-bind-html="found.location"></h4>
<span class="badge item-note">{{found.time | formatDate}}</span>
</div>
<div class="visible-xs item-content item-text-wrap">
......@@ -74,17 +74,17 @@
</div>
<div class="col no-margin-xs">
<h2 ng-bind-html="found.title"></h2>
<h4 class="light visible-xs" ng-bind-html="found.location"></h4>
<h4 class="gray visible-xs" ng-bind-html="found.location"></h4>
<span class="badge item-note">{{found.time | formatDate}}</span>
</div>
<div class="col col-20">
<h3 class="light" ng-bind="found.location" ng-if="found.location"></h3>
<h3 class="gray" ng-bind="found.location" ng-if="found.location"></h3>
</div>
<div class="col col-30 item-text-wrap">
<h3 class="light" ng-bind-html="found.description" ng-if="found.description"></h3>
<h3 class="gray" ng-bind-html="found.description" ng-if="found.description"></h3>
</div>
<div class="col col-10 visible-lg" >
<h3 class="light item-text-wrap" ng-if="found.category">{{found.category.name|formatCategory}}</h3>
<h3 class="gray item-text-wrap" ng-if="found.category">{{found.category.name|formatCategory}}</h3>
</div>
</div>
</a>
......
......@@ -14,7 +14,7 @@
<div class="item" ng-class="{'item-thumbnail-left': pictures && pictures.length>0}">
<img style="height:70px" ng-src="{{pictures[0].src}}" nf-if="pictures && pictures.length>0">
<h2 ng-bind-html="formData.title"></h2>
<h4 class="light" ng-bind-html="formData.location"></h4>
<h4 class="gray" ng-bind-html="formData.location"></h4>
</div>
<div class="item">
......
......@@ -52,8 +52,8 @@
ng-click="select('{{found.id}}', '{{found.urlTitle|formatSlug}}')">
<img ng-src="{{found.pictures[0].src}}" ng-if="found.pictures && found.pictures.length > 0">
<h2 class="item-text-wrap" ng-bind-html="found.title"></h2>
<h4 class="light" ng-bind="found.location" ng-if="found.location"></h4>
<p class="light item-text-wrap" ng-bind-html="found.description" ng-if="found.description"></p>
<h4 class="gray" ng-bind="found.location" ng-if="found.location"></h4>
<p class="gray item-text-wrap" ng-bind-html="found.description" ng-if="found.description"></p>
<span class="badge" ng-if="!found.isCompany">{{found.issuer | formatPubkey}}</span>
</a>
......
......@@ -59,7 +59,7 @@
<a class="item item-icon-left" ng-if="id && recordData.issuer && !recordData.isCompany">
<i class="icon ion-key"></i>
<span translate>REGISTRY.EDIT.RECORD_PUBKEY</span>
<h4 class="light">{{recordData.issuer}}</h4>
<h4 class="gray">{{recordData.issuer}}</h4>
</a>
<a class="item item-icon-left" ng-if="id && recordData.issuer && recordData.isCompany" >
......
......@@ -15,12 +15,12 @@
<div class="item" ng-class="{'item-avatar': pictures && pictures.length > 0}">
<img ng-src="{{pictures[0].src}}" ng-if="pictures && pictures.length > 0">
<h2 class="positive" ng-bind-html="formData.title"></h2>
<h4 class="light" ng-bind-html="formData.location"></h4>
<h4 class="gray" ng-bind-html="formData.location"></h4>
</div>
<a class="item item-icon-left" ng-if="!formData.isCompany">
<i class="icon ion-key"></i>
<h4 class="light">{{formData.issuer}}</h4>
<h4 class="gray">{{formData.issuer}}</h4>
</a>
<div class="item">
......
......@@ -14,7 +14,7 @@
<i class="icon ion-person"></i>
<h2>{{found.uid}}</h2>
<h4 class="light">{{'WOT.REGISTERED_SINCE'|translate}}{{found.sigDate | formatDate}}</h4>
<h4 class="gray">{{'WOT.REGISTERED_SINCE'|translate}}{{found.sigDate | formatDate}}</h4>
<span class="badge">{{found.pub | formatPubkey}}</span>
</a>
</div>
......
......@@ -5,12 +5,12 @@
<span class="item item-icon-left">
<i class="icon ion-person"></i>
<h2 class="positive">{{identity.uid}}</h2>
<h4 class="light">{{'WOT.REGISTERED_SINCE' | translate}}{{identity.sigDate | formatDate}}</h4>
<h4 class="gray">{{'WOT.REGISTERED_SINCE' | translate}}{{identity.sigDate | formatDate}}</h4>
</span>
<a class="item item-icon-left">
<i class="icon ion-key"></i>
<h4 class="light">{{identity.pub}}</h4>
<h4 class="gray">{{identity.pub}}</h4>
</a>
<div class="item-divider"></div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment