menu-account.css
Same filename in other branches
This file is used to style the account menu.
File
-
core/
profiles/ demo_umami/ themes/ umami/ css/ components/ navigation/ menu-account/ menu-account.css
View source
- /**
- * @file
- * This file is used to style the account menu.
- */
-
- @media screen and (min-width: 48em) {
- .menu--account {
- display: block;
- text-align: right; /* LTR */
- }
- [dir="rtl"] .menu--account {
- text-align: left;
- }
- }
- .menu-account {
- display: inline-flex;
- margin: 0;
- padding: 0;
- list-style-type: none;
- line-height: 1.5;
- }
- .menu-account__item + .menu-account__item {
- margin-left: 1em; /* LTR */
- }
- [dir="rtl"] .menu-account__item + .menu-account__item {
- margin-right: 1em;
- margin-left: 0;
- }
- .menu-account__link,
- .menu-account__link:hover,
- .menu-account__link:focus {
- text-decoration: none;
- color: inherit;
- background-color: inherit;
- }
- .menu-account__link:hover,
- .menu-account__link:focus {
- text-decoration: underline;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.