From c94bb9a3c4d519cdb70a1c79d50cbf5583d8f0f9 Mon Sep 17 00:00:00 2001 From: "m.epshtein" Date: Thu, 28 Nov 2024 10:23:29 +0300 Subject: [PATCH] // --- .../src/resources/css/components-autority.css | 42 ++++++++++++++++++- frontend/src/resources/css/inbox-autority.css | 7 ++-- frontend/src/resources/img/svg/notes-bl.svg | 3 -- frontend/src/resources/img/svg/notes.svg | 2 +- frontend/src/resources/img/svg/users-bl.svg | 3 -- frontend/src/resources/img/svg/users.svg | 2 +- 6 files changed, 46 insertions(+), 13 deletions(-) delete mode 100644 frontend/src/resources/img/svg/notes-bl.svg delete mode 100644 frontend/src/resources/img/svg/users-bl.svg diff --git a/frontend/src/resources/css/components-autority.css b/frontend/src/resources/css/components-autority.css index 70653cdc..2e1047f4 100644 --- a/frontend/src/resources/css/components-autority.css +++ b/frontend/src/resources/css/components-autority.css @@ -1,5 +1,7 @@ .webbpm.account-applications .container { + height: 100%; padding-top: var(--h-header); + background-color: var(--page-bg); } .webbpm.account-applications .container-inside { display: flex; @@ -7,10 +9,15 @@ font-family: 'Golos'; height: 100%; padding: var(--indent-small) var(--indent-xbase); - background-color: var(--page-bg); overflow: auto; } +.webbpm.account-applications [page-home] { + display: flex; + align-items: center; + justify-content: center; +} + .webbpm.account-applications .header .header-logo { margin-left: var(--indent-xbase); } @@ -38,7 +45,8 @@ box-shadow: none; } .webbpm.account-applications .active > div > .btn:not(:disabled):not(.disabled), -.webbpm.account-applications .btn-main .btn:not(:disabled):not(.disabled) { +.webbpm.account-applications .btn-main .btn:not(:disabled):not(.disabled), +.webbpm.account-applications .btn-primary:not(:disabled):not(.disabled) { color: var(--white); background: var(--btn-active-bg); box-shadow: var(--btn-shadow); @@ -51,6 +59,36 @@ box-shadow: none; } +.webbpm.account-applications .btn-big-group > div { + justify-content: center; + align-items: center; +} +.webbpm.account-applications .btn-big-group .btn:not(:disabled):not(.disabled) { + font-size: var(--size-text-subtitle); + min-width: 300px; + padding: 40px; + border-radius: 12px; + background-color: var(--white) !important; +} +.webbpm.account-applications .btn-big-group .btn:not(:disabled):not(.disabled)::before { + display: flex; + justify-content: center; + margin-bottom: 8px; +} +.webbpm.account-applications .btn-big-group vbox:first-child .btn:not(:disabled):not(.disabled)::before { + content: url(../img/svg/users.svg); +} +.webbpm.account-applications .btn-big-group vbox:last-child .btn:not(:disabled):not(.disabled)::before { + content: url(../img/svg/notes.svg); +} + +.webbpm.account-applications .btn-big-group vbox { + padding-right: 0; +} +.webbpm.account-applications .btn-big-group vbox + vbox { + margin-left: 40px; +} + .webbpm.account-applications .selectize-dropdown, .webbpm.account-applications .selectize-input, .webbpm.account-applications .selectize-input input { diff --git a/frontend/src/resources/css/inbox-autority.css b/frontend/src/resources/css/inbox-autority.css index 9667b59f..f543b24c 100644 --- a/frontend/src/resources/css/inbox-autority.css +++ b/frontend/src/resources/css/inbox-autority.css @@ -68,8 +68,8 @@ body.webbpm.account-applications { .webbpm.account-applications .header { font-family: 'Golos'; min-height: var(--h-header); - border: 0; - background-color: var(--color-text-primary); + border: 1px solid var(--btn-border); + box-shadow: none; } .webbpm.account-applications .header .header-logo { margin-left: var(--w-screen); @@ -90,6 +90,7 @@ body.webbpm.account-applications { background: url(../img/svg/mil-logo.svg) no-repeat 0 50%; } .webbpm.account-applications .header .header-logo .main-page { + color: var(--color-link); font-family: 'Golos'; margin-left: calc(62px + 16px); } @@ -124,7 +125,7 @@ body.webbpm.account-applications { width: 500px; padding: 32px; margin: 30px auto; - border: 0; + border: 1px solid var(--btn-border); border-radius: 8px; background-color: var(--white); box-shadow: var(--bg-shadow); diff --git a/frontend/src/resources/img/svg/notes-bl.svg b/frontend/src/resources/img/svg/notes-bl.svg deleted file mode 100644 index 462d7008..00000000 --- a/frontend/src/resources/img/svg/notes-bl.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/frontend/src/resources/img/svg/notes.svg b/frontend/src/resources/img/svg/notes.svg index 14acc5e4..987bf9f5 100644 --- a/frontend/src/resources/img/svg/notes.svg +++ b/frontend/src/resources/img/svg/notes.svg @@ -1,3 +1,3 @@ - + diff --git a/frontend/src/resources/img/svg/users-bl.svg b/frontend/src/resources/img/svg/users-bl.svg deleted file mode 100644 index feb3e1ef..00000000 --- a/frontend/src/resources/img/svg/users-bl.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/frontend/src/resources/img/svg/users.svg b/frontend/src/resources/img/svg/users.svg index 273d225b..859c8e31 100644 --- a/frontend/src/resources/img/svg/users.svg +++ b/frontend/src/resources/img/svg/users.svg @@ -1,3 +1,3 @@ - +