Skip to content

Commit

Permalink
feat(src/components): up color value
Browse files Browse the repository at this point in the history
  • Loading branch information
TIGERB committed May 26, 2019
1 parent 2228ad5 commit 02c4eff
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 28 deletions.
4 changes: 2 additions & 2 deletions src/components/alert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ export default {
.easy-alert > div > p:first-child {
font-size: 20px;
line-height: 80px;
color: #1abc9c;
color: #19caad;
}
.easy-alert > div > p:last-child {
border-top: 1px solid #ddd;
line-height: 22px;
padding: 9px 0;
color: #fff;
background-color: #1abc9c;
background-color: #19caad;
}
</style>
2 changes: 1 addition & 1 deletion src/components/barBottom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default {

<style>
.easy-bottom-bar {
background-color: #1abc9c;
background-color: #19caad;
color: #fff;
border: none;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/barTop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default {

<style>
.bar-easy-vue {
background-color: #1abc9c;
background-color: #19caad;
}
.bar-easy-vue a, h1 {
color: #fff !important;
Expand Down
2 changes: 1 addition & 1 deletion src/components/button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default {
margin-top: 100px !important;
}
.easy-button span {
color: #1abc9c;
color: #19caad;
}
.easy-button li {
border-bottom: 1px solid #eee;
Expand Down
41 changes: 21 additions & 20 deletions src/components/card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,26 @@
infinite-scroll-disabled="busy"
infinite-scroll-distance="10">
<div class="easy-card" v-for="res in results">
<img v-bind:src="res.img" alt="">
<p>{{res.content}}</p>
<div class="easy-card-user-info">
<p>
<img v-bind:src="res.avatar" alt="">
<span>from</span>{{res.nickname}}
</p>
<p @click="favourite">
<span class="fa"
:class="{
'fa-heart': isFavourited,
'nsr-favourited': isFavourited,
'fa-heart-o': isNotFavourited
}">
</span>
{{res.date}}
</p>
<img :src="res.img" alt="">
<p>{{res.content}}</p>
<div class="easy-card-user-info">
<p>
<img :src="res.avatar" alt="">
<span>from</span>{{res.nickname}}
</p>
<p>
<!-- <p @click="favourite"> -->
<!-- <span class="fa"
:class="{
'fa-heart': isFavourited,
'nsr-favourited': isFavourited,
'fa-heart-o': isNotFavourited
}">
</span> -->
{{res.date}}
</p>
</div>
</div>
</div>
<div class="nsr-card-loading">
<nsr-loading
:hide-loading="isloadingComplete"
Expand Down Expand Up @@ -113,7 +114,7 @@ export default {
}
.easy-card-user-info p:first-child span{
color: #1abc9c;
color: #19caad;
font-size: 12px;
padding-right: 2px;
}
Expand All @@ -125,7 +126,7 @@ export default {
}
.easy-card-user-info .easy-favourited{
color: #1abc9c !important;
color: #19caad !important;
}
.easy-card-user-info img{
Expand Down
9 changes: 7 additions & 2 deletions src/components/list.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<ul class="content table-view easy-list" v-infinite-scroll="loadMore" infinite-scroll-disabled="busy" infinite-scroll-distance="10">
<ul class="content table-view easy-list"
v-infinite-scroll="loadMore"
infinite-scroll-disabled="busy"
infinite-scroll-distance="10">
<li class="table-view-cell media" v-for="result in results">
<router-link class="navigate-right" to="/detail">
<img class="media-object pull-left" :src="result.img">
Expand All @@ -10,7 +13,9 @@
</router-link>
</li>
<div class="nsr-card-loading">
<nsr-loading :hide-loading="isloadingComplete" :is-end-text="endText">
<nsr-loading
:hide-loading="isloadingComplete"
:is-end-text="endText">
</nsr-loading>
</div>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion src/components/text.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default {
padding-top: 200px;
}
.easy-content p:first-child {
color: #1abc9c;
color: #19caad;
font-size: 25px;
}
.easy-content p:last-child {
Expand Down

0 comments on commit 02c4eff

Please sign in to comment.