-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transactions: better transactions history display.
Improves the item transaction history display to highligh transactions links (all transactions related to the same loan) and improves look and feel. Co-authored-by: Renaud Michotte <renaud.michotte@gmail.com>
- Loading branch information
Showing
8 changed files
with
285 additions
and
109 deletions.
There are no files selected for viewing
33 changes: 0 additions & 33 deletions
33
projects/admin/src/app/record/circulation-logs/circulation-log/circulation-log.component.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
...ects/admin/src/app/record/circulation-logs/circulation-log/circulation-log.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
/* | ||
* RERO ILS UI | ||
* Copyright (C) 2021 RERO | ||
* Copyright (C) 2022 UCLouvain | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, version 3 of the License. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
@import '~bootstrap/scss/_functions'; | ||
@import '~bootstrap/scss/_variables'; | ||
|
||
.transaction-log { | ||
display: flex; | ||
position: relative; | ||
|
||
&:before { | ||
content: ""; | ||
background-color: $border-color; | ||
position: absolute; | ||
left: 0.85rem; | ||
top: 0; | ||
width: 1px; | ||
height: 100%; | ||
z-index: 1; | ||
} | ||
|
||
&.highlight .btn-show-more{ | ||
background-color: theme-color-level('info', -10); | ||
border-color: $info; | ||
} | ||
|
||
&:hover { | ||
background-color: $light !important; | ||
border-top: $border-width solid $border-color; | ||
border-bottom: $border-width solid $border-color; | ||
} | ||
|
||
.btn-show-more{ | ||
z-index: 2; | ||
} | ||
|
||
*[class^='transaction-'], *[class*=' transaction-'] { | ||
&:before { | ||
font-family: 'FontAwesome'; | ||
font-weight: 100; | ||
display: inline-block; | ||
min-width: 20px; | ||
} | ||
} | ||
|
||
.transaction-date:before { | ||
content: "\f133"; | ||
} | ||
.transaction-time:before{ | ||
content: "\f017"; | ||
} | ||
.transaction-trigger { | ||
font-variant: small-caps; | ||
} | ||
.transaction-library:before { | ||
content: "\f0ac"; | ||
} | ||
.transaction-location:before { | ||
content: "\f041"; | ||
} | ||
.transaction-patron:before { | ||
content: "\f007"; | ||
} | ||
.transaction-operator:before { | ||
content: "\f2be"; | ||
} | ||
|
||
.debug-button{ | ||
position: absolute; | ||
top: map-get($spacers, 1); | ||
right: map-get($spacers, 1); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.