Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
PENDING PR: hover effect on menus
Browse files Browse the repository at this point in the history
  • Loading branch information
elizavetaRa authored and diocas committed Apr 25, 2022
1 parent b31f1a2 commit 7992158
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
20 changes: 20 additions & 0 deletions src/components/atoms/OcDrop/OcDrop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,26 @@ export default {
.tippy-content {
// note: needed so that the box shadow from `oc-box-shadow-medium` doesn't get suppressed
padding: 8px;
li {
a,
button:not([role="switch"]) {
box-sizing: border-box;
padding: 6px;
&:focus,
&:hover {
background-color: var(--oc-color-background-hover);
text-decoration: none !important;
border-radius: 5px;
}
&:hover span {
color: var(--oc-color-swatch-brand-hover) !important;
}
span {
text-decoration: none !important;
}
}
}
}
}
Expand Down
4 changes: 0 additions & 4 deletions src/components/molecules/OcBreadcrumb/OcBreadcrumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,6 @@ export default {
#oc-breadcrumb-contextmenu-trigger > span {
vertical-align: middle;
border: 3px solid transparent;
&:hover {
background-color: var(--oc-color-background-hover);
border-radius: 5px;
}
}
#oc-breadcrumb-contextmenu li button {
Expand Down
2 changes: 1 addition & 1 deletion src/components/molecules/OcTable/OcTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ export default {
transition: background-color $transition-duration-short ease-in-out;
}
&-hover tr:hover span {
&-hover tr:hover td:not(:last-child) {
color: var(--oc-color-swatch-brand-hover) !important;
}
Expand Down

0 comments on commit 7992158

Please sign in to comment.