secondary-menu.css
Same filename in other branches
/* --------------- 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
- /* --------------- 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;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.