styled show more builds button
This commit is contained in:
parent
dda961c117
commit
588536e360
|
@ -9,7 +9,8 @@ Travis.reopen
|
||||||
|
|
||||||
ShowMoreButton: Em.View.extend
|
ShowMoreButton: Em.View.extend
|
||||||
tagName: 'button'
|
tagName: 'button'
|
||||||
classNameBindings: ['isLoading']
|
classNameBindings: ['isLoading', 'showMore']
|
||||||
|
showMore: true
|
||||||
attributeBindings: ['disabled']
|
attributeBindings: ['disabled']
|
||||||
isLoadingBinding: 'controller.isLoading'
|
isLoadingBinding: 'controller.isLoading'
|
||||||
template: Em.Handlebars.compile('{{view.label}}')
|
template: Em.Handlebars.compile('{{view.label}}')
|
||||||
|
|
|
@ -33,3 +33,15 @@
|
||||||
border-bottom-color: #2356c4
|
border-bottom-color: #2356c4
|
||||||
background-color: #40454f
|
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
|
Loading…
Reference in New Issue
Block a user