2.0.3 -> 2.0.4 closes #24
[bootswatch] / cyborg / variables.less
1 // Variables.less
2 // Variables to customize the look and feel of Bootstrap
3 // Swatch: Cyborg
4 // Version: 2.0.4
5 // -----------------------------------------------------
6
7 // GLOBAL VALUES
8 // --------------------------------------------------
9
10
11 // Grays
12 // -------------------------
13 @black:                 #000;
14 @grayDarker:            #020202;
15 @grayDark:              #282828;
16 @gray:                  #999;
17 @grayLight:             #ADAFAE;
18 @grayLighter:           #eee;
19 @white:                 #fff;
20
21
22 // Accent colors
23 // -------------------------
24 @blue:                  #33B5E5;
25 @blueDark:              #0099CC;
26 @green:                 #669900;
27 @red:                   #CC0000;
28 @yellow:                #ECBB13;
29 @orange:                #FF8800;
30 @pink:                  #FF4444;
31 @purple:                #9933CC;
32
33
34 // Scaffolding
35 // -------------------------
36 @bodyBackground:        #060606;
37 @textColor:             @gray;
38
39
40 // Links
41 // -------------------------
42 @linkColor:             @blue;
43 @linkColorHover:        @white;
44
45
46 // Typography
47 // -------------------------
48 @sansFontFamily:        'Droid Sans', 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:         @serifFontFamily;
56
57 @headingsFontFamily:    inherit; // empty to use BS default, @baseFontFamily
58 @headingsFontWeight:    normal;    // instead of browser default, bold
59 @headingsColor:         @white; // empty to use BS default, @textColor
60
61
62 // Tables
63 // -------------------------
64 @tableBackground:                   transparent; // overall background-color
65 @tableBackgroundAccent:             rgba(100, 100, 100, 0.1); // for striping
66 @tableBackgroundHover:              @grayDark; // for hover
67 @tableBorder:                       #222; // table and cell border
68
69
70 // Buttons
71 // -------------------------
72 @btnBackground:                     darken(@gray, 20%);
73 @btnBackgroundHighlight:            darken(@gray, 25%);
74 @btnBorder:                         rgba(0, 0, 0, 0);
75
76 @btnPrimaryBackground:              @blueDark;
77 @btnPrimaryBackgroundHighlight:     darken(@blueDark, 10%);
78
79 @btnInfoBackground:                 darken(@gray, 40%);
80 @btnInfoBackgroundHighlight:        darken(@gray, 50%);
81
82 @btnSuccessBackground:              lighten(@green, 10%);
83 @btnSuccessBackgroundHighlight:     @green;
84
85 @btnWarningBackground:              lighten(@orange, 15%);
86 @btnWarningBackgroundHighlight:     @orange;
87
88 @btnDangerBackground:               lighten(@red, 10%);
89 @btnDangerBackgroundHighlight:      @red;
90
91 @btnInverseBackground:              lighten(@purple, 5%);
92 @btnInverseBackgroundHighlight:     @purple;
93
94
95 // Forms
96 // -------------------------
97 @inputBackground:               #ccc;
98 @inputBorder:                   #bbb;
99 @inputBorderRadius:             3px;
100 @inputDisabledBackground:       @grayLighter;
101 @formActionsBackground:         transparent;
102
103 // Dropdowns
104 // -------------------------
105 @dropdownBackground:            @white;
106 @dropdownBorder:                rgba(0,0,0,.2);
107 @dropdownLinkColor:             @textColor;
108 @dropdownLinkColorHover:        @white;
109 @dropdownLinkBackgroundHover:   @linkColor;
110 @dropdownDividerTop:            transparent;
111 @dropdownDividerBottom:         #222;
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:                @gray;
144
145
146 // Navbar
147 // -------------------------
148 @navbarHeight:                    40px;
149 @navbarBackground:                @grayDarker;
150 @navbarBackgroundHighlight:       @grayDarker;
151
152 @navbarText:                      @grayLight;
153 @navbarLinkColor:                 @grayLight;
154 @navbarLinkColorHover:            @white;
155 @navbarLinkColorActive:           @navbarLinkColorHover;
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:                @navbarLinkColor;
164
165
166 // Hero unit
167 // -------------------------
168 @heroUnitBackground:              #131517;
169 @heroUnitHeadingColor:            inherit;
170 @heroUnitLeadColor:               inherit;
171
172
173 // Form states and alerts
174 // -------------------------
175 @warningText:             darken(#c09853, 10%);
176 @warningBackground:       @grayLighter;
177 @warningBorder:           transparent;
178
179 @errorText:               #b94a48;
180 @errorBackground:         @grayLighter;
181 @errorBorder:             darken(spin(@errorBackground, -10), 3%);
182
183 @successText:             #468847;
184 @successBackground:       @grayLighter;
185 @successBorder:           darken(spin(@successBackground, -10), 5%);
186
187 @infoText:                @blueDark;
188 @infoBackground:          @grayLighter;
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%;