bootswitch 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +7 -0
  2. data/.document +5 -0
  3. data/.rspec +1 -0
  4. data/.travis.yml +5 -0
  5. data/Gemfile +19 -0
  6. data/LICENSE.txt +177 -0
  7. data/README.rdoc +38 -0
  8. data/Rakefile +53 -0
  9. data/VERSION +1 -0
  10. data/app/assets/stylesheets/bootswatch/amelia/bootswatch.css.scss +136 -0
  11. data/app/assets/stylesheets/bootswatch/amelia/theme.css.scss +9 -0
  12. data/app/assets/stylesheets/bootswatch/amelia/variables.css.scss +624 -0
  13. data/app/assets/stylesheets/bootswatch/cerulean/bootswatch.css.scss +159 -0
  14. data/app/assets/stylesheets/bootswatch/cerulean/theme.css.scss +9 -0
  15. data/app/assets/stylesheets/bootswatch/cerulean/variables.css.scss +621 -0
  16. data/app/assets/stylesheets/bootswatch/cosmo/bootswatch.css.scss +138 -0
  17. data/app/assets/stylesheets/bootswatch/cosmo/theme.css.scss +9 -0
  18. data/app/assets/stylesheets/bootswatch/cosmo/variables.css.scss +623 -0
  19. data/app/assets/stylesheets/bootswatch/custom/bootswatch.css.scss +22 -0
  20. data/app/assets/stylesheets/bootswatch/custom/theme.css.scss +9 -0
  21. data/app/assets/stylesheets/bootswatch/custom/variables.css.scss +620 -0
  22. data/app/assets/stylesheets/bootswatch/cyborg/bootswatch.css.scss +141 -0
  23. data/app/assets/stylesheets/bootswatch/cyborg/theme.css.scss +9 -0
  24. data/app/assets/stylesheets/bootswatch/cyborg/variables.css.scss +624 -0
  25. data/app/assets/stylesheets/bootswatch/darkly/bootswatch.css.scss +234 -0
  26. data/app/assets/stylesheets/bootswatch/darkly/theme.css.scss +9 -0
  27. data/app/assets/stylesheets/bootswatch/darkly/variables.css.scss +831 -0
  28. data/app/assets/stylesheets/bootswatch/flatly/bootswatch.css.scss +177 -0
  29. data/app/assets/stylesheets/bootswatch/flatly/theme.css.scss +9 -0
  30. data/app/assets/stylesheets/bootswatch/flatly/variables.css.scss +623 -0
  31. data/app/assets/stylesheets/bootswatch/global/build.css.scss +3 -0
  32. data/app/assets/stylesheets/bootswatch/global/theme.css.scss +9 -0
  33. data/app/assets/stylesheets/bootswatch/journal/bootswatch.css.scss +96 -0
  34. data/app/assets/stylesheets/bootswatch/journal/theme.css.scss +9 -0
  35. data/app/assets/stylesheets/bootswatch/journal/variables.css.scss +622 -0
  36. data/app/assets/stylesheets/bootswatch/readable/bootswatch.css.scss +83 -0
  37. data/app/assets/stylesheets/bootswatch/readable/theme.css.scss +9 -0
  38. data/app/assets/stylesheets/bootswatch/readable/variables.css.scss +623 -0
  39. data/app/assets/stylesheets/bootswatch/simplex/bootswatch.css.scss +127 -0
  40. data/app/assets/stylesheets/bootswatch/simplex/theme.css.scss +9 -0
  41. data/app/assets/stylesheets/bootswatch/simplex/variables.css.scss +624 -0
  42. data/app/assets/stylesheets/bootswatch/slate/bootswatch.css.scss +328 -0
  43. data/app/assets/stylesheets/bootswatch/slate/theme.css.scss +9 -0
  44. data/app/assets/stylesheets/bootswatch/slate/variables.css.scss +622 -0
  45. data/app/assets/stylesheets/bootswatch/spacelab/bootswatch.css.scss +115 -0
  46. data/app/assets/stylesheets/bootswatch/spacelab/theme.css.scss +9 -0
  47. data/app/assets/stylesheets/bootswatch/spacelab/variables.css.scss +623 -0
  48. data/app/assets/stylesheets/bootswatch/superhero/bootswatch.css.scss +250 -0
  49. data/app/assets/stylesheets/bootswatch/superhero/theme.css.scss +9 -0
  50. data/app/assets/stylesheets/bootswatch/superhero/variables.css.scss +833 -0
  51. data/app/assets/stylesheets/bootswatch/united/bootswatch.css.scss +31 -0
  52. data/app/assets/stylesheets/bootswatch/united/theme.css.scss +9 -0
  53. data/app/assets/stylesheets/bootswatch/united/variables.css.scss +623 -0
  54. data/app/assets/stylesheets/bootswatch/yeti/bootswatch.css.scss +408 -0
  55. data/app/assets/stylesheets/bootswatch/yeti/theme.css.scss +9 -0
  56. data/app/assets/stylesheets/bootswatch/yeti/variables.css.scss +831 -0
  57. data/app/controllers/bootswitch_controller.rb +2 -0
  58. data/app/controllers/theme_controller.rb +17 -0
  59. data/app/helpers/theme_helper.rb +9 -0
  60. data/app/views/theme/_stylesheet_link_tag.html.haml +1 -0
  61. data/bootswitch.gemspec +156 -0
  62. data/config/routes.rb +4 -0
  63. data/lib/bootswitch/configuration.rb +20 -0
  64. data/lib/bootswitch/engine.rb +5 -0
  65. data/lib/bootswitch/railtie.rb +4 -0
  66. data/lib/bootswitch/version.rb +7 -0
  67. data/lib/bootswitch.rb +11 -0
  68. data/lib/generators/bootswitch/install/install_generator.rb +23 -0
  69. data/lib/generators/bootswitch/install/templates/initializer.rb +4 -0
  70. data/lib/generators/bootswitch/utils.rb +16 -0
  71. data/script/rails +6 -0
  72. data/spec/dummy/.rspec +1 -0
  73. data/spec/dummy/Rakefile +7 -0
  74. data/spec/dummy/app/assets/javascripts/application.js +2 -0
  75. data/spec/dummy/app/assets/stylesheets/application.css.scss +14 -0
  76. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  77. data/spec/dummy/app/helpers/application_helper.rb +5 -0
  78. data/spec/dummy/config/application.rb +27 -0
  79. data/spec/dummy/config/boot.rb +10 -0
  80. data/spec/dummy/config/environment.rb +5 -0
  81. data/spec/dummy/config/environments/development.rb +23 -0
  82. data/spec/dummy/config/environments/test.rb +17 -0
  83. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  84. data/spec/dummy/config/initializers/bootswitch.rb +4 -0
  85. data/spec/dummy/config/initializers/inflections.rb +15 -0
  86. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  87. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  88. data/spec/dummy/config/initializers/session_store.rb +8 -0
  89. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  90. data/spec/dummy/config/routes.rb +53 -0
  91. data/spec/dummy/config.ru +4 -0
  92. data/spec/dummy/public/404.html +26 -0
  93. data/spec/dummy/public/422.html +26 -0
  94. data/spec/dummy/public/500.html +25 -0
  95. data/spec/dummy/public/favicon.ico +0 -0
  96. data/spec/dummy/public/index.html +101 -0
  97. data/spec/dummy/script/rails +6 -0
  98. data/spec/helpers/theme_helper_spec.rb +14 -0
  99. data/spec/spec_helper.rb +18 -0
  100. metadata +243 -0
