You are here

menu.css in AT Tools 8.3

/**
 * Menus
 *  - style Drupal core block menus.
 *  - for the drop menu and other responsive menus see the mixins and the
 *    respective responsive menu partials.
 ============================================================================ */
.menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu .menu__link {
  display: block;
  padding: 0.125rem 0;
  margin: 0.125rem 0;
}

.menu .menu__link:hover, .menu .menu__link:focus {
  text-decoration: none;
}

.menu .menu__link:before, .menu .menu__link:after {
  display: none;
}

.fa-loaded .menu .menu__link:before, .fa-loaded .menu .menu__link:after {
  display: inline-block;
}

.menu .menu__link.button {
  padding-left: 1rem;
  padding-right: 1rem;
}

.menu .menu__link.button:after {
  content: '';
  display: none;
}

.menu .menu {
  padding-left: 1rem;
}

.menu .menu__item--no-link .menu__link {
  cursor: default;
}

.menu__item {
  text-align: left;
}

/**
 * Menus in the Leaderboard region.
 ============================================================================ */
.pr-leaderboard .block-menu {
  margin: 0;
}

.pr-leaderboard .block-menu .menu-level-1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.pr-leaderboard .block-menu .menu-level-1 .menu__item {
  margin: 0.375rem 1rem 0.375rem 0;
  list-style: none;
}

[dir="rtl"] .pr-leaderboard .block-menu .menu-level-1 .menu__item {
  margin-right: 0;
  margin-left: 16px;
}

.pr-leaderboard.rm-row .block-menu {
  float: right;
}

.pr-leaderboard .menu .menu__link:after {
  content: none;
  display: none;
}

/**
 * Menus in the Footer region.
 ============================================================================ */
.pr-footer__footer .menu-level-1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.pr-footer__footer .menu-level-1 .menu__item {
  margin: 0.625rem 1rem 0.625rem 0;
  list-style: none;
}

[dir="rtl"] .pr-footer__footer .menu-level-1 .menu__item {
  margin-right: 0;
  margin-left: 16px;
}

.pr-footer__footer .menu .menu__link:after {
  content: none;
  display: none;
}
/*# sourceMappingURL=menu.css.map */

File

at_theme_generator/starterkits/starterkit/styles/css/components/menu.css
View source
  1. /**
  2. * Menus
  3. * - style Drupal core block menus.
  4. * - for the drop menu and other responsive menus see the mixins and the
  5. * respective responsive menu partials.
  6. ============================================================================ */
  7. .menu {
  8. padding: 0;
  9. margin: 0;
  10. list-style: none;
  11. }
  12. .menu .menu__link {
  13. display: block;
  14. padding: 0.125rem 0;
  15. margin: 0.125rem 0;
  16. }
  17. .menu .menu__link:hover, .menu .menu__link:focus {
  18. text-decoration: none;
  19. }
  20. .menu .menu__link:before, .menu .menu__link:after {
  21. display: none;
  22. }
  23. .fa-loaded .menu .menu__link:before, .fa-loaded .menu .menu__link:after {
  24. display: inline-block;
  25. }
  26. .menu .menu__link.button {
  27. padding-left: 1rem;
  28. padding-right: 1rem;
  29. }
  30. .menu .menu__link.button:after {
  31. content: '';
  32. display: none;
  33. }
  34. .menu .menu {
  35. padding-left: 1rem;
  36. }
  37. .menu .menu__item--no-link .menu__link {
  38. cursor: default;
  39. }
  40. .menu__item {
  41. text-align: left;
  42. }
  43. /**
  44. * Menus in the Leaderboard region.
  45. ============================================================================ */
  46. .pr-leaderboard .block-menu {
  47. margin: 0;
  48. }
  49. .pr-leaderboard .block-menu .menu-level-1 {
  50. display: -webkit-box;
  51. display: -ms-flexbox;
  52. display: flex;
  53. -webkit-box-orient: horizontal;
  54. -webkit-box-direction: normal;
  55. -ms-flex-direction: row;
  56. flex-direction: row;
  57. }
  58. .pr-leaderboard .block-menu .menu-level-1 .menu__item {
  59. margin: 0.375rem 1rem 0.375rem 0;
  60. list-style: none;
  61. }
  62. [dir="rtl"] .pr-leaderboard .block-menu .menu-level-1 .menu__item {
  63. margin-right: 0;
  64. margin-left: 16px;
  65. }
  66. .pr-leaderboard.rm-row .block-menu {
  67. float: right;
  68. }
  69. .pr-leaderboard .menu .menu__link:after {
  70. content: none;
  71. display: none;
  72. }
  73. /**
  74. * Menus in the Footer region.
  75. ============================================================================ */
  76. .pr-footer__footer .menu-level-1 {
  77. display: -webkit-box;
  78. display: -ms-flexbox;
  79. display: flex;
  80. -webkit-box-orient: horizontal;
  81. -webkit-box-direction: normal;
  82. -ms-flex-direction: row;
  83. flex-direction: row;
  84. }
  85. .pr-footer__footer .menu-level-1 .menu__item {
  86. margin: 0.625rem 1rem 0.625rem 0;
  87. list-style: none;
  88. }
  89. [dir="rtl"] .pr-footer__footer .menu-level-1 .menu__item {
  90. margin-right: 0;
  91. margin-left: 16px;
  92. }
  93. .pr-footer__footer .menu .menu__link:after {
  94. content: none;
  95. display: none;
  96. }
  97. /*# sourceMappingURL=menu.css.map */