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.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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: #002060;
  12. @standardGray: #ccc;
  13. @cornflower: #abd4ff;
  14. @white: #fff;
  15. // Dropdown
  16. // -------------------------
  17. @dropdownLinkBackgroundHover: @blueDark;
  18. // Navbar
  19. // -------------------------
  20. @navbarHeight: 45px;
  21. @navbarBackground: @blueDark;
  22. @navbarBackgroundHighlight: @blueDark;
  23. @navbarText: @white;
  24. @navbarLinkColor: @white;
  25. @navbarLinkColorHover: @cornflower;
  26. @navbarLinkColorActive: @cornflower;
  27. @navbarLinkBackgroundHover: transparent;
  28. @navbarLinkBackgroundActive: transparent;
  29. .navbar {
  30. .nav {
  31. margin: 0px;
  32. li > a {
  33. text-shadow: 0 1px 0 #000;
  34. }
  35. li > a:hover {
  36. text-shadow: 0 0 1em white;
  37. }
  38. .active > a,
  39. .active > a:hover,
  40. .active > a:focus {
  41. box-shadow: none;
  42. text-decoration: underline;
  43. }
  44. ul.dropdown-menu > li > a {
  45. text-shadow: none;
  46. }
  47. }
  48. .brand {
  49. @elementHeight: 27px;
  50. padding: 10px 20px;
  51. }
  52. .pull-right {
  53. margin: 0;
  54. }
  55. ul > li:focus, .active {
  56. outline: 0;
  57. padding-bottom: 1px;
  58. border-bottom: 3px solid #ff9900;
  59. margin-bottom: -1px;
  60. }
  61. }
  62. .navbar-inner {
  63. background-color: @blueDark;
  64. border-bottom: 2px solid #ff9900;
  65. }
  66. h3 small { font-size: @baseFontSize + 3; }
  67. body { padding-top: @navbarHeight + 15 } /* 60px to make the container go all the way to the bottom of the topbar */
  68. footer { margin-top: 25px; padding: 15px 0 16px; border-top: 1px solid #E5E5E5; }
  69. a:hover { text-decoration: underline !important; }
  70. em { color: #b05000; }
  71. code {
  72. color: #000000;
  73. background-color: #ffffe0;
  74. border: 1px solid orange;
  75. border-radius: 3px;
  76. padding: 0 0.2em;
  77. font-family: monospace;
  78. }