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