File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,23 @@ import ExternalIcon from "../../../public/img/icon-external.svg";
243243 flex: none;
244244 }
245245
246+ .site-nav__links .has-submenu > a::after {
247+ content: url(/public/img/arrow-menu.svg);
248+ display: inline-block;
249+ width: 9px;
250+ margin-left: 0.5rem;
251+ transition: transform 0.5s ease-in-out;
252+ @media (prefers-reduced-motion) {
253+ transition: transform 0s;
254+ }
255+ }
256+
257+ .site-nav__links .has-submenu > a[aria-expanded="true"]::after,
258+ .site-nav__links .has-submenu > a:hover::after,
259+ .site-nav__links .has-submenu:has(a:hover) > a::after {
260+ transform: translateY(30%) rotate(180deg);
261+ }
262+
246263 .site-nav__links a {
247264 text-decoration: none;
248265 padding: var(--space-s) var(--space-2xs);
You can’t perform that action at this time.
0 commit comments