variables.less 2.57 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
@green:                 #46a546;
@red:                   #9d261d;
@yellow:                #ffc40d;
@orange:                #f89406;
@pink:                  #c3325f;
@purple:                #7a43b6;

// Typography
@baseFontSize:          13px;
@baseFontFamily:        "Helvetica Neue", Helvetica, Arial, sans-serif;
@baseLineHeight:        18px;
37

Mark Otto's avatar
Mark Otto committed
38
// Buttons
39
@primaryButtonBackground:    @linkColor;
40

41
42


43
44
45
46
47
48
49
50
51
52
53
// GRID SYSTEM VARIABLES
// --------------------------------------------------

@gridColumns:           12;
@gridColumnWidth:       60px;
@gridGutterWidth:       20px;
@gridRowWidth:          (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
@gridTotalWidth:        @gridRowWidth;



Mark Otto's avatar
Mark Otto committed
54
55
// COMPONENT VARIABLES
// --------------------------------------------------
56

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

67
68
69
// Input placeholder text color
@placeholderText:       @grayLight;

70
// Navbar
71
@navbarHeight:                    40px;
72
73
@navbarBackground:                @grayDarker;
@navbarBackgroundHighlight:       @grayDark;
74

75
76
77
78
@navbarText:                      @grayLight;
@navbarLinkColor:                 @grayLight;
@navbarLinkColorHover:            @white;

79
80
81
// Form states and alerts
@warningText:             #c09853;
@warningBackground:       #fcf8e3;
82
@warningBorder:           darken(spin(@warningBackground, -10), 3%);
83
84
85

@errorText:               #b94a48;
@errorBackground:         #f2dede;
86
@errorBorder:             darken(spin(@errorBackground, -10), 3%);
87
88
89

@successText:             #468847;
@successBackground:       #dff0d8;
90
@successBorder:           darken(spin(@successBackground, -10), 5%);
91
92
93

@infoText:                #3a87ad;
@infoBackground:          #d9edf7;
94
@infoBorder:              darken(spin(@infoBackground, -10), 7%);
95

96