styled show more builds button

This commit is contained in:
Justine Arreche 2013-10-08 01:26:11 -04:00
parent dda961c117
commit 588536e360
2 changed files with 14 additions and 1 deletions

View File

@ -9,7 +9,8 @@ Travis.reopen
ShowMoreButton: Em.View.extend
tagName: 'button'
classNameBindings: ['isLoading']
classNameBindings: ['isLoading', 'showMore']
showMore: true
attributeBindings: ['disabled']
isLoadingBinding: 'controller.isLoading'
template: Em.Handlebars.compile('{{view.label}}')

View File

@ -33,3 +33,15 @@
border-bottom-color: #2356c4
background-color: #40454f
.show-more
background-color: #CCCCCC
display: inline-block
color: #666
padding: 6px 15px
text-decoration: none
border: 1px solid #BBB
.show-more:hover
background-color: #40454F
color: #FFF
border: 1px solid #40454F
cursor: pointer