less-rails-bootstrap 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile +2 -0
- data/README.md +99 -0
- data/Rakefile +1 -0
- data/less-rails-bootstrap.gemspec +18 -0
- data/lib/less-rails-bootstrap.rb +8 -0
- data/lib/less/rails/bootstrap.rb +2 -0
- data/lib/less/rails/bootstrap/engine.rb +14 -0
- data/lib/less/rails/bootstrap/version.rb +7 -0
- data/vendor/assets/javascripts/twitter/bootstrap.js +7 -0
- data/vendor/assets/javascripts/twitter/bootstrap/alerts.js +104 -0
- data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +50 -0
- data/vendor/assets/javascripts/twitter/bootstrap/modal.js +238 -0
- data/vendor/assets/javascripts/twitter/bootstrap/popover.js +77 -0
- data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +105 -0
- data/vendor/assets/javascripts/twitter/bootstrap/tabs.js +62 -0
- data/vendor/assets/javascripts/twitter/bootstrap/twipsy.js +307 -0
- data/vendor/assets/stylesheets/twitter/bootstrap.css.less +1 -0
- data/vendor/assets/stylesheets/twitter/bootstrap.less +1 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/bootstrap.less +26 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/forms.less +465 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/mixins.less +217 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/patterns.less +1005 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/reset.less +141 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/scaffolding.less +135 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/tables.less +170 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/type.less +187 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/variables.less +60 -0
- metadata +111 -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,111 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: less-rails-bootstrap
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 1.3.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Ken Collins
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-09-25 00:00:00 -04:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: less-rails
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 15
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 0
|
33
|
+
- 0
|
34
|
+
version: 2.0.0
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
description: CSS toolkit from Twitter For Rails 3.1 Asset Pipeline
|
38
|
+
email:
|
39
|
+
- ken@metaskills.net
|
40
|
+
executables: []
|
41
|
+
|
42
|
+
extensions: []
|
43
|
+
|
44
|
+
extra_rdoc_files: []
|
45
|
+
|
46
|
+
files:
|
47
|
+
- .gitignore
|
48
|
+
- CHANGELOG.md
|
49
|
+
- Gemfile
|
50
|
+
- README.md
|
51
|
+
- Rakefile
|
52
|
+
- less-rails-bootstrap.gemspec
|
53
|
+
- lib/less-rails-bootstrap.rb
|
54
|
+
- lib/less/rails/bootstrap.rb
|
55
|
+
- lib/less/rails/bootstrap/engine.rb
|
56
|
+
- lib/less/rails/bootstrap/version.rb
|
57
|
+
- vendor/assets/javascripts/twitter/bootstrap.js
|
58
|
+
- vendor/assets/javascripts/twitter/bootstrap/alerts.js
|
59
|
+
- vendor/assets/javascripts/twitter/bootstrap/dropdown.js
|
60
|
+
- vendor/assets/javascripts/twitter/bootstrap/modal.js
|
61
|
+
- vendor/assets/javascripts/twitter/bootstrap/popover.js
|
62
|
+
- vendor/assets/javascripts/twitter/bootstrap/scrollspy.js
|
63
|
+
- vendor/assets/javascripts/twitter/bootstrap/tabs.js
|
64
|
+
- vendor/assets/javascripts/twitter/bootstrap/twipsy.js
|
65
|
+
- vendor/assets/stylesheets/twitter/bootstrap.css.less
|
66
|
+
- vendor/assets/stylesheets/twitter/bootstrap.less
|
67
|
+
- vendor/assets/stylesheets/twitter/bootstrap/bootstrap.less
|
68
|
+
- vendor/assets/stylesheets/twitter/bootstrap/forms.less
|
69
|
+
- vendor/assets/stylesheets/twitter/bootstrap/mixins.less
|
70
|
+
- vendor/assets/stylesheets/twitter/bootstrap/patterns.less
|
71
|
+
- vendor/assets/stylesheets/twitter/bootstrap/reset.less
|
72
|
+
- vendor/assets/stylesheets/twitter/bootstrap/scaffolding.less
|
73
|
+
- vendor/assets/stylesheets/twitter/bootstrap/tables.less
|
74
|
+
- vendor/assets/stylesheets/twitter/bootstrap/type.less
|
75
|
+
- vendor/assets/stylesheets/twitter/bootstrap/variables.less
|
76
|
+
has_rdoc: true
|
77
|
+
homepage: http://github.com/metaskills/less-rails-bootstrap
|
78
|
+
licenses: []
|
79
|
+
|
80
|
+
post_install_message:
|
81
|
+
rdoc_options: []
|
82
|
+
|
83
|
+
require_paths:
|
84
|
+
- lib
|
85
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
hash: 3
|
91
|
+
segments:
|
92
|
+
- 0
|
93
|
+
version: "0"
|
94
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
hash: 3
|
100
|
+
segments:
|
101
|
+
- 0
|
102
|
+
version: "0"
|
103
|
+
requirements: []
|
104
|
+
|
105
|
+
rubyforge_project:
|
106
|
+
rubygems_version: 1.6.2
|
107
|
+
signing_key:
|
108
|
+
specification_version: 3
|
109
|
+
summary: CSS toolkit from Twitter For Rails 3.1 Asset Pipeline
|
110
|
+
test_files: []
|
111
|
+
|