navbar.less 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .navbar {
  2. position: relative;
  3. z-index: 110;
  4. margin-bottom: 0;
  5. }
  6. .navbar .navbar-inner {
  7. padding-left: 0px;
  8. border: none;
  9. }
  10. .navbar .nav>li>a {
  11. padding: 17px 13px 13px;
  12. .fa { font-size: 115%; }
  13. }
  14. .fa.top-nav-breadcrumb-icon {
  15. margin: 18px 0 6px 5px;
  16. float: left;
  17. font-size: 120%;
  18. color: @textColor;
  19. }
  20. .top-nav-btn {
  21. display: block;
  22. position: relative;
  23. float: left;
  24. margin: 0;
  25. font-size: 1.4em;
  26. border-right: 1px solid @grafanaTargetBorder;
  27. .fa-caret-down {
  28. font-size: 55%;
  29. position: absolute;
  30. right: 8px;
  31. top: 23px;
  32. }
  33. a {
  34. color: darken(@linkColor, 5%);
  35. background-color: @navbarButtonBackground;
  36. display: inline-block;
  37. &:hover {
  38. background: @navbarButtonBackgroundHighlight;
  39. color: @linkColor;
  40. // border-bottom: 1px solid @blue;
  41. }
  42. }
  43. }
  44. .top-nav-menu-btn {
  45. a {
  46. padding: 6px 20px 6px 13px;
  47. }
  48. img {
  49. width: 30px;
  50. position: relative;
  51. }
  52. .top-nav-logo-background {
  53. display: inline-block;
  54. border: 1px solid @bodyBackground;
  55. padding: 4px;
  56. border-radius: 50%;
  57. background: @iconContainerBackground;
  58. width: 30px;
  59. height: 30px;
  60. }
  61. .icon-gf-grafana_wordmark {
  62. font-size: 21px;
  63. position: relative;
  64. top: 4px;
  65. padding-left: 5px;
  66. display: none;
  67. }
  68. }
  69. .dashnav-dashboards-btn {
  70. a {
  71. text-overflow: ellipsis;
  72. overflow: hidden;
  73. white-space: nowrap;
  74. display: block;
  75. padding: 16px 17px 15px 13px;
  76. }
  77. .fa-th-large {
  78. position: relative;
  79. top: 2px;
  80. }
  81. .icon-gf {
  82. position: relative;
  83. top: 5px;
  84. font-size: 27px;
  85. line-height: 8px;
  86. }
  87. }
  88. .dashboard-title {
  89. padding: 0px 6px 5px 5px;
  90. font-size: 17px;
  91. }
  92. .top-nav-icon {
  93. margin: 5px 0px 0 11px;
  94. line-height: 41px;
  95. float: left;
  96. }
  97. .top-nav-section {
  98. display: block;
  99. float: left;
  100. padding: 19px 9px 8px 0;
  101. font-weight: bold;
  102. i {
  103. padding-left: 8px;
  104. }
  105. }
  106. .top-nav-title {
  107. display: block;
  108. float: left;
  109. font-size: 17px;
  110. padding: 18px 10px 10px 13px;
  111. color: @linkColor;
  112. }