bootstrap: fixed login/register, footer, and navbar
[e-DoKo.git] / css / bootstrap / variables.less
1 //
2 // Variables
3 // --------------------------------------------------
4
5
6 // Global values
7 // --------------------------------------------------
8
9
10 // Grays
11 // -------------------------
12 @black:                 #000;
13 @grayDarker:            #222;
14 @grayDark:              #333;
15 @gray:                  #555;
16 @grayLight:             #999;
17 @grayLighter:           #eee;
18 @white:                 #fff;
19
20
21 // Accent colors
22 // -------------------------
23 @blue:                  #049cdb;
24 @blueDark:              #0064cd;
25 @green:                 #46a546;
26 @red:                   #9d261d;
27 @yellow:                #ffc40d;
28 @orange:                #f89406;
29 @pink:                  #c3325f;
30 @purple:                #7a43b6;
31
32
33 // Scaffolding
34 // -------------------------
35 @bodyBackground:        @white;
36 @textColor:             @grayDark;
37
38
39 // Links
40 // -------------------------
41 @linkColor:             #08c;
42 @linkColorHover:        darken(@linkColor, 15%);
43
44
45 // Typography
46 // -------------------------
47 @sansFontFamily:        "Helvetica Neue", Helvetica, Arial, sans-serif;
48 @serifFontFamily:       Georgia, "Times New Roman", Times, serif;
49 @monoFontFamily:        Monaco, Menlo, Consolas, "Courier New", monospace;
50
51 @baseFontSize:          14px;
52 @baseFontFamily:        @sansFontFamily;
53 @baseLineHeight:        20px;
54 @altFontFamily:         @serifFontFamily;
55
56 @headingsFontFamily:    inherit; // empty to use BS default, @baseFontFamily
57 @headingsFontWeight:    bold;    // instead of browser default, bold
58 @headingsColor:         inherit; // empty to use BS default, @textColor
59
60 // Tables
61 // -------------------------
62 @tableBackground:                   transparent; // overall background-color
63 @tableBackgroundAccent:             #f9f9f9; // for striping
64 @tableBackgroundHover:              #f5f5f5; // for hover
65 @tableBorder:                       #ddd; // table and cell border
66
67 // Buttons
68 // -------------------------
69 @btnBackground:                     @white;
70 @btnBackgroundHighlight:            darken(@white, 10%);
71 @btnBorder:                         #bbb;
72
73 @btnPrimaryBackground:              @linkColor;
74 @btnPrimaryBackgroundHighlight:     spin(@btnPrimaryBackground, 20%);
75
76 @btnInfoBackground:                 #5bc0de;
77 @btnInfoBackgroundHighlight:        #2f96b4;
78
79 @btnSuccessBackground:              #62c462;
80 @btnSuccessBackgroundHighlight:     #51a351;
81
82 @btnWarningBackground:              lighten(@orange, 15%);
83 @btnWarningBackgroundHighlight:     @orange;
84
85 @btnDangerBackground:               #ee5f5b;
86 @btnDangerBackgroundHighlight:      #bd362f;
87
88 @btnInverseBackground:              #444;
89 @btnInverseBackgroundHighlight:     @grayDarker;
90
91
92 // Forms
93 // -------------------------
94 @inputBackground:               @white;
95 @inputBorder:                   #ccc;
96 @inputBorderRadius:             3px;
97 @inputDisabledBackground:       @grayLighter;
98 @formActionsBackground:         #f5f5f5;
99
100 // Dropdowns
101 // -------------------------
102 @dropdownBackground:            @white;
103 @dropdownBorder:                rgba(0,0,0,.2);
104 @dropdownDividerTop:            #e5e5e5;
105 @dropdownDividerBottom:         @white;
106
107 @dropdownLinkColor:             @grayDark;
108 @dropdownLinkColorHover:        @white;
109 @dropdownLinkColorActive:       @dropdownLinkColor;
110
111 @dropdownLinkBackgroundActive:  @linkColor;
112 @dropdownLinkBackgroundHover:   @dropdownLinkBackgroundActive;
113
114
115
116 // COMPONENT VARIABLES
117 // --------------------------------------------------
118
119 // Z-index master list
120 // -------------------------
121 // Used for a bird's eye view of components dependent on the z-axis
122 // Try to avoid customizing these :)
123 @zindexDropdown:          1000;
124 @zindexPopover:           1010;
125 @zindexTooltip:           1030;
126 @zindexFixedNavbar:       1030;
127 @zindexModalBackdrop:     1040;
128 @zindexModal:             1050;
129
130
131 // Sprite icons path
132 // -------------------------
133 @iconSpritePath:          "../../pics/glyphicons-halflings.png";
134 @iconWhiteSpritePath:     "../../pics/glyphicons-halflings-white.png";
135
136
137 // Input placeholder text color
138 // -------------------------
139 @placeholderText:         @grayLight;
140
141
142 // Hr border color
143 // -------------------------
144 @hrBorder:                @grayLighter;
145
146
147 // Horizontal forms & lists
148 // -------------------------
149 @horizontalComponentOffset:       180px;
150
151
152 // Wells
153 // -------------------------
154 @wellBackground:                  #f5f5f5;
155
156
157 // Navbar
158 // -------------------------
159 @navbarCollapseWidth:             979px;
160
161 //@navbarHeight:                    40px;
162 @navbarHeight:                    25px;
163 @navbarBackgroundHighlight:       #ffffff;
164 @navbarBackground:                darken(@navbarBackgroundHighlight, 5%);
165 @navbarBorder:                    darken(@navbarBackground, 12%);
166
167 @navbarText:                      #777;
168 @navbarLinkColor:                 #777;
169 @navbarLinkColorHover:            @grayDark;
170 @navbarLinkColorActive:           @gray;
171 @navbarLinkBackgroundHover:       transparent;
172 @navbarLinkBackgroundActive:      darken(@navbarBackground, 5%);
173
174 @navbarBrandColor:                @navbarLinkColor;
175
176 // Inverted navbar
177 @navbarInverseBackground:                #111111;
178 @navbarInverseBackgroundHighlight:       #222222;
179 @navbarInverseBorder:                    #252525;
180
181 @navbarInverseText:                      @grayLight;
182 @navbarInverseLinkColor:                 @grayLight;
183 @navbarInverseLinkColorHover:            @white;
184 @navbarInverseLinkColorActive:           @navbarInverseLinkColorHover;
185 @navbarInverseLinkBackgroundHover:       transparent;
186 @navbarInverseLinkBackgroundActive:      @navbarInverseBackground;
187
188 @navbarInverseSearchBackground:          lighten(@navbarInverseBackground, 25%);
189 @navbarInverseSearchBackgroundFocus:     @white;
190 @navbarInverseSearchBorder:              @navbarInverseBackground;
191 @navbarInverseSearchPlaceholderColor:    #ccc;
192
193 @navbarInverseBrandColor:                @navbarInverseLinkColor;
194
195
196 // Pagination
197 // -------------------------
198 @paginationBackground:                #fff;
199 @paginationBorder:                    #ddd;
200 @paginationActiveBackground:          #f5f5f5;
201
202
203 // Hero unit
204 // -------------------------
205 @heroUnitBackground:              @grayLighter;
206 @heroUnitHeadingColor:            inherit;
207 @heroUnitLeadColor:               inherit;
208
209
210 // Form states and alerts
211 // -------------------------
212 @warningText:             #c09853;
213 @warningBackground:       #fcf8e3;
214 @warningBorder:           darken(spin(@warningBackground, -10), 3%);
215
216 @errorText:               #b94a48;
217 @errorBackground:         #f2dede;
218 @errorBorder:             darken(spin(@errorBackground, -10), 3%);
219
220 @successText:             #468847;
221 @successBackground:       #dff0d8;
222 @successBorder:           darken(spin(@successBackground, -10), 5%);
223
224 @infoText:                #3a87ad;
225 @infoBackground:          #d9edf7;
226 @infoBorder:              darken(spin(@infoBackground, -10), 7%);
227
228
229 // Tooltips and popovers
230 // -------------------------
231 @tooltipColor:            #fff;
232 @tooltipBackground:       #000;
233 @tooltipArrowWidth:       5px;
234 @tooltipArrowColor:       @tooltipBackground;
235
236 @popoverBackground:       #fff;
237 @popoverArrowWidth:       10px;
238 @popoverArrowColor:       #fff;
239 @popoverTitleBackground:  darken(@popoverBackground, 3%);
240
241 // Special enhancement for popovers
242 @popoverArrowOuterWidth:  @popoverArrowWidth + 1;
243 @popoverArrowOuterColor:  rgba(0,0,0,.25);
244
245
246
247 // GRID
248 // --------------------------------------------------
249
250
251 // Default 940px grid
252 // -------------------------
253 @gridColumns:             12;
254 @gridColumnWidth:         60px;
255 @gridGutterWidth:         20px;
256 @gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
257
258 // 1200px min
259 @gridColumnWidth1200:     70px;
260 @gridGutterWidth1200:     30px;
261 @gridRowWidth1200:        (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));
262
263 // 768px-979px
264 @gridColumnWidth768:      42px;
265 @gridGutterWidth768:      20px;
266 @gridRowWidth768:         (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));
267
268
269 // Fluid grid
270 // -------------------------
271 @fluidGridColumnWidth:    percentage(@gridColumnWidth/@gridRowWidth);
272 @fluidGridGutterWidth:    percentage(@gridGutterWidth/@gridRowWidth);
273
274 // 1200px min
275 @fluidGridColumnWidth1200:     percentage(@gridColumnWidth1200/@gridRowWidth1200);
276 @fluidGridGutterWidth1200:     percentage(@gridGutterWidth1200/@gridRowWidth1200);
277
278 // 768px-979px
279 @fluidGridColumnWidth768:      percentage(@gridColumnWidth768/@gridRowWidth768);
280 @fluidGridGutterWidth768:      percentage(@gridGutterWidth768/@gridRowWidth768);