You are here

menu.css in AT Tools 8.2

/**
 * 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-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
      -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-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
      -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-flex;
  51. display: -ms-flexbox;
  52. display: flex;
  53. -webkit-flex-direction: row;
  54. -ms-flex-direction: row;
  55. flex-direction: row;
  56. }
  57. .pr-leaderboard .block-menu .menu-level-1 .menu__item {
  58. margin: 0.375rem 1rem 0.375rem 0;
  59. list-style: none;
  60. }
  61. [dir="rtl"] .pr-leaderboard .block-menu .menu-level-1 .menu__item {
  62. margin-right: 0;
  63. margin-left: 16px;
  64. }
  65. .pr-leaderboard.rm-row .block-menu {
  66. float: right;
  67. }
  68. .pr-leaderboard .menu .menu__link:after {
  69. content: none;
  70. display: none;
  71. }
  72. /**
  73. * Menus in the Footer region.
  74. ============================================================================ */
  75. .pr-footer__footer .menu-level-1 {
  76. display: -webkit-flex;
  77. display: -ms-flexbox;
  78. display: flex;
  79. -webkit-flex-direction: row;
  80. -ms-flex-direction: row;
  81. flex-direction: row;
  82. }
  83. .pr-footer__footer .menu-level-1 .menu__item {
  84. margin: 0.625rem 1rem 0.625rem 0;
  85. list-style: none;
  86. }
  87. [dir="rtl"] .pr-footer__footer .menu-level-1 .menu__item {
  88. margin-right: 0;
  89. margin-left: 16px;
  90. }
  91. .pr-footer__footer .menu .menu__link:after {
  92. content: none;
  93. display: none;
  94. }
  95. /*# sourceMappingURL=menu.css.map */