Adjusting pagination and form dialog buttons

This commit is contained in:
Bruno Alves de Faria 2017-06-09 16:14:27 -03:00 committed by Erik Ziegler
parent f33702541c
commit 66c27b408f
2 changed files with 16 additions and 12 deletions

View File

@ -6,17 +6,22 @@
}}
{{>dialogHeader this}}
<div class="modal-body">
{{this.bodyText}}
{{>UI.contentBlock}}
</div>
<div class="modal-footer">
{{>section 'dialogFooter'}}
{{#button action='cancel'
class=(concat 'btn btn-cancel ' (choose this.cancelClass 'btn-default'))
tagAttributes=(extend this.tagAttributes data-dismiss='modal')
}}{{choose this.cancelLabel 'Cancel'}}{{/button}}
{{#button action='confirm'
class=(concat 'btn btn-confirm ' (choose this.confirmClass 'btn-primary'))
}}{{choose this.confirmLabel 'Confirm'}}{{/button}}
{{#unless this.hideCancel}}
{{#button action='cancel'
class=(concat 'btn btn-cancel ' (choose this.cancelClass 'btn-default'))
tagAttributes=(extend this.tagAttributes data-dismiss='modal')
}}{{choose this.cancelLabel 'Cancel'}}{{/button}}
{{/unless}}
{{#unless this.hideConfirm}}
{{#button action='confirm'
class=(concat 'btn btn-confirm ' (choose this.confirmClass 'btn-primary'))
}}{{choose this.confirmLabel 'Confirm'}}{{/button}}
{{/unless}}
</div>
{{/form}}
</div>

View File

@ -47,8 +47,10 @@
color: white
.disabled
a:hover
color: inherit
a, a:hover, a:focus, a:active
theme('background-color', '$uiGrayDarkest')
theme('border-color', '$uiGray')
theme('color', '$uiGrayLight')
&:not(.disabled):hover a
theme('background-color', '$uiGrayDark')
@ -58,9 +60,6 @@
theme('background-color', '$uiGrayDark')
theme('color', '$activeColor')
&.disabled a
theme('color', '$uiGrayLight')
@media only screen and (max-width: 1069px)
.studylistPagination > .row
margin-right: 0;