From 0d194f8a6a38c5491d2ee39d0eddc3f6415503f6 Mon Sep 17 00:00:00 2001 From: "m.epshtein" Date: Tue, 25 Jun 2024 13:03:18 +0300 Subject: [PATCH] fl merge --- .../src/resources/css/components-lkrp.css | 97 ++++++++++++++++++- frontend/src/resources/css/inbox-lkrp.css | 4 +- frontend/src/resources/img/svg/win-error.svg | 4 + .../src/resources/img/svg/win-success.svg | 4 + 4 files changed, 105 insertions(+), 4 deletions(-) create mode 100644 frontend/src/resources/img/svg/win-error.svg create mode 100644 frontend/src/resources/img/svg/win-success.svg diff --git a/frontend/src/resources/css/components-lkrp.css b/frontend/src/resources/css/components-lkrp.css index 60cf3eb9..7ff3527d 100644 --- a/frontend/src/resources/css/components-lkrp.css +++ b/frontend/src/resources/css/components-lkrp.css @@ -3,6 +3,10 @@ display: flex; } +.webbpm.ervu_lkrp_ul hbox.align-center > .horizontal-container { + justify-content: center; +} + .webbpm.ervu_lkrp_ul .error { position: relative; display: block; @@ -161,7 +165,7 @@ &:not(:disabled):not(.disabled):hover, &:not(:disabled):not(.disabled):active, &:not(:disabled):not(.disabled):focus { - color: var(--color-link-hover); + color: var(--color-link-hover) !important; } &::before { background-image: url(../img/svg/data.svg); @@ -222,6 +226,22 @@ } } +.webbpm.ervu_lkrp_ul .loader-group { + .loader { + font-size: 5px; + left: 14px; + top: 10px; + width: 6px; + height: 6px; + padding: 0; + border-radius: 10px; + } + .mute { + color: var(--color-light); + margin-left: 40px; + } +} + .webbpm.ervu_lkrp_ul .link .btn { color: var(--color-link); padding: 0; @@ -230,7 +250,7 @@ &:not(:disabled):not(.disabled):hover, &:not(:disabled):not(.disabled):active, &:not(:disabled):not(.disabled):focus { - color: var(--color-link-hover); + color: var(--color-link-hover) !important; } } @@ -298,6 +318,9 @@ margin-top: 16px; border-top: 1px solid var(--border-light); } + .warning-group ~ *:not([hidden]) { + margin-top: 16px; + } } .webbpm.ervu_lkrp_ul .filter-block { @@ -598,6 +621,15 @@ .modal-dialog { width: calc(100vw - 1rem); + + .horizontal-container { + flex-wrap: wrap !important; + + button-component:not(.info):not(.link), .btn { + width: 100%; + padding: 0; + } + } } } } @@ -635,6 +667,7 @@ } } */ + .webbpm.ervu_lkrp_ul .modal.show { display: flex !important; @@ -692,6 +725,49 @@ margin-top: 8px; } } + hyper-link.btn { + padding: 0; + margin: var(--indent-small) 0 0; + background: transparent !important; + + .hyper-link { + padding: 13px 38px; + border: 1px solid var(--color-link); + border-radius: 4px; + + &:hover { + border-color: var(--color-link-hover); + } + } + &.btn-main .hyper-link { + background: var(--color-link) !important; + + &:hover { + background-color: var(--color-link-hover) !important; + } + a { + color: var(--white); + } + } + & + button-component { + padding-left: 10px; + } + } + .field-email { + margin-top: 16px; + + .form-group { + margin-bottom: 0; + + div:last-child { + width: 100%; + padding: 16px; + border-radius: 4px; + border: 1px solid var(--border-light); + background-color: var(--bg-light); + } + } + } .warning-message { display: block; font-size: var(--size-text-secondary); @@ -747,6 +823,23 @@ } } } +.webbpm.ervu_lkrp_ul [class*="win-"] .modal-content { + &::before { + content: ""; + position: relative; + width: 64px; + height: 64px; + left: calc(50% - 64px / 2); + margin-bottom: 24px; + background-repeat: no-repeat; + } +} +.webbpm.ervu_lkrp_ul .win-error .modal-content::before { + background-image: url(../img/svg/win-error.svg); +} +.webbpm.ervu_lkrp_ul .win-success .modal-content::before { + background-image: url(../img/svg/win-success.svg); +} /* temp fix + add flex-wrap*/ diff --git a/frontend/src/resources/css/inbox-lkrp.css b/frontend/src/resources/css/inbox-lkrp.css index 1f4ea148..2e3140f5 100644 --- a/frontend/src/resources/css/inbox-lkrp.css +++ b/frontend/src/resources/css/inbox-lkrp.css @@ -197,8 +197,8 @@ body { .webbpm.ervu_lkrp_ul .loader { font-size: 15px; - left: calc(50% - 50px); - top: calc(50% - 50px); + left: calc(50% - 50px); + top: calc(50% - 50px); width: 0.8em; height: 0.8em; border-radius: 50%; diff --git a/frontend/src/resources/img/svg/win-error.svg b/frontend/src/resources/img/svg/win-error.svg new file mode 100644 index 00000000..d2c4746f --- /dev/null +++ b/frontend/src/resources/img/svg/win-error.svg @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/src/resources/img/svg/win-success.svg b/frontend/src/resources/img/svg/win-success.svg new file mode 100644 index 00000000..08e946ac --- /dev/null +++ b/frontend/src/resources/img/svg/win-success.svg @@ -0,0 +1,4 @@ + + + +