diff --git a/assets/scripts/app/views/build.coffee b/assets/scripts/app/views/build.coffee index 0fab33d0..287526b4 100644 --- a/assets/scripts/app/views/build.coffee +++ b/assets/scripts/app/views/build.coffee @@ -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}}') diff --git a/assets/styles/app/button.sass b/assets/styles/app/button.sass index 463795b8..5ef9b002 100644 --- a/assets/styles/app/button.sass +++ b/assets/styles/app/button.sass @@ -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 \ No newline at end of file