Skip to content

Commit

Permalink
More small improvements (e.g. dashboard, user status dialog)
Browse files Browse the repository at this point in the history
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
  • Loading branch information
CarlSchwan committed Mar 21, 2022
1 parent 6124d8f commit 58230c3
Show file tree
Hide file tree
Showing 5 changed files with 219 additions and 21,979 deletions.
4 changes: 2 additions & 2 deletions apps/dashboard/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,9 @@ export default {
& > .panel--content {
margin: 0 16px 16px 16px;
height: 420px;
height: 424px;
// We specifically do not want scrollbars inside widgets
overflow: hidden;
overflow: visible;
}
// No need to extend height of widgets if only one column is shown
Expand Down
5 changes: 5 additions & 0 deletions apps/user_status/src/UserStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ export default {
align-items: flex-start !important;
color: var(--color-main-text) !important;

&:focus-visible {
padding: 6px 8px 1px 8px !important;
margin: 2px !important;
}

&:not([href]) {
height: var(--header-menu-item-height) !important;
color: var(--color-text-maxcontrast) !important;
Expand Down
5 changes: 4 additions & 1 deletion core/css/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ kbd {
border: 2px solid var(--color-primary);
border-radius: var(--border-radius);
outline: none;
padding: 0 8px 0 42px !important;
background-position: 12px center;
line-height: 40px;
padding: 0 10px 0 12px;
}
&.active,
a:active,
Expand Down Expand Up @@ -288,6 +288,9 @@ kbd {

&.svg {
padding: 0 12px 0 44px;
:focus-visible {
padding: 0 8px 0 42px;
}
}
&:first-child img {
margin-right: 11px;
Expand Down
9 changes: 9 additions & 0 deletions core/css/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@
&.active {
background-color: var(--color-primary-light);
}
&:focus-visible {
padding: 8px 10px;
margin: 2px;
width: calc(100% - 4px);
height: $header-menu-entry-height - 4px !important;
}
span {
display: inline-block;
padding-bottom: 0;
Expand Down Expand Up @@ -463,6 +469,9 @@ nav[role='navigation'] {
letter-spacing: -0.5px;
font-size: 12px;
margin: 2px;
&:focus-visible {
height: 43px;
}
}

/* focused app visual feedback */
Expand Down
Loading

0 comments on commit 58230c3

Please sign in to comment.