You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

custom.less 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*!
  2. * Gitblit Bootstrap Overrides
  3. *
  4. * Copyright 2012 gitblit.com
  5. * Licensed under the Apache License v2.0
  6. * http://www.apache.org/licenses/LICENSE-2.0
  7. *
  8. */
  9. // GLOBAL VALUES
  10. // --------------------------------------------------
  11. @blueDark: #000060;
  12. @blueDarker: #000050;
  13. @blueDarkest: #000040;
  14. @standardGray: #ccc;
  15. @cornflower: #abd4ff;
  16. @white: #fff;
  17. // Dropdown
  18. // -------------------------
  19. @dropdownLinkBackgroundHover: @blueDark;
  20. // Navbar
  21. // -------------------------
  22. @navbarHeight: 45px;
  23. @navbarBackground: @blueDarkest;
  24. @navbarBackgroundHighlight: @blueDark;
  25. @navbarText: @white;
  26. @navbarLinkColor: @white;
  27. @navbarLinkColorHover: @cornflower;
  28. @navbarLinkColorActive: @cornflower;
  29. @navbarLinkBackgroundHover: transparent;
  30. @navbarLinkBackgroundActive: transparent;
  31. .navbar {
  32. .nav {
  33. margin: 0px;
  34. li > a {
  35. text-shadow: 0 1px 0 #000;
  36. }
  37. li > a:hover {
  38. text-shadow: 0 0 1em white;
  39. }
  40. .active > a,
  41. .active > a:hover,
  42. .active > a:focus {
  43. box-shadow: none;
  44. text-decoration: underline;
  45. }
  46. ul.dropdown-menu > li > a {
  47. text-shadow: none;
  48. }
  49. }
  50. .brand {
  51. @elementHeight: 27px;
  52. padding: 10px 20px;
  53. }
  54. .pull-right {
  55. margin: 0;
  56. }
  57. ul > li:focus, .active {
  58. background-repeat:no-repeat;
  59. background-image: url('../../arrow_page.png');
  60. background-position: center bottom;
  61. outline: 0;
  62. }
  63. }
  64. .navbar-inner {
  65. background-color: @blueDarker;
  66. border-bottom: 2px solid #ff9900;
  67. }
  68. h3 small { font-size: @baseFontSize + 3; }
  69. body { padding-top: @navbarHeight + 15 } /* 60px to make the container go all the way to the bottom of the topbar */
  70. footer { margin-top: 25px; padding: 15px 0 16px; border-top: 1px solid #E5E5E5; }
  71. a:hover { text-decoration: underline !important; }
  72. em { color: #b05000; }
  73. code {
  74. color: #000000;
  75. background-color: #ffffe0;
  76. border: 1px solid orange;
  77. border-radius: 3px;
  78. padding: 0 0.2em;
  79. font-family: monospace;
  80. }