diff --git a/config.json b/config.json index 74d5c56..c2eeafa 100644 --- a/config.json +++ b/config.json @@ -11,8 +11,8 @@ "/openlmis-offline-ui" ], "REPORTING_SERVICES": "angola", - "applicationLoadingMessage": "Iniciando SIGLOFA", - "applicationTitle": "SIGLOFA", + "applicationLoadingMessage": "Iniciando SIGECA", + "applicationTitle": "SIGECA", "defaultLanguage": "pt", "showRequisitionLessOrder": "true" } \ No newline at end of file diff --git a/src/branding-angola/logo-header.png b/src/branding-angola/logo-header.png index 0a87aca..25b806d 100644 Binary files a/src/branding-angola/logo-header.png and b/src/branding-angola/logo-header.png differ diff --git a/src/branding-angola/logo.png b/src/branding-angola/logo.png index 507d0bd..c2754d2 100644 Binary files a/src/branding-angola/logo.png and b/src/branding-angola/logo.png differ diff --git a/src/openlmis-auth/_auth-modal.scss b/src/openlmis-auth/_auth-modal.scss new file mode 100644 index 0000000..33a8610 --- /dev/null +++ b/src/openlmis-auth/_auth-modal.scss @@ -0,0 +1,95 @@ +.auth-modal { + background-color: $dark-gray; + + .modal-content { + background-image: linear-gradient(to bottom, $white 0%, $white 48%, $light-gray 100%); + } + + .modal-dialog { + margin-top: 15%; + @media screen and (min-width: $res-md) { + width: 700px; + } + @media screen and (max-width: $res-md) { + margin-right: 3%; + margin-left: 3%; + } + max-width: 700px; + } + + .modal-header { + align-items: center; + background-image: linear-gradient(to bottom, $white 30%, $light-gray 100%); + border-bottom: 1px solid $light-gray; + border-radius: $border-radius $border-radius 0 0; + display: flex; + padding: 0.5em 1em !important; + overflow: hidden; + + & > h1 { + margin-right: auto; + word-break: normal !important; + } + + button { + margin: 0px 1em; + min-width: 92px; + @media screen and (max-width: $res-xs) { + display: flex; + min-width: 12px; + } + } + } + + .modal-body { + background-image: url("../assets/common/openlmis-logo-stacked.svg"); + background-size: 40% auto; + background-position: 2em 45%; + background-repeat: no-repeat; + @media screen and (max-width: $res-sm) { + background-size: 30% auto; + } + // AO-874: Changed auth modal body position + padding: 20% 25% 1em 25% !important; + // AO-874: ends here + & > .form-desc, + & > form > fieldset { + width: 100%; + } + + & > form > .alert { + flex: initial; + } + & > form > .input-control{ + width: 100%; + } + .form-group .input-control{ + @media screen and (max-width: $res-sm) { + width: 100%; + } + } + + .button-group { + @media screen and (max-width: $res-sm) { + overflow: hidden; + display: grid; + } + @media screen and (max-width: $res-xs) { + position: relative; + right: 0px; + bottom: 0px; + } + } + } + + .modal-footer { + border-top: none; + text-align: right; + padding: 0 !important; + margin: 0; + display: flex; + justify-content: flex-end; + + color: $gray; + } +} diff --git a/src/openlmis-header/header.html b/src/openlmis-header/header.html index 6b47658..86a24d5 100644 --- a/src/openlmis-header/header.html +++ b/src/openlmis-header/header.html @@ -1,7 +1,7 @@
+ ng-style="{'background': vm.isProdDomain ? 'linear-gradient(to top, #e4e4e4 0%, white 80%, #ffffff 100%)' : 'linear-gradient(to top, #012853 0%, #fff 80%, #fff 100%)'}" offline>

{{'openlmisHeader.appHeader' | message}}

diff --git a/src/openlmis-header/user.html b/src/openlmis-header/user.html new file mode 100644 index 0000000..9737d4e --- /dev/null +++ b/src/openlmis-header/user.html @@ -0,0 +1,11 @@ + diff --git a/src/openlmis-login/login-form.html b/src/openlmis-login/login-form.html index 6b2ee08..9926c27 100644 --- a/src/openlmis-login/login-form.html +++ b/src/openlmis-login/login-form.html @@ -1,7 +1,7 @@