-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.less
255 lines (219 loc) · 8.27 KB
/
bootstrap.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
/*
* pikock http://www.pikock.com/ , autreplanete http://www.autreplanete.com/
*
**/
// Grays
@gray-darker: #222222;
@gray-dark: #333333;
@gray: #555555;
@gray-light: #999999;
@gray-lighter: #eeeeee;
// Brand Colors
@brand-primary: #817771;
@brand-success: #5cb85c;
@brand-warning: #f0ad4e;
@brand-danger: #d9534f;
@brand-info: #5bc0de;
// Scaffolding
@body-bg: #3d3933;
@text-color: #ebe4cc;
@link-color: darken(@text-color, 6.5%);
@link-hover-color: darken(@link-color, 15%);
@padding-base-vertical: 6px;
@padding-base-horizontal: 12px;
@padding-large-vertical: 10px;
@padding-large-horizontal: 16px;
@padding-small-vertical: 5px;
@padding-small-horizontal: 10px;
@border-radius-base: 4px;
@border-radius-large: 6px;
@border-radius-small: 3px;
@line-height-large: 1.33;
@line-height-small: 1.5;
@component-active-bg: @brand-primary;
// Typography
@font-family-sans-serif: Open Sans;
@font-family-serif: PT Serif;
@font-family-monospace: Monaco;
@font-family-base: @font-family-sans-serif;
@font-size-base: 14px;
@font-size-large: ceil(@font-size-base * 1.25);
@font-size-small: ceil(@font-size-base * 0.85);
@font-size-h1: floor((@font-size-base * 2.6));
@font-size-h2: floor((@font-size-base * 2.15));
@font-size-h3: floor((@font-size-base * 1.7));
@font-size-h4: floor((@font-size-base * 1.25));
@font-size-h5: @font-size-base;
@font-size-h6: floor((@font-size-base * 0.85));
@line-height-base: 1.428571429;
@line-height-computed: floor(@font-size-base * @line-height-base);
@headings-font-family: @font-family-base;
@headings-font-weight: 500;
@headings-line-height: 1.1;
@headings-color: inherit;
// Buttons
@btn-font-weight: normal;
@btn-default-color: #ebe4cc;
@btn-default-bg: #7e7266;
@btn-default-border: #5c5250;
@btn-primary-color: #ebe4cc;
@btn-primary-bg: @brand-primary;
@btn-primary-border: darken(@btn-primary-bg, 5%);
@btn-success-color: #fff;
@btn-success-bg: @brand-success;
@btn-success-border: darken(@btn-success-bg, 5%);
@btn-warning-color: #fff;
@btn-warning-bg: @brand-warning;
@btn-warning-border: darken(@btn-warning-bg, 5%);
@btn-danger-color: #fff;
@btn-danger-bg: @brand-danger;
@btn-danger-border: darken(@btn-danger-bg, 5%);
@btn-info-color: #fff;
@btn-info-bg: @brand-info;
@btn-info-border: darken(@btn-info-bg, 5%);
@btn-link-disabled-color: @gray-light;
// Dropdowns
@dropdown-bg: @brand-primary;
@dropdown-border: rgba(0,0,0,.15);
@dropdown-divider-bg: darken(@brand-primary, 10%);
@dropdown-link-active-color: @text-color;
@dropdown-link-active-bg: lighten(@component-active-bg, 10%);
@dropdown-link-color: @gray-dark;
@dropdown-link-hover-color: @text-color;
@dropdown-link-hover-bg: @dropdown-link-active-bg;
@dropdown-link-disabled-color: @gray-light;
@dropdown-header-color: @gray-light;
@dropdown-caret-color: #000;
// Forms
@input-bg: @btn-default-bg;
@input-bg-disabled: @gray-lighter;
@input-color: @text-color;
@input-border: @btn-default-border;
@input-border-radius: @border-radius-base;
@input-color-placeholder: darken(@text-color, 10%);
@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
@input-height-large: (floor(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
@legend-color: @gray-dark;
@legend-border-color: #e5e5e5;
@input-group-addon-bg: @gray-lighter;
@input-group-addon-border-color: @input-border;
// Table
@table-cell-padding: 8px;
@table-condensed-cell-padding: 5px;
@table-cell-padding: 8px;
@table-condensed-cell-padding: 5px;
@table-bg: transparent;
@table-bg-accent: @btn-default-bg;
@table-bg-hover: @btn-default-bg;
@table-bg-active: @table-bg-hover;
@table-border-color: @text-color;
@grid-gutter-width: 30px;
// Navbar
@navbar-height: 50px;
@navbar-margin-bottom: @line-height-computed;
@navbar-default-color: @text-color;
@navbar-default-bg: @btn-default-bg;
@navbar-default-border: darken(@navbar-default-bg, 6.5%);
@navbar-border-radius: @border-radius-base;
@navbar-padding-horizontal: floor(@grid-gutter-width / 2);
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
@navbar-default-link-color: @text-color;
@navbar-default-link-hover-color: @text-color;
@navbar-default-link-hover-bg: lighten(@btn-default-bg, 10%);
@navbar-default-link-active-color: @text-color;
@navbar-default-link-active-bg: lighten(@btn-default-bg, 10%);
@navbar-default-link-disabled-color: #ccc;
@navbar-default-link-disabled-bg: transparent;
@navbar-default-brand-color: @navbar-default-link-color;
@navbar-default-brand-hover-color: darken(@navbar-default-link-color, 10%);
@navbar-default-brand-hover-bg: transparent;
@navbar-default-toggle-hover-bg: #ddd;
@navbar-default-toggle-icon-bar-bg: #888;
@navbar-default-toggle-border-color: #ddd;
// Navs Tabs
@nav-link-padding: 10px 15px;
@nav-link-hover-bg: lighten(@btn-default-bg, 10%);
@nav-disabled-link-color: darken(@text-color, 20%);
@nav-disabled-link-hover-color: @gray-light;
@nav-tabs-border-color: @btn-default-border;
@nav-tabs-link-hover-border-color: @gray-lighter;
@nav-tabs-active-link-hover-bg: @body-bg;
@nav-tabs-active-link-hover-color: @btn-default-border;
@nav-tabs-active-link-hover-border-color: @btn-default-border;
@nav-tabs-justified-link-border-color: @btn-default-border;
@nav-tabs-justified-active-link-border-color: @body-bg;
@nav-pills-border-radius: @border-radius-base;
@nav-pills-active-link-hover-bg: @component-active-bg;
@nav-pills-active-link-hover-color: @text-color;
// Jumbotron
@jumbotron-padding: 30px;
@jumbotron-color: inherit;
@jumbotron-bg: lighten(@brand-primary, 10%);
@jumbotron-font-size: ceil((@font-size-base * 1.5));
// Pagination
@pagination-bg: @btn-default-bg;
@pagination-border: @btn-default-border;
@pagination-hover-bg: lighten(@btn-default-bg, 15%);
@pagination-hover-color: @text-color;
@pagination-hover-border: @btn-default-border;
@pagination-active-bg: lighten(@btn-default-bg, 15%);
@pagination-active-color: @text-color;
@pagination-active-border: @brand-primary;
@pagination-disabled-color: darken(@text-color, 10%);
@pagination-disabled-bg: darken(@pagination-bg, 10%);
@pagination-disabled-border: @btn-default-border;
@pager-bg: @pagination-bg;
@pager-border: @pagination-border;
@pager-border-radius: 15px;
@pager-hover-bg: @pagination-hover-bg;
@pager-active-bg: @pagination-active-bg;
@pager-active-color: @pagination-active-color;
@pager-bg: @pagination-bg;
@pager-disabled-color: @pagination-bg;
// Form States
@state-warning-text: #c09853;
@state-warning-bg: #fcf8e3;
@state-warning-border: darken(spin(@state-warning-bg, -10), 3%);
@state-danger-text: #b94a48;
@state-danger-bg: #f2dede;
@state-danger-border: darken(spin(@state-danger-bg, -10), 3%);
@state-success-text: #468847;
@state-success-bg: #dff0d8;
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
@state-info-text: #3a87ad;
@state-info-bg: #d9edf7;
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
// ToolTip
@tooltip-max-width: 200px;
@tooltip-color: #fff;
@tooltip-bg: #000;
@tooltip-arrow-width: 5px;
@tooltip-arrow-color: @tooltip-bg;
@tooltip-opacity: .9;
// Popover
@popover-bg: lighten(@btn-default-bg, 10%);
@popover-max-width: 276px;
@popover-border-color: @btn-default-border;
@popover-fallback-border-color: @btn-default-border;
@popover-title-bg: @btn-default-bg;
@popover-arrow-width: 10px;
@popover-arrow-color: @btn-default-bg;
@popover-arrow-outer-width: (@popover-arrow-width + 1);
@popover-arrow-outer-color: rgba(0,0,0,.25);
@popover-arrow-outer-fallback-color: @btn-default-bg;
// List Group
@list-group-bg: @btn-default-bg;
@list-group-border: @btn-default-border;
@list-group-border-radius: @border-radius-base;
@list-group-hover-bg: lighten(@btn-default-bg, 10%);
@list-group-active-color: darken(@text-color, 10%);
@list-group-active-bg: lighten(@btn-default-bg, 10%);
@list-group-active-border: @list-group-active-bg;
@list-group-active-text-color: lighten(@list-group-active-bg, 40%);
@list-group-link-color: @text-color;
@list-group-link-heading-color: darken(@text-color, 10%);
// Sprites
@icon-font-path: '../app/fonts/';
@icon-font-name: glyphicons-halflings-regular;
// My Variables