variables.less 2.29 KB
Newer Older
1
2
3
// Variables.less
// Variables to customize the look and feel of Bootstrap
// -----------------------------------------------------
4
5
6



Mark Otto's avatar
Mark Otto committed
7
8
9
10
11
// GLOBAL VALUES
// --------------------------------------------------

// Links
@linkColor:             #08c;
12
@linkColorHover:        darken(@linkColor, 15%);
Mark Otto's avatar
Mark Otto committed
13
14
15

// Grays
@black:                 #000;
Jon Stevens's avatar
Jon Stevens committed
16
@grayDarker:            #222;
Mark Otto's avatar
Mark Otto committed
17
18
19
20
21
22
23
@grayDark:              #333;
@gray:                  #555;
@grayLight:             #999;
@grayLighter:           #eee;
@white:                 #fff;

// Accent colors
24
25
@blue:                  #049cdb;
@blueDark:              #0064cd;
Mark Otto's avatar
Mark Otto committed
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@green:                 #46a546;
@red:                   #9d261d;
@yellow:                #ffc40d;
@orange:                #f89406;
@pink:                  #c3325f;
@purple:                #7a43b6;

// Grid system
// Modify the grid styles in mixins.less
@gridColumns:           12;
@gridColumnWidth:       60px;
@gridGutterWidth:       20px;
@siteWidth:             (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
// Fluid width sidebar
@fluidSidebarWidth:     220px;
41

Mark Otto's avatar
Mark Otto committed
42
43
44
45
// Typography
@baseFontSize:          13px;
@baseFontFamily:        "Helvetica Neue", Helvetica, Arial, sans-serif;
@baseLineHeight:        18px;
46

Mark Otto's avatar
Mark Otto committed
47
// Buttons
48
@primaryButtonBackground:    @linkColor;
49

50
51


Mark Otto's avatar
Mark Otto committed
52
53
// COMPONENT VARIABLES
// --------------------------------------------------
54

Mark Otto's avatar
Mark Otto committed
55
56
// Z-index master list
// Used for a bird's eye view of components dependent on the z-axis
57
// Try to avoid customizing these :)
58
@zindexDropdown:        1000;
59
@zindexPopover:         1010;
60
@zindexTooltip:         1020;
61
62
63
@zindexFixedNavbar:     1030;
@zindexModalBackdrop:   1040;
@zindexModal:           1050;
64

65
66
67
// Input placeholder text color
@placeholderText:       @grayLight;

68
// Navbar
69
@navbarHeight:                    40px;
70
71
@navbarBackground:                @grayDarker;
@navbarBackgroundHighlight:       @grayDark;
72

73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// Form states and alerts
@warningText:             #c09853;
@warningBackground:       #fcf8e3;
@warningBorder:           #f3edd2;

@errorText:               #b94a48;
@errorBackground:         #f2dede;
@errorBorder:             #e9c7c7;

@successText:             #468847;
@successBackground:       #dff0d8;
@successBorder:           #cfe8c4;

@infoText:                #3a87ad;
@infoBackground:          #d9edf7;
@infoBorder:              #bfe1f2;

90