secondary-menu.css

Same filename in other branches
  1. 8.9.x core/themes/bartik/css/components/secondary-menu.css
/* --------------- Secondary Menu ------------ */

.region-secondary-menu .menu {
  margin: 0 10px;
  padding: 0;
  text-align: right; /* LTR */
  font-size: 0.929em;
}
[dir="rtl"] .region-secondary-menu .menu {
  margin-right: 10px; /* required to win over specificity of [dir="rtl"] ul.menu */
  margin-left: 10px;
  text-align: left;
}
.region-secondary-menu .menu-item {
  display: inline;
  margin: 0;
  padding: 0;
}
.region-secondary-menu .menu a {
  display: inline-block;
  padding: 0.8em;
}
.region-secondary-menu .menu a:hover,
.region-secondary-menu .menu a:focus {
  text-decoration: underline;
}

File

core/themes/bartik/css/components/secondary-menu.css

View source
  1. /* --------------- Secondary Menu ------------ */
  2. .region-secondary-menu .menu {
  3. margin: 0 10px;
  4. padding: 0;
  5. text-align: right; /* LTR */
  6. font-size: 0.929em;
  7. }
  8. [dir="rtl"] .region-secondary-menu .menu {
  9. margin-right: 10px; /* required to win over specificity of [dir="rtl"] ul.menu */
  10. margin-left: 10px;
  11. text-align: left;
  12. }
  13. .region-secondary-menu .menu-item {
  14. display: inline;
  15. margin: 0;
  16. padding: 0;
  17. }
  18. .region-secondary-menu .menu a {
  19. display: inline-block;
  20. padding: 0.8em;
  21. }
  22. .region-secondary-menu .menu a:hover,
  23. .region-secondary-menu .menu a:focus {
  24. text-decoration: underline;
  25. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.