_navbar.scss 1.7 KB

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