diff --git a/templates/partials/app-details-aside-actions.phtml b/templates/partials/app-details-aside-actions.phtml index 4568400..01fe49a 100644 --- a/templates/partials/app-details-aside-actions.phtml +++ b/templates/partials/app-details-aside-actions.phtml @@ -32,12 +32,15 @@ $resolveToneClass = static function (string $tone, string $detailActionKind, str if (in_array($normalizedActionKind, ['delete', 'danger', 'purge', 'revoke'], true)) { return 'app-action-danger'; } + if (in_array($normalizedActionKind, ['save', 'save-close', 'create', 'create-close'], true)) { + return 'app-action-success'; + } $normalizedName = strtolower(trim($name)); $normalizedValue = strtolower(trim($value)); if ( $normalizedName === 'action' - && in_array($normalizedValue, ['create', 'create_close', 'save_close'], true) + && in_array($normalizedValue, ['create', 'create_close', 'save', 'save_close'], true) ) { return 'app-action-success'; } diff --git a/templates/partials/app-details-titlebar.phtml b/templates/partials/app-details-titlebar.phtml index 7a97a24..c34d5a1 100644 --- a/templates/partials/app-details-titlebar.phtml +++ b/templates/partials/app-details-titlebar.phtml @@ -43,12 +43,15 @@ $resolveToneClass = static function (string $tone, string $detailActionKind, str if (in_array($normalizedActionKind, ['delete', 'danger', 'purge', 'revoke'], true)) { return 'app-action-danger'; } + if (in_array($normalizedActionKind, ['save', 'save-close', 'create', 'create-close'], true)) { + return 'app-action-success'; + } $normalizedName = strtolower(trim($name)); $normalizedValue = strtolower(trim($value)); if ( $normalizedName === 'action' - && in_array($normalizedValue, ['create', 'create_close', 'save_close'], true) + && in_array($normalizedValue, ['create', 'create_close', 'save', 'save_close'], true) ) { return 'app-action-success'; } diff --git a/web/css/layout/app-shell.css b/web/css/layout/app-shell.css index 1309cf4..69518aa 100644 --- a/web/css/layout/app-shell.css +++ b/web/css/layout/app-shell.css @@ -12,6 +12,7 @@ small { --app-font-size: 0.875em; + line-height: 1.9; } div#debugger-bar { diff --git a/web/css/layout/app-sidebar.css b/web/css/layout/app-sidebar.css index fbedd6c..e494cb4 100644 --- a/web/css/layout/app-sidebar.css +++ b/web/css/layout/app-sidebar.css @@ -64,6 +64,7 @@ justify-content: space-between; gap: var(--app-sidebar-gap); padding: var(--app-spacing); + margin-bottom: var(--app-spacing); } .app-sidebar .app-sidebar-tenant-logo a:hover { @@ -177,7 +178,7 @@ .app-sidebar a { color: inherit; display: block; - padding: 5px var(--app-spacing); + padding: 3px var(--app-spacing); border-radius: 0; margin: 0; border-left: var(--app-sidebar-border-width) solid transparent; @@ -229,6 +230,13 @@ margin: 0; } + .app-sidebar + .app-sidebar-group + details[open] + > summary:not([role]):not(:focus) { + margin-bottom: 7px; + } + nav#aside-panel-people { margin-top: var(--app-spacing); } @@ -257,7 +265,7 @@ } .app-sidebar #aside-panel-admin .app-sidebar-admin-group { - margin-bottom: 15px; + margin-bottom: 10px; width: 100%; } @@ -286,5 +294,4 @@ aside.app-sidebar li.app-sidebar-group { margin-bottom: var(--app-spacing); } - }