_navbar.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. .grw-navbar {
  2. top: -$grw-navbar-height !important;
  3. z-index: $grw-navbar-z-index !important;
  4. max-height: $grw-navbar-height + $grw-navbar-border-width;
  5. border-top: 0;
  6. border-right: 0;
  7. border-bottom: $grw-navbar-border-width solid;
  8. border-left: 0;
  9. .grw-app-title {
  10. @include variable-font-size(24px);
  11. }
  12. .grw-navbar-search {
  13. position: absolute;
  14. left: 50%;
  15. transform: translate(-50%, 0%);
  16. }
  17. .nav-link,
  18. .nav-item.confidential {
  19. display: flex;
  20. align-items: center;
  21. min-height: $grw-navbar-height;
  22. padding: 0 1rem;
  23. }
  24. .nav-link {
  25. &:hover {
  26. background: rgba(0, 0, 0, 0.1);
  27. }
  28. &:focus {
  29. background: rgba(0, 0, 0, 0);
  30. }
  31. }
  32. .nav-item.confidential {
  33. :not(i) {
  34. @include variable-font-size(14px);
  35. }
  36. @include media-breakpoint-only(md) {
  37. max-width: 100px;
  38. }
  39. max-width: 120px;
  40. max-height: $grw-navbar-height;
  41. overflow: hidden;
  42. background: rgba(0, 0, 0, 0.2);
  43. }
  44. .grw-personal-dropdown {
  45. .dropdown-menu {
  46. min-width: 15rem;
  47. .grw-email-sm {
  48. font-size: 0.75em;
  49. }
  50. .grw-icon-container svg {
  51. width: 18px;
  52. height: 18px;
  53. }
  54. }
  55. }
  56. }
  57. .grw-navbar-bottom {
  58. height: $grw-navbar-bottom-height;
  59. // apply transition
  60. transition-property: bottom;
  61. @include apply-navigation-transition();
  62. &.grw-navbar-bottom-drawer-opened {
  63. bottom: -$grw-navbar-bottom-height;
  64. }
  65. }
  66. .grw-custom-nav-tab,
  67. .grw-custom-nav-dropdown {
  68. svg {
  69. width: 17px;
  70. height: 17px;
  71. margin-right: 5px;
  72. vertical-align: text-bottom;
  73. }
  74. }
  75. .grw-custom-nav-tab {
  76. .nav-title {
  77. flex-wrap: nowrap;
  78. }
  79. .nav-link {
  80. padding: 1rem 1.5rem;
  81. }
  82. .grw-nav-slide-hr {
  83. border-top: 0rem;
  84. border-bottom: 3px solid;
  85. transition: 0.3s ease-in-out;
  86. }
  87. }
  88. .grw-notification-badge {
  89. position: absolute;
  90. top: 6px;
  91. right: 3.5px;
  92. }