anjlab-bootstrap-rails 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/README.md +64 -0
- data/Rakefile +31 -0
- data/bootstrap-rails.gemspec +23 -0
- data/lib/bootstrap-rails.rb +11 -0
- data/lib/bootstrap-rails/engine.rb +6 -0
- data/lib/bootstrap-rails/railtie.rb +5 -0
- data/lib/bootstrap-rails/version.rb +5 -0
- data/vendor/assets/javascripts/bootstrap-alerts.js +104 -0
- data/vendor/assets/javascripts/bootstrap-dropdown.js +50 -0
- data/vendor/assets/javascripts/bootstrap-modal.js +238 -0
- data/vendor/assets/javascripts/bootstrap-popover.js +77 -0
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +105 -0
- data/vendor/assets/javascripts/bootstrap-tabs.js +62 -0
- data/vendor/assets/javascripts/bootstrap-twipsy.js +307 -0
- data/vendor/assets/javascripts/bootstrap.js +8 -0
- data/vendor/assets/stylesheets/bootstrap.scss +26 -0
- data/vendor/assets/stylesheets/forms.scss +465 -0
- data/vendor/assets/stylesheets/mixins.scss +224 -0
- data/vendor/assets/stylesheets/patterns.scss +1002 -0
- data/vendor/assets/stylesheets/reset.scss +141 -0
- data/vendor/assets/stylesheets/scaffolding.scss +108 -0
- data/vendor/assets/stylesheets/tables.scss +171 -0
- data/vendor/assets/stylesheets/type.scss +187 -0
- data/vendor/assets/stylesheets/variables.scss +60 -0
- metadata +116 -0
@@ -0,0 +1,60 @@
|
|
1
|
+
/* Variables.less
|
2
|
+
* Variables to customize the look and feel of Bootstrap
|
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.less
|
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: spin($baseColor, 180); // Determine a complementary color
|
44
|
+
$split1: spin($baseColor, 158); // Split complements
|
45
|
+
$split2: spin($baseColor, -158);
|
46
|
+
$triad1: spin($baseColor, 135); // Triads colors
|
47
|
+
$triad2: spin($baseColor, -135);
|
48
|
+
$tetra1: spin($baseColor, 90); // Tetra colors
|
49
|
+
$tetra2: spin($baseColor, -90);
|
50
|
+
$analog1: spin($baseColor, 22); // Analogs colors
|
51
|
+
$analog2: spin($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
|
metadata
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: anjlab-bootstrap-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Yury Korolev
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-09-19 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: railties
|
16
|
+
requirement: &70177387730580 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70177387730580
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: thor
|
27
|
+
requirement: &70177387730040 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0.14'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70177387730040
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: bundler
|
38
|
+
requirement: &70177387729560 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.0.0
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70177387729560
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rails
|
49
|
+
requirement: &70177387729100 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70177387729100
|
58
|
+
description: Twitter Bootstrap CSS (with SASS flavour) and JS toolkits for Rails 3
|
59
|
+
projects
|
60
|
+
email:
|
61
|
+
- yury.korolev@gmail.com
|
62
|
+
executables: []
|
63
|
+
extensions: []
|
64
|
+
extra_rdoc_files: []
|
65
|
+
files:
|
66
|
+
- .gitignore
|
67
|
+
- Gemfile
|
68
|
+
- README.md
|
69
|
+
- Rakefile
|
70
|
+
- bootstrap-rails.gemspec
|
71
|
+
- lib/bootstrap-rails.rb
|
72
|
+
- lib/bootstrap-rails/engine.rb
|
73
|
+
- lib/bootstrap-rails/railtie.rb
|
74
|
+
- lib/bootstrap-rails/version.rb
|
75
|
+
- vendor/assets/javascripts/bootstrap-alerts.js
|
76
|
+
- vendor/assets/javascripts/bootstrap-dropdown.js
|
77
|
+
- vendor/assets/javascripts/bootstrap-modal.js
|
78
|
+
- vendor/assets/javascripts/bootstrap-popover.js
|
79
|
+
- vendor/assets/javascripts/bootstrap-scrollspy.js
|
80
|
+
- vendor/assets/javascripts/bootstrap-tabs.js
|
81
|
+
- vendor/assets/javascripts/bootstrap-twipsy.js
|
82
|
+
- vendor/assets/javascripts/bootstrap.js
|
83
|
+
- vendor/assets/stylesheets/bootstrap.scss
|
84
|
+
- vendor/assets/stylesheets/forms.scss
|
85
|
+
- vendor/assets/stylesheets/mixins.scss
|
86
|
+
- vendor/assets/stylesheets/patterns.scss
|
87
|
+
- vendor/assets/stylesheets/reset.scss
|
88
|
+
- vendor/assets/stylesheets/scaffolding.scss
|
89
|
+
- vendor/assets/stylesheets/tables.scss
|
90
|
+
- vendor/assets/stylesheets/type.scss
|
91
|
+
- vendor/assets/stylesheets/variables.scss
|
92
|
+
homepage: ''
|
93
|
+
licenses: []
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options: []
|
96
|
+
require_paths:
|
97
|
+
- lib
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
requirements: []
|
111
|
+
rubyforge_project:
|
112
|
+
rubygems_version: 1.8.9
|
113
|
+
signing_key:
|
114
|
+
specification_version: 3
|
115
|
+
summary: Bootstrap CSS (with SASS flavour) and JS toolkits for Rails 3 projects
|
116
|
+
test_files: []
|