less-rails-bootswatch 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. data/Gemfile +3 -0
  2. data/Gemfile.lock +72 -0
  3. data/LICENSE +22 -0
  4. data/LICENSE-bootswatch +13 -0
  5. data/README.md +29 -0
  6. data/Rakefile +47 -0
  7. data/lib/less/rails/bootswatch/engine.rb +9 -0
  8. data/lib/less/rails/bootswatch/version.rb +7 -0
  9. data/lib/less/rails/bootswatch.rb +2 -0
  10. data/vendor/assets/stylesheets/bootswatch/amelia/bootswatch.less +600 -0
  11. data/vendor/assets/stylesheets/bootswatch/amelia/variables.less +203 -0
  12. data/vendor/assets/stylesheets/bootswatch/cerulean/bootswatch.less +97 -0
  13. data/vendor/assets/stylesheets/bootswatch/cerulean/variables.less +203 -0
  14. data/vendor/assets/stylesheets/bootswatch/cyborg/bootswatch.less +473 -0
  15. data/vendor/assets/stylesheets/bootswatch/cyborg/variables.less +203 -0
  16. data/vendor/assets/stylesheets/bootswatch/default/variables.less +201 -0
  17. data/vendor/assets/stylesheets/bootswatch/journal/bootswatch.less +159 -0
  18. data/vendor/assets/stylesheets/bootswatch/journal/variables.less +203 -0
  19. data/vendor/assets/stylesheets/bootswatch/readable/bootswatch.less +452 -0
  20. data/vendor/assets/stylesheets/bootswatch/readable/variables.less +203 -0
  21. data/vendor/assets/stylesheets/bootswatch/simplex/bootswatch.less +276 -0
  22. data/vendor/assets/stylesheets/bootswatch/simplex/variables.less +203 -0
  23. data/vendor/assets/stylesheets/bootswatch/slate/bootswatch.less +417 -0
  24. data/vendor/assets/stylesheets/bootswatch/slate/variables.less +203 -0
  25. data/vendor/assets/stylesheets/bootswatch/spacelab/bootswatch.less +175 -0
  26. data/vendor/assets/stylesheets/bootswatch/spacelab/variables.less +203 -0
  27. data/vendor/assets/stylesheets/bootswatch/spruce/bootswatch.less +503 -0
  28. data/vendor/assets/stylesheets/bootswatch/spruce/variables.less +203 -0
  29. data/vendor/assets/stylesheets/bootswatch/superhero/bootswatch.less +625 -0
  30. data/vendor/assets/stylesheets/bootswatch/superhero/variables.less +203 -0
  31. data/vendor/assets/stylesheets/bootswatch/united/bootswatch.less +97 -0
  32. data/vendor/assets/stylesheets/bootswatch/united/variables.less +203 -0
  33. metadata +90 -0
