bootstrap-sass-rails 2.0.0.0 → 2.0.0.1
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/lib/bootstrap/sass/rails/version.rb +1 -1
- data/test/dummy/log/test.log +462 -0
- data/test/dummy/tmp/cache/assets/C29/E80/sprockets%2F8f076727207424919c7170c7157bbe37 +1102 -0
- data/test/dummy/tmp/cache/assets/D3F/FA0/sprockets%2F22c8366fdbaaa2872b202dfe7376629f +0 -0
- data/test/dummy/tmp/cache/assets/E5F/300/sprockets%2F243a2fff0dbb8aeec3dd579b4ff7c81b +1048 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_patterns.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_reset.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_scaffolding.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_type.scssc +0 -0
- data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_variables.scssc +0 -0
- data/test/dummy/tmp/cache/sass/766526f7d87ffdf0401dde0ec8d49f976470392d/_bootstrap.scssc +0 -0
- data/test/dummy/tmp/cache/sass/766526f7d87ffdf0401dde0ec8d49f976470392d/bootstrap.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/766526f7d87ffdf0401dde0ec8d49f976470392d/bootstrap.cssc +0 -0
- data/test/dummy/tmp/cache/sass/8f44dddc3cc4868f43c2a4153ce3876663527256/_bootstrap.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8f44dddc3cc4868f43c2a4153ce3876663527256/bootstrap.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/95eca8acb76bbb914a4c6988012b73e61e9bcc23/application.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/95eca8acb76bbb914a4c6988012b73e61e9bcc23/individual.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_patterns.scssc +0 -0
- data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_reset.scssc +0 -0
- data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_scaffolding.scssc +0 -0
- data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_type.scssc +0 -0
- data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_variables.scssc +0 -0
- data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/mixins.scssc +0 -0
- data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/variables.css.scssc +0 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +217 -217
- metadata +68 -10
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -95,31 +95,31 @@
|
|
95
95
|
// --------------------------------------------------
|
96
96
|
|
97
97
|
@mixin font-family-serif() {
|
98
|
-
|
99
|
-
|
98
|
+
font-family: Georgia, "Times New Roman", Times, serif;
|
99
|
+
}
|
100
100
|
@mixin font-family-sans-serif() {
|
101
|
-
|
102
|
-
|
101
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
102
|
+
}
|
103
103
|
@mixin font-family-monospace() {
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
104
|
+
font-family: Menlo, Monaco, "Courier New", monospace;
|
105
|
+
}
|
106
|
+
@mixin font-shorthand($size: $baseFontSize, $weight: normal, $lineHeight: $baseLineHeight) {
|
107
|
+
font-size: $size;
|
108
|
+
font-weight: $weight;
|
109
|
+
line-height: $lineHeight;
|
110
|
+
}
|
111
|
+
@mixin font-serif($size: $baseFontSize, $weight: normal, $lineHeight: $baseLineHeight) {
|
112
|
+
@include font-family-serif();
|
113
|
+
@include font-shorthand($size, $weight, $lineHeight);
|
114
|
+
}
|
115
|
+
@mixin font-sans-serif($size: $baseFontSize, $weight: normal, $lineHeight: $baseLineHeight) {
|
116
|
+
@include font-family-sans-serif();
|
117
|
+
@include font-shorthand($size, $weight, $lineHeight);
|
118
|
+
}
|
119
|
+
@mixin monospace($size: $baseFontSize, $weight: normal, $lineHeight: $baseLineHeight) {
|
120
|
+
@include font-family-monospace();
|
121
|
+
@include font-shorthand($size, $weight, $lineHeight);
|
122
|
+
}
|
123
123
|
|
124
124
|
|
125
125
|
|
@@ -137,121 +137,121 @@
|
|
137
137
|
|
138
138
|
// Le grid system
|
139
139
|
// -------------------------
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
140
|
+
// Setup the mixins to be used
|
141
|
+
@mixin gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, $columns) {
|
142
|
+
width: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1));
|
143
|
+
}
|
144
|
+
@mixin gridSystem-offset($gridColumnWidth, $gridGutterWidth, $columns) {
|
145
|
+
margin-left: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1)) + ($gridGutterWidth * 2);
|
146
|
+
}
|
147
|
+
@mixin gridSystem-gridColumn($gridGutterWidth) {
|
148
|
+
float: left;
|
149
|
+
margin-left: $gridGutterWidth;
|
150
|
+
}
|
151
|
+
// Take these values and mixins, and make 'em do their thang
|
152
|
+
@mixin gridSystem-generate($gridColumns, $gridColumnWidth, $gridGutterWidth) {
|
153
|
+
// Row surrounds the columns
|
154
|
+
.row {
|
155
|
+
margin-left: $gridGutterWidth * -1;
|
156
|
+
@include clearfix();
|
150
157
|
}
|
151
|
-
//
|
152
|
-
|
153
|
-
|
154
|
-
.row {
|
155
|
-
margin-left: $gridGutterWidth * -1;
|
156
|
-
@include clearfix();
|
157
|
-
}
|
158
|
-
// Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7, thanks $dhg)
|
159
|
-
[class*="span"] {
|
160
|
-
@include gridSystem-gridColumn($gridGutterWidth);
|
161
|
-
}
|
162
|
-
// Default columns
|
163
|
-
.span1 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 1); }
|
164
|
-
.span2 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 2); }
|
165
|
-
.span3 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 3); }
|
166
|
-
.span4 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 4); }
|
167
|
-
.span5 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 5); }
|
168
|
-
.span6 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 6); }
|
169
|
-
.span7 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 7); }
|
170
|
-
.span8 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 8); }
|
171
|
-
.span9 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 9); }
|
172
|
-
.span10 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 10); }
|
173
|
-
.span11 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 11); }
|
174
|
-
.span12,
|
175
|
-
.container { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 12); }
|
176
|
-
// Offset column options
|
177
|
-
.offset1 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 1); }
|
178
|
-
.offset2 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 2); }
|
179
|
-
.offset3 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 3); }
|
180
|
-
.offset4 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 4); }
|
181
|
-
.offset5 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 5); }
|
182
|
-
.offset6 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 6); }
|
183
|
-
.offset7 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 7); }
|
184
|
-
.offset8 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 8); }
|
185
|
-
.offset9 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 9); }
|
186
|
-
.offset10 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 10); }
|
187
|
-
.offset11 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 11); }
|
158
|
+
// Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7, thanks $dhg)
|
159
|
+
[class*="span"] {
|
160
|
+
@include gridSystem-gridColumn($gridGutterWidth);
|
188
161
|
}
|
162
|
+
// Default columns
|
163
|
+
.span1 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 1); }
|
164
|
+
.span2 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 2); }
|
165
|
+
.span3 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 3); }
|
166
|
+
.span4 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 4); }
|
167
|
+
.span5 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 5); }
|
168
|
+
.span6 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 6); }
|
169
|
+
.span7 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 7); }
|
170
|
+
.span8 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 8); }
|
171
|
+
.span9 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 9); }
|
172
|
+
.span10 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 10); }
|
173
|
+
.span11 { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 11); }
|
174
|
+
.span12,
|
175
|
+
.container { @include gridSystem-columns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 12); }
|
176
|
+
// Offset column options
|
177
|
+
.offset1 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 1); }
|
178
|
+
.offset2 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 2); }
|
179
|
+
.offset3 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 3); }
|
180
|
+
.offset4 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 4); }
|
181
|
+
.offset5 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 5); }
|
182
|
+
.offset6 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 6); }
|
183
|
+
.offset7 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 7); }
|
184
|
+
.offset8 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 8); }
|
185
|
+
.offset9 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 9); }
|
186
|
+
.offset10 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 10); }
|
187
|
+
.offset11 { @include gridSystem-offset($gridColumnWidth, $gridGutterWidth, 11); }
|
188
|
+
}
|
189
189
|
|
190
190
|
// Fluid grid system
|
191
191
|
// -------------------------
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
}
|
214
|
-
// Default columns
|
215
|
-
.span1 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 1); }
|
216
|
-
.span2 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 2); }
|
217
|
-
.span3 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 3); }
|
218
|
-
.span4 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 4); }
|
219
|
-
.span5 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 5); }
|
220
|
-
.span6 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 6); }
|
221
|
-
.span7 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 7); }
|
222
|
-
.span8 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 8); }
|
223
|
-
.span9 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 9); }
|
224
|
-
.span10 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 10); }
|
225
|
-
.span11 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 11); }
|
226
|
-
.span12 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 12); }
|
192
|
+
// Setup the mixins to be used
|
193
|
+
@mixin fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, $columns) {
|
194
|
+
width: ($fluidGridColumnWidth * $columns) + ($fluidGridGutterWidth * ($columns - 1));
|
195
|
+
}
|
196
|
+
@mixin fluidGridSystem-gridColumn($fluidGridGutterWidth) {
|
197
|
+
float: left;
|
198
|
+
margin-left: $fluidGridGutterWidth;
|
199
|
+
}
|
200
|
+
// Take these values and mixins, and make 'em do their thang
|
201
|
+
@mixin fluidGridSystem-generate($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth) {
|
202
|
+
// Row surrounds the columns
|
203
|
+
.row-fluid {
|
204
|
+
width: 100%;
|
205
|
+
@include clearfix();
|
206
|
+
|
207
|
+
// Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7, thanks $dhg)
|
208
|
+
> [class*="span"] {
|
209
|
+
@include fluidGridSystem-gridColumn($fluidGridGutterWidth);
|
210
|
+
}
|
211
|
+
> [class*="span"]:first-child {
|
212
|
+
margin-left: 0;
|
227
213
|
}
|
214
|
+
// Default columns
|
215
|
+
.span1 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 1); }
|
216
|
+
.span2 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 2); }
|
217
|
+
.span3 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 3); }
|
218
|
+
.span4 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 4); }
|
219
|
+
.span5 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 5); }
|
220
|
+
.span6 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 6); }
|
221
|
+
.span7 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 7); }
|
222
|
+
.span8 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 8); }
|
223
|
+
.span9 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 9); }
|
224
|
+
.span10 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 10); }
|
225
|
+
.span11 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 11); }
|
226
|
+
.span12 { @include fluidGridSystem-columns($fluidGridGutterWidth, $fluidGridColumnWidth, 12); }
|
228
227
|
}
|
228
|
+
}
|
229
229
|
|
230
230
|
|
231
231
|
|
232
232
|
// Input grid system
|
233
233
|
// -------------------------
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
}
|
234
|
+
@mixin inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, $columns) {
|
235
|
+
width: (($gridColumnWidth) * $columns) + ($gridGutterWidth * ($columns - 1)) - 10;
|
236
|
+
}
|
237
|
+
@mixin inputGridSystem-generate($gridColumns, $gridColumnWidth, $gridGutterWidth) {
|
238
|
+
input,
|
239
|
+
textarea,
|
240
|
+
.uneditable-input {
|
241
|
+
&.span1 { @include inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 1); }
|
242
|
+
&.span2 { @include inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 2); }
|
243
|
+
&.span3 { @include inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 3); }
|
244
|
+
&.span4 { @include inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 4); }
|
245
|
+
&.span5 { @include inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 5); }
|
246
|
+
&.span6 { @include inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 6); }
|
247
|
+
&.span7 { @include inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 7); }
|
248
|
+
&.span8 { @include inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 8); }
|
249
|
+
&.span9 { @include inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 9); }
|
250
|
+
&.span10 { @include inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 10); }
|
251
|
+
&.span11 { @include inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 11); }
|
252
|
+
&.span12 { @include inputGridSystem-inputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, 12); }
|
254
253
|
}
|
254
|
+
}
|
255
255
|
|
256
256
|
|
257
257
|
|
@@ -395,66 +395,66 @@
|
|
395
395
|
}
|
396
396
|
|
397
397
|
// Gradients
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
398
|
+
@mixin gradient-horizontal($startColor: #555, $endColor: #333) {
|
399
|
+
background-color: $endColor;
|
400
|
+
background-image: -moz-linear-gradient(left, $startColor, $endColor); // FF 3.6+
|
401
|
+
background-image: -ms-linear-gradient(left, $startColor, $endColor); // IE10
|
402
|
+
background-image: -webkit-gradient(linear, 0 0, 100% 0, from($startColor), to($endColor)); // Safari 4+, Chrome 2+
|
403
|
+
background-image: -webkit-linear-gradient(left, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
404
|
+
background-image: -o-linear-gradient(left, $startColor, $endColor); // Opera 11.10
|
405
|
+
background-image: linear-gradient(left, $startColor, $endColor); // Le standard
|
406
|
+
background-repeat: repeat-x;
|
407
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-str($startColor)}, endColorstr=#{ie-hex-str($endColor)}, GradientType=1); // IE9 and down
|
408
|
+
}
|
409
|
+
@mixin gradient-vertical($startColor: #555, $endColor: #333) {
|
410
|
+
background-color: mix($startColor, $endColor, 60%);
|
411
|
+
background-image: -moz-linear-gradient(top, $startColor, $endColor); // FF 3.6+
|
412
|
+
background-image: -ms-linear-gradient(top, $startColor, $endColor); // IE10
|
413
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($startColor), to($endColor)); // Safari 4+, Chrome 2+
|
414
|
+
background-image: -webkit-linear-gradient(top, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
415
|
+
background-image: -o-linear-gradient(top, $startColor, $endColor); // Opera 11.10
|
416
|
+
background-image: linear-gradient(top, $startColor, $endColor); // The standard
|
417
|
+
background-repeat: repeat-x;
|
418
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-str($startColor)}, endColorstr=#{ie-hex-str($endColor)}, GradientType=0); // IE9 and down
|
419
|
+
}
|
420
|
+
@mixin gradient-directional($startColor: #555, $endColor: #333, $deg: 45deg) {
|
421
|
+
background-color: $endColor;
|
422
|
+
background-repeat: repeat-x;
|
423
|
+
background-image: -moz-linear-gradient($deg, $startColor, $endColor); // FF 3.6+
|
424
|
+
background-image: -ms-linear-gradient($deg, $startColor, $endColor); // IE10
|
425
|
+
background-image: -webkit-linear-gradient($deg, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
426
|
+
background-image: -o-linear-gradient($deg, $startColor, $endColor); // Opera 11.10
|
427
|
+
background-image: linear-gradient($deg, $startColor, $endColor); // The standard
|
428
|
+
}
|
429
|
+
@mixin gradient-vertical-three-colors($startColor: #00b3ee, $midColor: #7a43b6, $colorStop: 50%, $endColor: #c3325f) {
|
430
|
+
background-color: mix($midColor, $endColor, 80%);
|
431
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($startColor), color-stop($colorStop, $midColor), to($endColor));
|
432
|
+
background-image: -webkit-linear-gradient($startColor, $midColor $colorStop, $endColor);
|
433
|
+
background-image: -moz-linear-gradient(top, $startColor, $midColor $colorStop, $endColor);
|
434
|
+
background-image: -ms-linear-gradient($startColor, $midColor $colorStop, $endColor);
|
435
|
+
background-image: -o-linear-gradient($startColor, $midColor $colorStop, $endColor);
|
436
|
+
background-image: linear-gradient($startColor, $midColor $colorStop, $endColor);
|
437
|
+
background-repeat: no-repeat;
|
438
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-str($startColor)}, endColorstr=#{ie-hex-str($endColor)}, GradientType=0); // IE9 and down, gets no color-stop at all for proper fallback
|
439
|
+
}
|
440
|
+
@mixin gradient-radial($innerColor: #555, $outerColor: #333) {
|
441
|
+
background-color: $outerColor;
|
442
|
+
background-image: -webkit-gradient(radial, center center, 0, center center, 460, from($innerColor), to($outerColor));
|
443
|
+
background-image: -webkit-radial-gradient(circle, $innerColor, $outerColor);
|
444
|
+
background-image: -moz-radial-gradient(circle, $innerColor, $outerColor);
|
445
|
+
background-image: -ms-radial-gradient(circle, $innerColor, $outerColor);
|
446
|
+
background-repeat: no-repeat;
|
447
|
+
// Opera cannot do radial gradients yet
|
448
|
+
}
|
449
|
+
@mixin gradient-striped($color, $angle: -45deg) {
|
450
|
+
background-color: $color;
|
451
|
+
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,.15)), color-stop(.75, rgba(255,255,255,.15)), color-stop(.75, transparent), to(transparent));
|
452
|
+
background-image: -webkit-linear-gradient($angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
|
453
|
+
background-image: -moz-linear-gradient($angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
|
454
|
+
background-image: -ms-linear-gradient($angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
|
455
|
+
background-image: -o-linear-gradient($angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
|
456
|
+
background-image: linear-gradient($angle, rgba(255,255,255,.15) 25%, rgba(255,255,255,0) 25%, rgba(255,255,255,0) 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, rgba(255,255,255,0) 75%, rgba(255,255,255,0));
|
457
|
+
}
|
458
458
|
// Reset filters for IE
|
459
459
|
@mixin reset-filter() {
|
460
460
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
@@ -487,35 +487,35 @@
|
|
487
487
|
// POPOVER ARROWS
|
488
488
|
// -------------------------
|
489
489
|
// For tipsies and popovers
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
490
|
+
@mixin popoverArrow-top($arrowWidth: 5px) {
|
491
|
+
bottom: 0;
|
492
|
+
left: 50%;
|
493
|
+
margin-left: -$arrowWidth;
|
494
|
+
border-left: $arrowWidth solid transparent;
|
495
|
+
border-right: $arrowWidth solid transparent;
|
496
|
+
border-top: $arrowWidth solid $black;
|
497
|
+
}
|
498
|
+
@mixin popoverArrow-left($arrowWidth: 5px) {
|
499
|
+
top: 50%;
|
500
|
+
right: 0;
|
501
|
+
margin-top: -$arrowWidth;
|
502
|
+
border-top: $arrowWidth solid transparent;
|
503
|
+
border-bottom: $arrowWidth solid transparent;
|
504
|
+
border-left: $arrowWidth solid $black;
|
505
|
+
}
|
506
|
+
@mixin popoverArrow-bottom($arrowWidth: 5px) {
|
507
|
+
top: 0;
|
508
|
+
left: 50%;
|
509
|
+
margin-left: -$arrowWidth;
|
510
|
+
border-left: $arrowWidth solid transparent;
|
511
|
+
border-right: $arrowWidth solid transparent;
|
512
|
+
border-bottom: $arrowWidth solid $black;
|
513
|
+
}
|
514
|
+
@mixin popoverArrow-right($arrowWidth: 5px) {
|
515
|
+
top: 50%;
|
516
|
+
left: 0;
|
517
|
+
margin-top: -$arrowWidth;
|
518
|
+
border-top: $arrowWidth solid transparent;
|
519
|
+
border-bottom: $arrowWidth solid transparent;
|
520
|
+
border-right: $arrowWidth solid $black;
|
521
|
+
}
|