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,177 @@
1
+ // Flatly 3.0.0
2
+ // Bootswatch
3
+ // -----------------------------------------------------
4
+
5
+ @import url($web-font);
6
+
7
+ // Navbar =====================================================================
8
+
9
+ // Buttons ====================================================================
10
+
11
+ .btn:active {
12
+ @include box-shadow(none);
13
+ }
14
+
15
+ .btn-group.open .dropdown-toggle {
16
+ @include box-shadow(none);
17
+ }
18
+
19
+ // Typography =================================================================
20
+
21
+ .text-primary {
22
+ color: $brand-primary;
23
+ }
24
+
25
+ .text-success {
26
+ color: $brand-success;
27
+ }
28
+
29
+ .text-danger {
30
+ color: $brand-danger;
31
+ }
32
+
33
+ .text-warning {
34
+ color: $brand-warning;
35
+ }
36
+
37
+ .text-info {
38
+ color: $brand-info;
39
+ }
40
+
41
+ // Tables =====================================================================
42
+
43
+ .table {
44
+
45
+ tr.success,
46
+ tr.warning,
47
+ tr.danger {
48
+ color: #fff;
49
+ }
50
+ }
51
+
52
+ // Forms ======================================================================
53
+
54
+ .form-control,textarea.form-control,
55
+ input[type="text"],
56
+ input[type="password"],
57
+ input[type="datetime"],
58
+ input[type="datetime-local"],
59
+ input[type="date"],
60
+ input[type="month"],
61
+ input[type="time"],
62
+ input[type="week"],
63
+ input[type="number"],
64
+ input[type="email"],
65
+ input[type="url"],
66
+ input[type="search"],
67
+ input[type="tel"],
68
+ input[type="color"],
69
+ .uneditable-input {
70
+ border-width: 2px;
71
+ @include box-shadow(none);
72
+
73
+ &:focus {
74
+ @include box-shadow(none);
75
+ }
76
+ }
77
+
78
+ .has-warning {
79
+ .help-block,
80
+ .control-label {
81
+ color: $brand-warning;
82
+ }
83
+
84
+ .form-control,
85
+ .form-control:focus {
86
+ border: 2px solid $brand-warning;
87
+ }
88
+ }
89
+
90
+ .has-error {
91
+ .help-block,
92
+ .control-label {
93
+ color: $brand-danger;
94
+ }
95
+
96
+ .form-control,
97
+ .form-control:focus {
98
+ border: 2px solid $brand-danger;
99
+ }
100
+ }
101
+
102
+ .has-success {
103
+ .help-block,
104
+ .control-label {
105
+ color: $brand-success;
106
+ }
107
+
108
+ .form-control,
109
+ .form-control:focus {
110
+ border: 2px solid $brand-success;
111
+ }
112
+ }
113
+
114
+ // Navs =======================================================================
115
+
116
+ .pagination {
117
+
118
+ a {
119
+ color: #fff;
120
+
121
+ &:hover {
122
+ color: $text-color;
123
+ }
124
+ }
125
+
126
+ .disabled {
127
+ &>a,
128
+ &>a:hover,
129
+ &>a:focus,
130
+ &>span {
131
+ background-color: lighten($brand-success, 15%);
132
+ }
133
+ }
134
+ }
135
+
136
+ .pager {
137
+ a {
138
+ color: #fff;
139
+ &:hover {
140
+ color: $text-color;
141
+ }
142
+ }
143
+
144
+ .disabled {
145
+ &>a,
146
+ &>a:hover,
147
+ &>a:focus,
148
+ &>span {
149
+ background-color: lighten($brand-success, 15%);
150
+ }
151
+ }
152
+ }
153
+
154
+ // Indicators =================================================================
155
+
156
+ .alert {
157
+
158
+ a,
159
+ .alert-link {
160
+ color: #fff;
161
+ text-decoration: underline;
162
+ }
163
+ }
164
+
165
+ // Progress bars ==============================================================
166
+
167
+ .progress {
168
+ height: 10px;
169
+ @include box-shadow(none);
170
+ }
171
+
172
+ // Containers =================================================================
173
+
174
+ .well {
175
+ @include box-shadow(none);
176
+ border-width: 0;
177
+ }
@@ -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";