twbs_less_rails 2.5.1 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/Rakefile +55 -21
- data/lib/twbs_less_rails/version.rb +1 -1
- data/vendor/assets/javascripts/respond.js +209 -211
- data/vendor/assets/javascripts/twbs/bootstrap/affix.js +1 -1
- data/vendor/assets/javascripts/twbs/bootstrap/alert.js +1 -1
- data/vendor/assets/javascripts/twbs/bootstrap/button.js +11 -5
- data/vendor/assets/javascripts/twbs/bootstrap/carousel.js +5 -5
- data/vendor/assets/javascripts/twbs/bootstrap/collapse.js +1 -1
- data/vendor/assets/javascripts/twbs/bootstrap/dropdown.js +5 -5
- data/vendor/assets/javascripts/twbs/bootstrap/modal.js +1 -1
- data/vendor/assets/javascripts/twbs/bootstrap/popover.js +1 -1
- data/vendor/assets/javascripts/twbs/bootstrap/scrollspy.js +2 -2
- data/vendor/assets/javascripts/twbs/bootstrap/tab.js +1 -1
- data/vendor/assets/javascripts/twbs/bootstrap/tooltip.js +1 -1
- data/vendor/assets/javascripts/twbs/bootstrap/transition.js +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/badges.less +6 -6
- data/vendor/assets/stylesheets/twbs/bootstrap/button-groups.less +7 -33
- data/vendor/assets/stylesheets/twbs/bootstrap/buttons.less +2 -5
- data/vendor/assets/stylesheets/twbs/bootstrap/carousel.less +1 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/dropdowns.less +3 -8
- data/vendor/assets/stylesheets/twbs/bootstrap/forms.less +11 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/glyphicons.less +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/grid.less +12 -26
- data/vendor/assets/stylesheets/twbs/bootstrap/input-groups.less +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/jumbotron.less +8 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/labels.less +6 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins.less +37 -50
- data/vendor/assets/stylesheets/twbs/bootstrap/modals.less +2 -5
- data/vendor/assets/stylesheets/twbs/bootstrap/navbar.less +41 -53
- data/vendor/assets/stylesheets/twbs/bootstrap/navs.less +0 -20
- data/vendor/assets/stylesheets/twbs/bootstrap/panels.less +11 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/progress-bars.less +0 -12
- data/vendor/assets/stylesheets/twbs/bootstrap/tables.less +5 -18
- data/vendor/assets/stylesheets/twbs/bootstrap/thumbnails.less +9 -3
- data/vendor/assets/stylesheets/twbs/bootstrap/type.less +54 -52
- data/vendor/assets/stylesheets/twbs/bootstrap/variables.less +15 -10
- metadata +2 -2
@@ -3,12 +3,62 @@
|
|
3
3
|
// --------------------------------------------------
|
4
4
|
|
5
5
|
|
6
|
+
// Headings
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
h1, h2, h3, h4, h5, h6,
|
10
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
11
|
+
font-family: @headings-font-family;
|
12
|
+
font-weight: @headings-font-weight;
|
13
|
+
line-height: @headings-line-height;
|
14
|
+
color: @headings-color;
|
15
|
+
|
16
|
+
small,
|
17
|
+
.small {
|
18
|
+
font-weight: normal;
|
19
|
+
line-height: 1;
|
20
|
+
color: @headings-small-color;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
h1,
|
25
|
+
h2,
|
26
|
+
h3 {
|
27
|
+
margin-top: @line-height-computed;
|
28
|
+
margin-bottom: (@line-height-computed / 2);
|
29
|
+
|
30
|
+
small,
|
31
|
+
.small {
|
32
|
+
font-size: 65%;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
h4,
|
36
|
+
h5,
|
37
|
+
h6 {
|
38
|
+
margin-top: (@line-height-computed / 2);
|
39
|
+
margin-bottom: (@line-height-computed / 2);
|
40
|
+
|
41
|
+
small,
|
42
|
+
.small {
|
43
|
+
font-size: 75%;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
h1, .h1 { font-size: @font-size-h1; }
|
48
|
+
h2, .h2 { font-size: @font-size-h2; }
|
49
|
+
h3, .h3 { font-size: @font-size-h3; }
|
50
|
+
h4, .h4 { font-size: @font-size-h4; }
|
51
|
+
h5, .h5 { font-size: @font-size-h5; }
|
52
|
+
h6, .h6 { font-size: @font-size-h6; }
|
53
|
+
|
54
|
+
|
6
55
|
// Body text
|
7
56
|
// -------------------------
|
8
57
|
|
9
58
|
p {
|
10
59
|
margin: 0 0 (@line-height-computed / 2);
|
11
60
|
}
|
61
|
+
|
12
62
|
.lead {
|
13
63
|
margin-bottom: @line-height-computed;
|
14
64
|
font-size: floor(@font-size-base * 1.15);
|
@@ -72,55 +122,6 @@ cite { font-style: normal; }
|
|
72
122
|
.text-center { text-align: center; }
|
73
123
|
|
74
124
|
|
75
|
-
// Headings
|
76
|
-
// -------------------------
|
77
|
-
|
78
|
-
h1, h2, h3, h4, h5, h6,
|
79
|
-
.h1, .h2, .h3, .h4, .h5, .h6 {
|
80
|
-
font-family: @headings-font-family;
|
81
|
-
font-weight: @headings-font-weight;
|
82
|
-
line-height: @headings-line-height;
|
83
|
-
color: @headings-color;
|
84
|
-
|
85
|
-
small,
|
86
|
-
.small {
|
87
|
-
font-weight: normal;
|
88
|
-
line-height: 1;
|
89
|
-
color: @headings-small-color;
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
h1,
|
94
|
-
h2,
|
95
|
-
h3 {
|
96
|
-
margin-top: @line-height-computed;
|
97
|
-
margin-bottom: (@line-height-computed / 2);
|
98
|
-
|
99
|
-
small,
|
100
|
-
.small {
|
101
|
-
font-size: 65%;
|
102
|
-
}
|
103
|
-
}
|
104
|
-
h4,
|
105
|
-
h5,
|
106
|
-
h6 {
|
107
|
-
margin-top: (@line-height-computed / 2);
|
108
|
-
margin-bottom: (@line-height-computed / 2);
|
109
|
-
|
110
|
-
small,
|
111
|
-
.small {
|
112
|
-
font-size: 75%;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
|
116
|
-
h1, .h1 { font-size: @font-size-h1; }
|
117
|
-
h2, .h2 { font-size: @font-size-h2; }
|
118
|
-
h3, .h3 { font-size: @font-size-h3; }
|
119
|
-
h4, .h4 { font-size: @font-size-h4; }
|
120
|
-
h5, .h5 { font-size: @font-size-h5; }
|
121
|
-
h6, .h6 { font-size: @font-size-h6; }
|
122
|
-
|
123
|
-
|
124
125
|
// Page header
|
125
126
|
// -------------------------
|
126
127
|
|
@@ -131,7 +132,6 @@ h6, .h6 { font-size: @font-size-h6; }
|
|
131
132
|
}
|
132
133
|
|
133
134
|
|
134
|
-
|
135
135
|
// Lists
|
136
136
|
// --------------------------------------------------
|
137
137
|
|
@@ -171,6 +171,7 @@ ol {
|
|
171
171
|
|
172
172
|
// Description Lists
|
173
173
|
dl {
|
174
|
+
margin-top: 0; // Remove browser default
|
174
175
|
margin-bottom: @line-height-computed;
|
175
176
|
}
|
176
177
|
dt,
|
@@ -215,7 +216,7 @@ abbr[data-original-title] {
|
|
215
216
|
cursor: help;
|
216
217
|
border-bottom: 1px dotted @abbr-border-color;
|
217
218
|
}
|
218
|
-
|
219
|
+
.initialism {
|
219
220
|
font-size: 90%;
|
220
221
|
text-transform: uppercase;
|
221
222
|
}
|
@@ -233,7 +234,8 @@ blockquote {
|
|
233
234
|
p:last-child {
|
234
235
|
margin-bottom: 0;
|
235
236
|
}
|
236
|
-
small
|
237
|
+
small,
|
238
|
+
.small {
|
237
239
|
display: block;
|
238
240
|
line-height: @line-height-base;
|
239
241
|
color: @blockquote-small-color;
|
@@ -41,7 +41,7 @@
|
|
41
41
|
|
42
42
|
@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
43
43
|
@font-family-serif: Georgia, "Times New Roman", Times, serif;
|
44
|
-
@font-family-monospace:
|
44
|
+
@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
|
45
45
|
@font-family-base: @font-family-sans-serif;
|
46
46
|
|
47
47
|
@font-size-base: 14px;
|
@@ -84,6 +84,9 @@
|
|
84
84
|
@padding-small-vertical: 5px;
|
85
85
|
@padding-small-horizontal: 10px;
|
86
86
|
|
87
|
+
@padding-xs-vertical: 1px;
|
88
|
+
@padding-xs-horizontal: 5px;
|
89
|
+
|
87
90
|
@line-height-large: 1.33;
|
88
91
|
@line-height-small: 1.5;
|
89
92
|
|
@@ -157,7 +160,7 @@
|
|
157
160
|
@input-color-placeholder: @gray-light;
|
158
161
|
|
159
162
|
@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
|
160
|
-
@input-height-large: (
|
163
|
+
@input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
|
161
164
|
@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
|
162
165
|
|
163
166
|
@legend-color: @gray-dark;
|
@@ -186,8 +189,6 @@
|
|
186
189
|
|
187
190
|
@dropdown-header-color: @gray-light;
|
188
191
|
|
189
|
-
@dropdown-caret-color: #000;
|
190
|
-
|
191
192
|
|
192
193
|
// COMPONENT VARIABLES
|
193
194
|
// --------------------------------------------------
|
@@ -246,8 +247,13 @@
|
|
246
247
|
@grid-columns: 12;
|
247
248
|
// Padding, to be divided by two and applied to the left and right of all columns
|
248
249
|
@grid-gutter-width: 30px;
|
249
|
-
|
250
|
+
|
251
|
+
// Navbar collapse
|
252
|
+
|
253
|
+
// Point at which the navbar becomes uncollapsed
|
250
254
|
@grid-float-breakpoint: @screen-sm-min;
|
255
|
+
// Point at which the navbar begins collapsing
|
256
|
+
@grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
|
251
257
|
|
252
258
|
|
253
259
|
// Navbar
|
@@ -321,7 +327,6 @@
|
|
321
327
|
@nav-disabled-link-hover-color: @gray-light;
|
322
328
|
|
323
329
|
@nav-open-link-hover-color: #fff;
|
324
|
-
@nav-open-caret-border-color: #fff;
|
325
330
|
|
326
331
|
// Tabs
|
327
332
|
@nav-tabs-border-color: #ddd;
|
@@ -375,19 +380,19 @@
|
|
375
380
|
// Form states and alerts
|
376
381
|
// -------------------------
|
377
382
|
|
378
|
-
@state-success-text: #
|
383
|
+
@state-success-text: #3c763d;
|
379
384
|
@state-success-bg: #dff0d8;
|
380
385
|
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
|
381
386
|
|
382
|
-
@state-info-text: #
|
387
|
+
@state-info-text: #31708f;
|
383
388
|
@state-info-bg: #d9edf7;
|
384
389
|
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
|
385
390
|
|
386
|
-
@state-warning-text: #
|
391
|
+
@state-warning-text: #8a6d3b;
|
387
392
|
@state-warning-bg: #fcf8e3;
|
388
393
|
@state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
|
389
394
|
|
390
|
-
@state-danger-text: #
|
395
|
+
@state-danger-text: #a94442;
|
391
396
|
@state-danger-bg: #f2dede;
|
392
397
|
@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
|
393
398
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twbs_less_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- diowa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|