Skip to content

Commit

Permalink
feature/character-detail & feature/comic-detail — Changed a little bi…
Browse files Browse the repository at this point in the history
…t text look. Better price too.
  • Loading branch information
jeandat committed May 5, 2016
1 parent 7bc5e14 commit 6ad38c7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 20 deletions.
4 changes: 2 additions & 2 deletions app/character/detail/_character-detail.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
&__text {
background-color: black;
color: $light;
font-size: 1rem;
line-height: 1.4rem;
font-size: 1.1rem;
line-height: 2rem;
padding: $content-padding/2 0;
box-shadow: $content-padding 0 0 0 black, -$content-padding 0 0 0 black;
}
Expand Down
22 changes: 7 additions & 15 deletions app/comic/detail/_comic-detail.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,18 @@
&__text {
background-color: black;
color: $light;
font-size: 1rem;
line-height: 1.4rem;
font-size: 1.1rem;
line-height: 2rem;
padding: $content-padding/2 0;
box-shadow: $content-padding 0 0 0 black, -$content-padding 0 0 0 black;
&--price{
font-weight: bold;
background-color: $assertive;
box-shadow: $content-padding 0 0 0 $assertive, -$content-padding 0 0 0 $assertive;
}
}
&__background {
background-size: cover;
background-position: top center;
}
&__price{
font-weight: bold;
position: absolute;
top: -36px;
right: 0;
color: black;
background: rgba($light,.8);
padding: 26px 5px 5px 5px;
border-radius: 50%;
height: 50px;
width: 80px;
text-align: center;
}
}
7 changes: 4 additions & 3 deletions app/comic/detail/comic-detail.jade
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ ion-modal-view.comic(ng-controller='ComicDetailController as vm')
span.comic__text {{::vm.comic.title}}
br
br
span.comic__text(ng-if='::vm.comic.printPrice') {{::vm.comic.printPrice}} $
br
br
div(ng-if='::vm.comic.printPrice')
span.comic__text.comic__text--price {{::vm.comic.printPrice}} $
br
br
span.comic__text.comic__description(ng-bind-html='::vm.comic.description | html2text')


0 comments on commit 6ad38c7

Please sign in to comment.