journal: make hero-unit h1 black
[bootswatch] / journal / variables.less
1 // Variables.less
2 // Variables to customize the look and feel of Bootstrap
3 // Swatch: Journal
4 // Version: 2.0.4
5 // -----------------------------------------------------
6
7 // GLOBAL VALUES
8 // --------------------------------------------------
9
10
11 // Grays
12 // -------------------------
13 @black:                 #000;
14 @grayDarker:            #222;
15 @grayDark:              #888;
16 @gray:                  #999;
17 @grayLight:             #bbb;
18 @grayLighter:           #eee;
19 @white:                 #fff;
20
21
22 // Accent colors
23 // -------------------------
24 @blue:                  #369;
25 @blueDark:              darken(@blue, 15%);
26 @green:                 #22B24C;
27 @red:                   #C00;
28 @yellow:                #FCFADB;
29 @orange:                #FF7F00;
30 @pink:                  #CC99CC;
31 @purple:                #7a43b6;
32
33
34 // Scaffolding
35 // -------------------------
36 @bodyBackground:        @white;
37 @textColor:             @grayDark;
38
39
40 // Links
41 // -------------------------
42 @linkColor:             @textColor;
43 @linkColorHover:        @linkColor;
44
45
46 // Typography
47 // -------------------------
48 @sansFontFamily:        "News Cycle", "Arial Narrow Bold", sans-serif;
49 @serifFontFamily:       Georgia, "Times New Roman", Times, serif;
50 @monoFontFamily:        Menlo, Monaco, Consolas, "Courier New", monospace;
51
52 @baseFontSize:          13px;
53 @baseFontFamily:        @serifFontFamily;
54 @baseLineHeight:        18px;
55 @altFontFamily:         @sansFontFamily;
56
57 @headingsFontFamily:    @sansFontFamily; // empty to use BS default, @baseFontFamily
58 @headingsFontWeight:    bold;    // instead of browser default, bold
59 @headingsColor:         @black; // empty to use BS default, @textColor
60
61
62 // Tables
63 // -------------------------
64 @tableBackground:                   transparent; // overall background-color
65 @tableBackgroundAccent:             #f5f5f5; // for striping
66 @tableBackgroundHover:              @grayLighter; // 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, 15%);
75
76 @btnPrimaryBackground:              lighten(@linkColor, 5%);
77 @btnPrimaryBackgroundHighlight:     @linkColor;
78
79 @btnInfoBackground:                 lighten(@blue, 5%);
80 @btnInfoBackgroundHighlight:        @blue;
81
82 @btnSuccessBackground:              lighten(@green, 5%);
83 @btnSuccessBackgroundHighlight:     @green;
84
85 @btnWarningBackground:              lighten(@orange, 10%);
86 @btnWarningBackgroundHighlight:     @orange;
87
88 @btnDangerBackground:               lighten(@red, 10%);
89 @btnDangerBackgroundHighlight:      @red;
90
91 @btnInverseBackground:              lighten(@grayDark, 5%);
92 @btnInverseBackgroundHighlight:     @grayDark;
93
94
95 // Forms
96 // -------------------------
97 @inputBackground:               @white;
98 @inputBorder:                   #ccc;
99 @inputBorderRadius:             3px;
100 @inputDisabledBackground:       @grayLighter;
101 @formActionsBackground:         @grayLighter;
102
103 // Dropdowns
104 // -------------------------
105 @dropdownBackground:            @bodyBackground;
106 @dropdownBorder:                rgba(0,0,0,.2);
107 @dropdownLinkColor:             @headingsColor;
108 @dropdownLinkColorHover:        @headingsColor;
109 @dropdownLinkBackgroundHover:   @grayLighter;
110 @dropdownDividerTop:            @grayLighter;
111 @dropdownDividerBottom:         @grayLighter;
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:         @grayLight;
139
140
141 // Hr border color
142 // -------------------------
143 @hrBorder:                @grayLighter;
144
145
146 // Navbar
147 // -------------------------
148 @navbarHeight:                    60px;
149 @navbarBackground:                @bodyBackground;
150 @navbarBackgroundHighlight:       @bodyBackground;
151
152 @navbarText:                      @textColor;
153 @navbarLinkColor:                 @headingsColor;
154 @navbarLinkColorHover:            @headingsColor;
155 @navbarLinkColorActive:           @headingsColor;
156 @navbarLinkBackgroundHover:       transparent;
157 @navbarLinkBackgroundActive:      transparent;
158
159 @navbarSearchBackground:          lighten(@navbarBackground, 25%);
160 @navbarSearchBackgroundFocus:     @white;
161 @navbarSearchBorder:              darken(@navbarSearchBackground, 30%);
162 @navbarSearchPlaceholderColor:    #ccc;
163 @navbarBrandColor:                @navbarLinkColor;
164
165
166 // Hero unit
167 // -------------------------
168 @heroUnitBackground:              @grayLighter;
169 @heroUnitHeadingColor:            @headingsColor;
170 @heroUnitLeadColor:               inherit;
171
172
173 // Form states and alerts
174 // -------------------------
175 @warningText:             #c09853;
176 @warningBackground:       #fcf8e3;
177 @warningBorder:           darken(spin(@warningBackground, -10), 3%);
178
179 @errorText:               #b94a48;
180 @errorBackground:         #f2dede;
181 @errorBorder:             darken(spin(@errorBackground, -10), 3%);
182
183 @successText:             #468847;
184 @successBackground:       #dff0d8;
185 @successBorder:           darken(spin(@successBackground, -10), 5%);
186
187 @infoText:                #3a87ad;
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%;