Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #484 from HospitalRun/pagination-button-style-fix
Browse files Browse the repository at this point in the history
Pagination button tweaks
  • Loading branch information
Joel Glovier committed Jun 1, 2016
2 parents 5e59a1a + 0e3ce41 commit a326b22
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/components/nav-paging.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Ember from 'ember';
import PagingActions from 'hospitalrun/mixins/paging-actions';
export default Ember.Component.extend(PagingActions, {
classNames: ['btn-group', 'pull-right'],
classNames: ['paging-buttons'],
paginationProps: null
});
13 changes: 13 additions & 0 deletions app/styles/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@

.view-current-title { @include view_main_heading; }

// panel styles

.panel-primary {
position: relative;
border: 0;
background-color: $white;
color: $navy_mid2;

input,
textarea,
select { background: rgba($blue_light,.2); }
}

// ? unsure what below are for...

.detail-section-content {
Expand Down
10 changes: 0 additions & 10 deletions app/styles/_temp_misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,6 @@
label { font-weight: 300; }
}

.panel-primary {
border: 0;
background-color: $white;
color: $navy_mid2;

input,
textarea,
select { background: rgba($blue_light,.2); }
}

.modal-dialog { color: $navy; }

.not-editable {
Expand Down
1 change: 1 addition & 0 deletions app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
@import 'components/form_styles';
@import 'components/tab_nav';
@import 'components/tab_content';
@import 'components/pagination';
@import 'components/patient_summary';
@import 'components/patient_history';
@import 'components/imaging';
Expand Down
9 changes: 9 additions & 0 deletions app/styles/components/_pagination.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// styles for pagination
//
// visible on patient listing and any other
// view with pagination
.paging-buttons {
position: absolute;
top: 3px;
right: 3px;
}

0 comments on commit a326b22

Please sign in to comment.