anjlab-bootstrap-rails 2.3.1.2 → 3.0.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +3 -0
- data/Rakefile +42 -26
- data/lib/bootstrap-rails.rb +5 -6
- data/lib/bootstrap-rails/engine.rb +2 -9
- data/lib/bootstrap-rails/version.rb +1 -1
- data/test/test_helper.rb +2 -2
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.eot +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.otf +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.svg +175 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.ttf +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.woff +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap.js +4 -5
- data/vendor/assets/javascripts/twitter/bootstrap/affix.js +50 -47
- data/vendor/assets/javascripts/twitter/bootstrap/alert.js +32 -35
- data/vendor/assets/javascripts/twitter/bootstrap/button.js +37 -37
- data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +123 -127
- data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +81 -95
- data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +61 -81
- data/vendor/assets/javascripts/twitter/bootstrap/modal.js +146 -151
- data/vendor/assets/javascripts/twitter/bootstrap/popover.js +53 -58
- data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +99 -105
- data/vendor/assets/javascripts/twitter/bootstrap/tab.js +70 -81
- data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +246 -254
- data/vendor/assets/javascripts/twitter/bootstrap/transition.js +24 -37
- data/vendor/assets/stylesheets/twitter/bootstrap.scss +1 -1
- data/vendor/{frameworks/twitter/bootstrap/accordion.scss → assets/stylesheets/twitter/bootstrap/_accordion.scss} +2 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_alerts.scss +92 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_badges.scss +58 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_bootstrap.scss +64 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +28 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_button-groups.scss +170 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_buttons.scss +160 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_carousel.scss +191 -0
- data/vendor/{frameworks/twitter/bootstrap/close.scss → assets/stylesheets/twitter/bootstrap/_close.scss} +7 -6
- data/vendor/{frameworks/twitter/bootstrap/code.scss → assets/stylesheets/twitter/bootstrap/_code.scss} +14 -14
- data/vendor/{frameworks/twitter/bootstrap/component-animations.scss → assets/stylesheets/twitter/bootstrap/_component-animations.scss} +1 -0
- data/vendor/{frameworks/twitter/bootstrap/dropdowns.scss → assets/stylesheets/twitter/bootstrap/_dropdowns.scss} +46 -57
- data/vendor/assets/stylesheets/twitter/bootstrap/_forms.scss +464 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +200 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_grid.scss +65 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +32 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_labels.scss +70 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_list-group.scss +96 -0
- data/vendor/{frameworks/twitter/bootstrap/media.scss → assets/stylesheets/twitter/bootstrap/_media.scss} +0 -1
- data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +510 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_modals.scss +137 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.scss +356 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_navs.scss +249 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_normalize.scss +396 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_pager.scss +54 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.scss +87 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_panels.scss +96 -0
- data/vendor/{frameworks/twitter/bootstrap/popovers.scss → assets/stylesheets/twitter/bootstrap/_popovers.scss} +32 -32
- data/vendor/assets/stylesheets/twitter/bootstrap/_print.scss +74 -0
- data/vendor/{frameworks/twitter/bootstrap/progress-bars.scss → assets/stylesheets/twitter/bootstrap/_progress-bars.scss} +40 -44
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +77 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +83 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +242 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +43 -0
- data/vendor/{frameworks/twitter/bootstrap/tooltip.scss → assets/stylesheets/twitter/bootstrap/_tooltip.scss} +20 -19
- data/vendor/assets/stylesheets/twitter/bootstrap/_type.scss +253 -0
- data/vendor/{frameworks/twitter/bootstrap/utilities.scss → assets/stylesheets/twitter/bootstrap/_utilities.scss} +17 -5
- data/vendor/assets/stylesheets/twitter/bootstrap/_variables.scss +416 -0
- data/vendor/{frameworks/twitter/bootstrap/wells.scss → assets/stylesheets/twitter/bootstrap/_wells.scss} +5 -5
- metadata +49 -53
- data/lib/bootstrap-rails/ie_hex_str.rb +0 -16
- data/test/ie_hex_str_test.rb +0 -26
- data/vendor/assets/images/twitter/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/twitter/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +0 -335
- data/vendor/assets/stylesheets/twitter/bootstrap-responsive.scss +0 -1
- data/vendor/frameworks/twitter/bootstrap.scss +0 -1
- data/vendor/frameworks/twitter/bootstrap/alerts.scss +0 -79
- data/vendor/frameworks/twitter/bootstrap/bootstrap.scss +0 -63
- data/vendor/frameworks/twitter/bootstrap/breadcrumbs.scss +0 -24
- data/vendor/frameworks/twitter/bootstrap/button-groups.scss +0 -230
- data/vendor/frameworks/twitter/bootstrap/buttons.scss +0 -228
- data/vendor/frameworks/twitter/bootstrap/carousel.scss +0 -158
- data/vendor/frameworks/twitter/bootstrap/forms.scss +0 -690
- data/vendor/frameworks/twitter/bootstrap/grid.scss +0 -21
- data/vendor/frameworks/twitter/bootstrap/hero-unit.scss +0 -25
- data/vendor/frameworks/twitter/bootstrap/labels-badges.scss +0 -83
- data/vendor/frameworks/twitter/bootstrap/layouts.scss +0 -16
- data/vendor/frameworks/twitter/bootstrap/mixins.scss +0 -704
- data/vendor/frameworks/twitter/bootstrap/modals.scss +0 -95
- data/vendor/frameworks/twitter/bootstrap/navbar.scss +0 -496
- data/vendor/frameworks/twitter/bootstrap/navs.scss +0 -409
- data/vendor/frameworks/twitter/bootstrap/pager.scss +0 -43
- data/vendor/frameworks/twitter/bootstrap/pagination.scss +0 -123
- data/vendor/frameworks/twitter/bootstrap/reset.scss +0 -216
- data/vendor/frameworks/twitter/bootstrap/responsive-1200px-min.scss +0 -28
- data/vendor/frameworks/twitter/bootstrap/responsive-767px-max.scss +0 -189
- data/vendor/frameworks/twitter/bootstrap/responsive-768px-979px.scss +0 -19
- data/vendor/frameworks/twitter/bootstrap/responsive-navbar.scss +0 -189
- data/vendor/frameworks/twitter/bootstrap/responsive-utilities.scss +0 -59
- data/vendor/frameworks/twitter/bootstrap/responsive.scss +0 -48
- data/vendor/frameworks/twitter/bootstrap/scaffolding.scss +0 -53
- data/vendor/frameworks/twitter/bootstrap/sprites.scss +0 -197
- data/vendor/frameworks/twitter/bootstrap/tables.scss +0 -235
- data/vendor/frameworks/twitter/bootstrap/thumbnails.scss +0 -53
- data/vendor/frameworks/twitter/bootstrap/type.scss +0 -246
- data/vendor/frameworks/twitter/bootstrap/variables.scss +0 -295
@@ -0,0 +1,200 @@
|
|
1
|
+
//
|
2
|
+
// Glyphicons
|
3
|
+
// -----------------------------------------------------------------------------
|
4
|
+
|
5
|
+
// About
|
6
|
+
//
|
7
|
+
// Glyphicons font-based icons require you to include all relevant font files,
|
8
|
+
// found in the Bootstrap repo under /fonts/. Files are referenced relative to
|
9
|
+
// the compiled CSS.
|
10
|
+
//
|
11
|
+
// Basic usage
|
12
|
+
//
|
13
|
+
// Since icons are fonts, they can be placed anywhere text is placed. To use,
|
14
|
+
// create an inline element with the appropriate classes, like so:
|
15
|
+
//
|
16
|
+
// <a href="#"><span class="glyphicon glyphicon-star"></span> Star</a>
|
17
|
+
//
|
18
|
+
// Use them in links, buttons, headings, and more.
|
19
|
+
|
20
|
+
|
21
|
+
// Import the fonts
|
22
|
+
@font-face {
|
23
|
+
font-family: 'Glyphicons Halflings';
|
24
|
+
src: font-url('#{$glyphicons-font-path}/glyphiconshalflings-regular.eot');
|
25
|
+
src: font-url('#{$glyphicons-font-path}/glyphiconshalflings-regular.eot?#iefix') format('embedded-opentype'),
|
26
|
+
font-url('#{$glyphicons-font-path}/glyphiconshalflings-regular.woff') format('woff'),
|
27
|
+
font-url('#{$glyphicons-font-path}/glyphiconshalflings-regular.ttf') format('truetype'),
|
28
|
+
font-url('#{$glyphicons-font-path}/glyphiconshalflings-regular.svg#glyphicons_halflingsregular') format('svg');
|
29
|
+
}
|
30
|
+
|
31
|
+
// Catchall baseclass
|
32
|
+
.glyphicon:before {
|
33
|
+
font-family: 'Glyphicons Halflings';
|
34
|
+
font-style: normal;
|
35
|
+
font-weight: normal;
|
36
|
+
line-height: 1;
|
37
|
+
-webkit-font-smoothing: antialiased;
|
38
|
+
}
|
39
|
+
|
40
|
+
// Individual icons
|
41
|
+
.glyphicon-glass:before { content: "\e001"; }
|
42
|
+
.glyphicon-music:before { content: "\e002"; }
|
43
|
+
.glyphicon-search:before { content: "\e003"; }
|
44
|
+
.glyphicon-envelope:before { content: "\2709"; }
|
45
|
+
.glyphicon-heart:before { content: "\e005"; }
|
46
|
+
.glyphicon-star:before { content: "\e006"; }
|
47
|
+
.glyphicon-star-empty:before { content: "\e007"; }
|
48
|
+
.glyphicon-user:before { content: "\e008"; }
|
49
|
+
.glyphicon-film:before { content: "\e009"; }
|
50
|
+
.glyphicon-th-large:before { content: "\e010"; }
|
51
|
+
.glyphicon-th:before { content: "\e011"; }
|
52
|
+
.glyphicon-th-list:before { content: "\e012"; }
|
53
|
+
.glyphicon-ok:before { content: "\e013"; }
|
54
|
+
.glyphicon-remove:before { content: "\e014"; }
|
55
|
+
.glyphicon-zoom-in:before { content: "\e015"; }
|
56
|
+
.glyphicon-zoom-out:before { content: "\e016"; }
|
57
|
+
.glyphicon-off:before { content: "\e017"; }
|
58
|
+
.glyphicon-signal:before { content: "\e018"; }
|
59
|
+
.glyphicon-cog:before { content: "\e019"; }
|
60
|
+
.glyphicon-trash:before { content: "\e020"; }
|
61
|
+
.glyphicon-home:before { content: "\e021"; }
|
62
|
+
.glyphicon-file:before { content: "\e022"; }
|
63
|
+
.glyphicon-time:before { content: "\e023"; }
|
64
|
+
.glyphicon-road:before { content: "\e024"; }
|
65
|
+
.glyphicon-download-alt:before { content: "\e025"; }
|
66
|
+
.glyphicon-download:before { content: "\e026"; }
|
67
|
+
.glyphicon-upload:before { content: "\e027"; }
|
68
|
+
.glyphicon-inbox:before { content: "\e028"; }
|
69
|
+
.glyphicon-play-circle:before { content: "\e029"; }
|
70
|
+
.glyphicon-repeat:before { content: "\e030"; }
|
71
|
+
.glyphicon-refresh:before { content: "\e031"; }
|
72
|
+
.glyphicon-list-alt:before { content: "\e032"; }
|
73
|
+
.glyphicon-lock:before { content: "\e033"; }
|
74
|
+
.glyphicon-flag:before { content: "\e034"; }
|
75
|
+
.glyphicon-headphones:before { content: "\e035"; }
|
76
|
+
.glyphicon-volume-off:before { content: "\e036"; }
|
77
|
+
.glyphicon-volume-down:before { content: "\e037"; }
|
78
|
+
.glyphicon-volume-up:before { content: "\e038"; }
|
79
|
+
.glyphicon-qrcode:before { content: "\e039"; }
|
80
|
+
.glyphicon-barcode:before { content: "\e040"; }
|
81
|
+
.glyphicon-tag:before { content: "\e041"; }
|
82
|
+
.glyphicon-tags:before { content: "\e042"; }
|
83
|
+
.glyphicon-book:before { content: "\e043"; }
|
84
|
+
.glyphicon-bookmark:before { content: "\e044"; }
|
85
|
+
.glyphicon-print:before { content: "\e045"; }
|
86
|
+
.glyphicon-camera:before { content: "\e046"; }
|
87
|
+
.glyphicon-font:before { content: "\e047"; }
|
88
|
+
.glyphicon-bold:before { content: "\e048"; }
|
89
|
+
.glyphicon-italic:before { content: "\e049"; }
|
90
|
+
.glyphicon-text-height:before { content: "\e050"; }
|
91
|
+
.glyphicon-text-width:before { content: "\e051"; }
|
92
|
+
.glyphicon-align-left:before { content: "\e052"; }
|
93
|
+
.glyphicon-align-center:before { content: "\e053"; }
|
94
|
+
.glyphicon-align-right:before { content: "\e054"; }
|
95
|
+
.glyphicon-align-justify:before { content: "\e055"; }
|
96
|
+
.glyphicon-list:before { content: "\e056"; }
|
97
|
+
.glyphicon-indent-left:before { content: "\e057"; }
|
98
|
+
.glyphicon-indent-right:before { content: "\e058"; }
|
99
|
+
.glyphicon-facetime-video:before { content: "\e059"; }
|
100
|
+
.glyphicon-picture:before { content: "\e060"; }
|
101
|
+
.glyphicon-pencil:before { content: "\270f"; }
|
102
|
+
.glyphicon-map-marker:before { content: "\e062"; }
|
103
|
+
.glyphicon-adjust:before { content: "\e063"; }
|
104
|
+
.glyphicon-tint:before { content: "\e064"; }
|
105
|
+
.glyphicon-edit:before { content: "\e065"; }
|
106
|
+
.glyphicon-share:before { content: "\e066"; }
|
107
|
+
.glyphicon-check:before { content: "\e067"; }
|
108
|
+
.glyphicon-move:before { content: "\e068"; }
|
109
|
+
.glyphicon-step-backward:before { content: "\e069"; }
|
110
|
+
.glyphicon-fast-backward:before { content: "\e070"; }
|
111
|
+
.glyphicon-backward:before { content: "\e071"; }
|
112
|
+
.glyphicon-play:before { content: "\e072"; }
|
113
|
+
.glyphicon-pause:before { content: "\e073"; }
|
114
|
+
.glyphicon-stop:before { content: "\e074"; }
|
115
|
+
.glyphicon-forward:before { content: "\e075"; }
|
116
|
+
.glyphicon-fast-forward:before { content: "\e076"; }
|
117
|
+
.glyphicon-step-forward:before { content: "\e077"; }
|
118
|
+
.glyphicon-eject:before { content: "\e078"; }
|
119
|
+
.glyphicon-chevron-left:before { content: "\e079"; }
|
120
|
+
.glyphicon-chevron-right:before { content: "\e080"; }
|
121
|
+
.glyphicon-plus-sign:before { content: "\e081"; }
|
122
|
+
.glyphicon-minus-sign:before { content: "\e082"; }
|
123
|
+
.glyphicon-remove-sign:before { content: "\e083"; }
|
124
|
+
.glyphicon-ok-sign:before { content: "\e084"; }
|
125
|
+
.glyphicon-question-sign:before { content: "\e085"; }
|
126
|
+
.glyphicon-info-sign:before { content: "\e086"; }
|
127
|
+
.glyphicon-screenshot:before { content: "\e087"; }
|
128
|
+
.glyphicon-remove-circle:before { content: "\e088"; }
|
129
|
+
.glyphicon-ok-circle:before { content: "\e089"; }
|
130
|
+
.glyphicon-ban-circle:before { content: "\e090"; }
|
131
|
+
.glyphicon-arrow-left:before { content: "\e091"; }
|
132
|
+
.glyphicon-arrow-right:before { content: "\e092"; }
|
133
|
+
.glyphicon-arrow-up:before { content: "\e093"; }
|
134
|
+
.glyphicon-arrow-down:before { content: "\e094"; }
|
135
|
+
.glyphicon-share-alt:before { content: "\e095"; }
|
136
|
+
.glyphicon-resize-full:before { content: "\e096"; }
|
137
|
+
.glyphicon-resize-small:before { content: "\e097"; }
|
138
|
+
.glyphicon-plus:before { content: "\002b"; }
|
139
|
+
.glyphicon-minus:before { content: "\2212"; }
|
140
|
+
.glyphicon-asterisk:before { content: "\002a"; }
|
141
|
+
.glyphicon-exclamation-sign:before { content: "\e101"; }
|
142
|
+
.glyphicon-gift:before { content: "\e102"; }
|
143
|
+
.glyphicon-leaf:before { content: "\e103"; }
|
144
|
+
.glyphicon-fire:before { content: "\e104"; }
|
145
|
+
.glyphicon-eye-open:before { content: "\e105"; }
|
146
|
+
.glyphicon-eye-close:before { content: "\e106"; }
|
147
|
+
.glyphicon-warning-sign:before { content: "\e107"; }
|
148
|
+
.glyphicon-plane:before { content: "\e108"; }
|
149
|
+
.glyphicon-calendar:before { content: "\e109"; }
|
150
|
+
.glyphicon-random:before { content: "\e110"; }
|
151
|
+
.glyphicon-comment:before { content: "\e111"; }
|
152
|
+
.glyphicon-magnet:before { content: "\e112"; }
|
153
|
+
.glyphicon-chevron-up:before { content: "\e113"; }
|
154
|
+
.glyphicon-chevron-down:before { content: "\e114"; }
|
155
|
+
.glyphicon-retweet:before { content: "\e115"; }
|
156
|
+
.glyphicon-shopping-cart:before { content: "\e116"; }
|
157
|
+
.glyphicon-folder-close:before { content: "\e117"; }
|
158
|
+
.glyphicon-folder-open:before { content: "\e118"; }
|
159
|
+
.glyphicon-resize-vertical:before { content: "\e119"; }
|
160
|
+
.glyphicon-resize-horizontal:before { content: "\e120"; }
|
161
|
+
.glyphicon-hdd:before { content: "\e121"; }
|
162
|
+
.glyphicon-bullhorn:before { content: "\e122"; }
|
163
|
+
.glyphicon-bell:before { content: "\e123"; }
|
164
|
+
.glyphicon-certificate:before { content: "\e124"; }
|
165
|
+
.glyphicon-thumbs-up:before { content: "\e125"; }
|
166
|
+
.glyphicon-thumbs-down:before { content: "\e126"; }
|
167
|
+
.glyphicon-hand-right:before { content: "\e127"; }
|
168
|
+
.glyphicon-hand-left:before { content: "\e128"; }
|
169
|
+
.glyphicon-hand-up:before { content: "\e129"; }
|
170
|
+
.glyphicon-hand-down:before { content: "\e130"; }
|
171
|
+
.glyphicon-circle-arrow-right:before { content: "\e131"; }
|
172
|
+
.glyphicon-circle-arrow-left:before { content: "\e132"; }
|
173
|
+
.glyphicon-circle-arrow-up:before { content: "\e133"; }
|
174
|
+
.glyphicon-circle-arrow-down:before { content: "\e134"; }
|
175
|
+
.glyphicon-globe:before { content: "\e135"; }
|
176
|
+
.glyphicon-wrench:before { content: "\e136"; }
|
177
|
+
.glyphicon-tasks:before { content: "\e137"; }
|
178
|
+
.glyphicon-filter:before { content: "\e138"; }
|
179
|
+
.glyphicon-briefcase:before { content: "\e139"; }
|
180
|
+
.glyphicon-fullscreen:before { content: "\e140"; }
|
181
|
+
.glyphicon-dashboard:before { content: "\e141"; }
|
182
|
+
.glyphicon-paperclip:before { content: "\e142"; }
|
183
|
+
.glyphicon-heart-empty:before { content: "\e143"; }
|
184
|
+
.glyphicon-link:before { content: "\e144"; }
|
185
|
+
.glyphicon-phone:before { content: "\e145"; }
|
186
|
+
.glyphicon-pushpin:before { content: "\e146"; }
|
187
|
+
.glyphicon-euro:before { content: "\20ac"; }
|
188
|
+
.glyphicon-usd:before { content: "\e148"; }
|
189
|
+
.glyphicon-gbp:before { content: "\e149"; }
|
190
|
+
.glyphicon-sort:before { content: "\e150"; }
|
191
|
+
.glyphicon-sort-by-alphabet:before { content: "\e151"; }
|
192
|
+
.glyphicon-sort-by-alphabet-alt:before { content: "\e152"; }
|
193
|
+
.glyphicon-sort-by-order:before { content: "\e153"; }
|
194
|
+
.glyphicon-sort-by-order-alt:before { content: "\e154"; }
|
195
|
+
.glyphicon-sort-by-attributes:before { content: "\e155"; }
|
196
|
+
.glyphicon-sort-by-attributes-alt:before { content: "\e156"; }
|
197
|
+
.glyphicon-unchecked:before { content: "\e157"; }
|
198
|
+
.glyphicon-expand:before { content: "\e158"; }
|
199
|
+
.glyphicon-collapse:before { content: "\e159"; }
|
200
|
+
.glyphicon-collapse-top:before { content: "\e160"; }
|
@@ -0,0 +1,65 @@
|
|
1
|
+
//
|
2
|
+
// Grid system
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Set the container width, and override it for fixed navbars in media queries
|
7
|
+
.container {
|
8
|
+
@include container-fixed();
|
9
|
+
}
|
10
|
+
|
11
|
+
// Mobile-first defaults
|
12
|
+
.row {
|
13
|
+
@include make-row();
|
14
|
+
}
|
15
|
+
|
16
|
+
|
17
|
+
// Common styles for small and large grid columns
|
18
|
+
@mixin col {
|
19
|
+
position: relative;
|
20
|
+
// Float and set width: 100%; for easy stacking on mobile devices
|
21
|
+
float: left;
|
22
|
+
width: 100%;
|
23
|
+
// Prevent columns from collapsing when empty
|
24
|
+
min-height: 1px;
|
25
|
+
// Inner gutter via padding
|
26
|
+
padding-left: ($grid-gutter-width / 2);
|
27
|
+
padding-right: ($grid-gutter-width / 2);
|
28
|
+
}
|
29
|
+
|
30
|
+
.col { @include col }
|
31
|
+
|
32
|
+
// Generate small grid classes first
|
33
|
+
@include generate-grid-columns($grid-columns);
|
34
|
+
|
35
|
+
// Then generate the larger grid classes via media query
|
36
|
+
@media screen and (min-width: $screen-small) {
|
37
|
+
@include generate-large-grid-columns($grid-columns);
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
// Responsive: Tablets and up
|
42
|
+
@media screen and (min-width: $screen-tablet) {
|
43
|
+
.container {
|
44
|
+
max-width: 728px;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
// Responsive: Desktops and up
|
49
|
+
@media screen and (min-width: $screen-desktop) {
|
50
|
+
.container {
|
51
|
+
max-width: 940px;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
// Responsive: Large desktops and up
|
56
|
+
@media screen and (min-width: $screen-large-desktop) {
|
57
|
+
.container {
|
58
|
+
max-width: 1170px;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
// Reset utility classes due to specificity
|
63
|
+
/*[class*="col-span-"].pull-right {
|
64
|
+
float: right;
|
65
|
+
}*/
|
@@ -0,0 +1,32 @@
|
|
1
|
+
//
|
2
|
+
// Jumbotron
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.jumbotron {
|
7
|
+
padding: 30px;
|
8
|
+
margin-bottom: 30px;
|
9
|
+
font-size: ($font-size-base * 1.5);
|
10
|
+
font-weight: 200;
|
11
|
+
line-height: ($line-height-base * 1.5);
|
12
|
+
color: $jumbotron-lead-color;
|
13
|
+
background-color: $jumbotron-bg;
|
14
|
+
h1 {
|
15
|
+
line-height: 1;
|
16
|
+
color: $jumbotron-heading-color;
|
17
|
+
}
|
18
|
+
p {
|
19
|
+
line-height: 1.4;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
@media screen and (min-width: $screen-tablet) {
|
24
|
+
.jumbotron {
|
25
|
+
padding: 50px 60px;
|
26
|
+
border-radius: $border-radius-large; // Only round corners at higher resolutions
|
27
|
+
|
28
|
+
h1 {
|
29
|
+
font-size: ($font-size-base * 4.5);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
//
|
2
|
+
// Labels
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
.label {
|
6
|
+
display: inline;
|
7
|
+
padding: .25em .6em;
|
8
|
+
font-size: 75%;
|
9
|
+
font-weight: 500;
|
10
|
+
line-height: 1;
|
11
|
+
color: #fff;
|
12
|
+
text-align: center;
|
13
|
+
white-space: nowrap;
|
14
|
+
vertical-align: middle;
|
15
|
+
background-color: $gray-light;
|
16
|
+
border-radius: .25em;
|
17
|
+
|
18
|
+
// Add hover effects, but only for links
|
19
|
+
&[href] {
|
20
|
+
&:hover,
|
21
|
+
&:focus {
|
22
|
+
color: #fff;
|
23
|
+
text-decoration: none;
|
24
|
+
cursor: pointer;
|
25
|
+
background-color: darken($gray-light, 10%);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
// Colors
|
31
|
+
// Contextual variations (linked labels get darker on :hover)
|
32
|
+
.label-danger {
|
33
|
+
background-color: $label-danger-bg;
|
34
|
+
&[href] {
|
35
|
+
&:hover,
|
36
|
+
&:focus {
|
37
|
+
background-color: darken($label-danger-bg, 10%);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
.label-success {
|
43
|
+
background-color: $label-success-bg;
|
44
|
+
&[href] {
|
45
|
+
&:hover,
|
46
|
+
&:focus {
|
47
|
+
background-color: darken($label-success-bg, 10%);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.label-warning {
|
53
|
+
background-color: $label-warning-bg;
|
54
|
+
&[href] {
|
55
|
+
&:hover,
|
56
|
+
&:focus {
|
57
|
+
background-color: darken($label-warning-bg, 10%);
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
.label-info {
|
63
|
+
background-color: $label-info-bg;
|
64
|
+
&[href] {
|
65
|
+
&:hover,
|
66
|
+
&:focus {
|
67
|
+
background-color: darken($label-info-bg, 10%);
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
//
|
2
|
+
// List groups
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// Base class
|
6
|
+
//
|
7
|
+
// Easily usable on <ul>, <ol>, or <div>.
|
8
|
+
.list-group {
|
9
|
+
// No need to set list-style: none; since .list-group-item is block level
|
10
|
+
margin: 0 0 20px; // reset all margins because ul and ol
|
11
|
+
background-color: $list-group-bg;
|
12
|
+
}
|
13
|
+
|
14
|
+
// Individual list items
|
15
|
+
// -------------------------
|
16
|
+
|
17
|
+
.list-group-item {
|
18
|
+
position: relative;
|
19
|
+
display: block;
|
20
|
+
padding: 10px 30px 10px 15px;
|
21
|
+
// Place the border on the list items and negative margin up for better styling
|
22
|
+
margin-bottom: -1px;
|
23
|
+
border: 1px solid $list-group-border;
|
24
|
+
}
|
25
|
+
// Round the first and last items
|
26
|
+
.list-group-item:first-child {
|
27
|
+
@include border-top-radius($border-radius-base);
|
28
|
+
}
|
29
|
+
.list-group-item:last-child {
|
30
|
+
margin-bottom: 0;
|
31
|
+
@include border-bottom-radius($border-radius-base);
|
32
|
+
}
|
33
|
+
|
34
|
+
|
35
|
+
// Custom content options
|
36
|
+
// -------------------------
|
37
|
+
|
38
|
+
.list-group-item-heading {
|
39
|
+
margin-top: 0;
|
40
|
+
margin-bottom: 5px;
|
41
|
+
}
|
42
|
+
.list-group-item-text {
|
43
|
+
margin-bottom: 0;
|
44
|
+
line-height: 1.3;
|
45
|
+
}
|
46
|
+
|
47
|
+
// Linked list items
|
48
|
+
// -------------------------
|
49
|
+
|
50
|
+
// Custom content within linked items
|
51
|
+
a.list-group-item {
|
52
|
+
.list-group-item-heading {
|
53
|
+
color: #333;
|
54
|
+
}
|
55
|
+
.list-group-item-text {
|
56
|
+
color: #555;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
// Hover state
|
61
|
+
a.list-group-item:hover,
|
62
|
+
a.list-group-item:focus {
|
63
|
+
text-decoration: none;
|
64
|
+
background-color: $list-group-hover-bg;
|
65
|
+
}
|
66
|
+
|
67
|
+
// Active class on item itself, not parent
|
68
|
+
a.list-group-item.active {
|
69
|
+
z-index: 2; // Place active items above their siblings for proper border styling
|
70
|
+
color: $list-group-active-color;
|
71
|
+
background-color: $list-group-active-bg;
|
72
|
+
border-color: $list-group-active-border;
|
73
|
+
|
74
|
+
// Force color to inherit for custom content
|
75
|
+
.list-group-item-heading {
|
76
|
+
color: inherit;
|
77
|
+
}
|
78
|
+
.list-group-item-text {
|
79
|
+
color: lighten($list-group-active-bg, 40%);
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
// Chevrons and badges within list items
|
84
|
+
// -------------------------
|
85
|
+
|
86
|
+
.list-group-item > .badge,
|
87
|
+
.list-group-item > .glyphicon-chevron-right {
|
88
|
+
float: right;
|
89
|
+
margin-right: -15px;
|
90
|
+
}
|
91
|
+
.list-group-item > .glyphicon-chevron-right {
|
92
|
+
margin-right: -15px;
|
93
|
+
}
|
94
|
+
.list-group-item > .glyphicon + .badge {
|
95
|
+
margin-right: 5px;
|
96
|
+
}
|