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