variables.less 6.06 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
2
3
// Variables.less
// Variables to customize the look and feel of Bootstrap
// Swatch: Amelia
Thomas Park's avatar
Thomas Park committed
4
// Version: 2.0.4
Thomas Park's avatar
Thomas Park committed
5
6
7
8
9
10
11
// -----------------------------------------------------

// GLOBAL VALUES
// --------------------------------------------------


// Grays
Thomas Park's avatar
Thomas Park committed
12
// -------------------------
Thomas Park's avatar
Thomas Park committed
13
14
15
16
17
18
19
20
@black:                 #000;
@grayDarker:            #111;
@grayDark:              #333;
@gray:                  #555;
@grayLight:             #aaa;
@grayLighter:           #ddd;
@white:                 #fff;

Thomas Park's avatar
Thomas Park committed
21

Thomas Park's avatar
Thomas Park committed
22
// Accent colors
Thomas Park's avatar
Thomas Park committed
23
// -------------------------
Thomas Park's avatar
Thomas Park committed
24
25
@blue:                  #00BCE1;
@blueDark:              #1269B0;
Thomas Park's avatar
Thomas Park committed
26
@green:                 #48CA3B;
Thomas Park's avatar
Thomas Park committed
27
@red:                   #E51925;
Thomas Park's avatar
Thomas Park committed
28
@yellow:                #DEBB27;
Thomas Park's avatar
Thomas Park committed
29
30
@orange:                #DF6E1E;
@pink:                  #FFBCB9;
Thomas Park's avatar
Thomas Park committed
31
@purple:                #4D3A7D;
Thomas Park's avatar
Thomas Park committed
32

Thomas Park's avatar
Thomas Park committed
33
34
35
36

// Scaffolding
// -------------------------
@bodyBackground:        #003F4D;
37
@textColor:             rgba(255, 255, 255, 0.9);
Thomas Park's avatar
Thomas Park committed
38
39
40
41
42
43
44
45


// Links
// -------------------------
@linkColor:             lighten(@yellow, 15%);
@linkColorHover:        @linkColor;


Thomas Park's avatar
Thomas Park committed
46
// Typography
Thomas Park's avatar
Thomas Park committed
47
// -------------------------
48
49
50
51
@sansFontFamily:        'Cabin', Verdana, sans-serif;
@serifFontFamily:       Georgia, "Times New Roman", Times, serif;
@monoFontFamily:        Menlo, Monaco, Consolas, "Courier New", monospace;

Thomas Park's avatar
Thomas Park committed
52
@baseFontSize:          14px;
53
@baseFontFamily:        @sansFontFamily;
Thomas Park's avatar
Thomas Park committed
54
@baseLineHeight:        20px;
55
@altFontFamily:         @serifFontFamily;
Thomas Park's avatar
Thomas Park committed
56
57
58
59
60
61
62
63
64
65

@headingsFontFamily:    'Lobster', cursive; // empty to use BS default, @baseFontFamily
@headingsFontWeight:    normal;    // instead of browser default, bold
@headingsColor:         inherit; // empty to use BS default, @textColor


