header.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. // Primary header
  2. // -------------------------
  3. .header-primary {
  4. background-color: @pageHeaderBackground;
  5. border-bottom: 1px solid @pageHeaderBorder;
  6. margin: 0px;
  7. margin-top: 0px;
  8. padding-top: @baseLineHeight / 2;
  9. .breadcrumb {
  10. background: none;
  11. border: none;
  12. margin: 0px;
  13. margin-bottom: @fontSizeSmall * -0.5;
  14. padding: 0px;
  15. li {
  16. font-size: @fontSizeSmall;
  17. font-weight: bold;
  18. text-shadow: none;
  19. a:link, a:visited {
  20. color: @grayLight;
  21. }
  22. a:hover, a:active {
  23. color: @textColor;
  24. }
  25. .divider {
  26. padding-left: 0px;
  27. padding-right: 0px;
  28. i {
  29. .opacity(20);
  30. position: relative;
  31. bottom: 1px;
  32. }
  33. }
  34. }
  35. }
  36. h1 {
  37. color: @gray;
  38. font-size: @fontSizeLarge * 2;
  39. font-weight: normal;
  40. }
  41. .header-stats {
  42. overflow: auto;
  43. margin-bottom: 0px;
  44. color: @grayLight;
  45. li {
  46. float: left;
  47. margin-right: @baseFontSize;
  48. &>a {
  49. color: @grayLight;
  50. &:hover, &:active {
  51. color: @textColor;
  52. }
  53. }
  54. &>i {
  55. .opacity(50);
  56. }
  57. }
  58. }
  59. .header-tabs {
  60. border-bottom: 0px;
  61. margin: 0px;
  62. margin-top: (@baseLineHeight * -0.5);
  63. position: relative;
  64. top: (@baseLineHeight * 0.5) - 1px;
  65. li {
  66. a {
  67. &:link, &:visited {
  68. background: none;
  69. border: none;
  70. border-radius: 0px;
  71. margin-bottom: 4px;
  72. padding: (@baseLineHeight / 3) (@baseLineHeight / 2);
  73. color: lighten(@gray, 20%);
  74. font-weight: bold;
  75. }
  76. &:hover, &:active, a:focus {
  77. background: none;
  78. border-bottom: 4px solid @gray;
  79. margin-bottom: 0px;
  80. color: @gray;
  81. }
  82. }
  83. &.active {
  84. a:link, a:visited, a:hover, a:active {
  85. background: none;
  86. border-bottom: 4px solid @red;
  87. margin-bottom: 0px;
  88. color: @textColor;
  89. }
  90. }
  91. .form-inline {
  92. margin: 0px;
  93. margin-left: @baseFontSize;
  94. margin-bottom: 7px;
  95. .btn-icon {
  96. padding-left: 7px;
  97. padding-right: 7px;
  98. }
  99. }
  100. }
  101. }
  102. }