header.less 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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-tabs {
  42. border-bottom: 0px;
  43. margin: 0px;
  44. margin-top: (@baseLineHeight * -0.5);
  45. position: relative;
  46. top: (@baseLineHeight * 0.5) - 1px;
  47. li {
  48. a {
  49. &:link, &:visited {
  50. background: none;
  51. border: none;
  52. border-radius: 0px;
  53. margin-bottom: 4px;
  54. padding: (@baseLineHeight / 3) (@baseLineHeight / 2);
  55. color: lighten(@gray, 20%);
  56. font-weight: bold;
  57. }
  58. &:hover, &:active, a:focus {
  59. background: none;
  60. border-bottom: 4px solid @gray;
  61. margin-bottom: 0px;
  62. color: @gray;
  63. }
  64. }
  65. &.active {
  66. a:link, a:visited, a:hover, a:active {
  67. background: none;
  68. border-bottom: 4px solid @red;
  69. margin-bottom: 0px;
  70. color: @textColor;
  71. }
  72. }
  73. .form-inline {
  74. margin: 0px;
  75. margin-left: @baseFontSize;
  76. margin-bottom: 7px;
  77. .btn-icon {
  78. padding-left: 7px;
  79. padding-right: 7px;
  80. }
  81. }
  82. }
  83. }
  84. }