twitter-bootstrap-rails 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +34 -23
- data/lib/generators/bootstrap/install/install_generator.rb +36 -12
- data/lib/generators/bootstrap/install/templates/application.css +0 -1
- data/lib/generators/bootstrap/install/templates/bootstrap.coffee +1 -10
- data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.less +19 -0
- data/lib/generators/bootstrap/layout/templates/layout.html.erb +18 -23
- data/lib/generators/bootstrap/layout/templates/layout.html.haml +4 -9
- data/lib/generators/bootstrap/layout/templates/layout.html.slim +4 -9
- data/lib/generators/bootstrap/themed/templates/_form.html.erb +19 -12
- data/lib/generators/bootstrap/themed/templates/_form.html.haml +13 -11
- data/lib/generators/bootstrap/themed/templates/edit.html.erb +1 -4
- data/lib/generators/bootstrap/themed/templates/edit.html.haml +1 -2
- data/lib/generators/bootstrap/themed/templates/edit.html.slim +1 -1
- data/lib/generators/bootstrap/themed/templates/index.html.erb +24 -28
- data/lib/generators/bootstrap/themed/templates/index.html.haml +3 -3
- data/lib/generators/bootstrap/themed/templates/new.html.erb +1 -3
- data/lib/generators/bootstrap/themed/templates/new.html.haml +1 -1
- data/lib/generators/bootstrap/themed/templates/new.html.slim +1 -1
- data/lib/generators/bootstrap/themed/templates/show.html.erb +11 -7
- data/lib/generators/bootstrap/themed/templates/show.html.haml +1 -1
- data/lib/generators/bootstrap/themed/themed_generator.rb +4 -4
- data/lib/twitter/bootstrap/rails/engine.rb +9 -3
- data/lib/twitter/bootstrap/rails/twitter-bootstrap-breadcrumbs.rb +25 -0
- data/lib/twitter/bootstrap/rails/version.rb +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-alert.js +8 -5
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-button.js +5 -3
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-carousel.js +9 -2
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-collapse.js +5 -3
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js +2 -2
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-modal.js +6 -5
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-popover.js +2 -2
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js +2 -2
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-tab.js +2 -2
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js +3 -3
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-transition.js +3 -3
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.js +8 -8
- data/vendor/toolkit/twitter/bootstrap/alerts.less +2 -14
- data/vendor/toolkit/twitter/bootstrap/badges.less +36 -0
- data/vendor/toolkit/twitter/bootstrap/bootstrap.less +2 -1
- data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +3 -1
- data/vendor/toolkit/twitter/bootstrap/button-groups.less +34 -8
- data/vendor/toolkit/twitter/bootstrap/buttons.less +38 -16
- data/vendor/toolkit/twitter/bootstrap/code.less +15 -2
- data/vendor/toolkit/twitter/bootstrap/component-animations.less +4 -2
- data/vendor/toolkit/twitter/bootstrap/dropdowns.less +46 -29
- data/vendor/toolkit/twitter/bootstrap/forms.less +120 -80
- data/vendor/toolkit/twitter/bootstrap/grid.less +2 -5
- data/vendor/toolkit/twitter/bootstrap/hero-unit.less +3 -1
- data/vendor/toolkit/twitter/bootstrap/labels.less +29 -7
- data/vendor/toolkit/twitter/bootstrap/mixins.less +233 -156
- data/vendor/toolkit/twitter/bootstrap/modals.less +22 -4
- data/vendor/toolkit/twitter/bootstrap/navbar.less +90 -41
- data/vendor/toolkit/twitter/bootstrap/navs.less +39 -20
- data/vendor/toolkit/twitter/bootstrap/pager.less +6 -0
- data/vendor/toolkit/twitter/bootstrap/pagination.less +1 -0
- data/vendor/toolkit/twitter/bootstrap/progress-bars.less +15 -1
- data/vendor/toolkit/twitter/bootstrap/reset.less +2 -2
- data/vendor/toolkit/twitter/bootstrap/responsive.less +80 -32
- data/vendor/toolkit/twitter/bootstrap/scaffolding.less +4 -4
- data/vendor/toolkit/twitter/bootstrap/sprites.less +10 -8
- data/vendor/toolkit/twitter/bootstrap/tables.less +39 -19
- data/vendor/toolkit/twitter/bootstrap/thumbnails.less +2 -2
- data/vendor/toolkit/twitter/bootstrap/type.less +25 -8
- data/vendor/toolkit/twitter/bootstrap/variables.less +114 -12
- data/vendor/toolkit/twitter/bootstrap/wells.less +10 -0
- data/vendor/toolkit/twitter/bootstrap_base.less +2 -0
- metadata +15 -14
- data/lib/generators/bootstrap/install/templates/bootstrap.less +0 -6
- data/vendor/assets/stylesheets/twitter/bootstrap.css.less +0 -1
- data/vendor/toolkit/twitter/bootstrap.less +0 -1
|
@@ -6,27 +6,29 @@
|
|
|
6
6
|
// ICONS
|
|
7
7
|
// -----
|
|
8
8
|
|
|
9
|
-
// All icons receive the styles of the <i> tag with a base class
|
|
10
|
-
// of .i and are then given a unique class to add width, height,
|
|
9
|
+
// All icons receive the styles of the <i> tag with a base class
|
|
10
|
+
// of .i and are then given a unique class to add width, height,
|
|
11
11
|
// and background-position. Your resulting HTML will look like
|
|
12
|
-
// <i class="
|
|
12
|
+
// <i class="icon-inbox"></i>.
|
|
13
13
|
|
|
14
|
-
// For the white version of the
|
|
15
|
-
// <i class="
|
|
14
|
+
// For the white version of the icons, just add the .icon-white class:
|
|
15
|
+
// <i class="icon-inbox icon-white"></i>
|
|
16
16
|
|
|
17
|
-
[class^="icon-"]
|
|
17
|
+
[class^="icon-"],
|
|
18
|
+
[class*=" icon-"] {
|
|
18
19
|
display: inline-block;
|
|
19
20
|
width: 14px;
|
|
20
21
|
height: 14px;
|
|
22
|
+
line-height: 14px;
|
|
21
23
|
vertical-align: text-top;
|
|
22
|
-
background-image:
|
|
24
|
+
background-image: url(@iconSpritePath);
|
|
23
25
|
background-position: 14px 14px;
|
|
24
26
|
background-repeat: no-repeat;
|
|
25
27
|
|
|
26
28
|
.ie7-restore-right-whitespace();
|
|
27
29
|
}
|
|
28
30
|
.icon-white {
|
|
29
|
-
background-image:
|
|
31
|
+
background-image: url(@iconWhiteSpritePath);
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
.icon-glass { background-position: 0 0; }
|
|
@@ -11,6 +11,7 @@ table {
|
|
|
11
11
|
max-width: 100%;
|
|
12
12
|
border-collapse: collapse;
|
|
13
13
|
border-spacing: 0;
|
|
14
|
+
background-color: @tableBackground;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
// BASELINE STYLES
|
|
@@ -25,23 +26,26 @@ table {
|
|
|
25
26
|
padding: 8px;
|
|
26
27
|
line-height: @baseLineHeight;
|
|
27
28
|
text-align: left;
|
|
28
|
-
|
|
29
|
+
vertical-align: top;
|
|
30
|
+
border-top: 1px solid @tableBorder;
|
|
29
31
|
}
|
|
30
32
|
th {
|
|
31
33
|
font-weight: bold;
|
|
32
|
-
vertical-align: bottom;
|
|
33
34
|
}
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
// Bottom align for column headings
|
|
36
|
+
thead th {
|
|
37
|
+
vertical-align: bottom;
|
|
36
38
|
}
|
|
37
39
|
// Remove top border from thead by default
|
|
38
|
-
thead:first-child
|
|
39
|
-
thead:first-child
|
|
40
|
+
colgroup + thead tr:first-child th,
|
|
41
|
+
colgroup + thead tr:first-child td,
|
|
42
|
+
thead:first-child tr:first-child th,
|
|
43
|
+
thead:first-child tr:first-child td {
|
|
40
44
|
border-top: 0;
|
|
41
45
|
}
|
|
42
46
|
// Account for multiple tbody instances
|
|
43
47
|
tbody + tbody {
|
|
44
|
-
border-top: 2px solid
|
|
48
|
+
border-top: 2px solid @tableBorder;
|
|
45
49
|
}
|
|
46
50
|
}
|
|
47
51
|
|
|
@@ -62,15 +66,14 @@ table {
|
|
|
62
66
|
// ----------------
|
|
63
67
|
|
|
64
68
|
.table-bordered {
|
|
65
|
-
border: 1px solid
|
|
69
|
+
border: 1px solid @tableBorder;
|
|
70
|
+
border-left: 0;
|
|
66
71
|
border-collapse: separate; // Done so we can round those corners!
|
|
67
72
|
*border-collapse: collapsed; // IE7 can't round corners anyway
|
|
68
73
|
.border-radius(4px);
|
|
69
|
-
th
|
|
70
|
-
td
|
|
71
|
-
|
|
72
|
-
td + th {
|
|
73
|
-
border-left: 1px solid #ddd;
|
|
74
|
+
th,
|
|
75
|
+
td {
|
|
76
|
+
border-left: 1px solid @tableBorder;
|
|
74
77
|
}
|
|
75
78
|
// Prevent a double border
|
|
76
79
|
thead:first-child tr:first-child th,
|
|
@@ -107,22 +110,27 @@ table {
|
|
|
107
110
|
tbody {
|
|
108
111
|
tr:nth-child(odd) td,
|
|
109
112
|
tr:nth-child(odd) th {
|
|
110
|
-
background-color:
|
|
113
|
+
background-color: @tableBackgroundAccent;
|
|
111
114
|
}
|
|
112
115
|
}
|
|
113
116
|
}
|
|
114
117
|
|
|
115
118
|
|
|
119
|
+
// HOVER EFFECT
|
|
120
|
+
// ------------
|
|
121
|
+
// Placed here since it has to come after the potential zebra striping
|
|
122
|
+
.table {
|
|
123
|
+
tbody tr:hover td,
|
|
124
|
+
tbody tr:hover th {
|
|
125
|
+
background-color: @tableBackgroundHover;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
116
129
|
|
|
117
130
|
// TABLE CELL SIZING
|
|
118
131
|
// -----------------
|
|
119
132
|
|
|
120
133
|
// Change the columns
|
|
121
|
-
.tableColumns(@columnSpan: 1) {
|
|
122
|
-
float: none;
|
|
123
|
-
width: ((@gridColumnWidth) * @columnSpan) + (@gridGutterWidth * (@columnSpan - 1)) - 16;
|
|
124
|
-
margin-left: 0;
|
|
125
|
-
}
|
|
126
134
|
table {
|
|
127
135
|
.span1 { .tableColumns(1); }
|
|
128
136
|
.span2 { .tableColumns(2); }
|
|
@@ -136,4 +144,16 @@ table {
|
|
|
136
144
|
.span10 { .tableColumns(10); }
|
|
137
145
|
.span11 { .tableColumns(11); }
|
|
138
146
|
.span12 { .tableColumns(12); }
|
|
147
|
+
.span13 { .tableColumns(13); }
|
|
148
|
+
.span14 { .tableColumns(14); }
|
|
149
|
+
.span15 { .tableColumns(15); }
|
|
150
|
+
.span16 { .tableColumns(16); }
|
|
151
|
+
.span17 { .tableColumns(17); }
|
|
152
|
+
.span18 { .tableColumns(18); }
|
|
153
|
+
.span19 { .tableColumns(19); }
|
|
154
|
+
.span20 { .tableColumns(20); }
|
|
155
|
+
.span21 { .tableColumns(21); }
|
|
156
|
+
.span22 { .tableColumns(22); }
|
|
157
|
+
.span23 { .tableColumns(23); }
|
|
158
|
+
.span24 { .tableColumns(24); }
|
|
139
159
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// ----------
|
|
3
3
|
|
|
4
4
|
.thumbnails {
|
|
5
|
-
margin-left:
|
|
5
|
+
margin-left: -@gridGutterWidth;
|
|
6
6
|
list-style: none;
|
|
7
7
|
.clearfix();
|
|
8
8
|
}
|
|
9
9
|
.thumbnails > li {
|
|
10
10
|
float: left;
|
|
11
|
-
margin: 0 0 @baseLineHeight
|
|
11
|
+
margin: 0 0 @baseLineHeight @gridGutterWidth;
|
|
12
12
|
}
|
|
13
13
|
.thumbnail {
|
|
14
14
|
display: block;
|
|
@@ -28,8 +28,9 @@ p {
|
|
|
28
28
|
|
|
29
29
|
h1, h2, h3, h4, h5, h6 {
|
|
30
30
|
margin: 0;
|
|
31
|
-
font-
|
|
32
|
-
|
|
31
|
+
font-family: @headingsFontFamily;
|
|
32
|
+
font-weight: @headingsFontWeight;
|
|
33
|
+
color: @headingsColor;
|
|
33
34
|
text-rendering: optimizelegibility; // Fix the character spacing for headings
|
|
34
35
|
small {
|
|
35
36
|
font-weight: normal;
|
|
@@ -110,7 +111,8 @@ ol {
|
|
|
110
111
|
li {
|
|
111
112
|
line-height: @baseLineHeight;
|
|
112
113
|
}
|
|
113
|
-
ul.unstyled
|
|
114
|
+
ul.unstyled,
|
|
115
|
+
ol.unstyled {
|
|
114
116
|
margin-left: 0;
|
|
115
117
|
list-style: none;
|
|
116
118
|
}
|
|
@@ -125,10 +127,23 @@ dd {
|
|
|
125
127
|
}
|
|
126
128
|
dt {
|
|
127
129
|
font-weight: bold;
|
|
130
|
+
line-height: @baseLineHeight - 1; // fix jank Helvetica Neue font bug
|
|
128
131
|
}
|
|
129
132
|
dd {
|
|
130
133
|
margin-left: @baseLineHeight / 2;
|
|
131
134
|
}
|
|
135
|
+
// Horizontal layout (like forms)
|
|
136
|
+
.dl-horizontal {
|
|
137
|
+
dt {
|
|
138
|
+
float: left;
|
|
139
|
+
clear: left;
|
|
140
|
+
width: 120px;
|
|
141
|
+
text-align: right;
|
|
142
|
+
}
|
|
143
|
+
dd {
|
|
144
|
+
margin-left: 130px;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
132
147
|
|
|
133
148
|
// MISC
|
|
134
149
|
// ----
|
|
@@ -137,7 +152,7 @@ dd {
|
|
|
137
152
|
hr {
|
|
138
153
|
margin: @baseLineHeight 0;
|
|
139
154
|
border: 0;
|
|
140
|
-
border-top: 1px solid
|
|
155
|
+
border-top: 1px solid @hrBorder;
|
|
141
156
|
border-bottom: 1px solid @white;
|
|
142
157
|
}
|
|
143
158
|
|
|
@@ -153,12 +168,14 @@ em {
|
|
|
153
168
|
}
|
|
154
169
|
|
|
155
170
|
// Abbreviations and acronyms
|
|
156
|
-
abbr {
|
|
157
|
-
font-size: 90%;
|
|
158
|
-
text-transform: uppercase;
|
|
171
|
+
abbr[title] {
|
|
159
172
|
border-bottom: 1px dotted #ddd;
|
|
160
173
|
cursor: help;
|
|
161
174
|
}
|
|
175
|
+
abbr.initialism {
|
|
176
|
+
font-size: 90%;
|
|
177
|
+
text-transform: uppercase;
|
|
178
|
+
}
|
|
162
179
|
|
|
163
180
|
// Blockquotes
|
|
164
181
|
blockquote {
|
|
@@ -195,7 +212,7 @@ blockquote {
|
|
|
195
212
|
// Quotes
|
|
196
213
|
q:before,
|
|
197
214
|
q:after,
|
|
198
|
-
blockquote:before,
|
|
215
|
+
blockquote:before,
|
|
199
216
|
blockquote:after {
|
|
200
217
|
content: "";
|
|
201
218
|
}
|
|
@@ -7,11 +7,9 @@
|
|
|
7
7
|
// GLOBAL VALUES
|
|
8
8
|
// --------------------------------------------------
|
|
9
9
|
|
|
10
|
-
// Links
|
|
11
|
-
@linkColor: #08c;
|
|
12
|
-
@linkColorHover: darken(@linkColor, 15%);
|
|
13
10
|
|
|
14
11
|
// Grays
|
|
12
|
+
// -------------------------
|
|
15
13
|
@black: #000;
|
|
16
14
|
@grayDarker: #222;
|
|
17
15
|
@grayDark: #333;
|
|
@@ -20,7 +18,9 @@
|
|
|
20
18
|
@grayLighter: #eee;
|
|
21
19
|
@white: #fff;
|
|
22
20
|
|
|
21
|
+
|
|
23
22
|
// Accent colors
|
|
23
|
+
// -------------------------
|
|
24
24
|
@blue: #049cdb;
|
|
25
25
|
@blueDark: #0064cd;
|
|
26
26
|
@green: #46a546;
|
|
@@ -30,14 +30,79 @@
|
|
|
30
30
|
@pink: #c3325f;
|
|
31
31
|
@purple: #7a43b6;
|
|
32
32
|
|
|
33
|
+
|
|
34
|
+
// Scaffolding
|
|
35
|
+
// -------------------------
|
|
36
|
+
@bodyBackground: @white;
|
|
37
|
+
@textColor: @grayDark;
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
// Links
|
|
41
|
+
// -------------------------
|
|
42
|
+
@linkColor: #08c;
|
|
43
|
+
@linkColorHover: darken(@linkColor, 15%);
|
|
44
|
+
|
|
45
|
+
|
|
33
46
|
// Typography
|
|
47
|
+
// -------------------------
|
|
34
48
|
@baseFontSize: 13px;
|
|
35
49
|
@baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
36
50
|
@baseLineHeight: 18px;
|
|
37
|
-
@
|
|
51
|
+
@altFontFamily: Georgia, "Times New Roman", Times, serif;
|
|
52
|
+
|
|
53
|
+
@headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
|
|
54
|
+
@headingsFontWeight: bold; // instead of browser default, bold
|
|
55
|
+
@headingsColor: inherit; // empty to use BS default, @textColor
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
// Tables
|
|
59
|
+
// -------------------------
|
|
60
|
+
@tableBackground: transparent; // overall background-color
|
|
61
|
+
@tableBackgroundAccent: #f9f9f9; // for striping
|
|
62
|
+
@tableBackgroundHover: #f5f5f5; // for hover
|
|
63
|
+
@tableBorder: #ddd; // table and cell border
|
|
64
|
+
|
|
38
65
|
|
|
39
66
|
// Buttons
|
|
40
|
-
|
|
67
|
+
// -------------------------
|
|
68
|
+
@btnBackground: @white;
|
|
69
|
+
@btnBackgroundHighlight: darken(@white, 10%);
|
|
70
|
+
@btnBorder: darken(@white, 20%);
|
|
71
|
+
|
|
72
|
+
@btnPrimaryBackground: @linkColor;
|
|
73
|
+
@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);
|
|
74
|
+
|
|
75
|
+
@btnInfoBackground: #5bc0de;
|
|
76
|
+
@btnInfoBackgroundHighlight: #2f96b4;
|
|
77
|
+
|
|
78
|
+
@btnSuccessBackground: #62c462;
|
|
79
|
+
@btnSuccessBackgroundHighlight: #51a351;
|
|
80
|
+
|
|
81
|
+
@btnWarningBackground: lighten(@orange, 15%);
|
|
82
|
+
@btnWarningBackgroundHighlight: @orange;
|
|
83
|
+
|
|
84
|
+
@btnDangerBackground: #ee5f5b;
|
|
85
|
+
@btnDangerBackgroundHighlight: #bd362f;
|
|
86
|
+
|
|
87
|
+
@btnInverseBackground: @gray;
|
|
88
|
+
@btnInverseBackgroundHighlight: @grayDarker;
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
// Forms
|
|
92
|
+
// -------------------------
|
|
93
|
+
@inputBackground: @white;
|
|
94
|
+
@inputBorder: #ccc;
|
|
95
|
+
@inputDisabledBackground: @grayLighter;
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
// Dropdowns
|
|
99
|
+
// -------------------------
|
|
100
|
+
@dropdownBackground: @white;
|
|
101
|
+
@dropdownBorder: rgba(0,0,0,.2);
|
|
102
|
+
@dropdownLinkColor: @grayDark;
|
|
103
|
+
@dropdownLinkColorHover: @white;
|
|
104
|
+
@dropdownLinkBackgroundHover: @linkColor;
|
|
105
|
+
|
|
41
106
|
|
|
42
107
|
|
|
43
108
|
|
|
@@ -45,19 +110,35 @@
|
|
|
45
110
|
// --------------------------------------------------
|
|
46
111
|
|
|
47
112
|
// Z-index master list
|
|
113
|
+
// -------------------------
|
|
48
114
|
// Used for a bird's eye view of components dependent on the z-axis
|
|
49
115
|
// Try to avoid customizing these :)
|
|
50
|
-
@zindexDropdown:
|
|
51
|
-
@zindexPopover:
|
|
52
|
-
@zindexTooltip:
|
|
53
|
-
@zindexFixedNavbar:
|
|
54
|
-
@zindexModalBackdrop:
|
|
55
|
-
@zindexModal:
|
|
116
|
+
@zindexDropdown: 1000;
|
|
117
|
+
@zindexPopover: 1010;
|
|
118
|
+
@zindexTooltip: 1020;
|
|
119
|
+
@zindexFixedNavbar: 1030;
|
|
120
|
+
@zindexModalBackdrop: 1040;
|
|
121
|
+
@zindexModal: 1050;
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
// Sprite icons path
|
|
125
|
+
// -------------------------
|
|
126
|
+
@iconSpritePath: "../img/glyphicons-halflings.png";
|
|
127
|
+
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
|
|
128
|
+
|
|
56
129
|
|
|
57
130
|
// Input placeholder text color
|
|
58
|
-
|
|
131
|
+
// -------------------------
|
|
132
|
+
@placeholderText: @grayLight;
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
// Hr border color
|
|
136
|
+
// -------------------------
|
|
137
|
+
@hrBorder: @grayLighter;
|
|
138
|
+
|
|
59
139
|
|
|
60
140
|
// Navbar
|
|
141
|
+
// -------------------------
|
|
61
142
|
@navbarHeight: 40px;
|
|
62
143
|
@navbarBackground: @grayDarker;
|
|
63
144
|
@navbarBackgroundHighlight: @grayDark;
|
|
@@ -65,8 +146,25 @@
|
|
|
65
146
|
@navbarText: @grayLight;
|
|
66
147
|
@navbarLinkColor: @grayLight;
|
|
67
148
|
@navbarLinkColorHover: @white;
|
|
149
|
+
@navbarLinkColorActive: @navbarLinkColorHover;
|
|
150
|
+
@navbarLinkBackgroundHover: transparent;
|
|
151
|
+
@navbarLinkBackgroundActive: @navbarBackground;
|
|
152
|
+
|
|
153
|
+
@navbarSearchBackground: lighten(@navbarBackground, 25%);
|
|
154
|
+
@navbarSearchBackgroundFocus: @white;
|
|
155
|
+
@navbarSearchBorder: darken(@navbarSearchBackground, 30%);
|
|
156
|
+
@navbarSearchPlaceholderColor: #ccc;
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
// Hero unit
|
|
160
|
+
// -------------------------
|
|
161
|
+
@heroUnitBackground: @grayLighter;
|
|
162
|
+
@heroUnitHeadingColor: inherit;
|
|
163
|
+
@heroUnitLeadColor: inherit;
|
|
164
|
+
|
|
68
165
|
|
|
69
166
|
// Form states and alerts
|
|
167
|
+
// -------------------------
|
|
70
168
|
@warningText: #c09853;
|
|
71
169
|
@warningBackground: #fcf8e3;
|
|
72
170
|
@warningBorder: darken(spin(@warningBackground, -10), 3%);
|
|
@@ -85,15 +183,19 @@
|
|
|
85
183
|
|
|
86
184
|
|
|
87
185
|
|
|
186
|
+
|
|
88
187
|
// GRID
|
|
89
188
|
// --------------------------------------------------
|
|
90
189
|
|
|
91
190
|
// Default 940px grid
|
|
191
|
+
// -------------------------
|
|
92
192
|
@gridColumns: 12;
|
|
93
193
|
@gridColumnWidth: 60px;
|
|
94
194
|
@gridGutterWidth: 20px;
|
|
95
195
|
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
|
96
196
|
|
|
197
|
+
|
|
97
198
|
// Fluid grid
|
|
199
|
+
// -------------------------
|
|
98
200
|
@fluidGridColumnWidth: 6.382978723%;
|
|
99
201
|
@fluidGridGutterWidth: 2.127659574%;
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: twitter-bootstrap-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-03-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: railties
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &73258230 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,10 @@ dependencies:
|
|
|
21
21
|
version: '3.1'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *73258230
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: actionpack
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &73257980 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,21 +32,21 @@ dependencies:
|
|
|
32
32
|
version: '3.1'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *73257980
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: less-rails
|
|
38
|
-
requirement: &
|
|
38
|
+
requirement: &73257730 !ruby/object:Gem::Requirement
|
|
39
39
|
none: false
|
|
40
40
|
requirements:
|
|
41
41
|
- - ~>
|
|
42
42
|
- !ruby/object:Gem::Version
|
|
43
|
-
version: 2.1.
|
|
43
|
+
version: 2.1.8
|
|
44
44
|
type: :runtime
|
|
45
45
|
prerelease: false
|
|
46
|
-
version_requirements: *
|
|
46
|
+
version_requirements: *73257730
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: rails
|
|
49
|
-
requirement: &
|
|
49
|
+
requirement: &73257390 !ruby/object:Gem::Requirement
|
|
50
50
|
none: false
|
|
51
51
|
requirements:
|
|
52
52
|
- - ! '>='
|
|
@@ -54,7 +54,7 @@ dependencies:
|
|
|
54
54
|
version: '3.1'
|
|
55
55
|
type: :development
|
|
56
56
|
prerelease: false
|
|
57
|
-
version_requirements: *
|
|
57
|
+
version_requirements: *73257390
|
|
58
58
|
description: twitter-bootstrap-rails project integrates Bootstrap CSS toolkit for
|
|
59
59
|
Rails 3.1 Asset Pipeline
|
|
60
60
|
email:
|
|
@@ -84,17 +84,17 @@ files:
|
|
|
84
84
|
- lib/generators/bootstrap/themed/templates/index.html.haml
|
|
85
85
|
- lib/generators/bootstrap/themed/templates/index.html.slim
|
|
86
86
|
- lib/generators/bootstrap/install/templates/bootstrap.coffee
|
|
87
|
+
- lib/generators/bootstrap/install/templates/bootstrap_and_overrides.less
|
|
87
88
|
- lib/generators/bootstrap/install/templates/application.js
|
|
88
89
|
- lib/generators/bootstrap/install/templates/application.css
|
|
89
|
-
- lib/generators/bootstrap/install/templates/bootstrap.less
|
|
90
90
|
- lib/generators/bootstrap/install/install_generator.rb
|
|
91
91
|
- lib/twitter-bootstrap-rails.rb
|
|
92
92
|
- lib/twitter/bootstrap/rails/bootstrap.rb
|
|
93
93
|
- lib/twitter/bootstrap/rails/version.rb
|
|
94
94
|
- lib/twitter/bootstrap/rails/engine.rb
|
|
95
|
+
- lib/twitter/bootstrap/rails/twitter-bootstrap-breadcrumbs.rb
|
|
95
96
|
- vendor/assets/images/twitter/bootstrap/glyphicons-halflings-white.png
|
|
96
97
|
- vendor/assets/images/twitter/bootstrap/glyphicons-halflings.png
|
|
97
|
-
- vendor/assets/stylesheets/twitter/bootstrap.css.less
|
|
98
98
|
- vendor/assets/javascripts/twitter/bootstrap.js
|
|
99
99
|
- vendor/assets/javascripts/twitter/bootstrap/bootstrap-modal.js
|
|
100
100
|
- vendor/assets/javascripts/twitter/bootstrap/bootstrap-button.js
|
|
@@ -108,7 +108,7 @@ files:
|
|
|
108
108
|
- vendor/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js
|
|
109
109
|
- vendor/assets/javascripts/twitter/bootstrap/bootstrap-alert.js
|
|
110
110
|
- vendor/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js
|
|
111
|
-
- vendor/toolkit/twitter/
|
|
111
|
+
- vendor/toolkit/twitter/bootstrap_base.less
|
|
112
112
|
- vendor/toolkit/twitter/bootstrap/thumbnails.less
|
|
113
113
|
- vendor/toolkit/twitter/bootstrap/code.less
|
|
114
114
|
- vendor/toolkit/twitter/bootstrap/navbar.less
|
|
@@ -123,6 +123,7 @@ files:
|
|
|
123
123
|
- vendor/toolkit/twitter/bootstrap/component-animations.less
|
|
124
124
|
- vendor/toolkit/twitter/bootstrap/responsive.less
|
|
125
125
|
- vendor/toolkit/twitter/bootstrap/popovers.less
|
|
126
|
+
- vendor/toolkit/twitter/bootstrap/badges.less
|
|
126
127
|
- vendor/toolkit/twitter/bootstrap/alerts.less
|
|
127
128
|
- vendor/toolkit/twitter/bootstrap/scaffolding.less
|
|
128
129
|
- vendor/toolkit/twitter/bootstrap/navs.less
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import "twitter/bootstrap/bootstrap";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import "bootstrap/bootstrap.less";
|