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

Pagination button tweaks #484

Merged
merged 2 commits into from
Jun 1, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}