sass-twitter-bootstrap-rails 0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +24 -12
- data/lib/generators/bootstrap/install/install_generator.rb +26 -0
- data/lib/generators/bootstrap/install/templates/application.css.scss +1 -0
- data/lib/generators/bootstrap/install/templates/application.js +9 -0
- data/lib/sass-twitter-bootstrap/rails/version.rb +2 -3
- data/sass-twitter-bootstrap-rails.gemspec +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-alert.js +91 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-button.js +98 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-carousel.js +154 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-collapse.js +136 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js +92 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-modal.js +209 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-popover.js +95 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js +125 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-tab.js +130 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js +270 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-transition.js +51 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.js +271 -0
- data/vendor/assets/stylesheets/twitter/bootstrap.scss +49 -16
- data/vendor/assets/stylesheets/twitter/bootstrap/accordion.scss +28 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/alerts.scss +70 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/breadcrumbs.scss +22 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/button-groups.scss +146 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/buttons.scss +165 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/carousel.scss +121 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/close.scss +18 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/code.scss +43 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/component-animations.scss +18 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/dropdowns.scss +131 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/forms.scss +497 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/grid.scss +8 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/hero-unit.scss +20 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/labels.scss +16 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/layout.scss +15 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/mixins.scss +461 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/modals.scss +73 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/navbar.scss +292 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/navs.scss +344 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/pager.scss +30 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/pagination.scss +55 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/popovers.scss +49 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/progress-bars.scss +95 -0
- data/vendor/assets/stylesheets/twitter/{reset.scss → bootstrap/reset.scss} +37 -52
- data/vendor/assets/stylesheets/twitter/bootstrap/responsive.scss +323 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/scaffolding.scss +27 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/sprites.scss +156 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/tables.scss +123 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/thumbnails.scss +35 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/tooltip.scss +35 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/type.scss +214 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/utilities.scss +23 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/variables.scss +75 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/wells.scss +17 -0
- metadata +56 -23
- data/vendor/assets/javascripts/twitter/bootstrap-alerts.js +0 -113
- data/vendor/assets/javascripts/twitter/bootstrap-buttons.js +0 -62
- data/vendor/assets/javascripts/twitter/bootstrap-dropdown.js +0 -55
- data/vendor/assets/javascripts/twitter/bootstrap-modal.js +0 -260
- data/vendor/assets/javascripts/twitter/bootstrap-popover.js +0 -86
- data/vendor/assets/javascripts/twitter/bootstrap-scrollspy.js +0 -107
- data/vendor/assets/javascripts/twitter/bootstrap-tabs.js +0 -80
- data/vendor/assets/javascripts/twitter/bootstrap-twipsy.js +0 -310
- data/vendor/assets/stylesheets/twitter/forms.scss +0 -478
- data/vendor/assets/stylesheets/twitter/mixins.scss +0 -220
- data/vendor/assets/stylesheets/twitter/patterns.scss +0 -1060
- data/vendor/assets/stylesheets/twitter/scaffolding.scss +0 -108
- data/vendor/assets/stylesheets/twitter/tables.scss +0 -224
- data/vendor/assets/stylesheets/twitter/type.scss +0 -187
- data/vendor/assets/stylesheets/twitter/variables.scss +0 -60
@@ -1,60 +0,0 @@
|
|
1
|
-
/* variables.scss
|
2
|
-
* Variables and mixins to pre-ignite any new web development project
|
3
|
-
* ------------------------------------------------------------------ */
|
4
|
-
|
5
|
-
|
6
|
-
// Links
|
7
|
-
$linkColor: #0069d6;
|
8
|
-
$linkColorHover: darken($linkColor, 15);
|
9
|
-
|
10
|
-
// Grays
|
11
|
-
$black: #000;
|
12
|
-
$grayDark: lighten($black, 25%);
|
13
|
-
$gray: lighten($black, 50%);
|
14
|
-
$grayLight: lighten($black, 75%);
|
15
|
-
$grayLighter: lighten($black, 90%);
|
16
|
-
$white: #fff;
|
17
|
-
|
18
|
-
// Accent Colors
|
19
|
-
$blue: #049CDB;
|
20
|
-
$blueDark: #0064CD;
|
21
|
-
$green: #46a546;
|
22
|
-
$red: #9d261d;
|
23
|
-
$yellow: #ffc40d;
|
24
|
-
$orange: #f89406;
|
25
|
-
$pink: #c3325f;
|
26
|
-
$purple: #7a43b6;
|
27
|
-
|
28
|
-
// Baseline grid
|
29
|
-
$basefont: 13px;
|
30
|
-
$baseline: 18px;
|
31
|
-
|
32
|
-
// Griditude
|
33
|
-
// Modify the grid styles in mixins.scss
|
34
|
-
$gridColumns: 16;
|
35
|
-
$gridColumnWidth: 40px;
|
36
|
-
$gridGutterWidth: 20px;
|
37
|
-
$extraSpace: ($gridGutterWidth * 2); // For our grid calculations
|
38
|
-
$siteWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
|
39
|
-
|
40
|
-
// Color Scheme
|
41
|
-
// Use this to roll your own color schemes if you like (unused by Bootstrap by default)
|
42
|
-
$baseColor: $blue; // Set a base color
|
43
|
-
$complement: complement($baseColor); // Determine a complementary color
|
44
|
-
$split1: adjust-hue($baseColor, 158); // Split complements
|
45
|
-
$split2: adjust-hue($baseColor, -158);
|
46
|
-
$triad1: adjust-hue($baseColor, 135); // Triads colors
|
47
|
-
$triad2: adjust-hue($baseColor, -135);
|
48
|
-
$tetra1: adjust-hue($baseColor, 90); // Tetra colors
|
49
|
-
$tetra2: adjust-hue($baseColor, -90);
|
50
|
-
$analog1: adjust-hue($baseColor, 22); // Analogs colors
|
51
|
-
$analog2: adjust-hue($baseColor, -22);
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
// More variables coming soon:
|
56
|
-
// - @basefont to @baseFontSize
|
57
|
-
// - @baseline to @baseLineHeight
|
58
|
-
// - @baseFontFamily
|
59
|
-
// - @primaryButtonColor
|
60
|
-
// - anything else? File an issue on GitHub
|