2.0.3 -> 2.0.4 closes #24
[bootswatch] / spacelab / variables.less
1 // Variables.less
2 // Variables to customize the look and feel of Bootstrap
3 // Swatch: Spacelab
4 // Version: 2.0.4
5 // -----------------------------------------------------
6
7 // GLOBAL VALUES
8 // --------------------------------------------------
9
10
11 // Grays
12 // -------------------------
13 @black:                 #000;
14 @grayDarker:            #222;
15 @grayDark:              #333;
16 @gray:                  #555;
17 @grayLight:             #999;
18 @grayLighter:           #F5F5F5;
19 @white:                 #fff;
20
21
22 // Accent colors
23 // -------------------------
24 @blue:                  #4183C4;
25 @blueDark:              #405A6A;
26 @green:                 #84DE81;
27 @red:                   #E5322C;
28 @yellow:                #F4CA00;
29 @orange:                #FF7D00;
30 @pink:                  #F44B8C;
31 @purple:                #405A6A;
32
33
34 // Scaffolding
35 // -------------------------
36 @bodyBackground:        @white;
37 @textColor:             @grayDark;
38
39
40 // Links
41 // -------------------------
42 @linkColor:             #4183C4;
43 @linkColorHover:        @linkColor;
44
45
46 // Typography
47 // -------------------------
48 @sansFontFamily:        "Helvetica Neue", Helvetica, Arial, sans-serif;
49 @serifFontFamily:       Georgia, "Times New Roman", Times, serif;
50 @monoFontFamily:        Menlo, Monaco, Consolas, "Courier New", monospace;
51
52 @baseFontSize:          13px;
53 @baseFontFamily:        @sansFontFamily;
54 @baseLineHeight:        18px;
55 @altFontFamily:         @serifFontFamily;
56
57 @headingsFontFamily:    inherit; // empty to use BS default, @baseFontFamily
58 @headingsFontWeight:    bold;    // instead of browser default, bold
59 @headingsColor:         inherit; // empty to use BS default, @textColor
60
61
62 // Tables
63 // -------------------------
64 @tableBackground:                   transparent; // overall background-color
65 @tableBackgroundAccent:             #f9f9f9; // for striping
66 @tableBackgroundHover:              #f5f5f5; // for hover
67 @tableBorder:                       #ddd; // table and cell border
68
69
70 // Buttons
71 // -------------------------
72 @btnBackground:                     @white;
73 @btnBackgroundHighlight:            darken(@white, 10%);
74 @btnBorder:                         darken(@white, 20%);
75
76 @btnPrimaryBackground:              @linkColor;
77 @btnPrimaryBackgroundHighlight:     spin(@btnPrimaryBackground, 15%);
78
79 @btnInfoBackground:                 #5bc0de;
80 @btnInfoBackgroundHighlight:        #2f96b4;
81
82 @btnSuccessBackground:              #62c462;
83 @btnSuccessBackgroundHighlight:     #51a351;
84
85 @btnWarningBackground:              lighten(@orange, 15%);
86 @btnWarningBackgroundHighlight:     @orange;
87
88 @btnDangerBackground:               #ee5f5b;
89 @btnDangerBackgroundHighlight:      #bd362f;
90
91 @btnInverseBackground:              @gray;
92 @btnInverseBackgroundHighlight:     @grayDarker;
93
94
95 // Forms
96 // -------------------------
97 @inputBackground:               @white;
98 @inputBorder:                   #ccc;
99 @inputBorderRadius:             3px;
100 @inputDisabledBackground:       @grayLighter;
101 @formActionsBackground:         #f5f5f5;
102
103 // Dropdowns
104 // -------------------------
105 @dropdownBackground:            @white;
106 @dropdownBorder:                rgba(0,0,0,.2);
107 @dropdownLinkColor:             @grayDark;
108 @dropdownLinkColorHover:        @white;
109 @dropdownLinkBackgroundHover:   @linkColor;
110 @dropdownDividerTop:            #e5e5e5;
111 @dropdownDividerBottom:         @white;
112
113
114
115 // COMPONENT VARIABLES
116 // --------------------------------------------------
117
118 // Z-index master list
119 // -------------------------
120 // Used for a bird's eye view of components dependent on the z-axis
121 // Try to avoid customizing these :)
122 @zindexDropdown:          1000;
123 @zindexPopover:           1010;
124 @zindexTooltip:           1020;
125 @zindexFixedNavbar:       1030;
126 @zindexModalBackdrop:     1040;
127 @zindexModal:             1050;
128
129
130 // Sprite icons path
131 // -------------------------
132 @iconSpritePath:          "../img/glyphicons-halflings.png";
133 @iconWhiteSpritePath:     "../img/glyphicons-halflings-white.png";
134
135
136 // Input placeholder text color
137 // -------------------------
138 @placeholderText:         @grayLight;
139
140
141 // Hr border color
142 // -------------------------
143 @hrBorder:                @grayLighter;
144
145
146 // Navbar
147 // -------------------------
148 @navbarHeight:                    40px;
149 @navbarBackground:                #EAEAEA;
150 @navbarBackgroundHighlight:       lighten(@navbarBackground, 15%);
151
152 @navbarText:                      @grayDarker;
153 @navbarLinkColor:                 @grayDarker;
154 @navbarLinkColorHover:            @linkColor;
155 @navbarLinkColorActive:           @navbarLinkColorHover;
156 @navbarLinkBackgroundHover:       transparent;
157 @navbarLinkBackgroundActive:      @navbarBackground;
158
159 @navbarSearchBackground:          lighten(@navbarBackground, 25%);
160 @navbarSearchBackgroundFocus:     @white;
161 @navbarSearchBorder:              darken(@navbarSearchBackground, 30%);
162 @navbarSearchPlaceholderColor:    #ccc;
163 @navbarBrandColor:                @grayDark;
164
165
166 // Hero unit
167 // -------------------------
168 @heroUnitBackground:              @grayLighter;
169 @heroUnitHeadingColor:            inherit;
170 @heroUnitLeadColor:               inherit;
171
172
173 // Form states and alerts
174 // -------------------------
175 @warningText:             #393939;
176 @warningBackground:       #F5F3B4;
177 @warningBorder:           darken(spin(@warningBackground, -10), 3%);
178
179 @errorText:               @warningText;
180 @errorBackground:         #FFE9E9;
181 @errorBorder:             darken(spin(@errorBackground, -10), 3%);
182
183 @successText:             #333;
184 @successBackground:       #BEDEBE;
185 @successBorder:           darken(spin(@successBackground, -10), 5%);
186
187 @infoText:                #1B3650;
188 @infoBackground:          #E4F0FF;
189 @infoBorder:              darken(spin(@infoBackground, -10), 7%);
190
191
192
193 // GRID
194 // --------------------------------------------------
195
196 // Default 940px grid
197 // -------------------------
198 @gridColumns:             12;
199 @gridColumnWidth:         60px;
200 @gridGutterWidth:         20px;
201 @gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
202
203 // Fluid grid
204 // -------------------------
205 @fluidGridColumnWidth:    6.382978723%;
206 @fluidGridGutterWidth:    2.127659574%;