Skip to content

Commit

Permalink
Unify appSwitcher/userMenu/contextMenu hover styling
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter committed Mar 11, 2022
1 parent e6d98b8 commit c6d03b0
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
7 changes: 7 additions & 0 deletions changelog/unreleased/enhancement-design-improvements
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Enhancement: Design improvements

We've fixed various design glitches and improved the overall look-and-feel of the UI.

https://github.com/owncloud/web/issues/6492
https://github.com/owncloud/web/issues/6555
https://github.com/owncloud/web/pulls/6584
1 change: 1 addition & 0 deletions packages/web-app-files/src/components/AppBar/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
id="files-breadcrumb"
data-testid="files-breadcrumbs"
class="oc-py-s"
context-menu-padding="small"
:items="breadcrumbs"
>
<template #contextMenu>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,11 @@ export default {
text-align: left;
white-space: normal;
li {
padding: 6px;
> li {
&:hover {
background-color: var(--oc-color-background-hover);
}
}
> li {
a,
button,
span {
Expand All @@ -227,6 +224,11 @@ export default {
vertical-align: top;
width: 100%;
text-align: left;
&:hover {
color: var(--oc-color-swatch-passive-default);
text-decoration: none !important;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ export default {
&:focus,
&:hover {
background-color: var(--oc-color-background-hover);
color: var(--oc-color-swatch-passive-default);
text-decoration: none;
}
Expand Down
2 changes: 2 additions & 0 deletions packages/web-runtime/src/components/Topbar/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ export default {
&:focus,
&:hover {
background-color: var(--oc-color-background-hover);
color: var(--oc-color-swatch-passive-default);
text-decoration: none;
}
Expand Down

0 comments on commit c6d03b0

Please sign in to comment.