bootswitch 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,234 @@
1
+ // Darkly 3.1.1
2
+ // Bootswatch
3
+ // -----------------------------------------------------
4
+
5
+ @import url($web-font);
6
+
7
+ // Navbar =====================================================================
8
+
9
+ .navbar {
10
+ border-width: 0;
11
+
12
+ &.navbar-brand {
13
+ padding: 18.5px 15px 20.5px;
14
+ }
15
+
16
+ &.navbar-form {
17
+ .form-control {
18
+ background-color: white;
19
+
20
+ &:focus {
21
+ border-color: white;
22
+ }
23
+ }
24
+ }
25
+ }
26
+
27
+ // Buttons ====================================================================
28
+
29
+ .btn:active {
30
+ @include box-shadow(none);
31
+ }
32
+
33
+ .btn-group.open .dropdown-toggle {
34
+ @include box-shadow(none);
35
+ }
36
+
37
+ // Typography =================================================================
38
+
39
+ .text-primary,
40
+ .text-primary:hover {
41
+ color: lighten($brand-primary, 10%);
42
+ }
43
+
44
+ .text-success,
45
+ .text-success:hover {
46
+ color: $brand-success;
47
+ }
48
+
49
+ .text-danger,
50
+ .text-danger:hover {
51
+ color: $brand-danger;
52
+ }
53
+
54
+ .text-warning,
55
+ .text-warning:hover {
56
+ color: $brand-warning;
57
+ }
58
+
59
+ .text-info,
60
+ .text-info:hover {
61
+ color: $brand-info;
62
+ }
63
+
64
+ // Tables =====================================================================
65
+
66
+ table,
67
+ .table {
68
+
69
+ a {
70
+ text-decoration: underline;
71
+ }
72
+
73
+ .success,
74
+ .warning,
75
+ .danger,
76
+ .info {
77
+ color: #fff;
78
+
79
+ a {
80
+ color: #fff;
81
+ }
82
+ }
83
+
84
+ > thead > tr > th,
85
+ > tbody > tr > th,
86
+ > tfoot > tr > th,
87
+ > thead > tr > td,
88
+ > tbody > tr > td,
89
+ > tfoot > tr > td {
90
+ border: none;
91
+ }
92
+
93
+ &.table-bordered > thead > tr > th,
94
+ &.table-bordered > tbody > tr > th,
95
+ &.table-bordered > tfoot > tr > th,
96
+ &.table-bordered > thead > tr > td,
97
+ &.table-bordered > tbody > tr > td,
98
+ &.table-bordered > tfoot > tr > td {
99
+ border: 1px solid $table-border-color;
100
+ }
101
+ }
102
+
103
+ // Forms ======================================================================
104
+
105
+ .form-control,
106
+ input {
107
+ border: none;
108
+ @include box-shadow(none);
109
+
110
+ &:focus {
111
+ @include box-shadow(none);
112
+ }
113
+ }
114
+
115
+ .has-warning {
116
+ .help-block,
117
+ .control-label {
118
+ color: $brand-warning;
119
+ }
120
+
121
+ .form-control,
122
+ .form-control:focus {
123
+ @include box-shadow(none);
124
+ }
125
+ }
126
+
127
+ .has-error {
128
+ .help-block,
129
+ .control-label {
130
+ color: $brand-danger;
131
+ }
132
+
133
+ .form-control,
134
+ .form-control:focus {
135
+ @include box-shadow(none);
136
+ }
137
+ }
138
+
139
+ .has-success {
140
+ .help-block,
141
+ .control-label {
142
+ color: $brand-success;
143
+ }
144
+
145
+ .form-control,
146
+ .form-control:focus {
147
+ @include box-shadow(none);
148
+ }
149
+ }
150
+
151
+ .input-group-addon {
152
+ color: $text-color;
153
+ }
154
+
155
+ // Navs =======================================================================
156
+
157
+ .nav {
158
+ .open > a,
159
+ .open > a:hover,
160
+ .open > a:focus {
161
+ border-color: $nav-tabs-border-color;
162
+ }
163
+ }
164
+
165
+ .nav-tabs > li > a,
166
+ .nav-pills > li > a {
167
+ color: #fff;
168
+ }
169
+
170
+ .pager {
171
+ a,
172
+ a:hover {
173
+ color: #fff;
174
+ }
175
+
176
+ .disabled {
177
+ &>a,
178
+ &>a:hover,
179
+ &>a:focus,
180
+ &>span {
181
+ background-color: $pagination-disabled-bg;
182
+ }
183
+ }
184
+ }
185
+
186
+ // Indicators =================================================================
187
+
188
+ .alert {
189
+
190
+ a,
191
+ .alert-link {
192
+ color: #fff;
193
+ text-decoration: underline;
194
+ }
195
+ }
196
+
197
+ // Progress bars ==============================================================
198
+
199
+ .progress {
200
+ height: 10px;
201
+ @include box-shadow(none);
202
+ }
203
+
204
+ // Containers =================================================================
205
+
206
+ .well {
207
+ @include box-shadow(none);
208
+ }
209
+
210
+ .popover,
211
+ .modal {
212
+ color: $gray-dark;
213
+ }
214
+
215
+ .breadcrumb a {
216
+ color: #fff;
217
+ }
218
+
219
+ .panel-default > .panel-heading {
220
+ background-color: $panel-footer-bg;
221
+ }
222
+
223
+ .modal {
224
+ color: $text-color;
225
+
226
+ &.modal-header,
227
+ &.modal-footer {
228
+ border-color: $gray;
229
+ }
230
+ }
231
+
232
+ .popover {
233
+ color: $text-color;
234
+ }
@@ -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";