_navbar.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .navbar {
  2. position: relative;
  3. margin-left: 40px;
  4. // box-shadow: $navbarShadow;
  5. z-index: $zindex-navbar-fixed;
  6. // background: $navbarBackground;
  7. height: $navbarHeight;
  8. padding-right: $spacer;
  9. display: flex;
  10. flex-grow: 1;
  11. }
  12. .navbar-page-btn {
  13. text-overflow: ellipsis;
  14. overflow: hidden;
  15. white-space: nowrap;
  16. display: block;
  17. margin: 0;
  18. color: darken($link-color, 5%);
  19. font-size: $font-size-lg;
  20. padding: 1rem 1rem 0.75rem 1rem;
  21. min-height: $navbarHeight;
  22. .fa-caret-down {
  23. font-size: 60%;
  24. padding-left: 0.2rem;
  25. }
  26. &--search {
  27. padding: 1rem 1.5rem 0.75rem 1.5rem;
  28. }
  29. .gicon {
  30. position: relative;
  31. top: -1px;
  32. font-size: 19px;
  33. line-height: 8px;
  34. opacity: 0.75;
  35. margin-right: 8px;
  36. // icon hidden on smaller screens
  37. display: none;
  38. }
  39. }
  40. .navbar-page-btn-wrapper {
  41. display: inline-block;
  42. position: relative;
  43. }
  44. .navbar-section-wrapper {
  45. position: relative;
  46. float: left;
  47. }
  48. .navbar-mini-btn-wrapper {
  49. padding: 15px;
  50. }
  51. .navbar-buttons {
  52. height: $navbarHeight;
  53. display: flex;
  54. align-items: center;
  55. justify-content: flex-end;
  56. margin-right: $spacer;
  57. }
  58. .navbar__spacer {
  59. flex-grow: 1;
  60. }
  61. .navbar-button {
  62. @include buttonBackground($btn-inverse-bg, $btn-inverse-bg-hl, $btn-inverse-text-color, $btn-inverse-text-shadow);
  63. display: inline-block;
  64. font-weight: $btn-font-weight;
  65. padding: 8px 11px;
  66. line-height: 16px;
  67. color: $text-muted;
  68. border: 1px solid $navbar-button-border;
  69. margin-right: 3px;
  70. white-space: nowrap;
  71. .gicon {
  72. font-size: 16px;
  73. }
  74. .fa {
  75. font-size: 16px;
  76. }
  77. &--add-panel {
  78. padding: 5px 10px;
  79. .gicon {
  80. font-size: 22px;
  81. }
  82. }
  83. &--tight {
  84. padding: 9px 4px;
  85. .fa {
  86. font-size: 14px;
  87. position: relative;
  88. top: 2px;
  89. }
  90. }
  91. }
  92. @include media-breakpoint-up(sm) {
  93. .navbar {
  94. margin-left: 50px;
  95. }
  96. .sidemenu-open {
  97. .navbar {
  98. margin-left: 15px;
  99. }
  100. }
  101. .navbar-page-btn {
  102. .gicon {
  103. display: inline-block;
  104. }
  105. }
  106. }