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