_navbar.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .navbar {
  2. position: relative;
  3. padding-left: $side-menu-width;
  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. .sidemenu-open {
  13. .navbar {
  14. padding-left: 15px;
  15. }
  16. }
  17. .navbar-page-btn {
  18. text-overflow: ellipsis;
  19. overflow: hidden;
  20. white-space: nowrap;
  21. display: block;
  22. margin: 0;
  23. color: darken($link-color, 5%);
  24. font-size: $font-size-lg;
  25. padding: 1rem 1rem 0.75rem 1rem;
  26. min-height: $navbarHeight;
  27. .fa-caret-down {
  28. font-size: 60%;
  29. padding-left: 0.2rem;
  30. }
  31. &--search {
  32. padding: 1rem 1.5rem 0.75rem 1.5rem;
  33. }
  34. .gicon {
  35. position: relative;
  36. top: -1px;
  37. font-size: 19px;
  38. line-height: 8px;
  39. opacity: 0.75;
  40. margin-right: 8px;
  41. }
  42. }
  43. .navbar-page-btn-wrapper {
  44. display: inline-block;
  45. position: relative;
  46. }
  47. .navbar-section-wrapper {
  48. position: relative;
  49. float: left;
  50. }
  51. .navbar-mini-btn-wrapper {
  52. padding: 15px;
  53. }
  54. .navbar-buttons {
  55. height: $navbarHeight;
  56. display: flex;
  57. align-items: center;
  58. justify-content: flex-end;
  59. margin-right: $spacer;
  60. }
  61. .navbar__spacer {
  62. flex-grow: 1;
  63. }
  64. .navbar-button {
  65. @include buttonBackground($btn-inverse-bg, $btn-inverse-bg-hl, $btn-inverse-text-color);
  66. display: inline-block;
  67. font-weight: $btn-font-weight;
  68. padding: 8px 11px;
  69. line-height: 16px;
  70. color: $text-muted;
  71. border: 1px solid #151515;
  72. margin-right: 1px;
  73. white-space: nowrap;
  74. .gicon {
  75. font-size: 16px;
  76. }
  77. .fa {
  78. font-size: 16px;
  79. }
  80. &--add-panel {
  81. padding: 5px 10px;
  82. .gicon {
  83. font-size: 22px;
  84. }
  85. }
  86. &--tight {
  87. padding: 9px 4px;
  88. .fa {
  89. font-size: 14px;
  90. position: relative;
  91. top: 2px;
  92. }
  93. }
  94. }