twbs_less_rails 2.10.3 → 2.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/Rakefile +6 -3
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +469 -379
- data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/gemfiles/Gemfile.rails-3.2.x +1 -1
- data/gemfiles/Gemfile.rails-4.0.x +1 -1
- data/gemfiles/Gemfile.rails-4.1.x +1 -1
- data/lib/twbs_less_rails/version.rb +1 -1
- data/vendor/assets/javascripts/twbs/bootstrap/affix.js +19 -14
- data/vendor/assets/javascripts/twbs/bootstrap/alert.js +10 -6
- data/vendor/assets/javascripts/twbs/bootstrap/button.js +11 -8
- data/vendor/assets/javascripts/twbs/bootstrap/carousel.js +49 -31
- data/vendor/assets/javascripts/twbs/bootstrap/collapse.js +22 -22
- data/vendor/assets/javascripts/twbs/bootstrap/dropdown.js +17 -13
- data/vendor/assets/javascripts/twbs/bootstrap/modal.js +66 -29
- data/vendor/assets/javascripts/twbs/bootstrap/popover.js +10 -7
- data/vendor/assets/javascripts/twbs/bootstrap/scrollspy.js +40 -23
- data/vendor/assets/javascripts/twbs/bootstrap/tab.js +11 -8
- data/vendor/assets/javascripts/twbs/bootstrap/tooltip.js +115 -57
- data/vendor/assets/javascripts/twbs/bootstrap/transition.js +18 -7
- data/vendor/assets/javascripts/twbs/bootstrap.js +4 -4
- data/vendor/assets/stylesheets/fontawesome/font-awesome.less +13 -13
- data/vendor/assets/stylesheets/fontawesome/icons.less +97 -3
- data/vendor/assets/stylesheets/fontawesome/spinning.less +8 -6
- data/vendor/assets/stylesheets/fontawesome/variables.less +463 -329
- data/vendor/assets/stylesheets/twbs/bootstrap/alerts.less +4 -3
- data/vendor/assets/stylesheets/twbs/bootstrap/badges.less +18 -18
- data/vendor/assets/stylesheets/twbs/bootstrap/bootstrap.less +2 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/button-groups.less +16 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/buttons.less +0 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/carousel.less +15 -4
- data/vendor/assets/stylesheets/twbs/bootstrap/code.less +6 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/component-animations.less +6 -4
- data/vendor/assets/stylesheets/twbs/bootstrap/dropdowns.less +2 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/forms.less +144 -42
- data/vendor/assets/stylesheets/twbs/bootstrap/input-groups.less +6 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/jumbotron.less +4 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/labels.less +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/list-group.less +22 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/alerts.less +14 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/background-variant.less +8 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/border-radius.less +18 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/buttons.less +50 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/center-block.less +7 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/clearfix.less +22 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/forms.less +81 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/gradients.less +59 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/grid-framework.less +91 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/grid.less +122 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/hide-text.less +21 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/image.less +34 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/labels.less +12 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/list-group.less +29 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/nav-divider.less +10 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/nav-vertical-align.less +9 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/opacity.less +8 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/pagination.less +23 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/panels.less +24 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/progress-bar.less +10 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/reset-filter.less +8 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/resize.less +6 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/responsive-visibility.less +15 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/size.less +10 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/tab-focus.less +9 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/table-row.less +28 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/text-emphasis.less +8 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/text-overflow.less +8 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/vendor-prefixes.less +224 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins.less +35 -925
- data/vendor/assets/stylesheets/twbs/bootstrap/modals.less +18 -7
- data/vendor/assets/stylesheets/twbs/bootstrap/navbar.less +41 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/navs.less +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/normalize.less +21 -19
- data/vendor/assets/stylesheets/twbs/bootstrap/panels.less +8 -6
- data/vendor/assets/stylesheets/twbs/bootstrap/popovers.less +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/progress-bars.less +27 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/responsive-embed.less +34 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/responsive-utilities.less +103 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/scaffolding.less +17 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/tables.less +4 -4
- data/vendor/assets/stylesheets/twbs/bootstrap/theme.less +11 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/type.less +32 -12
- data/vendor/assets/stylesheets/twbs/bootstrap/utilities.less +1 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/variables.less +40 -23
- metadata +32 -2
@@ -62,7 +62,7 @@ p {
|
|
62
62
|
.lead {
|
63
63
|
margin-bottom: @line-height-computed;
|
64
64
|
font-size: floor((@font-size-base * 1.15));
|
65
|
-
font-weight:
|
65
|
+
font-weight: 300;
|
66
66
|
line-height: 1.4;
|
67
67
|
|
68
68
|
@media (min-width: @screen-sm-min) {
|
@@ -74,18 +74,34 @@ p {
|
|
74
74
|
// Emphasis & misc
|
75
75
|
// -------------------------
|
76
76
|
|
77
|
-
// Ex: 14px base font *
|
77
|
+
// Ex: (12px small font / 14px base font) * 100% = about 85%
|
78
78
|
small,
|
79
|
-
.small
|
79
|
+
.small {
|
80
|
+
font-size: floor((100% * @font-size-small / @font-size-base));
|
81
|
+
}
|
80
82
|
|
81
83
|
// Undo browser default styling
|
82
|
-
cite
|
84
|
+
cite {
|
85
|
+
font-style: normal;
|
86
|
+
}
|
87
|
+
|
88
|
+
mark,
|
89
|
+
.mark {
|
90
|
+
background-color: @state-warning-bg;
|
91
|
+
padding: .2em;
|
92
|
+
}
|
83
93
|
|
84
94
|
// Alignment
|
85
95
|
.text-left { text-align: left; }
|
86
96
|
.text-right { text-align: right; }
|
87
97
|
.text-center { text-align: center; }
|
88
98
|
.text-justify { text-align: justify; }
|
99
|
+
.text-nowrap { white-space: nowrap; }
|
100
|
+
|
101
|
+
// Transformation
|
102
|
+
.text-lowercase { text-transform: lowercase; }
|
103
|
+
.text-uppercase { text-transform: uppercase; }
|
104
|
+
.text-capitalize { text-transform: capitalize; }
|
89
105
|
|
90
106
|
// Contextual colors
|
91
107
|
.text-muted {
|
@@ -141,7 +157,7 @@ cite { font-style: normal; }
|
|
141
157
|
|
142
158
|
|
143
159
|
// Lists
|
144
|
-
//
|
160
|
+
// -------------------------
|
145
161
|
|
146
162
|
// Unordered and Ordered lists
|
147
163
|
ul,
|
@@ -195,24 +211,28 @@ dd {
|
|
195
211
|
// Defaults to being stacked without any of the below styles applied, until the
|
196
212
|
// grid breakpoint is reached (default of ~768px).
|
197
213
|
|
198
|
-
|
199
|
-
|
214
|
+
.dl-horizontal {
|
215
|
+
dd {
|
216
|
+
&:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
|
217
|
+
}
|
218
|
+
|
219
|
+
@media (min-width: @grid-float-breakpoint) {
|
200
220
|
dt {
|
201
221
|
float: left;
|
202
|
-
width: (@
|
222
|
+
width: (@dl-horizontal-offset - 20);
|
203
223
|
clear: left;
|
204
224
|
text-align: right;
|
205
225
|
.text-overflow();
|
206
226
|
}
|
207
227
|
dd {
|
208
|
-
margin-left: @
|
209
|
-
&:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
|
228
|
+
margin-left: @dl-horizontal-offset;
|
210
229
|
}
|
211
230
|
}
|
212
231
|
}
|
213
232
|
|
214
|
-
|
215
|
-
//
|
233
|
+
|
234
|
+
// Misc
|
235
|
+
// -------------------------
|
216
236
|
|
217
237
|
// Abbreviations and acronyms
|
218
238
|
abbr[title],
|
@@ -10,7 +10,7 @@
|
|
10
10
|
@gray-darker: lighten(#000, 13.5%); // #222
|
11
11
|
@gray-dark: lighten(#000, 20%); // #333
|
12
12
|
@gray: lighten(#000, 33.5%); // #555
|
13
|
-
@gray-light: lighten(#000,
|
13
|
+
@gray-light: lighten(#000, 46.7%); // #777
|
14
14
|
@gray-lighter: lighten(#000, 93.5%); // #eee
|
15
15
|
|
16
16
|
@brand-primary: #428bca;
|
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
//== Scaffolding
|
24
24
|
//
|
25
|
-
|
25
|
+
//## Settings for some of the most global styles.
|
26
26
|
|
27
27
|
//** Background color for `<body>`.
|
28
28
|
@body-bg: #fff;
|
@@ -68,14 +68,18 @@
|
|
68
68
|
@headings-color: inherit;
|
69
69
|
|
70
70
|
|
71
|
-
|
71
|
+
//== Iconography
|
72
72
|
//
|
73
|
-
//## Specify custom
|
73
|
+
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
|
74
74
|
|
75
|
+
//** Load fonts from this directory.
|
75
76
|
@icon-font-path: "../fonts/";
|
77
|
+
//** File name for all font files.
|
76
78
|
@icon-font-name: "glyphicons-halflings-regular";
|
79
|
+
//** Element ID within SVG icon file.
|
77
80
|
@icon-font-svg-id: "glyphicons_halflingsregular";
|
78
81
|
|
82
|
+
|
79
83
|
//== Components
|
80
84
|
//
|
81
85
|
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
@@ -232,7 +236,7 @@
|
|
232
236
|
//** Text color for headers within dropdown menus.
|
233
237
|
@dropdown-header-color: @gray-light;
|
234
238
|
|
235
|
-
|
239
|
+
//** Deprecated `@dropdown-caret-color` as of v3.1.0
|
236
240
|
@dropdown-caret-color: #000;
|
237
241
|
|
238
242
|
|
@@ -245,8 +249,8 @@
|
|
245
249
|
|
246
250
|
@zindex-navbar: 1000;
|
247
251
|
@zindex-dropdown: 1000;
|
248
|
-
@zindex-popover:
|
249
|
-
@zindex-tooltip:
|
252
|
+
@zindex-popover: 1060;
|
253
|
+
@zindex-tooltip: 1070;
|
250
254
|
@zindex-navbar-fixed: 1030;
|
251
255
|
@zindex-modal-background: 1040;
|
252
256
|
@zindex-modal: 1050;
|
@@ -257,27 +261,32 @@
|
|
257
261
|
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
258
262
|
|
259
263
|
// Extra small screen / phone
|
260
|
-
|
264
|
+
//** Deprecated `@screen-xs` as of v3.0.1
|
261
265
|
@screen-xs: 480px;
|
266
|
+
//** Deprecated `@screen-xs-min` as of v3.2.0
|
262
267
|
@screen-xs-min: @screen-xs;
|
268
|
+
//** Deprecated `@screen-phone` as of v3.0.1
|
263
269
|
@screen-phone: @screen-xs-min;
|
264
270
|
|
265
271
|
// Small screen / tablet
|
266
|
-
|
272
|
+
//** Deprecated `@screen-sm` as of v3.0.1
|
267
273
|
@screen-sm: 768px;
|
268
274
|
@screen-sm-min: @screen-sm;
|
275
|
+
//** Deprecated `@screen-tablet` as of v3.0.1
|
269
276
|
@screen-tablet: @screen-sm-min;
|
270
277
|
|
271
278
|
// Medium screen / desktop
|
272
|
-
|
279
|
+
//** Deprecated `@screen-md` as of v3.0.1
|
273
280
|
@screen-md: 992px;
|
274
281
|
@screen-md-min: @screen-md;
|
282
|
+
//** Deprecated `@screen-desktop` as of v3.0.1
|
275
283
|
@screen-desktop: @screen-md-min;
|
276
284
|
|
277
285
|
// Large screen / wide desktop
|
278
|
-
|
286
|
+
//** Deprecated `@screen-lg` as of v3.0.1
|
279
287
|
@screen-lg: 1200px;
|
280
288
|
@screen-lg-min: @screen-lg;
|
289
|
+
//** Deprecated `@screen-lg-desktop` as of v3.0.1
|
281
290
|
@screen-lg-desktop: @screen-lg-min;
|
282
291
|
|
283
292
|
// So media queries don't overlap when required, provide a maximum
|
@@ -558,7 +567,7 @@
|
|
558
567
|
//##
|
559
568
|
|
560
569
|
//** Padding applied to the modal body
|
561
|
-
@modal-inner-padding:
|
570
|
+
@modal-inner-padding: 15px;
|
562
571
|
|
563
572
|
//** Padding applied to the modal title
|
564
573
|
@modal-title-padding: 15px;
|
@@ -643,17 +652,26 @@
|
|
643
652
|
//** List group border radius
|
644
653
|
@list-group-border-radius: @border-radius-base;
|
645
654
|
|
646
|
-
//** Background color of single list
|
655
|
+
//** Background color of single list items on hover
|
647
656
|
@list-group-hover-bg: #f5f5f5;
|
648
|
-
//** Text color of active list
|
657
|
+
//** Text color of active list items
|
649
658
|
@list-group-active-color: @component-active-color;
|
650
|
-
//** Background color of active list
|
659
|
+
//** Background color of active list items
|
651
660
|
@list-group-active-bg: @component-active-bg;
|
652
661
|
//** Border color of active list elements
|
653
662
|
@list-group-active-border: @list-group-active-bg;
|
663
|
+
//** Text color for content within active list items
|
654
664
|
@list-group-active-text-color: lighten(@list-group-active-bg, 40%);
|
655
665
|
|
666
|
+
//** Text color of disabled list items
|
667
|
+
@list-group-disabled-color: @gray-light;
|
668
|
+
//** Background color of disabled list items
|
669
|
+
@list-group-disabled-bg: @gray-lighter;
|
670
|
+
//** Text color for content within disabled list items
|
671
|
+
@list-group-disabled-text-color: @list-group-disabled-color;
|
672
|
+
|
656
673
|
@list-group-link-color: #555;
|
674
|
+
@list-group-link-hover-color: @list-group-link-color;
|
657
675
|
@list-group-link-heading-color: #333;
|
658
676
|
|
659
677
|
|
@@ -663,6 +681,8 @@
|
|
663
681
|
|
664
682
|
@panel-bg: #fff;
|
665
683
|
@panel-body-padding: 15px;
|
684
|
+
@panel-heading-padding: 10px 15px;
|
685
|
+
@panel-footer-padding: @panel-heading-padding;
|
666
686
|
@panel-border-radius: @border-radius-base;
|
667
687
|
|
668
688
|
//** Border color for elements within panels
|
@@ -802,6 +822,8 @@
|
|
802
822
|
//
|
803
823
|
//##
|
804
824
|
|
825
|
+
//** Horizontal offset for forms and lists.
|
826
|
+
@component-offset-horizontal: 180px;
|
805
827
|
//** Text muted color
|
806
828
|
@text-muted: @gray-light;
|
807
829
|
//** Abbreviations and acronyms border color
|
@@ -816,14 +838,9 @@
|
|
816
838
|
@blockquote-border-color: @gray-lighter;
|
817
839
|
//** Page header border color
|
818
840
|
@page-header-border-color: @gray-lighter;
|
819
|
-
|
820
|
-
|
821
|
-
//== Miscellaneous
|
822
|
-
//
|
823
|
-
//##
|
824
|
-
|
841
|
+
//** Width of horizontal description list titles
|
842
|
+
@dl-horizontal-offset: @component-offset-horizontal;
|
825
843
|
//** Horizontal line color.
|
826
844
|
@hr-border: @gray-lighter;
|
827
845
|
|
828
|
-
|
829
|
-
@component-offset-horizontal: 180px;
|
846
|
+
|
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.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- diowa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -253,6 +253,35 @@ files:
|
|
253
253
|
- vendor/assets/stylesheets/twbs/bootstrap/list-group.less
|
254
254
|
- vendor/assets/stylesheets/twbs/bootstrap/media.less
|
255
255
|
- vendor/assets/stylesheets/twbs/bootstrap/mixins.less
|
256
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/alerts.less
|
257
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/background-variant.less
|
258
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/border-radius.less
|
259
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/buttons.less
|
260
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/center-block.less
|
261
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/clearfix.less
|
262
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/forms.less
|
263
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/gradients.less
|
264
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/grid-framework.less
|
265
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/grid.less
|
266
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/hide-text.less
|
267
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/image.less
|
268
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/labels.less
|
269
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/list-group.less
|
270
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/nav-divider.less
|
271
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/nav-vertical-align.less
|
272
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/opacity.less
|
273
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/pagination.less
|
274
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/panels.less
|
275
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/progress-bar.less
|
276
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/reset-filter.less
|
277
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/resize.less
|
278
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/responsive-visibility.less
|
279
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/size.less
|
280
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/tab-focus.less
|
281
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/table-row.less
|
282
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/text-emphasis.less
|
283
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/text-overflow.less
|
284
|
+
- vendor/assets/stylesheets/twbs/bootstrap/mixins/vendor-prefixes.less
|
256
285
|
- vendor/assets/stylesheets/twbs/bootstrap/modals.less
|
257
286
|
- vendor/assets/stylesheets/twbs/bootstrap/navbar.less
|
258
287
|
- vendor/assets/stylesheets/twbs/bootstrap/navs.less
|
@@ -263,6 +292,7 @@ files:
|
|
263
292
|
- vendor/assets/stylesheets/twbs/bootstrap/popovers.less
|
264
293
|
- vendor/assets/stylesheets/twbs/bootstrap/print.less
|
265
294
|
- vendor/assets/stylesheets/twbs/bootstrap/progress-bars.less
|
295
|
+
- vendor/assets/stylesheets/twbs/bootstrap/responsive-embed.less
|
266
296
|
- vendor/assets/stylesheets/twbs/bootstrap/responsive-utilities.less
|
267
297
|
- vendor/assets/stylesheets/twbs/bootstrap/scaffolding.less
|
268
298
|
- vendor/assets/stylesheets/twbs/bootstrap/tables.less
|