@@ -0,0 +1,203 @@
1
+ // Variables.less
2
+ // Variables to customize the look and feel of Bootstrap
3
+ // Swatch: Superhero
4
+ // Version: 2.0.2
5
+ // -----------------------------------------------------
6
+
7
+
8
+
9
+ // GLOBAL VALUES
10
+ // --------------------------------------------------
11
+
12
+
13
+ // Grays
14
+ // -------------------------
15
+ @black: #000;
16
+ @grayDarker: #222;
17
+ @grayDark: #333;
18
+ @gray: #555;
19
+ @grayLight: #999;
20
+ @grayLighter: #eee;
21
+ @white: #fff;
22
+
23
+
24
+ // Accent colors
25
+ // -------------------------
26
+ @blue: #45515F;
27
+ @blueDark: #2A333C;
28
+ @green: #5DA028;
29
+ @red: #A12932;
30
+ @yellow: #E6C92E;
31
+ @orange: #E36B23;
32
+ @pink: #C74871;
33
+ @purple: #7073CF;
34
+
35
+
36
+ // Scaffolding
37
+ // -------------------------
38
+ @bodyBackground: @blueDark;
39
+ @textColor: #ECE9D7;
40
+
41
+
42
+ // Links
43
+ // -------------------------
44
+ @linkColor: @orange;
45
+ @linkColorHover: @linkColor;
46
+
47
+
48
+ // Typography
49
+ // -------------------------
50
+ @baseFontSize: 15px;
51
+ @baseFontFamily: Georgia, Utopia, Palatino, 'Palatino Linotype', serif;
52
+ @baseLineHeight: 20px;
53
+ @altFontFamily: Georgia, "Times New Roman", Times, serif;
54
+
55
+ @headingsFontFamily: 'Oswald', sans-serif; // empty to use BS default, @baseFontFamily
56
+ @headingsFontWeight: bold; // instead of browser default, bold
57
+ @headingsColor: @orange; // empty to use BS default, @textColor
58
+
59
+
60
+ // Tables
61
+ // -------------------------
62
+ @tableBackground: darken(@blue, 3%); // overall background-color
63
+ @tableBackgroundAccent: @blue; // for striping
64
+ @tableBackgroundHover: lighten(@blue, 5%); // for hover
65
+ @tableBorder: transparent; // table and cell border
66
+
67
+
68
+ // Buttons
69
+ // -------------------------
70
+ @btnBackground: @white;
71
+ @btnBackgroundHighlight: darken(@white, 10%);
72
+ @btnBorder: darken(@white, 20%);
73
+
74
+ @btnPrimaryBackground: @linkColor;
75
+ @btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);
76
+
77
+ @btnInfoBackground: #5bc0de;
78
+ @btnInfoBackgroundHighlight: #2f96b4;
79
+
80
+ @btnSuccessBackground: #62c462;
81
+ @btnSuccessBackgroundHighlight: #51a351;
82
+
83
+ @btnWarningBackground: lighten(@orange, 15%);
84
+ @btnWarningBackgroundHighlight: @orange;
85
+
86
+ @btnDangerBackground: #ee5f5b;
87
+ @btnDangerBackgroundHighlight: #bd362f;
88
+
89
+ @btnInverseBackground: @gray;
90
+ @btnInverseBackgroundHighlight: @grayDarker;
91
+
92
+
93
+ // Forms
94
+ // -------------------------
95
+ @inputBackground: @white;
96
+ @inputBorder: #ccc;
97
+ @inputDisabledBackground: @grayLighter;
98
+
99
+
100
+ // Dropdowns
101
+ // -------------------------
102
+ @dropdownBackground: lighten(@blue, 10%);
103
+ @dropdownBorder: rgba(0,0,0,0);
104
+ @dropdownLinkColor: @textColor;
105
+ @dropdownLinkColorHover: @white;
106
+ @dropdownLinkBackgroundHover: @linkColor;
107
+
108
+
109
+
110
+
111
+ // COMPONENT VARIABLES
112
+ // --------------------------------------------------
113
+
114
+ // Z-index master list
115
+ // -------------------------
116
+ // Used for a bird's eye view of components dependent on the z-axis
117
+ // Try to avoid customizing these :)
118
+ @zindexDropdown: 1000;
119
+ @zindexPopover: 1010;
120
+ @zindexTooltip: 1020;
121
+ @zindexFixedNavbar: 1030;
122
+ @zindexModalBackdrop: 1040;
123
+ @zindexModal: 1050;
124
+
125
+
126
+ // Sprite icons path
127
+ // -------------------------
128
+ @iconSpritePath: "./twitter/bootstrap/glyphicons-halflings.png";
129
+ @iconWhiteSpritePath: "./twitter/bootstrap/glyphicons-halflings-white.png";
130
+
131
+
132
+ // Input placeholder text color
133
+ // -------------------------
134
+ @placeholderText: @grayLight;
135
+
136
+
137
+ // Hr border color
138
+ // -------------------------
139
+ @hrBorder: transparent;
140
+
141
+
142
+ // Navbar
143
+ // -------------------------
144
+ @navbarHeight: 40px;
145
+ @navbarBackground: @blueDark;
146
+ @navbarBackgroundHighlight: @navbarBackground;
147
+
148
+ @navbarText: @grayLight;
149
+ @navbarLinkColor: @grayLight;
150
+ @navbarLinkColorHover: @white;
151
+ @navbarLinkColorActive: @navbarLinkColorHover;
152
+ @navbarLinkBackgroundHover: transparent;
153
+ @navbarLinkBackgroundActive: @navbarBackground;
154
+
155
+ @navbarSearchBackground: lighten(@navbarBackground, 25%);
156
+ @navbarSearchBackgroundFocus: @white;
157
+ @navbarSearchBorder: darken(@navbarSearchBackground, 30%);
158
+ @navbarSearchPlaceholderColor: #ccc;
159
+
160
+
161
+ // Hero unit
162
+ // -------------------------
163
+ @heroUnitBackground: @blue;
164
+ @heroUnitHeadingColor: inherit;
165
+ @heroUnitLeadColor: inherit;
166
+
167
+
168
+ // Form states and alerts
169
+ // -------------------------
170
+ @warningText: #c09853;
171
+ @warningBackground: #fcf8e3;
172
+ @warningBorder: darken(spin(@warningBackground, -10), 3%);
173
+
174
+ @errorText: #b94a48;
175
+ @errorBackground: #f2dede;
176
+ @errorBorder: darken(spin(@errorBackground, -10), 3%);
177
+
178
+ @successText: #468847;
179
+ @successBackground: #dff0d8;
180
+ @successBorder: darken(spin(@successBackground, -10), 5%);
181
+
182
+ @infoText: #3a87ad;
183
+ @infoBackground: #d9edf7;
184
+ @infoBorder: darken(spin(@infoBackground, -10), 7%);
185
+
186
+
187
+
188
+
189
+ // GRID
190
+ // --------------------------------------------------
191
+
192
+ // Default 940px grid
193
+ // -------------------------
194
+ @gridColumns: 12;
195
+ @gridColumnWidth: 60px;
196
+ @gridGutterWidth: 20px;
197
+ @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
198
+
199
+
200
+ // Fluid grid
201
+ // -------------------------
202
+ @fluidGridColumnWidth: 6.382978723%;
203
+ @fluidGridGutterWidth: 2.127659574%;
@@ -0,0 +1,97 @@
1
+ // Bootswatch.less
2
+ // Swatch: United
3
+ // Version: 2.0.2
4
+ // -----------------------------------------------------
5
+
6
+ // TYPOGRAPHY
7
+ // -----------------------------------------------------
8
+
9
+ @import url(https://fonts.googleapis.com/css?family=Ubuntu);
10
+
11
+ // NAVBAR
12
+ // -----------------------------------------------------
13
+
14
+ .navbar .nav > li > a {
15
+ border-right: 1px solid #C03D14;
16
+ border-left: 1px solid #E6633A;
17
+
18
+ &:hover {
19
+ background-color: @linkColorHover;
20
+ }
21
+ }
22
+
23
+ // Lightened color of active item
24
+ .navbar .nav .active > a,
25
+ .navbar .nav .active > a:hover {
26
+ background-color: rgba(0,0,0,.2);
27
+ }
28
+
29
+ // Styled item divider
30
+ .navbar .divider-vertical {
31
+ background-color: inherit;
32
+ border-right: 0px solid #CE4213;
33
+ }
34
+
35
+ .navbar .navbar-text > a {
36
+ color: @white;
37
+ text-decoration: underline;
38
+
39
+ &:hover {
40
+ color: #ddd;
41
+ }
42
+ }
43
+
44
+ .navbar-search .search-query {
45
+ border: 1px solid darken(@navbarBackground, 15%);
46
+ }
47
+
48
+ .navbar .nav-collapse.in > .nav li > a {
49
+ color: @white;
50
+ border-left: 0px solid @orange;
51
+ border-right: 0px solid @orange;
52
+
53
+ &:hover {
54
+ background-color: @linkColorHover;
55
+ }
56
+ }
57
+
58
+ .navbar .nav-collapse.in .navbar-form,
59
+ .navbar .nav-collapse.in .navbar-search {
60
+ border-top: 0px solid @orange;
61
+ border-bottom: 0px solid @orange;
62
+ .box-shadow(none);
63
+ }
64
+
65
+ // BUTTONS
66
+ // -----------------------------------------------------
67
+
68
+ .btn-primary {
69
+ .buttonBackground(lighten(@btnPrimaryBackground, 15%), @btnPrimaryBackground);
70
+ }
71
+
72
+ .btn-warning {
73
+ .buttonBackground(lighten(@yellow, 15%), @yellow);
74
+ }
75
+
76
+ // FORMS
77
+ // -----------------------------------------------------
78
+
79
+ .form-actions {
80
+ background-color: transparent;
81
+ }
82
+
83
+ // MISC
84
+ // -----------------------------------------------------
85
+
86
+ .alert {
87
+ text-shadow: none;
88
+ }
89
+
90
+ .hero-unit {
91
+ border: 1px solid rgba(0,0,0,.05);
92
+ .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
93
+
94
+ h1 {
95
+ line-height: 1.6em;
96
+ }
97
+ }
@@ -0,0 +1,203 @@
1
+ // Variables.less
2
+ // Variables to customize the look and feel of Bootstrap
3
+ // Swatch: United
4
+ // Version: 2.0.2
5
+ // -----------------------------------------------------
6
+
7
+
8
+
9
+ // GLOBAL VALUES
10
+ // --------------------------------------------------
11
+
12
+
13
+ // Grays
14
+ // -------------------------
15
+ @black: #000;
16
+ @grayDarker: #222;
17
+ @grayDark: #333;
18
+ @gray: #555;
19
+ @grayLight: #999;
20
+ @grayLighter: #F5F5F5;
21
+ @white: #fff;
22
+
23
+
24
+ // Accent colors
25
+ // -------------------------
26
+ @blue: #19B6EE;
27
+ @blueDark: #0064cd;
28
+ @green: #38B44A;
29
+ @red: #DF382C;
30
+ @yellow: #EFB73E;
31
+ @orange: #DD4814;
32
+ @pink: #c3325f;
33
+ @purple: #772953;
34
+
35
+
36
+ // Scaffolding
37
+ // -------------------------
38
+ @bodyBackground: @white;
39
+ @textColor: @grayDark;
40
+
41
+
42
+ // Links
43
+ // -------------------------
44
+ @linkColor: @orange;
45
+ @linkColorHover: darken(@linkColor, 15%);
46
+
47
+
48
+ // Typography
49
+ // -------------------------
50
+ @baseFontSize: 13px;
51
+ @baseFontFamily: 'Ubuntu', Tahoma, sans-serif;
52
+ @baseLineHeight: 18px;
53
+ @altFontFamily: Georgia, "Times New Roman", Times, serif;
54
+
55
+ @headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
56
+ @headingsFontWeight: bold; // instead of browser default, bold
57
+ @headingsColor: inherit; // empty to use BS default, @textColor
58
+
59
+
60
+ // Tables
61
+ // -------------------------
62
+ @tableBackground: transparent; // overall background-color
63
+ @tableBackgroundAccent: #f9f9f9; // for striping
64
+ @tableBackgroundHover: #f5f5f5; // for hover
65
+ @tableBorder: #ddd; // table and cell border
66
+
67
+
68
+ // Buttons
69
+ // -------------------------
70
+ @btnBackground: @white;
71
+ @btnBackgroundHighlight: darken(@white, 10%);
72
+ @btnBorder: darken(@white, 20%);
73
+
74
+ @btnPrimaryBackground: @linkColor;
75
+ @btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);
76
+
77
+ @btnInfoBackground: lighten(@purple, 15%);
78
+ @btnInfoBackgroundHighlight: @purple;
79
+
80
+ @btnSuccessBackground: #62c462;
81
+ @btnSuccessBackgroundHighlight: #51a351;
82
+
83
+ @btnWarningBackground: lighten(@orange, 15%);
84
+ @btnWarningBackgroundHighlight: @orange;
85
+
86
+ @btnDangerBackground: #ee5f5b;
87
+ @btnDangerBackgroundHighlight: #bd362f;
88
+
89
+ @btnInverseBackground: @gray;
90
+ @btnInverseBackgroundHighlight: @grayDarker;
91
+
92
+
93
+ // Forms
94
+ // -------------------------
95
+ @inputBackground: @white;
96
+ @inputBorder: #ccc;
97
+ @inputDisabledBackground: @grayLighter;
98
+
99
+
100
+ // Dropdowns
101
+ // -------------------------
102
+ @dropdownBackground: @white;
103
+ @dropdownBorder: rgba(0,0,0,.2);
104
+ @dropdownLinkColor: @linkColor;
105
+ @dropdownLinkColorHover: @white;
106
+ @dropdownLinkBackgroundHover: @linkColor;
107
+
108
+
109
+
110
+
111
+ // COMPONENT VARIABLES
112
+ // --------------------------------------------------
113
+
114
+ // Z-index master list
115
+ // -------------------------
116
+ // Used for a bird's eye view of components dependent on the z-axis
117
+ // Try to avoid customizing these :)
118
+ @zindexDropdown: 1000;
119
+ @zindexPopover: 1010;
120
+ @zindexTooltip: 1020;
121
+ @zindexFixedNavbar: 1030;
122
+ @zindexModalBackdrop: 1040;
123
+ @zindexModal: 1050;
124
+
125
+
126
+ // Sprite icons path
127
+ // -------------------------
128
+ @iconSpritePath: "./twitter/bootstrap/glyphicons-halflings.png";
129
+ @iconWhiteSpritePath: "./twitter/bootstrap/glyphicons-halflings-white.png";
130
+
131
+
132
+ // Input placeholder text color
133
+ // -------------------------
134
+ @placeholderText: @grayLight;
135
+
136
+
137
+ // Hr border color
138
+ // -------------------------
139
+ @hrBorder: @grayLighter;
140
+
141
+
142
+ // Navbar
143
+ // -------------------------
144
+ @navbarHeight: 40px;
145
+ @navbarBackground: @orange;
146
+ @navbarBackgroundHighlight: #CE4213;
147
+
148
+ @navbarText: @white;
149
+ @navbarLinkColor: @white;
150
+ @navbarLinkColorHover: @white;
151
+ @navbarLinkColorActive: @navbarLinkColorHover;
152
+ @navbarLinkBackgroundHover: transparent;
153
+ @navbarLinkBackgroundActive: @navbarBackground;
154
+
155
+ @navbarSearchBackground: lighten(@navbarBackground, 25%);
156
+ @navbarSearchBackgroundFocus: @white;
157
+ @navbarSearchBorder: darken(@navbarSearchBackground, 30%);
158
+ @navbarSearchPlaceholderColor: #ccc;
159
+
160
+
161
+ // Hero unit
162
+ // -------------------------
163
+ @heroUnitBackground: @grayLighter;
164
+ @heroUnitHeadingColor: inherit;
165
+ @heroUnitLeadColor: inherit;
166
+
167
+
168
+ // Form states and alerts
169
+ // -------------------------
170
+ @warningText: #ECA918;
171
+ @warningBackground: lighten(@warningText, 40%);
172
+ @warningBorder: darken(spin(@warningBackground, -10), 3%);
173
+
174
+ @errorText: #DF382C;
175
+ @errorBackground: lighten(@errorText, 40%);
176
+ @errorBorder: darken(spin(@errorBackground, -10), 3%);
177
+
178
+ @successText: #38B44A;
179
+ @successBackground: lighten(@successText, 40%);
180
+ @successBorder: darken(spin(@successBackground, -10), 5%);
181
+
182
+ @infoText: @purple;
183
+ @infoBackground: lighten(@purple, 50%);
184
+ @infoBorder: darken(spin(@infoBackground, -10), 7%);
185
+
186
+
187
+
188
+
189
+ // GRID
190
+ // --------------------------------------------------
191
+
192
+ // Default 940px grid
193
+ // -------------------------
194
+ @gridColumns: 12;
195
+ @gridColumnWidth: 60px;
196
+ @gridGutterWidth: 20px;
197
+ @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
198
+
199
+
200
+ // Fluid grid
201
+ // -------------------------
202
+ @fluidGridColumnWidth: 6.382978723%;
203
+ @fluidGridGutterWidth: 2.127659574%;
metadata ADDED
@@ -0,0 +1,90 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: less-rails-bootswatch
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Naoto Takai
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-03-22 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: less-rails-bootstrap
16
+ requirement: &70273349487840 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 2.0.8
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70273349487840
25
+ description: less-rails-bootswatch is straightforward Bootswatches integration with
26
+ Rails, works well with less-rails-bootstrap.
27
+ email:
28
+ - takai@recompile.net
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - Gemfile
34
+ - Gemfile.lock
35
+ - LICENSE
36
+ - LICENSE-bootswatch
37
+ - Rakefile
38
+ - README.md
39
+ - lib/less/rails/bootswatch/engine.rb
40
+ - lib/less/rails/bootswatch/version.rb
41
+ - lib/less/rails/bootswatch.rb
42
+ - vendor/assets/stylesheets/bootswatch/amelia/bootswatch.less
43
+ - vendor/assets/stylesheets/bootswatch/amelia/variables.less
44
+ - vendor/assets/stylesheets/bootswatch/cerulean/bootswatch.less
45
+ - vendor/assets/stylesheets/bootswatch/cerulean/variables.less
46
+ - vendor/assets/stylesheets/bootswatch/cyborg/bootswatch.less
47
+ - vendor/assets/stylesheets/bootswatch/cyborg/variables.less
48
+ - vendor/assets/stylesheets/bootswatch/default/variables.less
49
+ - vendor/assets/stylesheets/bootswatch/journal/bootswatch.less
50
+ - vendor/assets/stylesheets/bootswatch/journal/variables.less
51
+ - vendor/assets/stylesheets/bootswatch/readable/bootswatch.less
52
+ - vendor/assets/stylesheets/bootswatch/readable/variables.less
53
+ - vendor/assets/stylesheets/bootswatch/simplex/bootswatch.less
54
+ - vendor/assets/stylesheets/bootswatch/simplex/variables.less
55
+ - vendor/assets/stylesheets/bootswatch/slate/bootswatch.less
56
+ - vendor/assets/stylesheets/bootswatch/slate/variables.less
57
+ - vendor/assets/stylesheets/bootswatch/spacelab/bootswatch.less
58
+ - vendor/assets/stylesheets/bootswatch/spacelab/variables.less
59
+ - vendor/assets/stylesheets/bootswatch/spruce/bootswatch.less
60
+ - vendor/assets/stylesheets/bootswatch/spruce/variables.less
61
+ - vendor/assets/stylesheets/bootswatch/superhero/bootswatch.less
62
+ - vendor/assets/stylesheets/bootswatch/superhero/variables.less
63
+ - vendor/assets/stylesheets/bootswatch/united/bootswatch.less
64
+ - vendor/assets/stylesheets/bootswatch/united/variables.less
65
+ homepage: https://github.com/takai/less-rails-bootswatch
66
+ licenses: []
67
+ post_install_message:
68
+ rdoc_options: []
69
+ require_paths:
70
+ - lib
71
+ required_ruby_version: !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ none: false
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ requirements: []
84
+ rubyforge_project:
85
+ rubygems_version: 1.8.11
86
+ signing_key:
87
+ specification_version: 3
88
+ summary: Straightforward Bootswatches integration with Rails
89
+ test_files: []
90
+ has_rdoc: