all: update to 2.0.3
[bootswatch] / cerulean / variables.less
1 // Variables.less
2 // Variables to customize the look and feel of Bootstrap
3 // Swatch: Cerulean
4 // Version: 2.0.3
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:                  #3E78B3;
25 @blueDark:              #033C73;
26 @green:                 #73A839;
27 @red:                   #C71C22;
28 @yellow:                #F7B42C;
29 @orange:                #DD5600;
30 @pink:                  #F49AC1;
31 @purple:                #9760B3;
32
33
34 // Scaffolding
35 // -------------------------
36 @bodyBackground:        @white;
37 @textColor:             @gray;
38
39
40 // Links
41 // -------------------------
42 @linkColor:             #369BD7;
43 @linkColorHover:        darken(@linkColor, 15%);
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:         @monoFontFamily;
56
57 @headingsFontFamily:    'Telex', sans-serif; // empty to use BS default, @baseFontFamily
58 @headingsFontWeight:    bold;    // instead of browser default, bold
59 @headingsColor:         #317EAC; // 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:                 @purple;
80 @btnInfoBackgroundHighlight:        #2f96b4;
81
82 @btnSuccessBackground:              @green;
83 @btnSuccessBackgroundHighlight:     #51a351;
84
85 @btnWarningBackground:              @orange;
86 @btnWarningBackgroundHighlight:     @orange;
87
88 @btnDangerBackground:               @red;
89 @btnDangerBackgroundHighlight:      #bd362f;
90
91 @btnInverseBackground:              @yellow;
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
111
112
113
114 // COMPONENT VARIABLES
115 // --------------------------------------------------
116
117 // Z-index master list
118 // -------------------------
119 // Used for a bird's eye view of components dependent on the z-axis
120 // Try to avoid customizing these :)
121 @zindexDropdown:          1000;
122 @zindexPopover:           1010;
123 @zindexTooltip:           1020;
124 @zindexFixedNavbar:       1030;
125 @zindexModalBackdrop:     1040;
126 @zindexModal:             1050;
127
128
129 // Sprite icons path
130 // -------------------------
131 @iconSpritePath:          "../img/glyphicons-halflings.png";
132 @iconWhiteSpritePath:     "../img/glyphicons-halflings-white.png";
133
134
135 // Input placeholder text color
136 // -------------------------
137 @placeholderText:         @grayLight;
138
139
140 // Hr border color
141 // -------------------------
142 @hrBorder:                @grayLighter;
143
144
145 // Navbar
146 // -------------------------
147 @navbarHeight:                    40px;
148 @navbarBackground:                @linkColor;
149 @navbarBackgroundHighlight:       lighten(@linkColor, 10%);
150
151 @navbarText:                      @grayLighter;
152 @navbarLinkColor:                 @grayLighter;
153 @navbarLinkColorHover:            @white;
154 @navbarLinkColorActive:           @navbarLinkColorHover;
155 @navbarLinkBackgroundHover:       transparent;
156 @navbarLinkBackgroundActive:      @navbarBackground;
157
158 @navbarSearchBackground:          lighten(@navbarBackground, 25%);
159 @navbarSearchBackgroundFocus:     @white;
160 @navbarSearchBorder:              darken(@navbarSearchBackground, 30%);
161 @navbarSearchPlaceholderColor:    @white;
162 @navbarBrandColor:                @navbarLinkColor;
163
164
165 // Hero unit
166 // -------------------------
167 @heroUnitBackground:              @grayLighter;
168 @heroUnitHeadingColor:            inherit;
169 @heroUnitLeadColor:               inherit;
170
171
172 // Form states and alerts
173 // -------------------------
174 @warningText:             darken(@linkColor, 20%);
175 @warningBackground:       lighten(@linkColor, 20%);
176 @warningBorder:           darken(spin(@warningBackground, -10), 3%);
177
178 @errorText:               darken(#C45559, 5%);
179 @errorBackground:         #EDDBE3;
180 @errorBorder:             darken(spin(@errorBackground, -10), 3%);
181
182 @successText:             darken(@green, 5%);
183 @successBackground:       #CDB;
184 @successBorder:           darken(spin(@successBackground, -10), 5%);
185
186 @infoText:                darken(#908A62, 5%);
187 @infoBackground:          #EDEBE1;
188 @infoBorder:              darken(spin(@infoBackground, -10), 7%);
189
190
191
192 // GRID
193 // --------------------------------------------------
194
195 // Default 940px grid
196 // -------------------------
197 @gridColumns:             12;
198 @gridColumnWidth:         60px;
199 @gridGutterWidth:         20px;
200 @gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
201
202 // Fluid grid
203 // -------------------------
204 @fluidGridColumnWidth:    6.382978723%;
205 @fluidGridGutterWidth:    2.127659574%;