@@ -0,0 +1,250 @@
1
+ // Superhero 3.1.1
2
+ // Bootswatch
3
+ // -----------------------------------------------------
4
+
5
+ @import url($web-font);
6
+
7
+ // Navbar =====================================================================
8
+
9
+ .navbar {
10
+ @include box-shadow(none);
11
+ border: none;
12
+ font-size: 12px;
13
+
14
+ &.navbar-default .navbar-nav {
15
+
16
+ }
17
+ }
18
+
19
+ // Buttons ====================================================================
20
+
21
+ .btn {
22
+
23
+ font-weight: $copy-font-weight;
24
+
25
+ &.btn-default {
26
+ &:hover {
27
+ background-color: darken($btn-default-bg, 3%);
28
+ }
29
+ }
30
+
31
+ &.btn-sm,
32
+ &.btn-xs {
33
+ font-size: 12px;
34
+ }
35
+ }
36
+
37
+ // Typography =================================================================
38
+
39
+ body {
40
+ font-weight: $copy-font-weight;
41
+ }
42
+
43
+ .text-primary,
44
+ .text-primary:hover {
45
+ color: $brand-primary;
46
+ }
47
+
48
+ .text-success,
49
+ .text-success:hover {
50
+ color: $brand-success;
51
+ }
52
+
53
+ .text-danger,
54
+ .text-danger:hover {
55
+ color: $brand-danger;
56
+ }
57
+
58
+ .text-warning,
59
+ .text-warning:hover {
60
+ color: $brand-warning;
61
+ }
62
+
63
+ .text-info,
64
+ .text-info:hover {
65
+ color: $brand-info;
66
+ }
67
+
68
+ .page-header {
69
+ border-bottom-color: $table-border-color;
70
+ }
71
+
72
+ .dropdown-menu {
73
+
74
+ border: none;
75
+ margin: 0;
76
+ @include box-shadow(none);
77
+
78
+ > li > a {
79
+ font-size: 12px;
80
+ font-weight: $copy-font-weight;
81
+ }
82
+ }
83
+
84
+ .btn-group.open .dropdown-toggle {
85
+ @include box-shadow(none);
86
+ }
87
+
88
+ .dropdown-header {
89
+ font-size: 12px;
90
+ }
91
+
92
+ // Tables =====================================================================
93
+
94
+ table,
95
+ .table {
96
+ font-size: 12px;
97
+
98
+ a {
99
+ color: #fff;
100
+ text-decoration: underline;
101
+ }
102
+
103
+ > thead > tr > th,
104
+ > tbody > tr > th,
105
+ > tfoot > tr > th,
106
+ > thead > tr > td,
107
+ > tbody > tr > td,
108
+ > tfoot > tr > td {
109
+ border-color: transparent;
110
+ }
111
+ }
112
+
113
+ // Forms ======================================================================
114
+
115
+ label,
116
+ .radio label,
117
+ .checkbox label,
118
+ .help-block {
119
+ font-size: 12px;
120
+ font-weight: $copy-font-weight;
121
+ }
122
+
123
+ .input-addon,
124
+ .input-group-addon {
125
+ color: $text-color;
126
+ }
127
+
128
+ .has-warning {
129
+ .help-block,
130
+ .control-label {
131
+ color: $brand-warning;
132
+ }
133
+ }
134
+
135
+ .has-error {
136
+ .help-block,
137
+ .control-label {
138
+ color: $brand-danger;
139
+ }
140
+ }
141
+
142
+ .has-success {
143
+ .help-block,
144
+ .control-label {
145
+ color: $brand-success;
146
+ }
147
+ }
148
+
149
+ .form-control:focus {
150
+ @include box-shadow(none);
151
+ }
152
+
153
+ .has-warning,
154
+ .has-error,
155
+ .has-success {
156
+ .form-control:focus {
157
+ @include box-shadow(none);
158
+ }
159
+ }
160
+
161
+ // Navs =======================================================================
162
+
163
+ .nav {
164
+ .open > a,
165
+ .open > a:hover,
166
+ .open > a:focus {
167
+ border-color: transparent;
168
+ }
169
+ }
170
+
171
+ .nav-tabs {
172
+ > li > a {
173
+ color: $text-color;
174
+ }
175
+ }
176
+
177
+ .nav-pills {
178
+ > li > a {
179
+ color: $text-color;
180
+ }
181
+ }
182
+
183
+ .pager {
184
+ a {
185
+ color: $text-color;
186
+ }
187
+ }
188
+
189
+ // Indicators =================================================================
190
+
191
+ .close {
192
+ opacity: 0.4;
193
+
194
+ &:hover,
195
+ &:focus {
196
+ opacity: 1;
197
+ }
198
+ }
199
+
200
+ .label {
201
+ font-weight: $copy-font-weight;
202
+ }
203
+
204
+ .alert {
205
+ color: #fff;
206
+
207
+ a,
208
+ .alert-link {
209
+ color: #fff;
210
+ }
211
+ }
212
+
213
+ // Progress bars ==============================================================
214
+
215
+ // Containers =================================================================
216
+
217
+ .well {
218
+ @include box-shadow(none);
219
+ }
220
+
221
+ .panel {
222
+ border: none;
223
+
224
+ &.panel-default > .panel-heading {
225
+ background-color: $table-bg-hover;
226
+ color: $text-color;
227
+ }
228
+ }
229
+
230
+ .thumbnail {
231
+ background-color: $well-bg;
232
+ border: none;
233
+ }
234
+
235
+ .modal {
236
+ padding: 0;
237
+
238
+ &.modal-header,
239
+ &.modal-footer {
240
+ background-color: $table-bg-hover;
241
+ border: none;
242
+ border-radius: 0;
243
+ }
244
+ }
245
+
246
+ .popover {
247
+ &.popover-title {
248
+ border: none;
249
+ }
250
+ }
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "./variables.css.scss";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "./bootswatch.css.scss";