// Tables
// -------------------------
@tableBackground:                   lighten(#147E88, 10%); // overall background-color
@tableBackgroundAccent:             lighten(#147E88, 15%); // for striping
66
@tableBackgroundHover:              rgba(255, 255, 255, 0.4); // for hover
Thomas Park's avatar
Thomas Park committed
67
68
@tableBorder:                       lighten(#147E88, 12%); // table and cell border

Thomas Park's avatar
Thomas Park committed
69
70

// Buttons
Thomas Park's avatar
Thomas Park committed
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// -------------------------
@btnBackground:                     @grayLighter;
@btnBackgroundHighlight:            @grayLighter;
@btnBorder:                         rgba(0, 0, 0, 0);

@btnPrimaryBackground:              @navbarBackground;
@btnPrimaryBackgroundHighlight:     spin(@btnPrimaryBackground, 15%);

@btnInfoBackground:                 @purple;
@btnInfoBackgroundHighlight:        @purple;

@btnSuccessBackground:              @green;
@btnSuccessBackgroundHighlight:     @green;

@btnWarningBackground:              @orange;
@btnWarningBackgroundHighlight:     @orange;

Thomas Park's avatar
Thomas Park committed
88
89
@btnDangerBackground:               @yellow;
@btnDangerBackgroundHighlight:      @yellow;
Thomas Park's avatar
Thomas Park committed
90
91
92
93
94
95
96
97
98

@btnInverseBackground:              #27666D;
@btnInverseBackgroundHighlight:     #27666D;


// Forms
// -------------------------
@inputBackground:               @white;
@inputBorder:                   transparent;
99
@inputBorderRadius:             0;
Thomas Park's avatar
Thomas Park committed
100
@inputDisabledBackground:       @grayLighter;
101
@formActionsBackground:         transparent;
Thomas Park's avatar
Thomas Park committed
102
103
104
105
106
107
108
109

// Dropdowns
// -------------------------
@dropdownBackground:            @white;
@dropdownBorder:                rgba(0,0,0,.2);
@dropdownLinkColor:             @bodyBackground;
@dropdownLinkColorHover:        @white;
@dropdownLinkBackgroundHover:   rgba(0, 57, 59, 0.9);
Thomas Park's avatar
Thomas Park committed
110
111
@dropdownDividerTop:            #e5e5e5;
@dropdownDividerBottom:         @white;
Thomas Park's avatar
Thomas Park committed
112
113
114
115
116
117
118



// COMPONENT VARIABLES
// --------------------------------------------------

// Z-index master list
Thomas Park's avatar
Thomas Park committed
119
// -------------------------
Thomas Park's avatar
Thomas Park committed
120
121
122
123
124
125
126
127
128
// Used for a bird's eye view of components dependent on the z-axis
// Try to avoid customizing these :)
@zindexDropdown:          1000;
@zindexPopover:           1010;
@zindexTooltip:           1020;
@zindexFixedNavbar:       1030;
@zindexModalBackdrop:     1040;
@zindexModal:             1050;

Thomas Park's avatar
Thomas Park committed
129

Thomas Park's avatar
Thomas Park committed
130
// Sprite icons path
Thomas Park's avatar
Thomas Park committed
131
// -------------------------
Thomas Park's avatar
Thomas Park committed
132
133
134
@iconSpritePath:          "../img/glyphicons-halflings.png";
@iconWhiteSpritePath:     "../img/glyphicons-halflings-white.png";

Thomas Park's avatar
Thomas Park committed
135

Thomas Park's avatar
Thomas Park committed
136
// Input placeholder text color
Thomas Park's avatar
Thomas Park committed
137
// -------------------------
Thomas Park's avatar
Thomas Park committed
138
139
@placeholderText:         @grayLight;

Thomas Park's avatar
Thomas Park committed
140

Thomas Park's avatar
Thomas Park committed
141
// Hr border color
Thomas Park's avatar
Thomas Park committed
142
// -------------------------
Thomas Park's avatar
Thomas Park committed
143
144
@hrBorder:                transparent;

Thomas Park's avatar
Thomas Park committed
145

Thomas Park's avatar
Thomas Park committed
146
// Navbar
Thomas Park's avatar
Thomas Park committed
147
// -------------------------
Thomas Park's avatar
Thomas Park committed
148
149
150
151
@navbarHeight:                    50px;
@navbarBackground:                #AD1D28;
@navbarBackgroundHighlight:       #AD1D28;

Thomas Park's avatar
Thomas Park committed
152
153
@navbarText:                      @white;
@navbarLinkColor:                 @white;
Thomas Park's avatar
Thomas Park committed
154
@navbarLinkColorHover:            @white;
Thomas Park's avatar
Thomas Park committed
155
156
157
158
159
160
161
162
@navbarLinkColorActive:           @navbarLinkColorHover;
@navbarLinkBackgroundHover:       lighten(@navbarBackground, 10%);
@navbarLinkBackgroundActive:      lighten(@navbarBackground, 10%);

@navbarSearchBackground:          rgba(0, 0, 0, 0);
@navbarSearchBackgroundFocus:     lighten(@navbarBackground, 25%);
@navbarSearchBorder:              darken(@navbarSearchBackground, 30%);
@navbarSearchPlaceholderColor:    @textColor;
163
@navbarBrandColor:                @navbarLinkColor;
Thomas Park's avatar
Thomas Park committed
164
165
166
167
168
169
170
171


// Hero unit
// -------------------------
@heroUnitBackground:              #3CB9C6;
@heroUnitHeadingColor:            inherit;
@heroUnitLeadColor:               inherit;

Thomas Park's avatar
Thomas Park committed
172
173

// Form states and alerts
Thomas Park's avatar
Thomas Park committed
174
// -------------------------
Thomas Park's avatar
Thomas Park committed
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
@warningText:             #c09853;
@warningBackground:       #fcf8e3;
@warningBorder:           darken(spin(@warningBackground, -10), 3%);

@errorText:               #b94a48;
@errorBackground:         #f2dede;
@errorBorder:             darken(spin(@errorBackground, -10), 3%);

@successText:             #468847;
@successBackground:       #dff0d8;
@successBorder:           darken(spin(@successBackground, -10), 5%);

@infoText:                #3a87ad;
@infoBackground:          #d9edf7;
@infoBorder:              darken(spin(@infoBackground, -10), 7%);



// GRID
// --------------------------------------------------

// Default 940px grid
Thomas Park's avatar
Thomas Park committed
197
// -------------------------
Thomas Park's avatar
Thomas Park committed
198
199
200
201
202
203
@gridColumns:             12;
@gridColumnWidth:         60px;
@gridGutterWidth:         20px;
@gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));

// Fluid grid
Thomas Park's avatar
Thomas Park committed
204
// -------------------------
Thomas Park's avatar
Thomas Park committed
205
206
@fluidGridColumnWidth:    6.382978723%;
@fluidGridGutterWidth:    2.127659574%;