From a8f1b3b9d7157e45a3c0b0784cf0bc39f42f1ba1 Mon Sep 17 00:00:00 2001 From: Leonardo Campos Date: Mon, 21 Nov 2016 15:40:05 -0200 Subject: [PATCH] LT-342: Audit Log :: style --- .../hipaaAuditLog/hipaaAuditLog.html | 49 +++++-- .../hipaaAuditLog/hipaaAuditLog.less | 100 +++++-------- .../hipaaCloseButton/hipaaCloseButton.less | 32 +++- .../components/hipaaLogPage/hipaaLogPage.html | 14 +- .../components/hipaaLogPage/hipaaLogPage.less | 53 ++++++- .../components/hipaaRibbon/hipaaRibbon.html | 36 +++-- .../components/hipaaRibbon/hipaaRibbon.js | 30 ---- .../components/hipaaRibbon/hipaaRibbon.less | 137 +++++++++++++----- 8 files changed, 279 insertions(+), 172 deletions(-) diff --git a/Packages/hipaa-audit-log/components/hipaaAuditLog/hipaaAuditLog.html b/Packages/hipaa-audit-log/components/hipaaAuditLog/hipaaAuditLog.html index e24036ac0..b0c69a356 100644 --- a/Packages/hipaa-audit-log/components/hipaaAuditLog/hipaaAuditLog.html +++ b/Packages/hipaa-audit-log/components/hipaaAuditLog/hipaaAuditLog.html @@ -1,6 +1,3 @@ - - - diff --git a/Packages/hipaa-audit-log/components/hipaaAuditLog/hipaaAuditLog.less b/Packages/hipaa-audit-log/components/hipaaAuditLog/hipaaAuditLog.less index e600a3850..8e4ca581d 100644 --- a/Packages/hipaa-audit-log/components/hipaaAuditLog/hipaaAuditLog.less +++ b/Packages/hipaa-audit-log/components/hipaaAuditLog/hipaaAuditLog.less @@ -1,78 +1,48 @@ #hipaaAuditLog{ - padding-left: 0px !important; + color: #fff; + width: 100%; - li{ + .hipaaAuditItem { + // There's a CSS rule on ohif-user-management that's changing the .hipaaAuditItem border style + border: none !important; + + background-color: black; list-style: none; padding-top: 5px; - padding-left: 20px; + padding-left: 10px; + line-height: 25px; + border-top: 1px solid #436270; + border-bottom: 1px solid #436270; + + &:nth-child(even) { + background-color: #151a1f; + } + + &:hover, &:active, &.active { + background-color: #2c363f; + color: white; + } + + .item-icon { + top: 12px; + position: relative; + } + + .media-icon { + float: left; + top: 12px; + width: 40px; + text-align: center; + position: relative; + margin-right: 10px; + } } + .gray{ color: gray; } - .lightgray{ - color: #aaaaaa; - } - .iconColumn{ - width: 10%; - } - .messageClumn{ - width: 80%; - } - .fa{ - padding-right: 12px; - padding-left: 4px; - padding-top: 6px; - width: 40px; - //border: 1px solid orange; - } - .fa-recycle{ - padding-top: 8px; - } - .fa-plus-circle{ - padding-left: 6px !important; - } - .fa-circle-o{ - padding-left: 6px !important; - } - .fa-minus-circle{ - padding-left: 6px !important; - } - .fa-database{ - padding-left: 7px !important; - } - .fa-pencil{ - padding-left: 6px !important; - } - .fa-code-fork{ - padding-left: 12px !important; - } - .fa-warning{ - padding-left: 5px !important - } - .fa-rss{ - padding-left: 7px !important; - } - - .hipaaAuditItem{ - border-top: 1px solid lightgray; - padding-bottom: 10px; - } - .hipaaAuditItem:nth-child(1){ - border-top: 0px; - } - - .media-body{ - padding-bottom: 5px; - } - - - #hipaaAuditLog{ - width: 100%; - } .userName, .patientName, .mongoRecordId, .collectionName{ cursor: pointer; } - - } diff --git a/Packages/hipaa-audit-log/components/hipaaCloseButton/hipaaCloseButton.less b/Packages/hipaa-audit-log/components/hipaaCloseButton/hipaaCloseButton.less index 1f63706c2..01970b793 100644 --- a/Packages/hipaa-audit-log/components/hipaaCloseButton/hipaaCloseButton.less +++ b/Packages/hipaa-audit-log/components/hipaaCloseButton/hipaaCloseButton.less @@ -1,7 +1,8 @@ +@tableTextSecondaryColor: #91b9cd; + .close-btn { text-align: right; padding: 5px 5px 0; - margin-right: 10px; &:before, &:after { @@ -10,7 +11,34 @@ clear: both; } + .close { + color: @tableTextSecondaryColor; + opacity: 1; + + &.close:hover, &.close:focus { + color: #fff; + opacity: 1; + } + } + .btn-default { margin-bottom: 5px; + margin-right: 5%; } -} \ No newline at end of file +} + +@media only screen and (max-width: 1161px) { + .close-btn { + .btn-default { + margin-right: 3%; + } + } +} + +@media only screen and (max-width: 991px) { + .close-btn { + .btn-default { + margin-right: 1%; + } + } +} diff --git a/Packages/hipaa-audit-log/components/hipaaLogPage/hipaaLogPage.html b/Packages/hipaa-audit-log/components/hipaaLogPage/hipaaLogPage.html index 1181ea7cd..8d839c21d 100644 --- a/Packages/hipaa-audit-log/components/hipaaLogPage/hipaaLogPage.html +++ b/Packages/hipaa-audit-log/components/hipaaLogPage/hipaaLogPage.html @@ -1,9 +1,15 @@