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: Amelia
4
+ // Version: 2.0.2
5
+ // -----------------------------------------------------
6
+
7
+
8
+
9
+ // GLOBAL VALUES
10
+ // --------------------------------------------------
11
+
12
+
13
+ // Grays
14
+ // -------------------------
15
+ @black: #000;
16
+ @grayDarker: #111;
17
+ @grayDark: #333;
18
+ @gray: #555;
19
+ @grayLight: #aaa;
20
+ @grayLighter: #ddd;
21
+ @white: #fff;
22
+
23
+
24
+ // Accent colors
25
+ // -------------------------
26
+ @blue: #00BCE1;
27
+ @blueDark: #1269B0;
28
+ @green: #7FC518;
29
+ @red: #E51925;
30
+ @yellow: #EAC504;
31
+ @orange: #DF6E1E;
32
+ @pink: #FFBCB9;
33
+ @purple: #4D3A7D;
34
+
35
+
36
+ // Scaffolding
37
+ // -------------------------
38
+ @bodyBackground: #003F4D;
39
+ @textColor: rgba(256, 256, 256, 0.9);
40
+
41
+
42
+ // Links
43
+ // -------------------------
44
+ @linkColor: lighten(@yellow, 15%);
45
+ @linkColorHover: @linkColor;
46
+
47
+
48
+ // Typography
49
+ // -------------------------
50
+ @baseFontSize: 14px;
51
+ @baseFontFamily: 'Cabin', Verdana, sans-serif;
52
+ @baseLineHeight: 20px;
53
+ @altFontFamily: Georgia, "Times New Roman", Times, serif;
54
+
55
+ @headingsFontFamily: 'Lobster', cursive; // empty to use BS default, @baseFontFamily
56
+ @headingsFontWeight: normal; // instead of browser default, bold
57
+ @headingsColor: inherit; // empty to use BS default, @textColor
58
+
59
+
60
+ // Tables
61
+ // -------------------------
62
+ @tableBackground: lighten(#147E88, 10%); // overall background-color
63
+ @tableBackgroundAccent: lighten(#147E88, 15%); // for striping
64
+ @tableBackgroundHover: rgba(256, 256, 256, 0.4); // for hover
65
+ @tableBorder: lighten(#147E88, 12%); // table and cell border
66
+
67
+
68
+ // Buttons
69
+ // -------------------------
70
+ @btnBackground: @grayLighter;
71
+ @btnBackgroundHighlight: @grayLighter;
72
+ @btnBorder: rgba(0, 0, 0, 0);
73
+
74
+ @btnPrimaryBackground: @navbarBackground;
75
+ @btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);
76
+
77
+ @btnInfoBackground: @purple;
78
+ @btnInfoBackgroundHighlight: @purple;
79
+
80
+ @btnSuccessBackground: @green;
81
+ @btnSuccessBackgroundHighlight: @green;
82
+
83
+ @btnWarningBackground: @orange;
84
+ @btnWarningBackgroundHighlight: @orange;
85
+
86
+ @btnDangerBackground: darken(@yellow, 3%);
87
+ @btnDangerBackgroundHighlight: darken(@yellow, 3%);
88
+
89
+ @btnInverseBackground: #27666D;
90
+ @btnInverseBackgroundHighlight: #27666D;
91
+
92
+
93
+ // Forms
94
+ // -------------------------
95
+ @inputBackground: @white;
96
+ @inputBorder: transparent;
97
+ @inputDisabledBackground: @grayLighter;
98
+
99
+
100
+ // Dropdowns
101
+ // -------------------------
102
+ @dropdownBackground: @white;
103
+ @dropdownBorder: rgba(0,0,0,.2);
104
+ @dropdownLinkColor: @bodyBackground;
105
+ @dropdownLinkColorHover: @white;
106
+ @dropdownLinkBackgroundHover: rgba(0, 57, 59, 0.9);
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: 50px;
145
+ @navbarBackground: #AD1D28;
146
+ @navbarBackgroundHighlight: #AD1D28;
147
+
148
+ @navbarText: @white;
149
+ @navbarLinkColor: @white;
150
+ @navbarLinkColorHover: @white;
151
+ @navbarLinkColorActive: @navbarLinkColorHover;
152
+ @navbarLinkBackgroundHover: lighten(@navbarBackground, 10%);
153
+ @navbarLinkBackgroundActive: lighten(@navbarBackground, 10%);
154
+
155
+ @navbarSearchBackground: rgba(0, 0, 0, 0);
156
+ @navbarSearchBackgroundFocus: lighten(@navbarBackground, 25%);
157
+ @navbarSearchBorder: darken(@navbarSearchBackground, 30%);
158
+ @navbarSearchPlaceholderColor: @textColor;
159
+
160
+
161
+ // Hero unit
162
+ // -------------------------
163
+ @heroUnitBackground: #3CB9C6;
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: Cerulean
3
+ // Version: 2.0.2
4
+ // -----------------------------------------------------
5
+
6
+ // TYPOGRAPHY
7
+ // -----------------------------------------------------
8
+
9
+ @import url(https://fonts.googleapis.com/css?family=Telex);
10
+
11
+ .navbar, .subnav {
12
+ font-family: @headingsFontFamily;
13
+ }
14
+
15
+ // NAVBAR
16
+ // -----------------------------------------------------
17
+
18
+ .navbar-inner {
19
+ #gradient > .vertical-three-colors(@navbarBackground, @navbarBackground, 90%, @navbarBackgroundHighlight);
20
+ }
21
+
22
+ .navbar .nav .active > a,
23
+ .navbar .nav .active > a:hover {
24
+ background-color: @navbarBackground;
25
+ background-color: rgba(0,0,0,.2);
26
+ }
27
+
28
+ .navbar .search-query {
29
+ border: 1px solid darken(@linkColor, 10%);
30
+ }
31
+
32
+ // responsive menu colors
33
+
34
+ .navbar .nav-collapse.in > .nav > li .dropdown-menu a {
35
+ color: @white;
36
+
37
+ &:hover {
38
+ color: @white;
39
+ }
40
+ }
41
+
42
+ .navbar .nav-collapse.in .nav li > a {
43
+ color: @white;
44
+
45
+ &:hover {
46
+ background-color: #2B7CAC;
47
+ }
48
+ }
49
+
50
+ .btn-navbar:hover {
51
+ background-color: darken(@white, 20%);
52
+ }
53
+
54
+ // BUTTONS
55
+ // -----------------------------------------------------
56
+
57
+ .btn {
58
+ #gradient > .vertical-three-colors(@white, @white, 5%, darken(@white, 0%));
59
+ @shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
60
+ .box-shadow(@shadow);
61
+
62
+ &:hover {
63
+ background-position: 0 0;
64
+ }
65
+ }
66
+
67
+ .btn-primary {
68
+ .buttonBackground(lighten(@btnPrimaryBackground, 5%), @btnPrimaryBackground);
69
+ }
70
+
71
+ .btn-info {
72
+ .buttonBackground(lighten(@btnInfoBackground, 5%), @btnInfoBackground);
73
+ }
74
+
75
+ .btn-success {
76
+ .buttonBackground(lighten(@btnSuccessBackground, 5%), @btnSuccessBackground);
77
+ }
78
+
79
+ .btn-warning {
80
+ .buttonBackground(lighten(@btnWarningBackground, 5%), @btnWarningBackground);
81
+ }
82
+
83
+ .btn-danger {
84
+ .buttonBackground(lighten(@btnDangerBackground, 5%), @btnDangerBackground);
85
+ }
86
+
87
+ .btn-inverse {
88
+ .buttonBackground(lighten(@btnInverseBackground, 5%), @btnInverseBackground);
89
+ }
90
+
91
+ // ICONS
92
+ // -----------------------------------------------------
93
+
94
+ // Make icons gray
95
+ i[class^="icon-"]{
96
+ opacity: 0.8;
97
+ }
@@ -0,0 +1,203 @@
1
+ // Variables.less
2
+ // Variables to customize the look and feel of Bootstrap
3
+ // Swatch: Cerulean
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: #3E78B3;
27
+ @blueDark: #033C73;
28
+ @green: #73A839;
29
+ @red: #C71C22;
30
+ @yellow: #F7B42C;
31
+ @orange: #DD5600;
32
+ @pink: #F49AC1;
33
+ @purple: #9760B3;
34
+
35
+
36
+ // Scaffolding
37
+ // -------------------------
38
+ @bodyBackground: @white;
39
+ @textColor: @gray;
40
+
41
+
42
+ // Links
43
+ // -------------------------
44
+ @linkColor: #369BD7;
45
+ @linkColorHover: darken(@linkColor, 15%);
46
+
47
+
48
+ // Typography
49
+ // -------------------------
50
+ @baseFontSize: 13px;
51
+ @baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
52
+ @baseLineHeight: 18px;
53
+ @altFontFamily: Georgia, "Times New Roman", Times, serif;
54
+
55
+ @headingsFontFamily: 'Telex', sans-serif; // empty to use BS default, @baseFontFamily
56
+ @headingsFontWeight: bold; // instead of browser default, bold
57
+ @headingsColor: #317EAC; // 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: @purple;
78
+ @btnInfoBackgroundHighlight: #2f96b4;
79
+
80
+ @btnSuccessBackground: @green;
81
+ @btnSuccessBackgroundHighlight: #51a351;
82
+
83
+ @btnWarningBackground: @orange;
84
+ @btnWarningBackgroundHighlight: @orange;
85
+
86
+ @btnDangerBackground: @red;
87
+ @btnDangerBackgroundHighlight: #bd362f;
88
+
89
+ @btnInverseBackground: @yellow;
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: @grayDark;
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: @linkColor;
146
+ @navbarBackgroundHighlight: lighten(@linkColor, 10%);
147
+
148
+ @navbarText: @grayLighter;
149
+ @navbarLinkColor: @grayLighter;
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: @white;
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: darken(@linkColor, 20%);
171
+ @warningBackground: lighten(@linkColor, 20%);
172
+ @warningBorder: darken(spin(@warningBackground, -10), 3%);
173
+
174
+ @errorText: darken(#C45559, 5%);
175
+ @errorBackground: #EDDBE3;
176
+ @errorBorder: darken(spin(@errorBackground, -10), 3%);
177
+
178
+ @successText: darken(@green, 5%);
179
+ @successBackground: #CDB;
180
+ @successBorder: darken(spin(@successBackground, -10), 5%);
181
+
182
+ @infoText: darken(#908A62, 5%);
183
+ @infoBackground: #EDEBE1;
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%;