simplex: big revamp to thin look
[bootswatch] / simplex / variables.less
1 // Variables.less
2 // Variables to customize the look and feel of Bootstrap
3 // Swatch: Simplex
4 // Version: 2.0.4
5 // -----------------------------------------------------
6
7 // GLOBAL VALUES
8 // --------------------------------------------------
9
10
11 // Grays
12 // -------------------------
13 @black:                 #000;
14 @grayDarker:            #2C2C2C;
15 @grayDark:              #333;
16 @gray:                  #555;
17 @grayLight:             #999;
18 @grayLighter:           #eee;
19 @white:                 #fff;
20
21
22 // Accent colors
23 // -------------------------
24 @blue:                  #029ACF;
25 @blueDark:              #043755;
26 @green:                 #3D9400;
27 @red:                   #E32C3B;
28 @yellow:                #FFCA27;
29 @orange:                #DA370F;
30 @pink:                  #ED2590;
31 @purple:                #9B479F;
32
33
34 // Scaffolding
35 // -------------------------
36 @bodyBackground:        #F7F7F7;
37 @textColor:             @gray;
38
39
40 // Links
41 // -------------------------
42 @linkColor:             @orange;
43 @linkColorHover:        @linkColor;
44
45
46 // Typography
47 // -------------------------
48 @sansFontFamily:        "Josefin Sans", "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:          15px;
53 @baseFontFamily:        @sansFontFamily;
54 @baseLineHeight:        20px;
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:              lighten(@linkColor, 5%);
77 @btnPrimaryBackgroundHighlight:     @linkColor;
78
79 @btnInfoBackground:                 lighten(#5bc0de, 5%);
80 @btnInfoBackgroundHighlight:        #5bc0de;
81
82 @btnSuccessBackground:              lighten(@green, 5%);
83 @btnSuccessBackgroundHighlight:     @green;
84
85 @btnWarningBackground:              lighten(@yellow, 5%);
86 @btnWarningBackgroundHighlight:     @yellow;
87
88 @btnDangerBackground:               lighten(@red, 5%);
89 @btnDangerBackgroundHighlight:      @red;
90
91 @btnInverseBackground:              @gray;
92 @btnInverseBackgroundHighlight:     @grayDarker;
93
94
95 // Forms
96 // -------------------------
97 @inputBackground:               @white;
98 @inputBorder:                   #ccc;
99 @inputBorderRadius:             0;
100 @inputDisabledBackground:       @grayLighter;
101 @formActionsBackground:         #f5f5f5;
102
103 // Dropdowns
104 // -------------------------
105 @dropdownBackground:            @white;
106 @dropdownBorder:                rgba(0,0,0,.2);
107 @dropdownLinkColor:             @textColor;
108 @dropdownLinkColorHover:        @linkColor;
109 @dropdownLinkBackgroundHover:   #FBEBE9;
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:         @gray;
139
140
141 // Hr border color
142 // -------------------------
143 @hrBorder:                @grayLighter;
144
145
146 // Navbar
147 // -------------------------
148 @navbarHeight:                    40px;
149 @navbarBackground:                #fefefe;
150 @navbarBackgroundHighlight:       @navbarBackground;
151
152 @navbarText:                      @gray;
153 @navbarLinkColor:                 @gray;
154 @navbarLinkColorHover:            @orange;
155 @navbarLinkColorActive:           @orange;
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:                @headingsColor;
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:             @orange;
176 @warningBackground:       #fcf8e3;
177 @warningBorder:           darken(spin(@warningBackground, -10), 3%);
178
179 @errorText:               @red;
180 @errorBackground:         #f2dede;
181 @errorBorder:             darken(spin(@errorBackground, -10), 3%);
182
183 @successText:             @green;
184 @successBackground:       #dff0d8;
185 @successBorder:           darken(spin(@successBackground, -10), 5%);
186
187 @infoText:                @blue;
188 @infoBackground:          #d9edf7;
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%;